PowerPC64 little-endian fixes: 128-bit DFP parameters / registers
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
0ff3e01f
UW
12014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
2
3 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4 within a register pair holding a DFP 128-bit value on little-endian.
5 (ppc64_sysv_abi_return_value_base): Likewise.
6 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
7 (dfp_pseudo_register_write): Likewise.
8
5b757e5d
UW
92014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10
11 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
12 offset on little-endian when passing _Decimal32.
13 (ppc64_sysv_abi_return_value_base): Likewise for return values.
14
084ee545
UW
152014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
16
17 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
18 of the overlapped FP register within the VSX register on little-
19 endian platforms.
20 (efpr_pseudo_register_write): Likewise.
21
d63167af
UW
222014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
23
24 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
25 offset on little-endian when passing small structures.
26
e765b44c
UW
272014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
28
29 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
30 (struct ppc64_sysv_argpos): New data structure.
31 (ppc64_sysv_abi_push_float): Remove.
32 (ppc64_sysv_abi_push_val): New function.
33 (ppc64_sysv_abi_push_integer): Likewise.
34 (ppc64_sysv_abi_push_freg): Likewise.
35 (ppc64_sysv_abi_push_vreg): Likewise.
36 (ppc64_sysv_abi_push_param): Likewise.
37 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
38 (ppc64_sysv_abi_return_value_base): New function.
39 (ppc64_sysv_abi_return_value): Refactor to use it.
40
36c24d95
UW
412014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
42
43 * NEWS: Document new target powerpc64le-*-linux*.
44
26fd9228
MK
452014-02-04 Mark Kettenis <kettenis@gnu.org>
46
47 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
48 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
49 core dumps.
50 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
51 register set used in ELF core dumps. Add floating-point register set.
52
c5bb7362
KB
532014-02-03 Kevin Buettner <kevinb@redhat.com>
54
55 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
56 dwarf2_to_gdb[] table using symbolic constants. Adjust
57 penultimate entry from number representing the PC register
58 to symbolic constant representing the MDR register. Add
59 constant for the PC register to the end of the table.
60
af09351e
MK
612014-02-03 Mark Kettenis <kettenis@gnu.org>
62
63 * bsd-kvm.c: Include <sys/param.h>
64
8507e05d
MK
652014-02-03 Mark Kettenis <kettenis@gnu.org>
66
67 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
68
ae56bfb8
JB
692014-01-31 Joel Brobecker <brobecker@adacore.com>
70
71 * ada-lang.h (clear_ada_sym_cache): Delete.
72
718ee4dc
UW
732014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
74
75 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
76
401e27fd
JM
772014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
78
79 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
80 the sigreturn register save area only if the syscall is
81 sigreturn.
82
a7c88acd
JB
832014-01-29 Joel Brobecker <brobecker@adacore.com>
84
85 * valops.c (value_slice): Minor reformatting.
86
fa0079ea
UW
872014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
88
89 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
90
c6044dd1
JB
912014-01-28 Joel Brobecker <brobecker@adacore.com>
92
93 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
94 New static globals.
95 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
96 (ada_ignore_descriptive_types_p): New static global.
97 (find_parallel_type_by_descriptive_type): Return immediately
98 if ada_ignore_descriptive_types_p is set.
99 (_initialize_ada_language): Register new commands "maintenance
100 set ada", "maintenance show ada", "maintenance set ada
101 ignore-descriptive-types" and "maintenance show ada
102 ignore-descriptive-types".
103 * NEWS: Add entry for new "maint ada set/show
104 ignore-descriptive-types" commands.
105
568e808b
MM
1062014-01-27 Markus Metzger <markus.t.metzger@intel.com>
107
108 * record-btrace.c (record_btrace_close): Call btrace_teardown
109 for all threads.
110
467d141b
JB
1112014-01-27 Joel Brobecker <brobecker@adacore.com>
112
113 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
114 "ui-out.h".
115
fb151210
JB
1162014-01-27 Joel Brobecker <brobecker@adacore.com>
117
118 * ada-typeprint (type_is_full_subrange_of_target_type):
119 New function.
120 (print_range): Add parameter bounds_prefered_p. If not set,
121 try printing range types using the name of their base type.
122 (print_range_type): Add parameter bounds_prefered_p.
123 Use it in call to print_range.
124 (print_array_type, ada_print_type): Update calls to print_range
125 and print_range_type.
126
aba02109
JB
1272014-01-27 Joel Brobecker <brobecker@adacore.com>
128
129 * ada-typeprint.c (print_array_type, print_choices, print_range)
130 (print_range_bound, print_dynamic_range_bound, print_range_type):
131 Remove declaration.
132
e62e21fd
JB
1332014-01-27 Joel Brobecker <brobecker@adacore.com>
134
135 * ada-typeprint.c (print_range): Add missing empty line
136 after local declaration.
137
859cf5d1
JB
1382014-01-27 Joel Brobecker <brobecker@adacore.com>
139
140 * ada-valprint.c (print_optional_low_bound): Get index_type's
141 target type for as long as it is a TYPE_CODE_RANGE.
142
25790f6f
JB
1432014-01-27 Joel Brobecker <brobecker@adacore.com>
144
145 * procfs.c (procfs_make_note_section): Remove assertion and
146 associated comment.
147
6b6aa828
YQ
1482014-01-24 Yao Qi <yao@codesourcery.com>
149
150 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
151 * corelow.c (get_core_siginfo): Likewise.
152
5d6df423
YQ
1532014-01-24 Yao Qi <yao@codesourcery.com>
154
155 * remote.c (remote_write_bytes_aux): Change type of 'len' to
156 ULONGEST. Don't check 'len' is negative.
157 (remote_write_bytes): Change type of 'len' to ULONGEST.
158
83b645b8
TT
1592014-01-23 Tom Tromey <tromey@redhat.com>
160
161 PR python/16485:
162 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
163 Handle exception from frame.block.
164 (FrameVars.fetch_frame_locals): Likewise.
165
0740f8d8
TT
1662014-01-23 Tom Tromey <tromey@redhat.com>
167
168 PR python/16487:
169 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
170 on a NULL pointer. Move "goto error" to correct place.
171
21909fa1
TT
1722014-01-23 Tom Tromey <tromey@redhat.com>
173
174 PR python/16491:
175 * python/py-framefilter.c (apply_frame_filter): Call
176 ensure_python_env after computing gdbarch.
177
17fde6d0
YQ
1782014-01-23 Yao Qi <yao@codesourcery.com>
179
180 * target.c (raw_memory_xfer_partial): Change argument type
181 from void * to gdb_byte *.
182 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
183
87ce2a04
DE
1842014-01-22 Doug Evans <dje@google.com>
185
186 New gdbserver option --debug-format=timestamp.
187 * NEWS: Mention it.
188
237b092b
AA
1892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
190
191 * syscalls/s390x-linux.xml: New file.
192 * syscalls/s390-linux.xml: New file.
193 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
194 (XML_SYSCALL_FILENAME_S390X): Likewise.
195 (op_svc): New enum value for SVC opcode.
196 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
197 (s390_linux_get_syscall_number): New function.
198 (s390_gdbarch_init): Register '*get_syscall_number' and the
199 syscall xml file name.
200 * data-directory/Makefile.in (SYSCALLS_FILES): Add
201 "s390-linux.xml" and "s390x-linux.xml".
202 * NEWS: Announce new feature.
203
54bff650
BS
2042014-01-22 Baruch Siach <baruch@tkos.co.il>
205
206 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
207
14e361d7
PA
2082014-01-22 Pedro Alves <palves@redhat.com>
209
210 * xtensa-config.c: Include defs.h.
211
46bbb3ed
JB
2122014-01-22 Joel Brobecker <brobecker@adacore.com>
213
214 * common/common-utils.h: Add "ARI:" comment beside __func__
215 reference.
216
3a80edfc
JB
2172014-01-22 Joel Brobecker <brobecker@adacore.com>
218
219 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
220 documentation a bit.
221
4869db5e
RM
2222014-01-21 Roland McGrath <mcgrathr@google.com>
223
224 * configure.ac: Call AM_PROG_INSTALL_STRIP.
225 * configure: Regenerate.
226 * aclocal.m4: Regenerate.
227 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
228 New substituted variables.
229 (install-strip): New target.
230 (INSTALL_SCRIPT): New substituted variable.
231 (FLAGS_TO_PASS): Add it.
232 (install-only): Use $(INSTALL_SCRIPT) rather than
233 $(INSTALL_PROGRAM) for gcore.
234
9ea4267d
TT
2352014-01-20 Tom Tromey <tromey@redhat.com>
236
237 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
238 together.
239
1f2bdf09
TT
2402014-01-20 Tom Tromey <tromey@redhat.com>
241
242 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
243 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
244 (deprecated_cmd_warning, complete_on_cmdlist): Update.
245 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
246 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
247 (struct cmd_list_element) <flags>: Remove.
248 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
249 doc_allocated>: New fields.
250 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
251 bitfields.
252 * maint.c (maintenance_do_deprecate): Update.
253 * top.c (execute_command): Update.
254
e671835b
BS
2552014-01-20 Baruch Siach <baruch@tkos.co.il>
256
257 * xtensa-linux-nat.c: Include asm/ptrace.h.
258
50367cd2
IB
2592014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
260
261 * Makefile.in (SFILES): Add d-support.c.
262 (COMMON_OBS): Add d-support.o.
263 * d-lang.h (d_parse_symbol): Add comment, now defined in
264 d-support.c.
265 * d-lang.c (parse_call_convention)
266 (parse_attributes, parse_function_types)
267 (parse_function_args, parse_type, parse_identifier)
268 (call_convention_p, d_parse_symbol): Move functions to ...
269 * d-support.c: ... New file.
270
ec9f644a
IB
2712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
272
273 * d-lang.h (d_parse_symbol): Add declaration.
274 * d-lang.c (extract_identifiers)
275 (extract_type_info): Remove functions.
276 (parse_call_convention, parse_attributes)
277 (parse_function_types, parse_function_args)
278 (parse_type, parse_identifier, call_convention_p)
279 (d_parse_symbol): New functions.
280 (d_demangle): Use d_parse_symbol to demangle D symbols.
281
94b1b47e
IB
2822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
283
284 * d-lang.h (struct builtin_d_type): New data type.
285 (builtin_d_type): Add declaration.
286 * d-lang.c (d_language_arch_info, build_d_types)
287 (builtin_d_type): New functions.
288 (enum d_primitive_types): New data type.
289 (d_language_defn): Change c_language_arch_info to
290 d_language_arch_info.
291 (d_type_data): New static variable.
292 (_initialize_d_language): Initialize d_type_data.
293
63778547
IB
2942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
295
296 * d-lang.h (d_main_name): Add declaration.
297 * d-lang.c (d_main_name): New function.
298 * symtab.c (find_main_name): Add call to d_main_name.
299
3271ba66
IB
3002014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
301
302 * d-lang.c (d_language_defn): Change macro_expansion_c to
303 macro_expansion_no.
304
d36b3012
IB
3052014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
306
307 * MAINTAINERS: Add myself as a write-after-approval maintainer.
308
c90a6fb7
SDJ
3092014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
310
311 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
312 gdb_exception" declaration.
313 * remote.c (getpkt_or_notif_sane): Likewise.
314
749234e5
DE
3152014-01-17 Doug Evans <dje@google.com>
316
317 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
318 function, contents of dirnames_to_char_ptr_vec_append moved here.
319 (delim_string_to_char_ptr_vec): New function.
320 (dirnames_to_char_ptr_vec_append): Rewrite.
321 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
322
df049a58
DE
3232014-01-17 Doug Evans <dje@google.com>
324
325 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
326 and moved here ...
327 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
328 #include "common-utils.h".
329 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
330 * common/vec.h (VEC_ASSERT_PASS): Update.
331 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
332 (MACH_CHECK_ERROR): Update.
333
69f97648
SM
3342014-01-17 Simon Marchi <simon.marchi@ericsson.com>
335
336 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
337 comments.
338 * gdbarch.h: Regenerate.
339
98b1cfdc
TT
3402014-01-16 Tom Tromey <tromey@redhat.com>
341
342 * value.c (struct value) <regnum>: Move earlier.
343
77a19445
TT
3442014-01-16 Tom Tromey <tromey@redhat.com>
345
346 * remote.c (extended_remote_create_inferior): Rename from
347 extended_remote_create_inferior_1. Add "ops" argument. Remove
348 old implementation.
349
62261490
PA
3502014-01-16 Pedro Alves <palves@redhat.com>
351
352 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
353 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
354 the backchain.
355
4d65956b
DE
3562014-01-16 Doug Evans <dje@google.com>
357
358 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
359
52834460
MM
3602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
361
362 * btrace.h (btrace_thread_flag): New.
363 (struct btrace_thread_info) <flags>: New.
364 * record-btrace.c (record_btrace_resume_thread)
365 (record_btrace_find_thread_to_move, btrace_step_no_history)
366 (btrace_step_stopped, record_btrace_start_replaying)
367 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
368 (record_btrace_find_resume_thread): New.
369 (record_btrace_resume, record_btrace_wait): Extend.
370 (record_btrace_can_execute_reverse): New.
371 (record_btrace_open): Fail in non-stop mode.
372 (record_btrace_set_replay): Split into this, ...
373 (record_btrace_stop_replaying): ... this, ...
374 (record_btrace_clear_histories): ... and this.
375 (init_record_btrace_ops): Init to_can_execute_reverse.
376 * NEWS: Announce it.
377
118e6252
MM
3782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
379
380 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
381 (forward_target_decr_pc_after_break)
382 (target_decr_pc_after_break): New.
383 * target.c (forward_target_decr_pc_after_break)
384 (target_decr_pc_after_break): New.
385 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
386 instead of gdbarch_decr_pc_after_break.
387 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
388 instead of gdbarch_decr_pc_after_break.
389 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
390 instead of gdbarch_decr_pc_after_break.
391 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
392 instead of gdbarch_decr_pc_after_break.
393 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
394 instead of gdbarch_decr_pc_after_break.
395 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
396 instead of gdbarch_decr_pc_after_break.
397
6e07b1d2
MM
3982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
399
400 * btrace.c: Include regcache.h.
401 (btrace_add_pc): New.
402 (btrace_enable): Call btrace_add_pc.
403 (btrace_is_empty): New.
404 * btrace.h (btrace_is_empty): New.
405 * record-btrace.c (require_btrace, record_btrace_info): Call
406 btrace_is_empty.
407
969c39fb
MM
4082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
409
410 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
411 Support delta reads.
412 (linux_disable_btrace): Change return type.
413 * common/linux-btrace.h (linux_read_btrace): Change parameters
414 and return type to allow error reporting. Update users.
415 (linux_disable_btrace): Change return type. Update users.
416 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
417 New.
418 (btrace_error): New.
419 (btrace_block) <begin>: Comment on BEGIN == 0.
420 * btrace.c (btrace_compute_ftrace): Start from the end of
421 the current trace.
422 (btrace_stitch_trace, btrace_clear_history): New.
423 (btrace_fetch): Read delta trace, return if replaying.
424 (btrace_clear): Move clear history code to btrace_clear_history.
425 (parse_xml_btrace): Throw an error if parsing failed.
426 * target.h (struct target_ops) <to_read_btrace>: Change parameters
427 and return type to allow error reporting.
428 (target_read_btrace): Change parameters and return type to allow
429 error reporting.
430 * target.c (target_read_btrace): Update.
431 * remote.c (remote_read_btrace): Support delta reads. Pass
432 errors on.
433 * NEWS: Announce it.
434
0b722aec
MM
4352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
436
437 * record.h (record_btrace_frame_unwind)
438 (record_btrace_tailcall_frame_unwind): New declarations.
439 * dwarf2-frame: Include record.h
440 (dwarf2_frame_cfa): Throw an error for btrace frames.
441 * record-btrace.c: Include hashtab.h.
442 (btrace_get_bfun_name): New.
443 (btrace_call_history): Call btrace_get_bfun_name.
444 (struct btrace_frame_cache): New.
445 (bfcache): New.
446 (bfcache_hash, bfcache_eq, bfcache_new): New.
447 (btrace_get_frame_function): New.
448 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
449 (record_btrace_frame_this_id): Compute own id.
450 (record_btrace_frame_prev_register): Provide PC, throw_error
451 for all other registers.
452 (record_btrace_frame_sniffer): Detect btrace frames.
453 (record_btrace_tailcall_frame_sniffer): New.
454 (record_btrace_frame_dealloc_cache): New.
455 (record_btrace_frame_unwind): Add new functions.
456 (record_btrace_tailcall_frame_unwind): New.
457 (_initialize_record_btrace): Allocate cache.
458 * btrace.c (btrace_clear): Call reinit_frame_cache.
459 * NEWS: Announce it.
460
066ce621
MM
4612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
462
463 * record-btrace.c (record_btrace_set_replay)
464 (record_btrace_goto_begin, record_btrace_goto_end)
465 (record_btrace_goto): New.
466 (init_record_btrace_ops): Initialize them.
467 * NEWS: Announce it.
468
e2887aa3
MM
4692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
470
471 * record-btrace.c (record_btrace_find_new_threads)
472 (record_btrace_thread_alive): New.
473 (init_record_btrace_ops): Initialize to_find_new_threads and
474 to_thread_alive.
475
b2f4cfde
MM
4762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
477
478 * record-btrace.c (record_btrace_resume): New.
479 (record_btrace_wait): New.
480 (init_record_btrace_ops): Initialize to_wait and to_resume.
481
633785ff
MM
4822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
483
484 * record-btrace.c (record_btrace_xfer_partial)
485 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
486 (record_btrace_allow_memory_access): New.
487 (init_record_btrace_ops): Initialize new methods.
488 * target.c (raw_memory_xfer_partial): Bail out if target reports
489 that this memory is not available.
490
3db08215
MM
4912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
492
493 * target.h (target_ops) <to_insert_breakpoint>
494 <to_remove_breakpoint>: Add target_ops parameter.
495 (forward_target_insert_breakpoint): New.
496 (forward_target_remove_breakpoint): New.
497 (memory_remove_breakpoint, memory_insert_breakpoint):
498 Add target_ops parameter.
499 * target.c (target_insert_breakpoint): Split into this and ...
500 (forward_target_insert_breakpoint): ... this.
501 (target_remove_breakpoint): Split into this and ...
502 (forward_target_remove_breakpoint): ... this.
503 (debug_to_insert_breakpoint): Add target_ops parameter.
504 Call forward_target_insert_breakpoint.
505 (debug_to_remove_breakpoint): Add target_ops parameter.
506 Call forward_target_remove_breakpoint.
507 (update_current_target): Do not inherit or default to_insert_breakpoint
508 and to_remove_breakpoint.
509 * corelow.c (ignore): Add target_ops parameter.
510 * exec.c (ignore): Add target_ops parameter.
511 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
512 Add target_ops parameter.
513 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
514 Add target_ops parameter.
515 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
516 Add target_ops parameter.
517 * record-full.c (record_full_beneath_to_insert_breakpoint)
518 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
519 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
520 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
521 (record_full_core_remove_breakpoint): Add target_ops parameter.
522 Update users.
523 (record_full_beneath_to_insert_breakpoint_ops)
524 (record_full_beneath_to_remove_breakpoint_ops)
525 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
526 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
527 tmp_to_remove_breakpoint_ops,
528 record_full_beneath_to_insert_breakpoint_ops, and
529 record_full_beneath_to_remove_breakpoint_ops.
530 * remote-m32r-sdi.c (m32r_insert_breakpoint)
531 (m32r_remove_breakpoint): Add target_ops parameter.
532 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
533 Add target_ops parameter.
534 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
535 Add target_ops parameter.
536
cecac1ab
MM
5372014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
538 Markus Metzger <markus.t.metzger@intel.com>
539
540 * record-btrace.c: Include frame-unwind.h.
541 (record_btrace_frame_unwind_stop_reason)
542 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
543 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
544 New.
545 (init_record_btrace_ops): Install it.
546
824344ca
MM
5472014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
548
549 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
550 get_prev_frame_1.
551
32261e52
MM
5522014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
553
554 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
555 earlier.
556
ea001bdc
MM
5572014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
558
559 * frame-unwind.c: Include target.h.
560 (frame_unwind_try_unwinder): New function with code from ...
561 (frame_unwind_find_by_frame): ... here. New variable
562 unwinder_from_target, call also target_get_unwinder)
563 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
564 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
565 * target.h (struct target_ops): New fields to_get_unwinder and
566 to_get_tailcall_unwinder.
567 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
568
1f3ef581
MM
5692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
570
571 * record-btrace.c (record_btrace_fetch_registers)
572 (record_btrace_store_registers)
573 (record_btrace_to_prepare_to_store): New.
574 (init_record_btrace_ops): Add the above.
575
f32dbf8c
MM
5762014-01-16 Tom Tromey <tromey@redhat.com>
577
578 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
579 * target.h (struct target_ops) <to_prepare_to_store>: Add
580 argument.
581 (target_prepare_to_store): Add argument.
582 * target.c (debug_to_prepare_to_store): Add argument.
583 (update_current_target): Update.
584 * remote.c (remote_prepare_to_store): Add 'self' argument.
585 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
586 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
587 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
588 * record-full.c (record_full_core_prepare_to_store): Add 'self'
589 argument.
590 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
591 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
592 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
593 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
594 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
595
07bbe694
MM
5962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
597
598 * btrace.h (replay) <replay>: New.
599 (btrace_is_replaying): New.
600 * btrace.c (btrace_clear): Free replay iterator.
601 (btrace_is_replaying): New.
602 * record-btrace.c (record_btrace_is_replaying): New.
603 (record_btrace_info): Print insn number if replaying.
604 (record_btrace_insn_history): Start at replay position.
605 (record_btrace_call_history): Start at replay position.
606 (init_record_btrace_ops): Init to_record_is_replaying.
607
0688d04e
MM
6082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
609
610 * record-btrace.c (record_btrace_insn_history_range): Include
611 end.
612 (record_btrace_insn_history_from): Adjust range.
613 (record_btrace_call_history_range): Include
614 end.
615 (record_btrace_call_history_from): Adjust range.
616 * NEWS: Announce changes.
617
8710b709
MM
6182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
619
620 * record.h (enum record_print_flag)
621 <record_print_indent_calls>: New.
622 * record.c (get_call_history_modifiers): Recognize /c modifier.
623 (_initialize_record): Document /c modifier.
624 * record-btrace.c (btrace_call_history): Add btinfo parameter.
625 Reorder fields. Optionally indent the function name. Update
626 all users.
627 * NEWS: Announce changes.
628
d0fa7535
MM
6292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
630
631 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
632
5de9129b
MM
6332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
634
635 * btrace.c (ftrace_new_function): Start counting at one.
636 * record-btrace.c (record_btrace_info): Adjust number of calls
637 and insns.
638 * NEWS: Announce it.
639
7acbe133
MM
6402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
641
642 * record-btrace.c (btrace_call_history_insn_range): Print
643 insn range as [begin, end].
644
23a7fe75
MM
6452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
646
647 * btrace.h (struct btrace_func_link): New.
648 (enum btrace_function_flag): New.
649 (struct btrace_inst): Rename to ...
650 (struct btrace_insn): ...this. Update all users.
651 (struct btrace_func) <ibegin, iend>: Remove.
652 (struct btrace_func_link): New.
653 (struct btrace_func): Rename to ...
654 (struct btrace_function): ...this. Update all users.
655 (struct btrace_function) <segment, flow, up, insn, insn_offset)
656 (number, level, flags>: New.
657 (struct btrace_insn_iterator): Rename to ...
658 (struct btrace_insn_history): ...this.
659 Update all users.
660 (struct btrace_insn_iterator, btrace_call_iterator): New.
661 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
662 (struct btrace_target_info) <begin, end, level>
663 <insn_history, call_history>: New.
664 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
665 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
666 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
667 (btrace_call_number, btrace_call_begin, btrace_call_end)
668 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
669 (btrace_find_function_by_number, btrace_set_insn_history)
670 (btrace_set_call_history): New.
671 * btrace.c (btrace_init_insn_iterator)
672 (btrace_init_func_iterator, compute_itrace): Remove.
673 (ftrace_print_function_name, ftrace_print_filename)
674 (ftrace_skip_file): Change
675 parameter to const.
676 (ftrace_init_func): Remove.
677 (ftrace_debug): Use new btrace_function fields.
678 (ftrace_function_switched): Also consider gaining and
679 losing symbol information).
680 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
681 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
682 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
683 New.
684 (ftrace_new_function): Move. Remove debug print.
685 (ftrace_update_lines, ftrace_update_insns): New.
686 (ftrace_update_function): Check for call, ret, and jump.
687 (compute_ftrace): Renamed to ...
688 (btrace_compute_ftrace): ...this. Rewritten to compute call
689 stack.
690 (btrace_fetch, btrace_clear): Updated.
691 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
692 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
693 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
694 (btrace_call_number, btrace_call_begin, btrace_call_end)
695 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
696 (btrace_find_function_by_number, btrace_set_insn_history)
697 (btrace_set_call_history): New.
698 * record-btrace.c (require_btrace): Use new btrace thread
699 info fields.
700 (record_btrace_info, btrace_insn_history)
701 (record_btrace_insn_history, record_btrace_insn_history_range):
702 Use new btrace thread info fields and new iterator.
703 (btrace_func_history_src_line): Rename to ...
704 (btrace_call_history_src_line): ...this. Use new btrace
705 thread info fields.
706 (btrace_func_history): Rename to ...
707 (btrace_call_history): ...this. Use new btrace thread info
708 fields and new iterator.
709 (record_btrace_call_history, record_btrace_call_history_range):
710 Use new btrace thread info fields and new iterator.
711
8372a7cb
MM
7122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
713
714 * frame.h (frame_id_build_unavailable_stack_special): New.
715 * frame.c (frame_id_build_unavailable_stack_special): New.
716
c2170eef
MM
7172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
718
719 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
720 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
721 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
722 to gdbarch.
723 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
724 (i386_insn_is_jump, i386_jmp_p): New.
725 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
726 insn_is_jump to gdbarch.
727 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
728 * gdbarch.h: Regenerated.
729 * gdbarch.c: Regenerated.
730 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
731 (default_insn_is_jump): New.
732 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
733 (default_insn_is_jump): New.
734
864089d2
MM
7352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
736
737 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
738 Change to ...
739 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
740 (btrace_read_type) <btrace_read_new>: Change to ...
741 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
742
ed9edfb5
MM
7432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
744
745 * common/linux-btrace.c (linux_read_btrace): Free trace from
746 previous iteration.
747
fbcbc3fd
DE
7482014-01-15 Doug Evans <dje@google.com>
749
750 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
751 uint32_t.
752
3d548a53
TT
7532014-01-15 Tom Tromey <tromey@redhat.com>
754
755 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
756 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
757 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
758 (set_objfile_main_name): New function.
759 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
760 language_of_main>: New fields.
761 (set_objfile_main_name): Declare.
762 * symtab.c (find_main_name): Loop over objfiles to find the main
763 name and language.
764 (set_main_name): Now static.
765 (get_main_info): Add comment.
766 * symtab.h (set_main_name): Don't declare.
767
32ac0d11
TT
7682014-01-15 Tom Tromey <tromey@redhat.com>
769
770 * symtab.c (main_progspace_key): New global.
771 (struct main_info): New.
772 (name_of_main, language_of_main): Remove.
773 (get_main_info, main_info_cleanup): New function.
774 (set_main_name, main_name, main_language): Use get_main_info.
775 (_initialize_symtab): Initialize main_progspace_key.
776
9e6c82ad
TT
7772014-01-15 Tom Tromey <tromey@redhat.com>
778
779 * dbxread.c (process_one_symbol): Update.
780 * dwarf2read.c (read_partial_die): Update.
781 * symfile.c (set_initial_language): Call main_language.
782 * symtab.c (language_of_main): Now static.
783 (set_main_name): Add 'lang' parameter.
784 (find_main_name): Update.
785 (main_language): New function.
786 (symtab_observer_executable_changed): Update.
787 * symtab.h (set_main_name): Update.
788 (language_of_main): Remove.
789 (main_language): Declare.
790
6ef55de7
TT
7912014-01-15 Tom Tromey <tromey@redhat.com>
792
793 * symfile.c (init_entry_point_info): Use new "initialized" field.
794 Update.
795 * objfiles.h (struct entry_point) <initialized>: New field.
796 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
797 (struct objfile) <ei>: ...here. Remove.
798 * objfiles.c (entry_point_address_query): Update.
799
53eddfa6
TT
8002014-01-15 Tom Tromey <tromey@redhat.com>
801
802 * objfiles.c (entry_point_address_query): Relocate entry point
803 address.
804 (objfile_relocate1): Do not relocate entry point address.
805 * objfiles.h (struct entry_info) <entry_point>: Update comment.
806 <the_bfd_section_index>: New field.
807 * symfile.c (init_entry_point_info): Find the entry point's
808 section.
809
d56e56aa
TT
8102014-01-15 Tom Tromey <tromey@redhat.com>
811
812 * solib-frv.c (enable_break): Use entry_point_address_query.
813
33a97bbe
OJ
8142014-01-15 Omair Javaid <omair.javaid@linaro.org>
815
816 * NEWS: Add note on improved process record-replay on
817 arm*-linux* targets.
818
c6ec2b30
OJ
8192014-01-15 Omair Javaid <omair.javaid@linaro.org>
820
821 * arm-tdep.c (enum arm_record_result): New enum.
822 (arm_record_unsupported_insn): New function.
823 (arm_record_coproc_data_proc): Removed.
824 (thumb2_record_ld_st_multiple): New function.
825 (thumb2_record_ld_st_dual_ex_tbb): New function.
826 (thumb2_record_data_proc_sreg_mimm): New function.
827 (thumb2_record_ps_dest_generic): New function.
828 (thumb2_record_branch_misc_cntrl): New function.
829 (thumb2_record_str_single_data): New function.
830 (thumb2_record_ld_mem_hints): New function.
831 (thumb2_record_ld_word): New function.
832 (thumb2_record_lmul_lmla_div): New function.
833 (thumb2_record_decode_insn_handler): New function.
834 (decode_insn): Add thumb32 instruction handlers.
835
97dfe206
OJ
8362014-01-15 Omair Javaid <omair.javaid@linaro.org>
837
838 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
839 (struct arm_linux_record_tdep): Declare.
840 (arm_canonicalize_syscall): New function.
841 (arm_all_but_pc_registers_record): New function.
842 (arm_linux_syscall_record): New function.
843 (arm_linux_init_abi): Add syscall recording constructs.
844 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
845 decoding. (arm_record_coproc_data_proc): Update arm syscall
846 decoding.
847 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
848 <arm_syscall_record>: New field.
849 * configure.tgt (arm*-*-linux*): Add linux-record.o to
850 gdb_target_obs.
851
9904a494
OJ
8522014-01-15 Omair Javaid <omair.javaid@linaro.org>
853
854 * arm-tdep.c (thumb_record_misc): Update to use sp as base
855 register for push instruction recording.
856
f969241e
OJ
8572014-01-15 Omair Javaid <omair.javaid@linaro.org>
858
859 * arm-tdep.c (thumb_record_misc): Update to correct logical
860 error while recording ldm, ldmia and pop instructions.
861
bfbbec00
OJ
8622014-01-15 Omair Javaid <omair.javaid@linaro.org>
863
864 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
865
e40adcc9
PA
8662014-01-15 Pedro Alves <palves@redhat.com>
867
868 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
869 (go32_resume, go32_fetch_registers, store_register)
870 (go32_store_registers, go32_prepare_to_store)
871 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
872 (go32_create_inferior, go32_can_run, go32_terminal_init)
873 (go32_terminal_inferior, go32_terminal_ours): Delete forward
874 declarations.
875
b0a16e66
TT
8762014-01-15 Tom Tromey <tromey@redhat.com>
877
878 * target.h (async_callback_ftype): New typedef.
879 (struct target_ops) <to_async>: Use it.
880
bf7105a4
JB
8812014-01-15 Joel Brobecker <brobecker@adacore.com>
882
883 * python/py-value.c (get_field_type): Remove unnecessary curly
884 braces for single-statement if block.
885
a8f35c2e
JB
8862014-01-15 Joel Brobecker <brobecker@adacore.com>
887
888 * python/py-type.c (convert_field): Add missing empty line
889 after declarations.
890
bb4142cf
DE
8912014-01-14 Doug Evans <dje@google.com>
892
893 * symfile.h (expand_symtabs_matching): Renamed from
894 expand_partial_symbol_names. Update prototype.
895 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
896 * symfile.c (expand_symtabs_matching): Renamed from
897 expand_partial_symbol_names. New args file_matcher, kind.
898 Rename arg fun to symbol_matcher.
899 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
900 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
901 ada_expand_partial_symbol_name.
902 (ada_make_symbol_completion_list): Update to call
903 expand_symtabs_matching.
904 (ada_add_global_exceptions): Call expand_symtabs_matching.
905 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
906 call map_symbol_filenames.
907 * symtab.c (sources_info): Update to call map_symbol_filenames.
908 (search_symbols): Call expand_symtabs_matching.
909 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
910 (default_make_symbol_completion_list_break_on): Update to call
911 expand_symtabs_matching.
912 (make_source_files_completion_list): Update to call
913 map_symbol_filenames.
914
206f2a57
DE
9152014-01-14 Doug Evans <dje@google.com>
916
917 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
918 (expand_symtabs_symbol_matcher_ftype): New typedef.
919 (quick_symbol_functions.expand_symtabs_matching): Update to use.
920 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
921 * symfile.c (expand_partial_symbol_names): Update to use
922 expand_symtabs_symbol_matcher_ftype.
923 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
924 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
925 Arg name_matcher renamed to symbol_matcher.
926 * psymtab.c (recursively_search_psymtabs): Update to use
927 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
928 sym_matcher.
929 (expand_symtabs_matching_via_partial): Update to use
930 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
931 Arg name_matcher renamed to symbol_matcher.
932
540c2971
DE
9332014-01-14 Doug Evans <dje@google.com>
934
935 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
936 (map_partial_symbol_filenames): Ditto.
937 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
938 (map_partial_symbol_filenames): Ditto.
939 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
940 (map_partial_symbol_filenames): Ditto.
941 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
942 (map_partial_symbol_filenames): Ditto.
943 * symtab.c: Delete #include "psymtab.h".
944
8213266a
PA
9452014-01-14 Pedro Alves <palves@redhat.com>
946 Tom Tromey <tromey@redhat.com>
947
948 * infrun.c (use_displaced_stepping): Use find_record_target
949 instead of RECORD_IS_USED.
950 (adjust_pc_after_break): Use record_full_is_used instead of
951 RECORD_IS_USED.
952 * record-btrace.c (record_btrace_open): Call record_preopen
953 instead of checking RECORD_IS_USED.
954 * record-full.c (record_full_shortname)
955 (record_full_core_shortname): New globals.
956 (record_full_is_used): New function.
957 (find_full_open): Call record_preopen instead of checking
958 RECORD_IS_USED.
959 (init_record_full_ops): Set the target's shortname to
960 record_full_shortname.
961 (init_record_full_core_ops): Set the target's shortname to
962 record_full_core_shortname.
963 * record-full.h (record_full_is_used): Declare.
964 * record.c (find_record_target): Make extern.
965 (record_preopen): New function.
966 * record.h (RECORD_IS_USED): Delete macro.
967 (find_record_target, record_preopen): Declare functions.
968
7ec1862d
YQ
9692014-01-14 Yao Qi <yao@codesourcery.com>
970
971 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
972 'len''s type to ULONGEST.
973 (core_xfer_shared_libraries_aix): Likewise.
974 * gdbarch.c, gdbarch.h: Regenerated.
975 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
976 Change type of 'len' to ULONGEST.
977 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
978 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
979
dea80a27
YQ
9802014-01-14 Yao Qi <yao@codesourcery.com>
981
982 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
983 type of 'len' to ULONGEST.
984 (linux_xfer_osdata_processgroups): Likewise.
985 (linux_xfer_osdata_threads): Likewise.
986 (linux_xfer_osdata_fds): Likewise.
987 (linux_xfer_osdata_isockets): Likewise.
988 (linux_xfer_osdata_shm): Likewise.
989 (linux_xfer_osdata_sem): Likewise.
990 (linux_xfer_osdata_msg): Likewise.
991 (linux_common_xfer_osdata): Likewise.
992 (struct osdata_type) <getter>: Likewise.
993 * common/linux-osdata.h (linux_common_xfer_osdata): Update
994 the declaration.
995
b55e14c7
YQ
9962014-01-14 Yao Qi <yao@codesourcery.com>
997
998 * target.h (target_xfer_partial_ftype): Update.
999 (struct target_ops) <to_xfer_partial>: Change 'len' type to
1000 ULONGEST.
1001 * aix-thread.c (aix_thread_xfer_partial): Change type of
1002 argument 'len' to ULONGEST.
1003 * auxv.c (procfs_xfer_auxv): Likewise.
1004 (ld_so_xfer_auxv): Likewise.
1005 (memory_xfer_auxv): Likewise.
1006 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1007 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1008 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1009 * corelow.c (core_xfer_partial): Likewise.
1010 * ctf.c (ctf_xfer_partial): Likewise.
1011 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
1012 '%u'.
1013 (darwin_read_dyld_info): Likewise.
1014 (darwin_xfer_partial): Likewise.
1015 * exec.c (section_table_xfer_memory_partial): Likewise.
1016 (exec_xfer_partial): Likewise.
1017 * exec.h (section_table_xfer_memory_partial): Update
1018 declaration.
1019 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
1020 instead of plongest.
1021 (gnu_xfer_partial): Likewise.
1022 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
1023 (ia64_hpux_xfer_solib_got): Likewise.
1024 (ia64_hpux_xfer_partial): Likewise.
1025 * ia64-linux-nat.c (ia64_linux_xfer_partial):
1026 * inf-ptrace.c (inf_ptrace_xfer_partial):
1027 * inf-ttrace.c (inf_ttrace_xfer_partial):
1028 * linux-nat.c (linux_xfer_siginfo): Likewise.
1029 (linux_nat_xfer_partial): Likewise.
1030 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
1031 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
1032 * monitor.c (monitor_xfer_memory): Likewise.
1033 (monitor_xfer_partial): Likewise.
1034 * procfs.c (procfs_xfer_partial): Likewise.
1035 * record-full.c (record_full_xfer_partial): Likewise.
1036 (record_full_core_xfer_partial): Likewise.
1037 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
1038 instead of plongest.
1039 (gdbsim_xfer_partial): Likewise.
1040 * remote.c (remote_xfer_partial): Likewise.
1041 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1042 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1043 declaration.
1044 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1045 (rs6000_xfer_shared_libraries): Likewise.
1046 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1047 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1048 (sparc_xfer_partial): Likewise.
1049 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1050 (spu_xfer_partial): Likewise.
1051 * spu-multiarch.c (spu_xfer_partial): Likewise.
1052 * target.c (target_read_live_memory): Likewise.
1053 (memory_xfer_live_readonly_partial): Likewise.
1054 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
1055 (target_xfer_partial, default_xfer_partial): Likewise.
1056 (current_xfer_partial): Likewise.
1057 * tracepoint.c (tfile_xfer_partial): Likewise.
1058 * windows-nat.c (windows_xfer_memory): Likewise. Call
1059 pulongest instead of plongest.
1060 (windows_xfer_partial): Likewise.
1061 (windows_xfer_shared_libraries): Likewise.
1062
05804640
YQ
10632014-01-14 Yao Qi <yao@codesourcery.com>
1064
1065 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
1066 target_xfer_partial_ftype.
1067
b5b08fb4
SC
10682014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1069
1070 PR python/15464
1071 PR python/16113
1072 * valops.c (value_struct_elt_bitpos): New function
1073 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
1074 object to 'None' if the field name is an empty string ("").
1075 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
1076 attribute to look for a field when 'name' is 'None'.
1077 (get_field_type): New function
1078
13aaf454
DE
10792014-01-13 Doug Evans <dje@google.com>
1080
1081 PR symtab/16426
1082 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
1083 (try_open_dwop_file): Ditto.
1084 * gdb_bfd.c: #include "vec.h".
1085 (bfdp): New typedef.
1086 (struct gdb_bfd_data): New member included_bfds.
1087 (gdb_bfd_unref): Unref all included bfds.
1088 (gdb_bfd_record_inclusion): New function.
1089 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
1090
c2cec97c
TT
10912014-01-13 Tom Tromey <tromey@redhat.com>
1092
1093 * gdbcore.h (deprecated_core_resize_section_table): Remove.
1094
78e5999d
TT
10952014-01-13 Tom Tromey <tromey@redhat.com>
1096
1097 * defs.h (use_windows): Remove.
1098 * gdb.c (main): Update.
1099 * main.c (captured_main, gdb_main): Update.
1100 * main.h (struct captured_main_args) <use_windows>: Remove.
1101 * top.c (use_windows): Remove.
1102
f2052bbe
TT
11032014-01-13 Tom Tromey <tromey@redhat.com>
1104
1105 * defs.h (deprecated_flush_hook): Remove.
1106
fde4f8ed
JK
11072014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1108
1109 PR threads/16216
1110 * linux-thread-db.c (try_thread_db_load): Add parameter
1111 check_auto_load_safe. Move here the file_is_auto_load_safe call.
1112 (try_thread_db_load_from_pdir_1): Move it there from here.
1113 (try_thread_db_load_from_sdir): Update caller.
1114 (try_thread_db_load_from_dir): Move it there from here.
1115
bdf61915
PP
11162014-01-13 Patrick Palka <patrick@parcs.ath.cx>
1117
1118 * regformats/regdat.sh: Always rewrite the register file.
1119
f71e1a8d
PA
11202014-01-13 Pedro Alves <palves@redhat.com>
1121
1122 * Makefile.in (CHECK_HEADERS): New variable.
1123 (check-headers:): New rule.
1124
42c85435
TT
11252014-01-13 Tom Tromey <tromey@redhat.com>
1126
1127 * cli/cli-setshow.c (do_set_command): Update.
1128 * defs.h (deprecated_set_hook): Remove.
1129 * top.c (deprecated_set_hook): Remove.
1130
f8de5129
PA
11312014-01-13 Pedro Alves <palves@redhat.com>
1132
1133 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
1134 the tracepoint if the PC is a pseudo-register.
1135
fc270c35
TT
11362014-01-13 Tom Tromey <tromey@redhat.com>
1137
1138 * defs.h (XCALLOC): Remove.
1139 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
1140 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
1141 * dwarf2loc.c (allocate_piece_closure): Likewise.
1142 * elfread.c (elf_symfile_segments): Likewise.
1143 (elf_symfile_segments): Likewise.
1144 * gdbtypes.c (copy_type_recursive): Likewise.
1145 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
1146 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
1147 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
1148 XCALLOC.
1149 * mt-tdep.c (mt_gdbarch_init): Likewise.
1150 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
1151 XCALLOC.
1152 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
1153 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
1154 * registry.c (registry_alloc_data): Likewise.
1155 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
1156 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
1157 * serial.c (serial_fdopen_ops): Likewise.
1158 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
1159 XCALLOC.
1160 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
1161 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
1162 not XCALLOC.
1163
70ba0933
TT
11642014-01-13 Tom Tromey <tromey@redhat.com>
1165
1166 * defs.h (XMALLOC): Remove.
1167 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
1168 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
1169 * cli-out.c (struct ui_out *): Likewise.
1170 * cli/cli-dump.c (add_dump_command): Likewise.
1171 (add_dump_command): Likewise.
1172 * complaints.c (get_complaints): Likewise.
1173 (find_complaint): Likewise.
1174 * dwarf2-frame.c (execute_cfa_program): Likewise.
1175 * dwarf2read.c (abbrev_table_read_table): Likewise.
1176 * gdbarch.sh: Likewise.
1177 * gdbarch.c: Rebuild.
1178 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
1179 * interps.c (interp_new): Likewise.
1180 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
1181 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
1182 * mi/mi-console.c (mi_console_file_new): Likewise.
1183 * mi/mi-interp.c (mi_interpreter_init): Likewise.
1184 * mi/mi-out.c (mi_out_new): Likewise.
1185 * mi/mi-parse.c (mi_parse): Likewise.
1186 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
1187 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
1188 * observer.c (xalloc_observer_list_node): Likewise.
1189 * regcache.c (regcache_xmalloc_1): Likewise.
1190 * reggroups.c (reggroup_new): Likewise.
1191 (_initialize_reggroup): Likewise.
1192 * registry.c (register_data_with_cleanup): Likewise.
1193 * remote.c (remote_notif_stop_alloc_reply): Likewise.
1194 * ser-base.c (serial_ttystate): Likewise.
1195 * ser-mingw.c (make_pipe_state): Likewise.
1196 * ser-pipe.c (pipe_open): Likewise.
1197 * serial.c (serial_open): Likewise.
1198 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
1199 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
1200 (tui_alloc_win_info): Likewise.
1201 (tui_add_content_elements): Likewise.
1202 * tui/tui-file.c (tui_file_new): Likewise.
1203 * tui/tui-out.c (tui_out_new): Likewise.
1204 * ui-file.c (mem_file_new): Likewise.
1205 * ui-out.c (push_level): Likewise.
1206 (make_cleanup_ui_out_end): Likewise.
1207 (append_header_to_list): Likewise.
1208 (ui_out_new): Likewise.
1209 * user-regs.c (user_reg_add_builtin): Likewise.
1210
41bf6aca
TT
12112014-01-13 Tom Tromey <tromey@redhat.com>
1212
1213 * defs.h (XZALLOC): Remove.
1214 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
1215 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
1216 (get_ada_tasks_inferior_data): Likewise.
1217 * auto-load.c (get_auto_load_pspace_data): Likewise.
1218 * auxv.c (get_auxv_inferior_data): Likewise.
1219 * bfd-target.c (target_bfd_reopen): Likewise.
1220 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
1221 (deprecated_insert_raw_breakpoint): Likewise.
1222 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
1223 * corelow.c (core_open): Likewise.
1224 * darwin-nat.c (darwin_check_new_threads): Likewise.
1225 (darwin_attach_pid): Likewise.
1226 * dummy-frame.c (dummy_frame_push): Likewise.
1227 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
1228 * dwarf2loc.c (allocate_piece_closure): Likewise.
1229 * elfread.c (elf_symfile_segments): Likewise.
1230 * eval.c (ptrmath_type_p): Likewise.
1231 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
1232 * gdbtypes.c (alloc_type_arch): Likewise.
1233 (alloc_type_instance): Likewise.
1234 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
1235 * inf-child.c (inf_child_can_use_agent): Likewise.
1236 * inflow.c (get_inflow_inferior_data): Likewise.
1237 * infrun.c (save_infcall_suspend_state): Likewise.
1238 * jit.c (jit_reader_load): Likewise.
1239 (get_jit_objfile_data): Likewise.
1240 (get_jit_program_space_data): Likewise.
1241 (jit_object_open_impl): Likewise.
1242 (jit_symtab_open_impl): Likewise.
1243 (jit_block_open_impl): Likewise.
1244 (jit_frame_sniffer): Likewise.
1245 * linux-fork.c (add_fork): Likewise.
1246 * maint.c (make_command_stats_cleanup): Likewise.
1247 * objfiles.c (get_objfile_pspace_data): Likewise.
1248 * opencl-lang.c (struct lval_closure): Likewise.
1249 * osdata.c (osdata_start_osdata): Likewise.
1250 * progspace.c (new_address_space): Likewise.
1251 (add_program_space): Likewise.
1252 * remote-sim.c (get_sim_inferior_data): Likewise.
1253 * sh-tdep.c (sh_gdbarch_init): Likewise.
1254 * skip.c (Ignore): Likewise.
1255 (skip_delete_command): Likewise.
1256 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
1257 (library_list_start_library): Likewise.
1258 (solib_aix_current_sos): Likewise.
1259 * solib-darwin.c (get_darwin_info): Likewise.
1260 (darwin_current_sos): Likewise.
1261 * solib-dsbt.c (get_dsbt_info): Likewise.
1262 * solib-ia64-hpux.c (new_so_list): Likewise.
1263 (ia64_hpux_get_solib_linkage_addr): Likewise.
1264 * solib-spu.c (append_ocl_sos): Likewise.
1265 (spu_current_sos): Likewise.
1266 * solib-svr4.c (get_svr4_info): Likewise.
1267 (svr4_keep_data_in_core): Likewise.
1268 (library_list_start_library): Likewise.
1269 (svr4_default_sos): Likewise.
1270 (svr4_read_so_list): Likewise.
1271 * solib-target.c (library_list_start_library): Likewise.
1272 (solib_target_current_sos): Likewise.
1273 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
1274 * symfile-debug.c (install_symfile_debug_logging): Likewise.
1275 * symfile.c (default_symfile_segments): Likewise.
1276 * target-descriptions.c (tdesc_data_init): Likewise.
1277 (tdesc_create_reg): Likewise.
1278 (struct tdesc_type *): Likewise.
1279 (tdesc_create_vector): Likewise.
1280 (tdesc_set_struct_size): Likewise.
1281 (struct tdesc_type *): Likewise.
1282 (tdesc_free_feature): Likewise.
1283 (tdesc_create_feature): Likewise.
1284 * windows-nat.c (windows_add_thread): Likewise.
1285 (windows_make_so): Likewise.
1286 * xml-support.c (gdb_xml_body_text): Likewise.
1287 (gdb_xml_create_parser_and_cleanup): Likewise.
1288 (xml_process_xincludes): Likewise.
1289 * xml-syscall.c (allocate_syscalls_info): Likewise.
1290 (syscall_create_syscall_desc): Likewise.
1291
5acfdbae
SDJ
12922014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
1293
1294 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
1295 function, with code from i386_stap_parse_special_token.
1296 (i386_stap_parse_special_token_three_arg_disp): Likewise.
1297 (i386_stap_parse_special_token): Move code to the two functions
1298 above; simplify it.
1299
0000e5cc
PA
13002014-01-09 Pedro Alves <palves@redhat.com>
1301 Hui Zhu <hui@codesourcery.com>
1302
1303 PR gdb/16101
1304 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
1305 bp_err_string. Don't mark the location shlib_disabled if the
1306 error thrown wasn't a generic or memory error. Catch errors
1307 thrown while inserting breakpoints in overlayed code. Output
1308 error message of software breakpoints.
1309 * remote.c (remote_insert_breakpoint): If this breakpoint has
1310 target-side commands but this stub doesn't support Z0 packets,
1311 throw NOT_SUPPORTED_ERROR error.
1312 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
1313 * target.h (target_insert_breakpoint): Extend comment.
1314 (target_insert_hw_breakpoint): Add comment.
1315
b7ea362b
PA
13162014-01-08 Pedro Alves <palves@redhat.com>
1317
1318 * remote.c (remote_add_thread): Add threads silently if starting
1319 up.
1320 (remote_notice_new_inferior): If in all-stop, and starting up,
1321 don't call notice_new_inferior.
1322 (get_current_thread): New function, factored out from ...
1323 (add_current_inferior_and_thread): ... this. Adjust.
1324 (remote_start_remote) <all-stop>: Fetch the thread list. If we
1325 found any thread, then select the remote's current thread as GDB's
1326 current thread too.
1327
b7bba001
JB
13282014-01-08 Joel Brobecker <brobecker@adacore.com>
1329
1330 * NEWS: Create a new section for the next release branch.
1331 Rename the section of the current branch, now that it has
1332 been cut.
1333
16dfbded
JB
13342014-01-08 Joel Brobecker <brobecker@adacore.com>
1335
1336 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
1337 * version.in: Bump version to 7.7.50.DATE-cvs.
1338
22c90ac1
YQ
13392014-01-08 Yao Qi <yao@codesourcery.com>
1340
1341 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
1342 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
1343 (spu_xfer_partial): Cast 'buf' to 'const char *'.
1344
d64ad97c
YQ
13452014-01-08 Yao Qi <yao@codesourcery.com>
1346
1347 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
1348 return value of bfd_get_filename to symbol_file_add_from_bfd.
1349
f93ba80c
PM
13502014-01-08 Pierre Muller <muller@sourceware.org>
1351
1352 Fix PR16201.
1353 * coff-pe-read.c (struct read_pe_section_data): Add index field.
1354 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
1355 to prim_record_mininal_symbol_and_info.
1356 (add_pe_forwarded_sym): Use known section number of forwarded symbol
1357 in call to prim_record_minimal_symbol_and_info.
1358 (read_pe_exported_syms): Set index field of section_data.
1359
a4d9ba85
AP
13602014-01-07 Andrew Pinski <apinski@cavium.com>
1361
1362 * features/aarch64-core.xml (cpsr): Change to be 64bit.
1363 * features/aarch64.c: Regenerate.
1364
1b67eb02
AS
13652014-01-07 Andreas Schwab <schwab@linux-m68k.org>
1366
1367 * target.c (return_null): Define.
1368 (update_current_target): Use it instead of return_zero for
1369 functions that return a pointer.
1370
5e3f4fab
EBM
13712014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1372
1373 * source.c (add_path): Fix check for duplicated paths in the previously
1374 included paths.
1375
e2616788
HK
13762014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
1377
1378 * ada-lang.c: Remove duplicated include statements.
1379 * alphabsd-nat.c: Ditto.
1380 * amd64-darwin-tdep.c: Ditto.
1381 * amd64fbsd-nat.c: Ditto.
1382 * auto-load.c: Ditto.
1383 * ax-gdb.c: Ditto.
1384 * breakpoint.c: Ditto.
1385 * dbxread.c: Ditto.
1386 * fork-child.c: Ditto.
1387 * gdb_usleep.c: Ditto.
1388 * i386-darwin-tdep.c: Ditto.
1389 * i386fbsd-nat.c: Ditto.
1390 * infcmd.c: Ditto.
1391 * inferior.c: Ditto.
1392 * jv-lang.c: Ditto.
1393 * linux-nat.c: Ditto.
1394 * linux-tdep.c: Ditto.
1395 * m68kbsd-nat.c: Ditto.
1396 * m68klinux-nat.c: Ditto.
1397 * microblaze-tdep.c: Ditto.
1398 * mips-linux-tdep.c: Ditto.
1399 * mn10300-tdep.c: Ditto.
1400 * nto-tdep.c: Ditto.
1401 * opencl-lang.c: Ditto.
1402 * osdata.c: Ditto.
1403 * printcmd.c: Ditto.
1404 * regcache.c: Ditto.
1405 * remote-m32r-sdi.c: Ditto.
1406 * remote.c: Ditto.
1407 * symfile.c: Ditto.
1408 * symtab.c: Ditto.
1409 * tilegx-linux-nat.c: Ditto.
1410 * tilegx-tdep.c: Ditto.
1411 * tracepoint.c: Ditto.
1412 * valops.c: Ditto.
1413 * vaxbsd-nat.c: Ditto.
1414 * windows-nat.c: Ditto.
1415 * xtensa-tdep.c: Ditto.
1416
bd1f7788
YQ
14172014-01-07 Yao Qi <yao@codesourcery.com>
1418
1419 * spu-linux-nat.c (_initialize_spu_nat): Declare.
1420
79301218
JB
14212014-01-07 Yao Qi <yao@codesourcery.com>
1422 Joel Brobecker <brobecker@adacore.com>
1423
1424 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
1425 (pdc_write_regs): Likewise.
1426 (fetch_regs_kernel_thread): Likewise.
1427 (store_regs_kernel_thread): Likewise.
1428
14292014-01-07 Joel Brobecker <brobecker@adacore.com>
1430
1431 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
1432 tagged type objects to their actual type.
1433
8e355c5d
JB
14342014-01-07 Joel Brobecker <brobecker@adacore.com>
1435
1436 * ada-valprint.c (print_field_values): Add "language" parameter.
1437 Update calls to print_field_values and print_variant_part.
1438 Pass new parameter "language" in call to val_print instead
1439 of "current_language". Replace call to ada_val_print by call
1440 to val_print.
1441 (print_variant_part): Add "language" parameter.
1442 (ada_val_print_struct_union): Update call to print_field_values.
1443
4fbf5aa5
JB
14442014-01-07 Joel Brobecker <brobecker@adacore.com>
1445
1446 * ada-valprint.c (ui_memcpy): Delete.
1447 (ada_print_floating): Update documentation. Add empty line
1448 between between function documentation and implementation.
1449 Delete variable "buffer". Use ui_file_xstrdup in place of
1450 ui_file_put. Minor adjustments following this change.
1451
71855601
JB
14522014-01-07 Joel Brobecker <brobecker@adacore.com>
1453
1454 * ada-valprint.c (ada_val_print_string): New function,
1455 extracted from ada_val_print_array.
1456 (ada_val_print_array): Replace extracted code by call
1457 to ada_val_print_string followed by a return. Move
1458 "else" branch to the function's top block.
1459
4eb27a30
JB
14602014-01-07 Joel Brobecker <brobecker@adacore.com>
1461
1462 * ada-valprint.c (ada_val_print_array): Move implementation
1463 down. Rename parameter "offset" and "val" into "offset_aligned"
1464 and "original_value" respectively. Add parameter "offset".
1465
34b27950
JB
14662014-01-07 Joel Brobecker <brobecker@adacore.com>
1467
1468 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
1469 re-organizing the code. Change the "???" message printed
1470 when target type is a TYPE_CODE_UNDEF into
1471 "<ref to undefined type>".
1472
079e4591
JB
14732014-01-07 Joel Brobecker <brobecker@adacore.com>
1474
1475 * ada-valprint.c (print_record): Delete, implementation inlined...
1476 (ada_val_print_struct_union): ... here. Remove call to
1477 ada_check_typedef in inlined implementation.
1478
8004dfd1
JB
14792014-01-07 Joel Brobecker <brobecker@adacore.com>
1480
1481 * ada-valprint.c (ada_val_print_gnat_array): New function,
1482 extracted from ada_val_print_1;
1483 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
1484 (ada_val_print_flt, ada_val_print_struct_union)
1485 (ada_val_print_ref): Likewise.
1486 (ada_val_print_1): Delete variables i and elttype.
1487 Replace extracted-out code by call to corresponding
1488 new functions.
1489
760a2db0
JB
14902014-01-07 Joel Brobecker <brobecker@adacore.com>
1491
1492 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
1493
3a92c861
JB
14942014-01-07 Joel Brobecker <brobecker@adacore.com>
1495
1496 * ada-valprint.c (ada_val_print_1): Replace calls to
1497 ada_val_print_1 by calls to val_print.
1498
cd1630f9
JB
14992014-01-07 Joel Brobecker <brobecker@adacore.com>
1500
1501 * ada-valprint.c (ada_val_print_1): Add parameter "language".
1502 Update calls to self accordingly. Replace calls to c_val_print
1503 by calls to val_print.
1504
bdf779a0
JB
15052014-01-07 Joel Brobecker <brobecker@adacore.com>
1506
1507 * ada-valprint.c (print_record): Delete declaration.
1508 (adjust_type_signedness, ada_val_print_1): Likewise.
1509 (ada_val_print): Move function implementation down.
1510 (print_variant_part, print_field_values, print_record):
1511 Move function implementation up.
1512
c0d48811
JB
15132014-01-07 Joel Brobecker <brobecker@adacore.com>
1514
1515 * python/py-type.c (typy_get_name): New function.
1516 (type_object_getset): Add entry for attribute "name".
1517 * NEWS: Add entry mentioning this new attribute.
1518
c26e9cbb
YQ
15192014-01-07 Yao Qi <yao@codesourcery.com>
1520
1521 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
1522 statement.
1523
0cc6f43d
YQ
15242014-01-07 Yao Qi <yao@codesourcery.com>
1525
1526 * gnu-nat.c (info_port_rights): Add qualifier const to
1527 argument args.
1528
eec03155
YQ
15292014-01-07 Yao Qi <yao@codesourcery.com>
1530
1531 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
1532
f04a82ef
YQ
15332014-01-07 Yao Qi <yao@codesourcery.com>
1534
1535 * gnu-nat.c (make_inf) Update declaration.
1536 (make_inf): Make it static.
1537 (inf_set_traced): Likewise.
1538 (inf_port_to_thread, inf_task_died_status): Likewise.
1539
d57dda0a
YQ
15402014-01-07 Yao Qi <yao@codesourcery.com>
1541
1542 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
1543
3aa8c969
YQ
15442014-01-07 Yao Qi <yao@codesourcery.com>
1545
1546 * gnu-nat.c (_initialize_gnu_nat): Declare.
1547
94123b4f
YQ
15482014-01-07 Yao Qi <yao@codesourcery.com>
1549
1550 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
1551 'enum bfd_endian'.
1552 (struct gdbarch_info) <byte_order>: Change type to
1553 'enum bfd_endian'.
1554 <byte_order_for_code>: Likewise.
1555 * gdbarch.c, gdbarch.h: Regenerated.
1556
dc81d70a
TT
15572014-01-06 Sasha Smundak <asmundak@google.com>
1558
1559 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
1560
cc2f3c35
TT
15612014-01-06 Tom Tromey <tromey@redhat.com>
1562
1563 * doublest.c (convert_doublest_to_floatformat): Use const, not
1564 CONST.
1565 * somread.c (som_symtab_read): Likewise.
1566
adcf2eed
HZ
15672014-01-07 Hui Zhu <hui@codesourcery.com>
1568
1569 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
1570 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
1571 (gdb_bfd_fopen): Ditto.
1572 (gdb_bfd_openr): Ditto.
1573 (gdb_bfd_openw): Ditto.
1574 (gdb_bfd_openr_iovec): Ditto.
1575 (gdb_bfd_fdopenr): Ditto.
1576 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
1577 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
1578 with xstrdup.
1579 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
1580 with xstrdup.
1581 * symfile-mem.c (symbol_file_add_from_memory): Removed
1582 gdb_bfd_stash_filename.
1583
50722198
DE
15842014-01-03 Doug Evans <dje@google.com>
1585
1586 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
1587 output.
1588
2fa4b862
JB
15892014-01-01 Joel Brobecker <brobecker@adacore.com>
1590
1591 Update year range in copyright notice of all files.
1592
28498c42
JB
15932014-01-01 Joel Brobecker <brobecker@adacore.com>
1594
1595 * top.c (print_gdb_version): Set copyright year to 2014.
1596
7b6e1046
JB
15972014-01-01 Joel Brobecker <brobecker@adacore.com>
1598
1599 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
1600
df96af55 1601For older changes see ChangeLog-2013.
c906108c
SS
1602\f
1603Local Variables:
1604mode: change-log
1605left-margin: 8
1606fill-column: 74
1607version-control: never
57da7796 1608coding: utf-8
c906108c 1609End:
This page took 1.660956 seconds and 4 git commands to generate.