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