1 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
5 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
6 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
7 structures returned in GPRs.
9 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
12 offset to the stack parameter list for the ELFv2 ABI.
14 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
17 set_gdbarch_convert_from_func_ptr_addr and
18 set_gdbarch_elf_make_msymbol_special for ELFv1.
19 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
20 function descriptors on ELFv1.
21 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
22 set up r12 at function entry.
24 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
26 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
27 (struct gdbarch_tdep): New member elf_abi.
29 * rs6000-tdep.c: Include "elf/ppc64.h".
30 (rs6000_gdbarch_init): Detect ELF ABI version.
32 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
34 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
35 within a register pair holding a DFP 128-bit value on little-endian.
36 (ppc64_sysv_abi_return_value_base): Likewise.
37 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
38 (dfp_pseudo_register_write): Likewise.
40 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
42 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
43 offset on little-endian when passing _Decimal32.
44 (ppc64_sysv_abi_return_value_base): Likewise for return values.
46 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
48 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
49 of the overlapped FP register within the VSX register on little-
51 (efpr_pseudo_register_write): Likewise.
53 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
55 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
56 offset on little-endian when passing small structures.
58 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
60 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
61 (struct ppc64_sysv_argpos): New data structure.
62 (ppc64_sysv_abi_push_float): Remove.
63 (ppc64_sysv_abi_push_val): New function.
64 (ppc64_sysv_abi_push_integer): Likewise.
65 (ppc64_sysv_abi_push_freg): Likewise.
66 (ppc64_sysv_abi_push_vreg): Likewise.
67 (ppc64_sysv_abi_push_param): Likewise.
68 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
69 (ppc64_sysv_abi_return_value_base): New function.
70 (ppc64_sysv_abi_return_value): Refactor to use it.
72 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
74 * NEWS: Document new target powerpc64le-*-linux*.
76 2014-02-04 Mark Kettenis <kettenis@gnu.org>
78 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
79 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
81 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
82 register set used in ELF core dumps. Add floating-point register set.
84 2014-02-03 Kevin Buettner <kevinb@redhat.com>
86 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
87 dwarf2_to_gdb[] table using symbolic constants. Adjust
88 penultimate entry from number representing the PC register
89 to symbolic constant representing the MDR register. Add
90 constant for the PC register to the end of the table.
92 2014-02-03 Mark Kettenis <kettenis@gnu.org>
94 * bsd-kvm.c: Include <sys/param.h>
96 2014-02-03 Mark Kettenis <kettenis@gnu.org>
98 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
100 2014-01-31 Joel Brobecker <brobecker@adacore.com>
102 * ada-lang.h (clear_ada_sym_cache): Delete.
104 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
106 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
108 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
110 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
111 the sigreturn register save area only if the syscall is
114 2014-01-29 Joel Brobecker <brobecker@adacore.com>
116 * valops.c (value_slice): Minor reformatting.
118 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
120 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
122 2014-01-28 Joel Brobecker <brobecker@adacore.com>
124 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
126 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
127 (ada_ignore_descriptive_types_p): New static global.
128 (find_parallel_type_by_descriptive_type): Return immediately
129 if ada_ignore_descriptive_types_p is set.
130 (_initialize_ada_language): Register new commands "maintenance
131 set ada", "maintenance show ada", "maintenance set ada
132 ignore-descriptive-types" and "maintenance show ada
133 ignore-descriptive-types".
134 * NEWS: Add entry for new "maint ada set/show
135 ignore-descriptive-types" commands.
137 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
139 * record-btrace.c (record_btrace_close): Call btrace_teardown
142 2014-01-27 Joel Brobecker <brobecker@adacore.com>
144 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
147 2014-01-27 Joel Brobecker <brobecker@adacore.com>
149 * ada-typeprint (type_is_full_subrange_of_target_type):
151 (print_range): Add parameter bounds_prefered_p. If not set,
152 try printing range types using the name of their base type.
153 (print_range_type): Add parameter bounds_prefered_p.
154 Use it in call to print_range.
155 (print_array_type, ada_print_type): Update calls to print_range
156 and print_range_type.
158 2014-01-27 Joel Brobecker <brobecker@adacore.com>
160 * ada-typeprint.c (print_array_type, print_choices, print_range)
161 (print_range_bound, print_dynamic_range_bound, print_range_type):
164 2014-01-27 Joel Brobecker <brobecker@adacore.com>
166 * ada-typeprint.c (print_range): Add missing empty line
167 after local declaration.
169 2014-01-27 Joel Brobecker <brobecker@adacore.com>
171 * ada-valprint.c (print_optional_low_bound): Get index_type's
172 target type for as long as it is a TYPE_CODE_RANGE.
174 2014-01-27 Joel Brobecker <brobecker@adacore.com>
176 * procfs.c (procfs_make_note_section): Remove assertion and
179 2014-01-24 Yao Qi <yao@codesourcery.com>
181 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
182 * corelow.c (get_core_siginfo): Likewise.
184 2014-01-24 Yao Qi <yao@codesourcery.com>
186 * remote.c (remote_write_bytes_aux): Change type of 'len' to
187 ULONGEST. Don't check 'len' is negative.
188 (remote_write_bytes): Change type of 'len' to ULONGEST.
190 2014-01-23 Tom Tromey <tromey@redhat.com>
193 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
194 Handle exception from frame.block.
195 (FrameVars.fetch_frame_locals): Likewise.
197 2014-01-23 Tom Tromey <tromey@redhat.com>
200 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
201 on a NULL pointer. Move "goto error" to correct place.
203 2014-01-23 Tom Tromey <tromey@redhat.com>
206 * python/py-framefilter.c (apply_frame_filter): Call
207 ensure_python_env after computing gdbarch.
209 2014-01-23 Yao Qi <yao@codesourcery.com>
211 * target.c (raw_memory_xfer_partial): Change argument type
212 from void * to gdb_byte *.
213 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
215 2014-01-22 Doug Evans <dje@google.com>
217 New gdbserver option --debug-format=timestamp.
220 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
222 * syscalls/s390x-linux.xml: New file.
223 * syscalls/s390-linux.xml: New file.
224 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
225 (XML_SYSCALL_FILENAME_S390X): Likewise.
226 (op_svc): New enum value for SVC opcode.
227 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
228 (s390_linux_get_syscall_number): New function.
229 (s390_gdbarch_init): Register '*get_syscall_number' and the
230 syscall xml file name.
231 * data-directory/Makefile.in (SYSCALLS_FILES): Add
232 "s390-linux.xml" and "s390x-linux.xml".
233 * NEWS: Announce new feature.
235 2014-01-22 Baruch Siach <baruch@tkos.co.il>
237 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
239 2014-01-22 Pedro Alves <palves@redhat.com>
241 * xtensa-config.c: Include defs.h.
243 2014-01-22 Joel Brobecker <brobecker@adacore.com>
245 * common/common-utils.h: Add "ARI:" comment beside __func__
248 2014-01-22 Joel Brobecker <brobecker@adacore.com>
250 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
253 2014-01-21 Roland McGrath <mcgrathr@google.com>
255 * configure.ac: Call AM_PROG_INSTALL_STRIP.
256 * configure: Regenerate.
257 * aclocal.m4: Regenerate.
258 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
259 New substituted variables.
260 (install-strip): New target.
261 (INSTALL_SCRIPT): New substituted variable.
262 (FLAGS_TO_PASS): Add it.
263 (install-only): Use $(INSTALL_SCRIPT) rather than
264 $(INSTALL_PROGRAM) for gcore.
266 2014-01-20 Tom Tromey <tromey@redhat.com>
268 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
271 2014-01-20 Tom Tromey <tromey@redhat.com>
273 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
274 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
275 (deprecated_cmd_warning, complete_on_cmdlist): Update.
276 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
277 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
278 (struct cmd_list_element) <flags>: Remove.
279 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
280 doc_allocated>: New fields.
281 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
283 * maint.c (maintenance_do_deprecate): Update.
284 * top.c (execute_command): Update.
286 2014-01-20 Baruch Siach <baruch@tkos.co.il>
288 * xtensa-linux-nat.c: Include asm/ptrace.h.
290 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
292 * Makefile.in (SFILES): Add d-support.c.
293 (COMMON_OBS): Add d-support.o.
294 * d-lang.h (d_parse_symbol): Add comment, now defined in
296 * d-lang.c (parse_call_convention)
297 (parse_attributes, parse_function_types)
298 (parse_function_args, parse_type, parse_identifier)
299 (call_convention_p, d_parse_symbol): Move functions to ...
300 * d-support.c: ... New file.
302 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
304 * d-lang.h (d_parse_symbol): Add declaration.
305 * d-lang.c (extract_identifiers)
306 (extract_type_info): Remove functions.
307 (parse_call_convention, parse_attributes)
308 (parse_function_types, parse_function_args)
309 (parse_type, parse_identifier, call_convention_p)
310 (d_parse_symbol): New functions.
311 (d_demangle): Use d_parse_symbol to demangle D symbols.
313 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
315 * d-lang.h (struct builtin_d_type): New data type.
316 (builtin_d_type): Add declaration.
317 * d-lang.c (d_language_arch_info, build_d_types)
318 (builtin_d_type): New functions.
319 (enum d_primitive_types): New data type.
320 (d_language_defn): Change c_language_arch_info to
321 d_language_arch_info.
322 (d_type_data): New static variable.
323 (_initialize_d_language): Initialize d_type_data.
325 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
327 * d-lang.h (d_main_name): Add declaration.
328 * d-lang.c (d_main_name): New function.
329 * symtab.c (find_main_name): Add call to d_main_name.
331 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
333 * d-lang.c (d_language_defn): Change macro_expansion_c to
336 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
338 * MAINTAINERS: Add myself as a write-after-approval maintainer.
340 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
342 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
343 gdb_exception" declaration.
344 * remote.c (getpkt_or_notif_sane): Likewise.
346 2014-01-17 Doug Evans <dje@google.com>
348 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
349 function, contents of dirnames_to_char_ptr_vec_append moved here.
350 (delim_string_to_char_ptr_vec): New function.
351 (dirnames_to_char_ptr_vec_append): Rewrite.
352 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
354 2014-01-17 Doug Evans <dje@google.com>
356 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
358 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
359 #include "common-utils.h".
360 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
361 * common/vec.h (VEC_ASSERT_PASS): Update.
362 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
363 (MACH_CHECK_ERROR): Update.
365 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
367 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
369 * gdbarch.h: Regenerate.
371 2014-01-16 Tom Tromey <tromey@redhat.com>
373 * value.c (struct value) <regnum>: Move earlier.
375 2014-01-16 Tom Tromey <tromey@redhat.com>
377 * remote.c (extended_remote_create_inferior): Rename from
378 extended_remote_create_inferior_1. Add "ops" argument. Remove
381 2014-01-16 Pedro Alves <palves@redhat.com>
383 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
384 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
387 2014-01-16 Doug Evans <dje@google.com>
389 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
391 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
393 * btrace.h (btrace_thread_flag): New.
394 (struct btrace_thread_info) <flags>: New.
395 * record-btrace.c (record_btrace_resume_thread)
396 (record_btrace_find_thread_to_move, btrace_step_no_history)
397 (btrace_step_stopped, record_btrace_start_replaying)
398 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
399 (record_btrace_find_resume_thread): New.
400 (record_btrace_resume, record_btrace_wait): Extend.
401 (record_btrace_can_execute_reverse): New.
402 (record_btrace_open): Fail in non-stop mode.
403 (record_btrace_set_replay): Split into this, ...
404 (record_btrace_stop_replaying): ... this, ...
405 (record_btrace_clear_histories): ... and this.
406 (init_record_btrace_ops): Init to_can_execute_reverse.
409 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
411 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
412 (forward_target_decr_pc_after_break)
413 (target_decr_pc_after_break): New.
414 * target.c (forward_target_decr_pc_after_break)
415 (target_decr_pc_after_break): New.
416 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
417 instead of gdbarch_decr_pc_after_break.
418 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
419 instead of gdbarch_decr_pc_after_break.
420 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
421 instead of gdbarch_decr_pc_after_break.
422 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
423 instead of gdbarch_decr_pc_after_break.
424 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
425 instead of gdbarch_decr_pc_after_break.
426 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
427 instead of gdbarch_decr_pc_after_break.
429 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
431 * btrace.c: Include regcache.h.
432 (btrace_add_pc): New.
433 (btrace_enable): Call btrace_add_pc.
434 (btrace_is_empty): New.
435 * btrace.h (btrace_is_empty): New.
436 * record-btrace.c (require_btrace, record_btrace_info): Call
439 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
441 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
443 (linux_disable_btrace): Change return type.
444 * common/linux-btrace.h (linux_read_btrace): Change parameters
445 and return type to allow error reporting. Update users.
446 (linux_disable_btrace): Change return type. Update users.
447 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
450 (btrace_block) <begin>: Comment on BEGIN == 0.
451 * btrace.c (btrace_compute_ftrace): Start from the end of
453 (btrace_stitch_trace, btrace_clear_history): New.
454 (btrace_fetch): Read delta trace, return if replaying.
455 (btrace_clear): Move clear history code to btrace_clear_history.
456 (parse_xml_btrace): Throw an error if parsing failed.
457 * target.h (struct target_ops) <to_read_btrace>: Change parameters
458 and return type to allow error reporting.
459 (target_read_btrace): Change parameters and return type to allow
461 * target.c (target_read_btrace): Update.
462 * remote.c (remote_read_btrace): Support delta reads. Pass
466 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
468 * record.h (record_btrace_frame_unwind)
469 (record_btrace_tailcall_frame_unwind): New declarations.
470 * dwarf2-frame: Include record.h
471 (dwarf2_frame_cfa): Throw an error for btrace frames.
472 * record-btrace.c: Include hashtab.h.
473 (btrace_get_bfun_name): New.
474 (btrace_call_history): Call btrace_get_bfun_name.
475 (struct btrace_frame_cache): New.
477 (bfcache_hash, bfcache_eq, bfcache_new): New.
478 (btrace_get_frame_function): New.
479 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
480 (record_btrace_frame_this_id): Compute own id.
481 (record_btrace_frame_prev_register): Provide PC, throw_error
482 for all other registers.
483 (record_btrace_frame_sniffer): Detect btrace frames.
484 (record_btrace_tailcall_frame_sniffer): New.
485 (record_btrace_frame_dealloc_cache): New.
486 (record_btrace_frame_unwind): Add new functions.
487 (record_btrace_tailcall_frame_unwind): New.
488 (_initialize_record_btrace): Allocate cache.
489 * btrace.c (btrace_clear): Call reinit_frame_cache.
492 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
494 * record-btrace.c (record_btrace_set_replay)
495 (record_btrace_goto_begin, record_btrace_goto_end)
496 (record_btrace_goto): New.
497 (init_record_btrace_ops): Initialize them.
500 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
502 * record-btrace.c (record_btrace_find_new_threads)
503 (record_btrace_thread_alive): New.
504 (init_record_btrace_ops): Initialize to_find_new_threads and
507 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
509 * record-btrace.c (record_btrace_resume): New.
510 (record_btrace_wait): New.
511 (init_record_btrace_ops): Initialize to_wait and to_resume.
513 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
515 * record-btrace.c (record_btrace_xfer_partial)
516 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
517 (record_btrace_allow_memory_access): New.
518 (init_record_btrace_ops): Initialize new methods.
519 * target.c (raw_memory_xfer_partial): Bail out if target reports
520 that this memory is not available.
522 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
524 * target.h (target_ops) <to_insert_breakpoint>
525 <to_remove_breakpoint>: Add target_ops parameter.
526 (forward_target_insert_breakpoint): New.
527 (forward_target_remove_breakpoint): New.
528 (memory_remove_breakpoint, memory_insert_breakpoint):
529 Add target_ops parameter.
530 * target.c (target_insert_breakpoint): Split into this and ...
531 (forward_target_insert_breakpoint): ... this.
532 (target_remove_breakpoint): Split into this and ...
533 (forward_target_remove_breakpoint): ... this.
534 (debug_to_insert_breakpoint): Add target_ops parameter.
535 Call forward_target_insert_breakpoint.
536 (debug_to_remove_breakpoint): Add target_ops parameter.
537 Call forward_target_remove_breakpoint.
538 (update_current_target): Do not inherit or default to_insert_breakpoint
539 and to_remove_breakpoint.
540 * corelow.c (ignore): Add target_ops parameter.
541 * exec.c (ignore): Add target_ops parameter.
542 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
543 Add target_ops parameter.
544 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
545 Add target_ops parameter.
546 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
547 Add target_ops parameter.
548 * record-full.c (record_full_beneath_to_insert_breakpoint)
549 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
550 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
551 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
552 (record_full_core_remove_breakpoint): Add target_ops parameter.
554 (record_full_beneath_to_insert_breakpoint_ops)
555 (record_full_beneath_to_remove_breakpoint_ops)
556 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
557 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
558 tmp_to_remove_breakpoint_ops,
559 record_full_beneath_to_insert_breakpoint_ops, and
560 record_full_beneath_to_remove_breakpoint_ops.
561 * remote-m32r-sdi.c (m32r_insert_breakpoint)
562 (m32r_remove_breakpoint): Add target_ops parameter.
563 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
564 Add target_ops parameter.
565 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
566 Add target_ops parameter.
568 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
569 Markus Metzger <markus.t.metzger@intel.com>
571 * record-btrace.c: Include frame-unwind.h.
572 (record_btrace_frame_unwind_stop_reason)
573 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
574 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
576 (init_record_btrace_ops): Install it.
578 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
580 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
583 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
585 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
588 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
590 * frame-unwind.c: Include target.h.
591 (frame_unwind_try_unwinder): New function with code from ...
592 (frame_unwind_find_by_frame): ... here. New variable
593 unwinder_from_target, call also target_get_unwinder)
594 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
595 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
596 * target.h (struct target_ops): New fields to_get_unwinder and
597 to_get_tailcall_unwinder.
598 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
600 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
602 * record-btrace.c (record_btrace_fetch_registers)
603 (record_btrace_store_registers)
604 (record_btrace_to_prepare_to_store): New.
605 (init_record_btrace_ops): Add the above.
607 2014-01-16 Tom Tromey <tromey@redhat.com>
609 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
610 * target.h (struct target_ops) <to_prepare_to_store>: Add
612 (target_prepare_to_store): Add argument.
613 * target.c (debug_to_prepare_to_store): Add argument.
614 (update_current_target): Update.
615 * remote.c (remote_prepare_to_store): Add 'self' argument.
616 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
617 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
618 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
619 * record-full.c (record_full_core_prepare_to_store): Add 'self'
621 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
622 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
623 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
624 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
625 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
627 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
629 * btrace.h (replay) <replay>: New.
630 (btrace_is_replaying): New.
631 * btrace.c (btrace_clear): Free replay iterator.
632 (btrace_is_replaying): New.
633 * record-btrace.c (record_btrace_is_replaying): New.
634 (record_btrace_info): Print insn number if replaying.
635 (record_btrace_insn_history): Start at replay position.
636 (record_btrace_call_history): Start at replay position.
637 (init_record_btrace_ops): Init to_record_is_replaying.
639 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
641 * record-btrace.c (record_btrace_insn_history_range): Include
643 (record_btrace_insn_history_from): Adjust range.
644 (record_btrace_call_history_range): Include
646 (record_btrace_call_history_from): Adjust range.
647 * NEWS: Announce changes.
649 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
651 * record.h (enum record_print_flag)
652 <record_print_indent_calls>: New.
653 * record.c (get_call_history_modifiers): Recognize /c modifier.
654 (_initialize_record): Document /c modifier.
655 * record-btrace.c (btrace_call_history): Add btinfo parameter.
656 Reorder fields. Optionally indent the function name. Update
658 * NEWS: Announce changes.
660 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
662 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
664 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
666 * btrace.c (ftrace_new_function): Start counting at one.
667 * record-btrace.c (record_btrace_info): Adjust number of calls
671 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
673 * record-btrace.c (btrace_call_history_insn_range): Print
674 insn range as [begin, end].
676 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
678 * btrace.h (struct btrace_func_link): New.
679 (enum btrace_function_flag): New.
680 (struct btrace_inst): Rename to ...
681 (struct btrace_insn): ...this. Update all users.
682 (struct btrace_func) <ibegin, iend>: Remove.
683 (struct btrace_func_link): New.
684 (struct btrace_func): Rename to ...
685 (struct btrace_function): ...this. Update all users.
686 (struct btrace_function) <segment, flow, up, insn, insn_offset)
687 (number, level, flags>: New.
688 (struct btrace_insn_iterator): Rename to ...
689 (struct btrace_insn_history): ...this.
691 (struct btrace_insn_iterator, btrace_call_iterator): New.
692 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
693 (struct btrace_target_info) <begin, end, level>
694 <insn_history, call_history>: New.
695 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
696 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
697 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
698 (btrace_call_number, btrace_call_begin, btrace_call_end)
699 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
700 (btrace_find_function_by_number, btrace_set_insn_history)
701 (btrace_set_call_history): New.
702 * btrace.c (btrace_init_insn_iterator)
703 (btrace_init_func_iterator, compute_itrace): Remove.
704 (ftrace_print_function_name, ftrace_print_filename)
705 (ftrace_skip_file): Change
707 (ftrace_init_func): Remove.
708 (ftrace_debug): Use new btrace_function fields.
709 (ftrace_function_switched): Also consider gaining and
710 losing symbol information).
711 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
712 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
713 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
715 (ftrace_new_function): Move. Remove debug print.
716 (ftrace_update_lines, ftrace_update_insns): New.
717 (ftrace_update_function): Check for call, ret, and jump.
718 (compute_ftrace): Renamed to ...
719 (btrace_compute_ftrace): ...this. Rewritten to compute call
721 (btrace_fetch, btrace_clear): Updated.
722 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
723 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
724 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
725 (btrace_call_number, btrace_call_begin, btrace_call_end)
726 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
727 (btrace_find_function_by_number, btrace_set_insn_history)
728 (btrace_set_call_history): New.
729 * record-btrace.c (require_btrace): Use new btrace thread
731 (record_btrace_info, btrace_insn_history)
732 (record_btrace_insn_history, record_btrace_insn_history_range):
733 Use new btrace thread info fields and new iterator.
734 (btrace_func_history_src_line): Rename to ...
735 (btrace_call_history_src_line): ...this. Use new btrace
737 (btrace_func_history): Rename to ...
738 (btrace_call_history): ...this. Use new btrace thread info
739 fields and new iterator.
740 (record_btrace_call_history, record_btrace_call_history_range):
741 Use new btrace thread info fields and new iterator.
743 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
745 * frame.h (frame_id_build_unavailable_stack_special): New.
746 * frame.c (frame_id_build_unavailable_stack_special): New.
748 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
750 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
751 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
752 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
754 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
755 (i386_insn_is_jump, i386_jmp_p): New.
756 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
757 insn_is_jump to gdbarch.
758 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
759 * gdbarch.h: Regenerated.
760 * gdbarch.c: Regenerated.
761 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
762 (default_insn_is_jump): New.
763 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
764 (default_insn_is_jump): New.
766 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
768 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
770 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
771 (btrace_read_type) <btrace_read_new>: Change to ...
772 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
774 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
776 * common/linux-btrace.c (linux_read_btrace): Free trace from
779 2014-01-15 Doug Evans <dje@google.com>
781 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
784 2014-01-15 Tom Tromey <tromey@redhat.com>
786 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
787 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
788 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
789 (set_objfile_main_name): New function.
790 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
791 language_of_main>: New fields.
792 (set_objfile_main_name): Declare.
793 * symtab.c (find_main_name): Loop over objfiles to find the main
795 (set_main_name): Now static.
796 (get_main_info): Add comment.
797 * symtab.h (set_main_name): Don't declare.
799 2014-01-15 Tom Tromey <tromey@redhat.com>
801 * symtab.c (main_progspace_key): New global.
802 (struct main_info): New.
803 (name_of_main, language_of_main): Remove.
804 (get_main_info, main_info_cleanup): New function.
805 (set_main_name, main_name, main_language): Use get_main_info.
806 (_initialize_symtab): Initialize main_progspace_key.
808 2014-01-15 Tom Tromey <tromey@redhat.com>
810 * dbxread.c (process_one_symbol): Update.
811 * dwarf2read.c (read_partial_die): Update.
812 * symfile.c (set_initial_language): Call main_language.
813 * symtab.c (language_of_main): Now static.
814 (set_main_name): Add 'lang' parameter.
815 (find_main_name): Update.
816 (main_language): New function.
817 (symtab_observer_executable_changed): Update.
818 * symtab.h (set_main_name): Update.
819 (language_of_main): Remove.
820 (main_language): Declare.
822 2014-01-15 Tom Tromey <tromey@redhat.com>
824 * symfile.c (init_entry_point_info): Use new "initialized" field.
826 * objfiles.h (struct entry_point) <initialized>: New field.
827 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
828 (struct objfile) <ei>: ...here. Remove.
829 * objfiles.c (entry_point_address_query): Update.
831 2014-01-15 Tom Tromey <tromey@redhat.com>
833 * objfiles.c (entry_point_address_query): Relocate entry point
835 (objfile_relocate1): Do not relocate entry point address.
836 * objfiles.h (struct entry_info) <entry_point>: Update comment.
837 <the_bfd_section_index>: New field.
838 * symfile.c (init_entry_point_info): Find the entry point's
841 2014-01-15 Tom Tromey <tromey@redhat.com>
843 * solib-frv.c (enable_break): Use entry_point_address_query.
845 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
847 * NEWS: Add note on improved process record-replay on
850 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
852 * arm-tdep.c (enum arm_record_result): New enum.
853 (arm_record_unsupported_insn): New function.
854 (arm_record_coproc_data_proc): Removed.
855 (thumb2_record_ld_st_multiple): New function.
856 (thumb2_record_ld_st_dual_ex_tbb): New function.
857 (thumb2_record_data_proc_sreg_mimm): New function.
858 (thumb2_record_ps_dest_generic): New function.
859 (thumb2_record_branch_misc_cntrl): New function.
860 (thumb2_record_str_single_data): New function.
861 (thumb2_record_ld_mem_hints): New function.
862 (thumb2_record_ld_word): New function.
863 (thumb2_record_lmul_lmla_div): New function.
864 (thumb2_record_decode_insn_handler): New function.
865 (decode_insn): Add thumb32 instruction handlers.
867 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
869 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
870 (struct arm_linux_record_tdep): Declare.
871 (arm_canonicalize_syscall): New function.
872 (arm_all_but_pc_registers_record): New function.
873 (arm_linux_syscall_record): New function.
874 (arm_linux_init_abi): Add syscall recording constructs.
875 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
876 decoding. (arm_record_coproc_data_proc): Update arm syscall
878 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
879 <arm_syscall_record>: New field.
880 * configure.tgt (arm*-*-linux*): Add linux-record.o to
883 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
885 * arm-tdep.c (thumb_record_misc): Update to use sp as base
886 register for push instruction recording.
888 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
890 * arm-tdep.c (thumb_record_misc): Update to correct logical
891 error while recording ldm, ldmia and pop instructions.
893 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
895 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
897 2014-01-15 Pedro Alves <palves@redhat.com>
899 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
900 (go32_resume, go32_fetch_registers, store_register)
901 (go32_store_registers, go32_prepare_to_store)
902 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
903 (go32_create_inferior, go32_can_run, go32_terminal_init)
904 (go32_terminal_inferior, go32_terminal_ours): Delete forward
907 2014-01-15 Tom Tromey <tromey@redhat.com>
909 * target.h (async_callback_ftype): New typedef.
910 (struct target_ops) <to_async>: Use it.
912 2014-01-15 Joel Brobecker <brobecker@adacore.com>
914 * python/py-value.c (get_field_type): Remove unnecessary curly
915 braces for single-statement if block.
917 2014-01-15 Joel Brobecker <brobecker@adacore.com>
919 * python/py-type.c (convert_field): Add missing empty line
922 2014-01-14 Doug Evans <dje@google.com>
924 * symfile.h (expand_symtabs_matching): Renamed from
925 expand_partial_symbol_names. Update prototype.
926 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
927 * symfile.c (expand_symtabs_matching): Renamed from
928 expand_partial_symbol_names. New args file_matcher, kind.
929 Rename arg fun to symbol_matcher.
930 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
931 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
932 ada_expand_partial_symbol_name.
933 (ada_make_symbol_completion_list): Update to call
934 expand_symtabs_matching.
935 (ada_add_global_exceptions): Call expand_symtabs_matching.
936 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
937 call map_symbol_filenames.
938 * symtab.c (sources_info): Update to call map_symbol_filenames.
939 (search_symbols): Call expand_symtabs_matching.
940 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
941 (default_make_symbol_completion_list_break_on): Update to call
942 expand_symtabs_matching.
943 (make_source_files_completion_list): Update to call
944 map_symbol_filenames.
946 2014-01-14 Doug Evans <dje@google.com>
948 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
949 (expand_symtabs_symbol_matcher_ftype): New typedef.
950 (quick_symbol_functions.expand_symtabs_matching): Update to use.
951 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
952 * symfile.c (expand_partial_symbol_names): Update to use
953 expand_symtabs_symbol_matcher_ftype.
954 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
955 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
956 Arg name_matcher renamed to symbol_matcher.
957 * psymtab.c (recursively_search_psymtabs): Update to use
958 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
960 (expand_symtabs_matching_via_partial): Update to use
961 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
962 Arg name_matcher renamed to symbol_matcher.
964 2014-01-14 Doug Evans <dje@google.com>
966 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
967 (map_partial_symbol_filenames): Ditto.
968 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
969 (map_partial_symbol_filenames): Ditto.
970 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
971 (map_partial_symbol_filenames): Ditto.
972 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
973 (map_partial_symbol_filenames): Ditto.
974 * symtab.c: Delete #include "psymtab.h".
976 2014-01-14 Pedro Alves <palves@redhat.com>
977 Tom Tromey <tromey@redhat.com>
979 * infrun.c (use_displaced_stepping): Use find_record_target
980 instead of RECORD_IS_USED.
981 (adjust_pc_after_break): Use record_full_is_used instead of
983 * record-btrace.c (record_btrace_open): Call record_preopen
984 instead of checking RECORD_IS_USED.
985 * record-full.c (record_full_shortname)
986 (record_full_core_shortname): New globals.
987 (record_full_is_used): New function.
988 (find_full_open): Call record_preopen instead of checking
990 (init_record_full_ops): Set the target's shortname to
991 record_full_shortname.
992 (init_record_full_core_ops): Set the target's shortname to
993 record_full_core_shortname.
994 * record-full.h (record_full_is_used): Declare.
995 * record.c (find_record_target): Make extern.
996 (record_preopen): New function.
997 * record.h (RECORD_IS_USED): Delete macro.
998 (find_record_target, record_preopen): Declare functions.
1000 2014-01-14 Yao Qi <yao@codesourcery.com>
1002 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
1003 'len''s type to ULONGEST.
1004 (core_xfer_shared_libraries_aix): Likewise.
1005 * gdbarch.c, gdbarch.h: Regenerated.
1006 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
1007 Change type of 'len' to ULONGEST.
1008 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1009 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
1011 2014-01-14 Yao Qi <yao@codesourcery.com>
1013 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
1014 type of 'len' to ULONGEST.
1015 (linux_xfer_osdata_processgroups): Likewise.
1016 (linux_xfer_osdata_threads): Likewise.
1017 (linux_xfer_osdata_fds): Likewise.
1018 (linux_xfer_osdata_isockets): Likewise.
1019 (linux_xfer_osdata_shm): Likewise.
1020 (linux_xfer_osdata_sem): Likewise.
1021 (linux_xfer_osdata_msg): Likewise.
1022 (linux_common_xfer_osdata): Likewise.
1023 (struct osdata_type) <getter>: Likewise.
1024 * common/linux-osdata.h (linux_common_xfer_osdata): Update
1027 2014-01-14 Yao Qi <yao@codesourcery.com>
1029 * target.h (target_xfer_partial_ftype): Update.
1030 (struct target_ops) <to_xfer_partial>: Change 'len' type to
1032 * aix-thread.c (aix_thread_xfer_partial): Change type of
1033 argument 'len' to ULONGEST.
1034 * auxv.c (procfs_xfer_auxv): Likewise.
1035 (ld_so_xfer_auxv): Likewise.
1036 (memory_xfer_auxv): Likewise.
1037 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1038 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1039 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1040 * corelow.c (core_xfer_partial): Likewise.
1041 * ctf.c (ctf_xfer_partial): Likewise.
1042 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
1044 (darwin_read_dyld_info): Likewise.
1045 (darwin_xfer_partial): Likewise.
1046 * exec.c (section_table_xfer_memory_partial): Likewise.
1047 (exec_xfer_partial): Likewise.
1048 * exec.h (section_table_xfer_memory_partial): Update
1050 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
1051 instead of plongest.
1052 (gnu_xfer_partial): Likewise.
1053 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
1054 (ia64_hpux_xfer_solib_got): Likewise.
1055 (ia64_hpux_xfer_partial): Likewise.
1056 * ia64-linux-nat.c (ia64_linux_xfer_partial):
1057 * inf-ptrace.c (inf_ptrace_xfer_partial):
1058 * inf-ttrace.c (inf_ttrace_xfer_partial):
1059 * linux-nat.c (linux_xfer_siginfo): Likewise.
1060 (linux_nat_xfer_partial): Likewise.
1061 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
1062 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
1063 * monitor.c (monitor_xfer_memory): Likewise.
1064 (monitor_xfer_partial): Likewise.
1065 * procfs.c (procfs_xfer_partial): Likewise.
1066 * record-full.c (record_full_xfer_partial): Likewise.
1067 (record_full_core_xfer_partial): Likewise.
1068 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
1069 instead of plongest.
1070 (gdbsim_xfer_partial): Likewise.
1071 * remote.c (remote_xfer_partial): Likewise.
1072 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1073 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1075 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1076 (rs6000_xfer_shared_libraries): Likewise.
1077 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1078 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1079 (sparc_xfer_partial): Likewise.
1080 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1081 (spu_xfer_partial): Likewise.
1082 * spu-multiarch.c (spu_xfer_partial): Likewise.
1083 * target.c (target_read_live_memory): Likewise.
1084 (memory_xfer_live_readonly_partial): Likewise.
1085 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
1086 (target_xfer_partial, default_xfer_partial): Likewise.
1087 (current_xfer_partial): Likewise.
1088 * tracepoint.c (tfile_xfer_partial): Likewise.
1089 * windows-nat.c (windows_xfer_memory): Likewise. Call
1090 pulongest instead of plongest.
1091 (windows_xfer_partial): Likewise.
1092 (windows_xfer_shared_libraries): Likewise.
1094 2014-01-14 Yao Qi <yao@codesourcery.com>
1096 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
1097 target_xfer_partial_ftype.
1099 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1103 * valops.c (value_struct_elt_bitpos): New function
1104 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
1105 object to 'None' if the field name is an empty string ("").
1106 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
1107 attribute to look for a field when 'name' is 'None'.
1108 (get_field_type): New function
1110 2014-01-13 Doug Evans <dje@google.com>
1113 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
1114 (try_open_dwop_file): Ditto.
1115 * gdb_bfd.c: #include "vec.h".
1116 (bfdp): New typedef.
1117 (struct gdb_bfd_data): New member included_bfds.
1118 (gdb_bfd_unref): Unref all included bfds.
1119 (gdb_bfd_record_inclusion): New function.
1120 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
1122 2014-01-13 Tom Tromey <tromey@redhat.com>
1124 * gdbcore.h (deprecated_core_resize_section_table): Remove.
1126 2014-01-13 Tom Tromey <tromey@redhat.com>
1128 * defs.h (use_windows): Remove.
1129 * gdb.c (main): Update.
1130 * main.c (captured_main, gdb_main): Update.
1131 * main.h (struct captured_main_args) <use_windows>: Remove.
1132 * top.c (use_windows): Remove.
1134 2014-01-13 Tom Tromey <tromey@redhat.com>
1136 * defs.h (deprecated_flush_hook): Remove.
1138 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1141 * linux-thread-db.c (try_thread_db_load): Add parameter
1142 check_auto_load_safe. Move here the file_is_auto_load_safe call.
1143 (try_thread_db_load_from_pdir_1): Move it there from here.
1144 (try_thread_db_load_from_sdir): Update caller.
1145 (try_thread_db_load_from_dir): Move it there from here.
1147 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
1149 * regformats/regdat.sh: Always rewrite the register file.
1151 2014-01-13 Pedro Alves <palves@redhat.com>
1153 * Makefile.in (CHECK_HEADERS): New variable.
1154 (check-headers:): New rule.
1156 2014-01-13 Tom Tromey <tromey@redhat.com>
1158 * cli/cli-setshow.c (do_set_command): Update.
1159 * defs.h (deprecated_set_hook): Remove.
1160 * top.c (deprecated_set_hook): Remove.
1162 2014-01-13 Pedro Alves <palves@redhat.com>
1164 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
1165 the tracepoint if the PC is a pseudo-register.
1167 2014-01-13 Tom Tromey <tromey@redhat.com>
1169 * defs.h (XCALLOC): Remove.
1170 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
1171 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
1172 * dwarf2loc.c (allocate_piece_closure): Likewise.
1173 * elfread.c (elf_symfile_segments): Likewise.
1174 (elf_symfile_segments): Likewise.
1175 * gdbtypes.c (copy_type_recursive): Likewise.
1176 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
1177 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
1178 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
1180 * mt-tdep.c (mt_gdbarch_init): Likewise.
1181 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
1183 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
1184 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
1185 * registry.c (registry_alloc_data): Likewise.
1186 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
1187 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
1188 * serial.c (serial_fdopen_ops): Likewise.
1189 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
1191 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
1192 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
1195 2014-01-13 Tom Tromey <tromey@redhat.com>
1197 * defs.h (XMALLOC): Remove.
1198 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
1199 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
1200 * cli-out.c (struct ui_out *): Likewise.
1201 * cli/cli-dump.c (add_dump_command): Likewise.
1202 (add_dump_command): Likewise.
1203 * complaints.c (get_complaints): Likewise.
1204 (find_complaint): Likewise.
1205 * dwarf2-frame.c (execute_cfa_program): Likewise.
1206 * dwarf2read.c (abbrev_table_read_table): Likewise.
1207 * gdbarch.sh: Likewise.
1208 * gdbarch.c: Rebuild.
1209 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
1210 * interps.c (interp_new): Likewise.
1211 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
1212 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
1213 * mi/mi-console.c (mi_console_file_new): Likewise.
1214 * mi/mi-interp.c (mi_interpreter_init): Likewise.
1215 * mi/mi-out.c (mi_out_new): Likewise.
1216 * mi/mi-parse.c (mi_parse): Likewise.
1217 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
1218 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
1219 * observer.c (xalloc_observer_list_node): Likewise.
1220 * regcache.c (regcache_xmalloc_1): Likewise.
1221 * reggroups.c (reggroup_new): Likewise.
1222 (_initialize_reggroup): Likewise.
1223 * registry.c (register_data_with_cleanup): Likewise.
1224 * remote.c (remote_notif_stop_alloc_reply): Likewise.
1225 * ser-base.c (serial_ttystate): Likewise.
1226 * ser-mingw.c (make_pipe_state): Likewise.
1227 * ser-pipe.c (pipe_open): Likewise.
1228 * serial.c (serial_open): Likewise.
1229 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
1230 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
1231 (tui_alloc_win_info): Likewise.
1232 (tui_add_content_elements): Likewise.
1233 * tui/tui-file.c (tui_file_new): Likewise.
1234 * tui/tui-out.c (tui_out_new): Likewise.
1235 * ui-file.c (mem_file_new): Likewise.
1236 * ui-out.c (push_level): Likewise.
1237 (make_cleanup_ui_out_end): Likewise.
1238 (append_header_to_list): Likewise.
1239 (ui_out_new): Likewise.
1240 * user-regs.c (user_reg_add_builtin): Likewise.
1242 2014-01-13 Tom Tromey <tromey@redhat.com>
1244 * defs.h (XZALLOC): Remove.
1245 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
1246 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
1247 (get_ada_tasks_inferior_data): Likewise.
1248 * auto-load.c (get_auto_load_pspace_data): Likewise.
1249 * auxv.c (get_auxv_inferior_data): Likewise.
1250 * bfd-target.c (target_bfd_reopen): Likewise.
1251 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
1252 (deprecated_insert_raw_breakpoint): Likewise.
1253 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
1254 * corelow.c (core_open): Likewise.
1255 * darwin-nat.c (darwin_check_new_threads): Likewise.
1256 (darwin_attach_pid): Likewise.
1257 * dummy-frame.c (dummy_frame_push): Likewise.
1258 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
1259 * dwarf2loc.c (allocate_piece_closure): Likewise.
1260 * elfread.c (elf_symfile_segments): Likewise.
1261 * eval.c (ptrmath_type_p): Likewise.
1262 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
1263 * gdbtypes.c (alloc_type_arch): Likewise.
1264 (alloc_type_instance): Likewise.
1265 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
1266 * inf-child.c (inf_child_can_use_agent): Likewise.
1267 * inflow.c (get_inflow_inferior_data): Likewise.
1268 * infrun.c (save_infcall_suspend_state): Likewise.
1269 * jit.c (jit_reader_load): Likewise.
1270 (get_jit_objfile_data): Likewise.
1271 (get_jit_program_space_data): Likewise.
1272 (jit_object_open_impl): Likewise.
1273 (jit_symtab_open_impl): Likewise.
1274 (jit_block_open_impl): Likewise.
1275 (jit_frame_sniffer): Likewise.
1276 * linux-fork.c (add_fork): Likewise.
1277 * maint.c (make_command_stats_cleanup): Likewise.
1278 * objfiles.c (get_objfile_pspace_data): Likewise.
1279 * opencl-lang.c (struct lval_closure): Likewise.
1280 * osdata.c (osdata_start_osdata): Likewise.
1281 * progspace.c (new_address_space): Likewise.
1282 (add_program_space): Likewise.
1283 * remote-sim.c (get_sim_inferior_data): Likewise.
1284 * sh-tdep.c (sh_gdbarch_init): Likewise.
1285 * skip.c (Ignore): Likewise.
1286 (skip_delete_command): Likewise.
1287 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
1288 (library_list_start_library): Likewise.
1289 (solib_aix_current_sos): Likewise.
1290 * solib-darwin.c (get_darwin_info): Likewise.
1291 (darwin_current_sos): Likewise.
1292 * solib-dsbt.c (get_dsbt_info): Likewise.
1293 * solib-ia64-hpux.c (new_so_list): Likewise.
1294 (ia64_hpux_get_solib_linkage_addr): Likewise.
1295 * solib-spu.c (append_ocl_sos): Likewise.
1296 (spu_current_sos): Likewise.
1297 * solib-svr4.c (get_svr4_info): Likewise.
1298 (svr4_keep_data_in_core): Likewise.
1299 (library_list_start_library): Likewise.
1300 (svr4_default_sos): Likewise.
1301 (svr4_read_so_list): Likewise.
1302 * solib-target.c (library_list_start_library): Likewise.
1303 (solib_target_current_sos): Likewise.
1304 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
1305 * symfile-debug.c (install_symfile_debug_logging): Likewise.
1306 * symfile.c (default_symfile_segments): Likewise.
1307 * target-descriptions.c (tdesc_data_init): Likewise.
1308 (tdesc_create_reg): Likewise.
1309 (struct tdesc_type *): Likewise.
1310 (tdesc_create_vector): Likewise.
1311 (tdesc_set_struct_size): Likewise.
1312 (struct tdesc_type *): Likewise.
1313 (tdesc_free_feature): Likewise.
1314 (tdesc_create_feature): Likewise.
1315 * windows-nat.c (windows_add_thread): Likewise.
1316 (windows_make_so): Likewise.
1317 * xml-support.c (gdb_xml_body_text): Likewise.
1318 (gdb_xml_create_parser_and_cleanup): Likewise.
1319 (xml_process_xincludes): Likewise.
1320 * xml-syscall.c (allocate_syscalls_info): Likewise.
1321 (syscall_create_syscall_desc): Likewise.
1323 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
1325 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
1326 function, with code from i386_stap_parse_special_token.
1327 (i386_stap_parse_special_token_three_arg_disp): Likewise.
1328 (i386_stap_parse_special_token): Move code to the two functions
1331 2014-01-09 Pedro Alves <palves@redhat.com>
1332 Hui Zhu <hui@codesourcery.com>
1335 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
1336 bp_err_string. Don't mark the location shlib_disabled if the
1337 error thrown wasn't a generic or memory error. Catch errors
1338 thrown while inserting breakpoints in overlayed code. Output
1339 error message of software breakpoints.
1340 * remote.c (remote_insert_breakpoint): If this breakpoint has
1341 target-side commands but this stub doesn't support Z0 packets,
1342 throw NOT_SUPPORTED_ERROR error.
1343 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
1344 * target.h (target_insert_breakpoint): Extend comment.
1345 (target_insert_hw_breakpoint): Add comment.
1347 2014-01-08 Pedro Alves <palves@redhat.com>
1349 * remote.c (remote_add_thread): Add threads silently if starting
1351 (remote_notice_new_inferior): If in all-stop, and starting up,
1352 don't call notice_new_inferior.
1353 (get_current_thread): New function, factored out from ...
1354 (add_current_inferior_and_thread): ... this. Adjust.
1355 (remote_start_remote) <all-stop>: Fetch the thread list. If we
1356 found any thread, then select the remote's current thread as GDB's
1359 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1361 * NEWS: Create a new section for the next release branch.
1362 Rename the section of the current branch, now that it has
1365 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1367 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
1368 * version.in: Bump version to 7.7.50.DATE-cvs.
1370 2014-01-08 Yao Qi <yao@codesourcery.com>
1372 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
1373 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
1374 (spu_xfer_partial): Cast 'buf' to 'const char *'.
1376 2014-01-08 Yao Qi <yao@codesourcery.com>
1378 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
1379 return value of bfd_get_filename to symbol_file_add_from_bfd.
1381 2014-01-08 Pierre Muller <muller@sourceware.org>
1384 * coff-pe-read.c (struct read_pe_section_data): Add index field.
1385 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
1386 to prim_record_mininal_symbol_and_info.
1387 (add_pe_forwarded_sym): Use known section number of forwarded symbol
1388 in call to prim_record_minimal_symbol_and_info.
1389 (read_pe_exported_syms): Set index field of section_data.
1391 2014-01-07 Andrew Pinski <apinski@cavium.com>
1393 * features/aarch64-core.xml (cpsr): Change to be 64bit.
1394 * features/aarch64.c: Regenerate.
1396 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
1398 * target.c (return_null): Define.
1399 (update_current_target): Use it instead of return_zero for
1400 functions that return a pointer.
1402 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1404 * source.c (add_path): Fix check for duplicated paths in the previously
1407 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
1409 * ada-lang.c: Remove duplicated include statements.
1410 * alphabsd-nat.c: Ditto.
1411 * amd64-darwin-tdep.c: Ditto.
1412 * amd64fbsd-nat.c: Ditto.
1413 * auto-load.c: Ditto.
1415 * breakpoint.c: Ditto.
1417 * fork-child.c: Ditto.
1418 * gdb_usleep.c: Ditto.
1419 * i386-darwin-tdep.c: Ditto.
1420 * i386fbsd-nat.c: Ditto.
1422 * inferior.c: Ditto.
1424 * linux-nat.c: Ditto.
1425 * linux-tdep.c: Ditto.
1426 * m68kbsd-nat.c: Ditto.
1427 * m68klinux-nat.c: Ditto.
1428 * microblaze-tdep.c: Ditto.
1429 * mips-linux-tdep.c: Ditto.
1430 * mn10300-tdep.c: Ditto.
1431 * nto-tdep.c: Ditto.
1432 * opencl-lang.c: Ditto.
1434 * printcmd.c: Ditto.
1435 * regcache.c: Ditto.
1436 * remote-m32r-sdi.c: Ditto.
1440 * tilegx-linux-nat.c: Ditto.
1441 * tilegx-tdep.c: Ditto.
1442 * tracepoint.c: Ditto.
1444 * vaxbsd-nat.c: Ditto.
1445 * windows-nat.c: Ditto.
1446 * xtensa-tdep.c: Ditto.
1448 2014-01-07 Yao Qi <yao@codesourcery.com>
1450 * spu-linux-nat.c (_initialize_spu_nat): Declare.
1452 2014-01-07 Yao Qi <yao@codesourcery.com>
1453 Joel Brobecker <brobecker@adacore.com>
1455 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
1456 (pdc_write_regs): Likewise.
1457 (fetch_regs_kernel_thread): Likewise.
1458 (store_regs_kernel_thread): Likewise.
1460 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1462 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
1463 tagged type objects to their actual type.
1465 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1467 * ada-valprint.c (print_field_values): Add "language" parameter.
1468 Update calls to print_field_values and print_variant_part.
1469 Pass new parameter "language" in call to val_print instead
1470 of "current_language". Replace call to ada_val_print by call
1472 (print_variant_part): Add "language" parameter.
1473 (ada_val_print_struct_union): Update call to print_field_values.
1475 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1477 * ada-valprint.c (ui_memcpy): Delete.
1478 (ada_print_floating): Update documentation. Add empty line
1479 between between function documentation and implementation.
1480 Delete variable "buffer". Use ui_file_xstrdup in place of
1481 ui_file_put. Minor adjustments following this change.
1483 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1485 * ada-valprint.c (ada_val_print_string): New function,
1486 extracted from ada_val_print_array.
1487 (ada_val_print_array): Replace extracted code by call
1488 to ada_val_print_string followed by a return. Move
1489 "else" branch to the function's top block.
1491 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1493 * ada-valprint.c (ada_val_print_array): Move implementation
1494 down. Rename parameter "offset" and "val" into "offset_aligned"
1495 and "original_value" respectively. Add parameter "offset".
1497 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1499 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
1500 re-organizing the code. Change the "???" message printed
1501 when target type is a TYPE_CODE_UNDEF into
1502 "<ref to undefined type>".
1504 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1506 * ada-valprint.c (print_record): Delete, implementation inlined...
1507 (ada_val_print_struct_union): ... here. Remove call to
1508 ada_check_typedef in inlined implementation.
1510 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1512 * ada-valprint.c (ada_val_print_gnat_array): New function,
1513 extracted from ada_val_print_1;
1514 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
1515 (ada_val_print_flt, ada_val_print_struct_union)
1516 (ada_val_print_ref): Likewise.
1517 (ada_val_print_1): Delete variables i and elttype.
1518 Replace extracted-out code by call to corresponding
1521 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1523 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
1525 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1527 * ada-valprint.c (ada_val_print_1): Replace calls to
1528 ada_val_print_1 by calls to val_print.
1530 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1532 * ada-valprint.c (ada_val_print_1): Add parameter "language".
1533 Update calls to self accordingly. Replace calls to c_val_print
1534 by calls to val_print.
1536 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1538 * ada-valprint.c (print_record): Delete declaration.
1539 (adjust_type_signedness, ada_val_print_1): Likewise.
1540 (ada_val_print): Move function implementation down.
1541 (print_variant_part, print_field_values, print_record):
1542 Move function implementation up.
1544 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1546 * python/py-type.c (typy_get_name): New function.
1547 (type_object_getset): Add entry for attribute "name".
1548 * NEWS: Add entry mentioning this new attribute.
1550 2014-01-07 Yao Qi <yao@codesourcery.com>
1552 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
1555 2014-01-07 Yao Qi <yao@codesourcery.com>
1557 * gnu-nat.c (info_port_rights): Add qualifier const to
1560 2014-01-07 Yao Qi <yao@codesourcery.com>
1562 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
1564 2014-01-07 Yao Qi <yao@codesourcery.com>
1566 * gnu-nat.c (make_inf) Update declaration.
1567 (make_inf): Make it static.
1568 (inf_set_traced): Likewise.
1569 (inf_port_to_thread, inf_task_died_status): Likewise.
1571 2014-01-07 Yao Qi <yao@codesourcery.com>
1573 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
1575 2014-01-07 Yao Qi <yao@codesourcery.com>
1577 * gnu-nat.c (_initialize_gnu_nat): Declare.
1579 2014-01-07 Yao Qi <yao@codesourcery.com>
1581 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
1583 (struct gdbarch_info) <byte_order>: Change type to
1585 <byte_order_for_code>: Likewise.
1586 * gdbarch.c, gdbarch.h: Regenerated.
1588 2014-01-06 Sasha Smundak <asmundak@google.com>
1590 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
1592 2014-01-06 Tom Tromey <tromey@redhat.com>
1594 * doublest.c (convert_doublest_to_floatformat): Use const, not
1596 * somread.c (som_symtab_read): Likewise.
1598 2014-01-07 Hui Zhu <hui@codesourcery.com>
1600 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
1601 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
1602 (gdb_bfd_fopen): Ditto.
1603 (gdb_bfd_openr): Ditto.
1604 (gdb_bfd_openw): Ditto.
1605 (gdb_bfd_openr_iovec): Ditto.
1606 (gdb_bfd_fdopenr): Ditto.
1607 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
1608 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
1610 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
1612 * symfile-mem.c (symbol_file_add_from_memory): Removed
1613 gdb_bfd_stash_filename.
1615 2014-01-03 Doug Evans <dje@google.com>
1617 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
1620 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1622 Update year range in copyright notice of all files.
1624 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1626 * top.c (print_gdb_version): Set copyright year to 2014.
1628 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1630 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
1632 For older changes see ChangeLog-2013.
1638 version-control: never