1 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
6 2014-02-05 Yao Qi <yao@codesourcery.com>
8 * remote.c (remote_pass_signals): Remove local 'buf' and use
10 (remote_program_signals): Likewise.
12 2014-02-05 Yao Qi <yao@codesourcery.com>
14 * ctf.c: Include "inferior.h" and "gdbthread.h".
15 (CTF_PID): A new macro.
16 (ctf_open): Call inferior_appeared and add_thread_silent.
17 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
18 (ctf_thread_alive): New function.
19 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
21 2014-02-05 Yao Qi <yao@codesourcery.com>
25 2013-05-24 Yao Qi <yao@codesourcery.com>
27 * tracepoint.c (TFILE_PID): Remove.
28 (tfile_open): Don't add thread and inferior.
29 (tfile_close): Don't set 'inferior_ptid'. Don't call
31 (tfile_thread_alive): Remove.
32 (init_tfile_ops): Don't set field 'to_thread_alive' of
35 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
37 * remote.c (remote_start_remote): Call remote_check_symbols even
38 if only symbol-file (not file) has been given.
40 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
42 * gdbarch.sh (skip_entrypoint): New callback.
43 * gdbarch.c, gdbarch.h: Regenerate.
44 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
45 * infrun.c (fill_in_stop_func): Likewise.
46 * ppc-linux-tdep.c: Include "elf/ppc64.h".
47 (ppc_elfv2_elf_make_msymbol_special): New function.
48 (ppc_elfv2_skip_entrypoint): Likewise.
49 (ppc_linux_init_abi): Install them for ELFv2.
51 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
53 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
54 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
55 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
56 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
57 structures returned in GPRs.
59 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
61 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
62 offset to the stack parameter list for the ELFv2 ABI.
64 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
66 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
67 set_gdbarch_convert_from_func_ptr_addr and
68 set_gdbarch_elf_make_msymbol_special for ELFv1.
69 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
70 function descriptors on ELFv1.
71 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
72 set up r12 at function entry.
74 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
76 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
77 (struct gdbarch_tdep): New member elf_abi.
79 * rs6000-tdep.c: Include "elf/ppc64.h".
80 (rs6000_gdbarch_init): Detect ELF ABI version.
82 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
84 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
85 within a register pair holding a DFP 128-bit value on little-endian.
86 (ppc64_sysv_abi_return_value_base): Likewise.
87 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
88 (dfp_pseudo_register_write): Likewise.
90 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
92 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
93 offset on little-endian when passing _Decimal32.
94 (ppc64_sysv_abi_return_value_base): Likewise for return values.
96 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
98 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
99 of the overlapped FP register within the VSX register on little-
101 (efpr_pseudo_register_write): Likewise.
103 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
105 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
106 offset on little-endian when passing small structures.
108 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
110 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
111 (struct ppc64_sysv_argpos): New data structure.
112 (ppc64_sysv_abi_push_float): Remove.
113 (ppc64_sysv_abi_push_val): New function.
114 (ppc64_sysv_abi_push_integer): Likewise.
115 (ppc64_sysv_abi_push_freg): Likewise.
116 (ppc64_sysv_abi_push_vreg): Likewise.
117 (ppc64_sysv_abi_push_param): Likewise.
118 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
119 (ppc64_sysv_abi_return_value_base): New function.
120 (ppc64_sysv_abi_return_value): Refactor to use it.
122 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
124 * NEWS: Document new target powerpc64le-*-linux*.
126 2014-02-04 Mark Kettenis <kettenis@gnu.org>
128 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
129 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
131 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
132 register set used in ELF core dumps. Add floating-point register set.
134 2014-02-03 Kevin Buettner <kevinb@redhat.com>
136 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
137 dwarf2_to_gdb[] table using symbolic constants. Adjust
138 penultimate entry from number representing the PC register
139 to symbolic constant representing the MDR register. Add
140 constant for the PC register to the end of the table.
142 2014-02-03 Mark Kettenis <kettenis@gnu.org>
144 * bsd-kvm.c: Include <sys/param.h>
146 2014-02-03 Mark Kettenis <kettenis@gnu.org>
148 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
150 2014-01-31 Joel Brobecker <brobecker@adacore.com>
152 * ada-lang.h (clear_ada_sym_cache): Delete.
154 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
156 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
158 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
160 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
161 the sigreturn register save area only if the syscall is
164 2014-01-29 Joel Brobecker <brobecker@adacore.com>
166 * valops.c (value_slice): Minor reformatting.
168 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
170 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
172 2014-01-28 Joel Brobecker <brobecker@adacore.com>
174 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
176 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
177 (ada_ignore_descriptive_types_p): New static global.
178 (find_parallel_type_by_descriptive_type): Return immediately
179 if ada_ignore_descriptive_types_p is set.
180 (_initialize_ada_language): Register new commands "maintenance
181 set ada", "maintenance show ada", "maintenance set ada
182 ignore-descriptive-types" and "maintenance show ada
183 ignore-descriptive-types".
184 * NEWS: Add entry for new "maint ada set/show
185 ignore-descriptive-types" commands.
187 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
189 * record-btrace.c (record_btrace_close): Call btrace_teardown
192 2014-01-27 Joel Brobecker <brobecker@adacore.com>
194 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
197 2014-01-27 Joel Brobecker <brobecker@adacore.com>
199 * ada-typeprint (type_is_full_subrange_of_target_type):
201 (print_range): Add parameter bounds_prefered_p. If not set,
202 try printing range types using the name of their base type.
203 (print_range_type): Add parameter bounds_prefered_p.
204 Use it in call to print_range.
205 (print_array_type, ada_print_type): Update calls to print_range
206 and print_range_type.
208 2014-01-27 Joel Brobecker <brobecker@adacore.com>
210 * ada-typeprint.c (print_array_type, print_choices, print_range)
211 (print_range_bound, print_dynamic_range_bound, print_range_type):
214 2014-01-27 Joel Brobecker <brobecker@adacore.com>
216 * ada-typeprint.c (print_range): Add missing empty line
217 after local declaration.
219 2014-01-27 Joel Brobecker <brobecker@adacore.com>
221 * ada-valprint.c (print_optional_low_bound): Get index_type's
222 target type for as long as it is a TYPE_CODE_RANGE.
224 2014-01-27 Joel Brobecker <brobecker@adacore.com>
226 * procfs.c (procfs_make_note_section): Remove assertion and
229 2014-01-24 Yao Qi <yao@codesourcery.com>
231 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
232 * corelow.c (get_core_siginfo): Likewise.
234 2014-01-24 Yao Qi <yao@codesourcery.com>
236 * remote.c (remote_write_bytes_aux): Change type of 'len' to
237 ULONGEST. Don't check 'len' is negative.
238 (remote_write_bytes): Change type of 'len' to ULONGEST.
240 2014-01-23 Tom Tromey <tromey@redhat.com>
243 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
244 Handle exception from frame.block.
245 (FrameVars.fetch_frame_locals): Likewise.
247 2014-01-23 Tom Tromey <tromey@redhat.com>
250 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
251 on a NULL pointer. Move "goto error" to correct place.
253 2014-01-23 Tom Tromey <tromey@redhat.com>
256 * python/py-framefilter.c (apply_frame_filter): Call
257 ensure_python_env after computing gdbarch.
259 2014-01-23 Yao Qi <yao@codesourcery.com>
261 * target.c (raw_memory_xfer_partial): Change argument type
262 from void * to gdb_byte *.
263 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
265 2014-01-22 Doug Evans <dje@google.com>
267 New gdbserver option --debug-format=timestamp.
270 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
272 * syscalls/s390x-linux.xml: New file.
273 * syscalls/s390-linux.xml: New file.
274 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
275 (XML_SYSCALL_FILENAME_S390X): Likewise.
276 (op_svc): New enum value for SVC opcode.
277 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
278 (s390_linux_get_syscall_number): New function.
279 (s390_gdbarch_init): Register '*get_syscall_number' and the
280 syscall xml file name.
281 * data-directory/Makefile.in (SYSCALLS_FILES): Add
282 "s390-linux.xml" and "s390x-linux.xml".
283 * NEWS: Announce new feature.
285 2014-01-22 Baruch Siach <baruch@tkos.co.il>
287 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
289 2014-01-22 Pedro Alves <palves@redhat.com>
291 * xtensa-config.c: Include defs.h.
293 2014-01-22 Joel Brobecker <brobecker@adacore.com>
295 * common/common-utils.h: Add "ARI:" comment beside __func__
298 2014-01-22 Joel Brobecker <brobecker@adacore.com>
300 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
303 2014-01-21 Roland McGrath <mcgrathr@google.com>
305 * configure.ac: Call AM_PROG_INSTALL_STRIP.
306 * configure: Regenerate.
307 * aclocal.m4: Regenerate.
308 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
309 New substituted variables.
310 (install-strip): New target.
311 (INSTALL_SCRIPT): New substituted variable.
312 (FLAGS_TO_PASS): Add it.
313 (install-only): Use $(INSTALL_SCRIPT) rather than
314 $(INSTALL_PROGRAM) for gcore.
316 2014-01-20 Tom Tromey <tromey@redhat.com>
318 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
321 2014-01-20 Tom Tromey <tromey@redhat.com>
323 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
324 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
325 (deprecated_cmd_warning, complete_on_cmdlist): Update.
326 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
327 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
328 (struct cmd_list_element) <flags>: Remove.
329 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
330 doc_allocated>: New fields.
331 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
333 * maint.c (maintenance_do_deprecate): Update.
334 * top.c (execute_command): Update.
336 2014-01-20 Baruch Siach <baruch@tkos.co.il>
338 * xtensa-linux-nat.c: Include asm/ptrace.h.
340 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
342 * Makefile.in (SFILES): Add d-support.c.
343 (COMMON_OBS): Add d-support.o.
344 * d-lang.h (d_parse_symbol): Add comment, now defined in
346 * d-lang.c (parse_call_convention)
347 (parse_attributes, parse_function_types)
348 (parse_function_args, parse_type, parse_identifier)
349 (call_convention_p, d_parse_symbol): Move functions to ...
350 * d-support.c: ... New file.
352 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
354 * d-lang.h (d_parse_symbol): Add declaration.
355 * d-lang.c (extract_identifiers)
356 (extract_type_info): Remove functions.
357 (parse_call_convention, parse_attributes)
358 (parse_function_types, parse_function_args)
359 (parse_type, parse_identifier, call_convention_p)
360 (d_parse_symbol): New functions.
361 (d_demangle): Use d_parse_symbol to demangle D symbols.
363 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
365 * d-lang.h (struct builtin_d_type): New data type.
366 (builtin_d_type): Add declaration.
367 * d-lang.c (d_language_arch_info, build_d_types)
368 (builtin_d_type): New functions.
369 (enum d_primitive_types): New data type.
370 (d_language_defn): Change c_language_arch_info to
371 d_language_arch_info.
372 (d_type_data): New static variable.
373 (_initialize_d_language): Initialize d_type_data.
375 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
377 * d-lang.h (d_main_name): Add declaration.
378 * d-lang.c (d_main_name): New function.
379 * symtab.c (find_main_name): Add call to d_main_name.
381 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
383 * d-lang.c (d_language_defn): Change macro_expansion_c to
386 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
388 * MAINTAINERS: Add myself as a write-after-approval maintainer.
390 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
392 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
393 gdb_exception" declaration.
394 * remote.c (getpkt_or_notif_sane): Likewise.
396 2014-01-17 Doug Evans <dje@google.com>
398 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
399 function, contents of dirnames_to_char_ptr_vec_append moved here.
400 (delim_string_to_char_ptr_vec): New function.
401 (dirnames_to_char_ptr_vec_append): Rewrite.
402 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
404 2014-01-17 Doug Evans <dje@google.com>
406 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
408 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
409 #include "common-utils.h".
410 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
411 * common/vec.h (VEC_ASSERT_PASS): Update.
412 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
413 (MACH_CHECK_ERROR): Update.
415 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
417 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
419 * gdbarch.h: Regenerate.
421 2014-01-16 Tom Tromey <tromey@redhat.com>
423 * value.c (struct value) <regnum>: Move earlier.
425 2014-01-16 Tom Tromey <tromey@redhat.com>
427 * remote.c (extended_remote_create_inferior): Rename from
428 extended_remote_create_inferior_1. Add "ops" argument. Remove
431 2014-01-16 Pedro Alves <palves@redhat.com>
433 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
434 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
437 2014-01-16 Doug Evans <dje@google.com>
439 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
441 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
443 * btrace.h (btrace_thread_flag): New.
444 (struct btrace_thread_info) <flags>: New.
445 * record-btrace.c (record_btrace_resume_thread)
446 (record_btrace_find_thread_to_move, btrace_step_no_history)
447 (btrace_step_stopped, record_btrace_start_replaying)
448 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
449 (record_btrace_find_resume_thread): New.
450 (record_btrace_resume, record_btrace_wait): Extend.
451 (record_btrace_can_execute_reverse): New.
452 (record_btrace_open): Fail in non-stop mode.
453 (record_btrace_set_replay): Split into this, ...
454 (record_btrace_stop_replaying): ... this, ...
455 (record_btrace_clear_histories): ... and this.
456 (init_record_btrace_ops): Init to_can_execute_reverse.
459 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
461 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
462 (forward_target_decr_pc_after_break)
463 (target_decr_pc_after_break): New.
464 * target.c (forward_target_decr_pc_after_break)
465 (target_decr_pc_after_break): New.
466 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
467 instead of gdbarch_decr_pc_after_break.
468 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
469 instead of gdbarch_decr_pc_after_break.
470 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
471 instead of gdbarch_decr_pc_after_break.
472 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
473 instead of gdbarch_decr_pc_after_break.
474 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
475 instead of gdbarch_decr_pc_after_break.
476 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
477 instead of gdbarch_decr_pc_after_break.
479 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
481 * btrace.c: Include regcache.h.
482 (btrace_add_pc): New.
483 (btrace_enable): Call btrace_add_pc.
484 (btrace_is_empty): New.
485 * btrace.h (btrace_is_empty): New.
486 * record-btrace.c (require_btrace, record_btrace_info): Call
489 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
491 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
493 (linux_disable_btrace): Change return type.
494 * common/linux-btrace.h (linux_read_btrace): Change parameters
495 and return type to allow error reporting. Update users.
496 (linux_disable_btrace): Change return type. Update users.
497 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
500 (btrace_block) <begin>: Comment on BEGIN == 0.
501 * btrace.c (btrace_compute_ftrace): Start from the end of
503 (btrace_stitch_trace, btrace_clear_history): New.
504 (btrace_fetch): Read delta trace, return if replaying.
505 (btrace_clear): Move clear history code to btrace_clear_history.
506 (parse_xml_btrace): Throw an error if parsing failed.
507 * target.h (struct target_ops) <to_read_btrace>: Change parameters
508 and return type to allow error reporting.
509 (target_read_btrace): Change parameters and return type to allow
511 * target.c (target_read_btrace): Update.
512 * remote.c (remote_read_btrace): Support delta reads. Pass
516 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
518 * record.h (record_btrace_frame_unwind)
519 (record_btrace_tailcall_frame_unwind): New declarations.
520 * dwarf2-frame: Include record.h
521 (dwarf2_frame_cfa): Throw an error for btrace frames.
522 * record-btrace.c: Include hashtab.h.
523 (btrace_get_bfun_name): New.
524 (btrace_call_history): Call btrace_get_bfun_name.
525 (struct btrace_frame_cache): New.
527 (bfcache_hash, bfcache_eq, bfcache_new): New.
528 (btrace_get_frame_function): New.
529 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
530 (record_btrace_frame_this_id): Compute own id.
531 (record_btrace_frame_prev_register): Provide PC, throw_error
532 for all other registers.
533 (record_btrace_frame_sniffer): Detect btrace frames.
534 (record_btrace_tailcall_frame_sniffer): New.
535 (record_btrace_frame_dealloc_cache): New.
536 (record_btrace_frame_unwind): Add new functions.
537 (record_btrace_tailcall_frame_unwind): New.
538 (_initialize_record_btrace): Allocate cache.
539 * btrace.c (btrace_clear): Call reinit_frame_cache.
542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
544 * record-btrace.c (record_btrace_set_replay)
545 (record_btrace_goto_begin, record_btrace_goto_end)
546 (record_btrace_goto): New.
547 (init_record_btrace_ops): Initialize them.
550 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
552 * record-btrace.c (record_btrace_find_new_threads)
553 (record_btrace_thread_alive): New.
554 (init_record_btrace_ops): Initialize to_find_new_threads and
557 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
559 * record-btrace.c (record_btrace_resume): New.
560 (record_btrace_wait): New.
561 (init_record_btrace_ops): Initialize to_wait and to_resume.
563 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
565 * record-btrace.c (record_btrace_xfer_partial)
566 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
567 (record_btrace_allow_memory_access): New.
568 (init_record_btrace_ops): Initialize new methods.
569 * target.c (raw_memory_xfer_partial): Bail out if target reports
570 that this memory is not available.
572 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
574 * target.h (target_ops) <to_insert_breakpoint>
575 <to_remove_breakpoint>: Add target_ops parameter.
576 (forward_target_insert_breakpoint): New.
577 (forward_target_remove_breakpoint): New.
578 (memory_remove_breakpoint, memory_insert_breakpoint):
579 Add target_ops parameter.
580 * target.c (target_insert_breakpoint): Split into this and ...
581 (forward_target_insert_breakpoint): ... this.
582 (target_remove_breakpoint): Split into this and ...
583 (forward_target_remove_breakpoint): ... this.
584 (debug_to_insert_breakpoint): Add target_ops parameter.
585 Call forward_target_insert_breakpoint.
586 (debug_to_remove_breakpoint): Add target_ops parameter.
587 Call forward_target_remove_breakpoint.
588 (update_current_target): Do not inherit or default to_insert_breakpoint
589 and to_remove_breakpoint.
590 * corelow.c (ignore): Add target_ops parameter.
591 * exec.c (ignore): Add target_ops parameter.
592 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
593 Add target_ops parameter.
594 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
595 Add target_ops parameter.
596 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
597 Add target_ops parameter.
598 * record-full.c (record_full_beneath_to_insert_breakpoint)
599 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
600 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
601 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
602 (record_full_core_remove_breakpoint): Add target_ops parameter.
604 (record_full_beneath_to_insert_breakpoint_ops)
605 (record_full_beneath_to_remove_breakpoint_ops)
606 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
607 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
608 tmp_to_remove_breakpoint_ops,
609 record_full_beneath_to_insert_breakpoint_ops, and
610 record_full_beneath_to_remove_breakpoint_ops.
611 * remote-m32r-sdi.c (m32r_insert_breakpoint)
612 (m32r_remove_breakpoint): Add target_ops parameter.
613 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
614 Add target_ops parameter.
615 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
616 Add target_ops parameter.
618 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
619 Markus Metzger <markus.t.metzger@intel.com>
621 * record-btrace.c: Include frame-unwind.h.
622 (record_btrace_frame_unwind_stop_reason)
623 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
624 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
626 (init_record_btrace_ops): Install it.
628 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
630 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
633 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
635 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
638 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
640 * frame-unwind.c: Include target.h.
641 (frame_unwind_try_unwinder): New function with code from ...
642 (frame_unwind_find_by_frame): ... here. New variable
643 unwinder_from_target, call also target_get_unwinder)
644 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
645 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
646 * target.h (struct target_ops): New fields to_get_unwinder and
647 to_get_tailcall_unwinder.
648 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
650 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
652 * record-btrace.c (record_btrace_fetch_registers)
653 (record_btrace_store_registers)
654 (record_btrace_to_prepare_to_store): New.
655 (init_record_btrace_ops): Add the above.
657 2014-01-16 Tom Tromey <tromey@redhat.com>
659 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
660 * target.h (struct target_ops) <to_prepare_to_store>: Add
662 (target_prepare_to_store): Add argument.
663 * target.c (debug_to_prepare_to_store): Add argument.
664 (update_current_target): Update.
665 * remote.c (remote_prepare_to_store): Add 'self' argument.
666 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
667 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
668 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
669 * record-full.c (record_full_core_prepare_to_store): Add 'self'
671 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
672 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
673 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
674 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
675 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
677 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
679 * btrace.h (replay) <replay>: New.
680 (btrace_is_replaying): New.
681 * btrace.c (btrace_clear): Free replay iterator.
682 (btrace_is_replaying): New.
683 * record-btrace.c (record_btrace_is_replaying): New.
684 (record_btrace_info): Print insn number if replaying.
685 (record_btrace_insn_history): Start at replay position.
686 (record_btrace_call_history): Start at replay position.
687 (init_record_btrace_ops): Init to_record_is_replaying.
689 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
691 * record-btrace.c (record_btrace_insn_history_range): Include
693 (record_btrace_insn_history_from): Adjust range.
694 (record_btrace_call_history_range): Include
696 (record_btrace_call_history_from): Adjust range.
697 * NEWS: Announce changes.
699 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
701 * record.h (enum record_print_flag)
702 <record_print_indent_calls>: New.
703 * record.c (get_call_history_modifiers): Recognize /c modifier.
704 (_initialize_record): Document /c modifier.
705 * record-btrace.c (btrace_call_history): Add btinfo parameter.
706 Reorder fields. Optionally indent the function name. Update
708 * NEWS: Announce changes.
710 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
712 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
714 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
716 * btrace.c (ftrace_new_function): Start counting at one.
717 * record-btrace.c (record_btrace_info): Adjust number of calls
721 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
723 * record-btrace.c (btrace_call_history_insn_range): Print
724 insn range as [begin, end].
726 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
728 * btrace.h (struct btrace_func_link): New.
729 (enum btrace_function_flag): New.
730 (struct btrace_inst): Rename to ...
731 (struct btrace_insn): ...this. Update all users.
732 (struct btrace_func) <ibegin, iend>: Remove.
733 (struct btrace_func_link): New.
734 (struct btrace_func): Rename to ...
735 (struct btrace_function): ...this. Update all users.
736 (struct btrace_function) <segment, flow, up, insn, insn_offset)
737 (number, level, flags>: New.
738 (struct btrace_insn_iterator): Rename to ...
739 (struct btrace_insn_history): ...this.
741 (struct btrace_insn_iterator, btrace_call_iterator): New.
742 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
743 (struct btrace_target_info) <begin, end, level>
744 <insn_history, call_history>: New.
745 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
746 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
747 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
748 (btrace_call_number, btrace_call_begin, btrace_call_end)
749 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
750 (btrace_find_function_by_number, btrace_set_insn_history)
751 (btrace_set_call_history): New.
752 * btrace.c (btrace_init_insn_iterator)
753 (btrace_init_func_iterator, compute_itrace): Remove.
754 (ftrace_print_function_name, ftrace_print_filename)
755 (ftrace_skip_file): Change
757 (ftrace_init_func): Remove.
758 (ftrace_debug): Use new btrace_function fields.
759 (ftrace_function_switched): Also consider gaining and
760 losing symbol information).
761 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
762 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
763 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
765 (ftrace_new_function): Move. Remove debug print.
766 (ftrace_update_lines, ftrace_update_insns): New.
767 (ftrace_update_function): Check for call, ret, and jump.
768 (compute_ftrace): Renamed to ...
769 (btrace_compute_ftrace): ...this. Rewritten to compute call
771 (btrace_fetch, btrace_clear): Updated.
772 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
773 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
774 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
775 (btrace_call_number, btrace_call_begin, btrace_call_end)
776 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
777 (btrace_find_function_by_number, btrace_set_insn_history)
778 (btrace_set_call_history): New.
779 * record-btrace.c (require_btrace): Use new btrace thread
781 (record_btrace_info, btrace_insn_history)
782 (record_btrace_insn_history, record_btrace_insn_history_range):
783 Use new btrace thread info fields and new iterator.
784 (btrace_func_history_src_line): Rename to ...
785 (btrace_call_history_src_line): ...this. Use new btrace
787 (btrace_func_history): Rename to ...
788 (btrace_call_history): ...this. Use new btrace thread info
789 fields and new iterator.
790 (record_btrace_call_history, record_btrace_call_history_range):
791 Use new btrace thread info fields and new iterator.
793 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
795 * frame.h (frame_id_build_unavailable_stack_special): New.
796 * frame.c (frame_id_build_unavailable_stack_special): New.
798 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
800 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
801 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
802 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
804 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
805 (i386_insn_is_jump, i386_jmp_p): New.
806 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
807 insn_is_jump to gdbarch.
808 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
809 * gdbarch.h: Regenerated.
810 * gdbarch.c: Regenerated.
811 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
812 (default_insn_is_jump): New.
813 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
814 (default_insn_is_jump): New.
816 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
818 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
820 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
821 (btrace_read_type) <btrace_read_new>: Change to ...
822 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
824 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
826 * common/linux-btrace.c (linux_read_btrace): Free trace from
829 2014-01-15 Doug Evans <dje@google.com>
831 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
834 2014-01-15 Tom Tromey <tromey@redhat.com>
836 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
837 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
838 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
839 (set_objfile_main_name): New function.
840 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
841 language_of_main>: New fields.
842 (set_objfile_main_name): Declare.
843 * symtab.c (find_main_name): Loop over objfiles to find the main
845 (set_main_name): Now static.
846 (get_main_info): Add comment.
847 * symtab.h (set_main_name): Don't declare.
849 2014-01-15 Tom Tromey <tromey@redhat.com>
851 * symtab.c (main_progspace_key): New global.
852 (struct main_info): New.
853 (name_of_main, language_of_main): Remove.
854 (get_main_info, main_info_cleanup): New function.
855 (set_main_name, main_name, main_language): Use get_main_info.
856 (_initialize_symtab): Initialize main_progspace_key.
858 2014-01-15 Tom Tromey <tromey@redhat.com>
860 * dbxread.c (process_one_symbol): Update.
861 * dwarf2read.c (read_partial_die): Update.
862 * symfile.c (set_initial_language): Call main_language.
863 * symtab.c (language_of_main): Now static.
864 (set_main_name): Add 'lang' parameter.
865 (find_main_name): Update.
866 (main_language): New function.
867 (symtab_observer_executable_changed): Update.
868 * symtab.h (set_main_name): Update.
869 (language_of_main): Remove.
870 (main_language): Declare.
872 2014-01-15 Tom Tromey <tromey@redhat.com>
874 * symfile.c (init_entry_point_info): Use new "initialized" field.
876 * objfiles.h (struct entry_point) <initialized>: New field.
877 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
878 (struct objfile) <ei>: ...here. Remove.
879 * objfiles.c (entry_point_address_query): Update.
881 2014-01-15 Tom Tromey <tromey@redhat.com>
883 * objfiles.c (entry_point_address_query): Relocate entry point
885 (objfile_relocate1): Do not relocate entry point address.
886 * objfiles.h (struct entry_info) <entry_point>: Update comment.
887 <the_bfd_section_index>: New field.
888 * symfile.c (init_entry_point_info): Find the entry point's
891 2014-01-15 Tom Tromey <tromey@redhat.com>
893 * solib-frv.c (enable_break): Use entry_point_address_query.
895 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
897 * NEWS: Add note on improved process record-replay on
900 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
902 * arm-tdep.c (enum arm_record_result): New enum.
903 (arm_record_unsupported_insn): New function.
904 (arm_record_coproc_data_proc): Removed.
905 (thumb2_record_ld_st_multiple): New function.
906 (thumb2_record_ld_st_dual_ex_tbb): New function.
907 (thumb2_record_data_proc_sreg_mimm): New function.
908 (thumb2_record_ps_dest_generic): New function.
909 (thumb2_record_branch_misc_cntrl): New function.
910 (thumb2_record_str_single_data): New function.
911 (thumb2_record_ld_mem_hints): New function.
912 (thumb2_record_ld_word): New function.
913 (thumb2_record_lmul_lmla_div): New function.
914 (thumb2_record_decode_insn_handler): New function.
915 (decode_insn): Add thumb32 instruction handlers.
917 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
919 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
920 (struct arm_linux_record_tdep): Declare.
921 (arm_canonicalize_syscall): New function.
922 (arm_all_but_pc_registers_record): New function.
923 (arm_linux_syscall_record): New function.
924 (arm_linux_init_abi): Add syscall recording constructs.
925 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
926 decoding. (arm_record_coproc_data_proc): Update arm syscall
928 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
929 <arm_syscall_record>: New field.
930 * configure.tgt (arm*-*-linux*): Add linux-record.o to
933 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
935 * arm-tdep.c (thumb_record_misc): Update to use sp as base
936 register for push instruction recording.
938 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
940 * arm-tdep.c (thumb_record_misc): Update to correct logical
941 error while recording ldm, ldmia and pop instructions.
943 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
945 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
947 2014-01-15 Pedro Alves <palves@redhat.com>
949 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
950 (go32_resume, go32_fetch_registers, store_register)
951 (go32_store_registers, go32_prepare_to_store)
952 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
953 (go32_create_inferior, go32_can_run, go32_terminal_init)
954 (go32_terminal_inferior, go32_terminal_ours): Delete forward
957 2014-01-15 Tom Tromey <tromey@redhat.com>
959 * target.h (async_callback_ftype): New typedef.
960 (struct target_ops) <to_async>: Use it.
962 2014-01-15 Joel Brobecker <brobecker@adacore.com>
964 * python/py-value.c (get_field_type): Remove unnecessary curly
965 braces for single-statement if block.
967 2014-01-15 Joel Brobecker <brobecker@adacore.com>
969 * python/py-type.c (convert_field): Add missing empty line
972 2014-01-14 Doug Evans <dje@google.com>
974 * symfile.h (expand_symtabs_matching): Renamed from
975 expand_partial_symbol_names. Update prototype.
976 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
977 * symfile.c (expand_symtabs_matching): Renamed from
978 expand_partial_symbol_names. New args file_matcher, kind.
979 Rename arg fun to symbol_matcher.
980 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
981 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
982 ada_expand_partial_symbol_name.
983 (ada_make_symbol_completion_list): Update to call
984 expand_symtabs_matching.
985 (ada_add_global_exceptions): Call expand_symtabs_matching.
986 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
987 call map_symbol_filenames.
988 * symtab.c (sources_info): Update to call map_symbol_filenames.
989 (search_symbols): Call expand_symtabs_matching.
990 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
991 (default_make_symbol_completion_list_break_on): Update to call
992 expand_symtabs_matching.
993 (make_source_files_completion_list): Update to call
994 map_symbol_filenames.
996 2014-01-14 Doug Evans <dje@google.com>
998 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
999 (expand_symtabs_symbol_matcher_ftype): New typedef.
1000 (quick_symbol_functions.expand_symtabs_matching): Update to use.
1001 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1002 * symfile.c (expand_partial_symbol_names): Update to use
1003 expand_symtabs_symbol_matcher_ftype.
1004 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
1005 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1006 Arg name_matcher renamed to symbol_matcher.
1007 * psymtab.c (recursively_search_psymtabs): Update to use
1008 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
1010 (expand_symtabs_matching_via_partial): Update to use
1011 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1012 Arg name_matcher renamed to symbol_matcher.
1014 2014-01-14 Doug Evans <dje@google.com>
1016 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
1017 (map_partial_symbol_filenames): Ditto.
1018 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
1019 (map_partial_symbol_filenames): Ditto.
1020 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
1021 (map_partial_symbol_filenames): Ditto.
1022 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
1023 (map_partial_symbol_filenames): Ditto.
1024 * symtab.c: Delete #include "psymtab.h".
1026 2014-01-14 Pedro Alves <palves@redhat.com>
1027 Tom Tromey <tromey@redhat.com>
1029 * infrun.c (use_displaced_stepping): Use find_record_target
1030 instead of RECORD_IS_USED.
1031 (adjust_pc_after_break): Use record_full_is_used instead of
1033 * record-btrace.c (record_btrace_open): Call record_preopen
1034 instead of checking RECORD_IS_USED.
1035 * record-full.c (record_full_shortname)
1036 (record_full_core_shortname): New globals.
1037 (record_full_is_used): New function.
1038 (find_full_open): Call record_preopen instead of checking
1040 (init_record_full_ops): Set the target's shortname to
1041 record_full_shortname.
1042 (init_record_full_core_ops): Set the target's shortname to
1043 record_full_core_shortname.
1044 * record-full.h (record_full_is_used): Declare.
1045 * record.c (find_record_target): Make extern.
1046 (record_preopen): New function.
1047 * record.h (RECORD_IS_USED): Delete macro.
1048 (find_record_target, record_preopen): Declare functions.
1050 2014-01-14 Yao Qi <yao@codesourcery.com>
1052 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
1053 'len''s type to ULONGEST.
1054 (core_xfer_shared_libraries_aix): Likewise.
1055 * gdbarch.c, gdbarch.h: Regenerated.
1056 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
1057 Change type of 'len' to ULONGEST.
1058 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1059 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
1061 2014-01-14 Yao Qi <yao@codesourcery.com>
1063 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
1064 type of 'len' to ULONGEST.
1065 (linux_xfer_osdata_processgroups): Likewise.
1066 (linux_xfer_osdata_threads): Likewise.
1067 (linux_xfer_osdata_fds): Likewise.
1068 (linux_xfer_osdata_isockets): Likewise.
1069 (linux_xfer_osdata_shm): Likewise.
1070 (linux_xfer_osdata_sem): Likewise.
1071 (linux_xfer_osdata_msg): Likewise.
1072 (linux_common_xfer_osdata): Likewise.
1073 (struct osdata_type) <getter>: Likewise.
1074 * common/linux-osdata.h (linux_common_xfer_osdata): Update
1077 2014-01-14 Yao Qi <yao@codesourcery.com>
1079 * target.h (target_xfer_partial_ftype): Update.
1080 (struct target_ops) <to_xfer_partial>: Change 'len' type to
1082 * aix-thread.c (aix_thread_xfer_partial): Change type of
1083 argument 'len' to ULONGEST.
1084 * auxv.c (procfs_xfer_auxv): Likewise.
1085 (ld_so_xfer_auxv): Likewise.
1086 (memory_xfer_auxv): Likewise.
1087 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1088 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1089 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1090 * corelow.c (core_xfer_partial): Likewise.
1091 * ctf.c (ctf_xfer_partial): Likewise.
1092 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
1094 (darwin_read_dyld_info): Likewise.
1095 (darwin_xfer_partial): Likewise.
1096 * exec.c (section_table_xfer_memory_partial): Likewise.
1097 (exec_xfer_partial): Likewise.
1098 * exec.h (section_table_xfer_memory_partial): Update
1100 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
1101 instead of plongest.
1102 (gnu_xfer_partial): Likewise.
1103 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
1104 (ia64_hpux_xfer_solib_got): Likewise.
1105 (ia64_hpux_xfer_partial): Likewise.
1106 * ia64-linux-nat.c (ia64_linux_xfer_partial):
1107 * inf-ptrace.c (inf_ptrace_xfer_partial):
1108 * inf-ttrace.c (inf_ttrace_xfer_partial):
1109 * linux-nat.c (linux_xfer_siginfo): Likewise.
1110 (linux_nat_xfer_partial): Likewise.
1111 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
1112 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
1113 * monitor.c (monitor_xfer_memory): Likewise.
1114 (monitor_xfer_partial): Likewise.
1115 * procfs.c (procfs_xfer_partial): Likewise.
1116 * record-full.c (record_full_xfer_partial): Likewise.
1117 (record_full_core_xfer_partial): Likewise.
1118 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
1119 instead of plongest.
1120 (gdbsim_xfer_partial): Likewise.
1121 * remote.c (remote_xfer_partial): Likewise.
1122 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1123 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1125 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1126 (rs6000_xfer_shared_libraries): Likewise.
1127 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1128 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1129 (sparc_xfer_partial): Likewise.
1130 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1131 (spu_xfer_partial): Likewise.
1132 * spu-multiarch.c (spu_xfer_partial): Likewise.
1133 * target.c (target_read_live_memory): Likewise.
1134 (memory_xfer_live_readonly_partial): Likewise.
1135 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
1136 (target_xfer_partial, default_xfer_partial): Likewise.
1137 (current_xfer_partial): Likewise.
1138 * tracepoint.c (tfile_xfer_partial): Likewise.
1139 * windows-nat.c (windows_xfer_memory): Likewise. Call
1140 pulongest instead of plongest.
1141 (windows_xfer_partial): Likewise.
1142 (windows_xfer_shared_libraries): Likewise.
1144 2014-01-14 Yao Qi <yao@codesourcery.com>
1146 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
1147 target_xfer_partial_ftype.
1149 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1153 * valops.c (value_struct_elt_bitpos): New function
1154 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
1155 object to 'None' if the field name is an empty string ("").
1156 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
1157 attribute to look for a field when 'name' is 'None'.
1158 (get_field_type): New function
1160 2014-01-13 Doug Evans <dje@google.com>
1163 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
1164 (try_open_dwop_file): Ditto.
1165 * gdb_bfd.c: #include "vec.h".
1166 (bfdp): New typedef.
1167 (struct gdb_bfd_data): New member included_bfds.
1168 (gdb_bfd_unref): Unref all included bfds.
1169 (gdb_bfd_record_inclusion): New function.
1170 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
1172 2014-01-13 Tom Tromey <tromey@redhat.com>
1174 * gdbcore.h (deprecated_core_resize_section_table): Remove.
1176 2014-01-13 Tom Tromey <tromey@redhat.com>
1178 * defs.h (use_windows): Remove.
1179 * gdb.c (main): Update.
1180 * main.c (captured_main, gdb_main): Update.
1181 * main.h (struct captured_main_args) <use_windows>: Remove.
1182 * top.c (use_windows): Remove.
1184 2014-01-13 Tom Tromey <tromey@redhat.com>
1186 * defs.h (deprecated_flush_hook): Remove.
1188 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1191 * linux-thread-db.c (try_thread_db_load): Add parameter
1192 check_auto_load_safe. Move here the file_is_auto_load_safe call.
1193 (try_thread_db_load_from_pdir_1): Move it there from here.
1194 (try_thread_db_load_from_sdir): Update caller.
1195 (try_thread_db_load_from_dir): Move it there from here.
1197 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
1199 * regformats/regdat.sh: Always rewrite the register file.
1201 2014-01-13 Pedro Alves <palves@redhat.com>
1203 * Makefile.in (CHECK_HEADERS): New variable.
1204 (check-headers:): New rule.
1206 2014-01-13 Tom Tromey <tromey@redhat.com>
1208 * cli/cli-setshow.c (do_set_command): Update.
1209 * defs.h (deprecated_set_hook): Remove.
1210 * top.c (deprecated_set_hook): Remove.
1212 2014-01-13 Pedro Alves <palves@redhat.com>
1214 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
1215 the tracepoint if the PC is a pseudo-register.
1217 2014-01-13 Tom Tromey <tromey@redhat.com>
1219 * defs.h (XCALLOC): Remove.
1220 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
1221 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
1222 * dwarf2loc.c (allocate_piece_closure): Likewise.
1223 * elfread.c (elf_symfile_segments): Likewise.
1224 (elf_symfile_segments): Likewise.
1225 * gdbtypes.c (copy_type_recursive): Likewise.
1226 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
1227 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
1228 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
1230 * mt-tdep.c (mt_gdbarch_init): Likewise.
1231 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
1233 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
1234 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
1235 * registry.c (registry_alloc_data): Likewise.
1236 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
1237 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
1238 * serial.c (serial_fdopen_ops): Likewise.
1239 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
1241 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
1242 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
1245 2014-01-13 Tom Tromey <tromey@redhat.com>
1247 * defs.h (XMALLOC): Remove.
1248 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
1249 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
1250 * cli-out.c (struct ui_out *): Likewise.
1251 * cli/cli-dump.c (add_dump_command): Likewise.
1252 (add_dump_command): Likewise.
1253 * complaints.c (get_complaints): Likewise.
1254 (find_complaint): Likewise.
1255 * dwarf2-frame.c (execute_cfa_program): Likewise.
1256 * dwarf2read.c (abbrev_table_read_table): Likewise.
1257 * gdbarch.sh: Likewise.
1258 * gdbarch.c: Rebuild.
1259 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
1260 * interps.c (interp_new): Likewise.
1261 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
1262 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
1263 * mi/mi-console.c (mi_console_file_new): Likewise.
1264 * mi/mi-interp.c (mi_interpreter_init): Likewise.
1265 * mi/mi-out.c (mi_out_new): Likewise.
1266 * mi/mi-parse.c (mi_parse): Likewise.
1267 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
1268 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
1269 * observer.c (xalloc_observer_list_node): Likewise.
1270 * regcache.c (regcache_xmalloc_1): Likewise.
1271 * reggroups.c (reggroup_new): Likewise.
1272 (_initialize_reggroup): Likewise.
1273 * registry.c (register_data_with_cleanup): Likewise.
1274 * remote.c (remote_notif_stop_alloc_reply): Likewise.
1275 * ser-base.c (serial_ttystate): Likewise.
1276 * ser-mingw.c (make_pipe_state): Likewise.
1277 * ser-pipe.c (pipe_open): Likewise.
1278 * serial.c (serial_open): Likewise.
1279 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
1280 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
1281 (tui_alloc_win_info): Likewise.
1282 (tui_add_content_elements): Likewise.
1283 * tui/tui-file.c (tui_file_new): Likewise.
1284 * tui/tui-out.c (tui_out_new): Likewise.
1285 * ui-file.c (mem_file_new): Likewise.
1286 * ui-out.c (push_level): Likewise.
1287 (make_cleanup_ui_out_end): Likewise.
1288 (append_header_to_list): Likewise.
1289 (ui_out_new): Likewise.
1290 * user-regs.c (user_reg_add_builtin): Likewise.
1292 2014-01-13 Tom Tromey <tromey@redhat.com>
1294 * defs.h (XZALLOC): Remove.
1295 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
1296 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
1297 (get_ada_tasks_inferior_data): Likewise.
1298 * auto-load.c (get_auto_load_pspace_data): Likewise.
1299 * auxv.c (get_auxv_inferior_data): Likewise.
1300 * bfd-target.c (target_bfd_reopen): Likewise.
1301 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
1302 (deprecated_insert_raw_breakpoint): Likewise.
1303 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
1304 * corelow.c (core_open): Likewise.
1305 * darwin-nat.c (darwin_check_new_threads): Likewise.
1306 (darwin_attach_pid): Likewise.
1307 * dummy-frame.c (dummy_frame_push): Likewise.
1308 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
1309 * dwarf2loc.c (allocate_piece_closure): Likewise.
1310 * elfread.c (elf_symfile_segments): Likewise.
1311 * eval.c (ptrmath_type_p): Likewise.
1312 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
1313 * gdbtypes.c (alloc_type_arch): Likewise.
1314 (alloc_type_instance): Likewise.
1315 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
1316 * inf-child.c (inf_child_can_use_agent): Likewise.
1317 * inflow.c (get_inflow_inferior_data): Likewise.
1318 * infrun.c (save_infcall_suspend_state): Likewise.
1319 * jit.c (jit_reader_load): Likewise.
1320 (get_jit_objfile_data): Likewise.
1321 (get_jit_program_space_data): Likewise.
1322 (jit_object_open_impl): Likewise.
1323 (jit_symtab_open_impl): Likewise.
1324 (jit_block_open_impl): Likewise.
1325 (jit_frame_sniffer): Likewise.
1326 * linux-fork.c (add_fork): Likewise.
1327 * maint.c (make_command_stats_cleanup): Likewise.
1328 * objfiles.c (get_objfile_pspace_data): Likewise.
1329 * opencl-lang.c (struct lval_closure): Likewise.
1330 * osdata.c (osdata_start_osdata): Likewise.
1331 * progspace.c (new_address_space): Likewise.
1332 (add_program_space): Likewise.
1333 * remote-sim.c (get_sim_inferior_data): Likewise.
1334 * sh-tdep.c (sh_gdbarch_init): Likewise.
1335 * skip.c (Ignore): Likewise.
1336 (skip_delete_command): Likewise.
1337 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
1338 (library_list_start_library): Likewise.
1339 (solib_aix_current_sos): Likewise.
1340 * solib-darwin.c (get_darwin_info): Likewise.
1341 (darwin_current_sos): Likewise.
1342 * solib-dsbt.c (get_dsbt_info): Likewise.
1343 * solib-ia64-hpux.c (new_so_list): Likewise.
1344 (ia64_hpux_get_solib_linkage_addr): Likewise.
1345 * solib-spu.c (append_ocl_sos): Likewise.
1346 (spu_current_sos): Likewise.
1347 * solib-svr4.c (get_svr4_info): Likewise.
1348 (svr4_keep_data_in_core): Likewise.
1349 (library_list_start_library): Likewise.
1350 (svr4_default_sos): Likewise.
1351 (svr4_read_so_list): Likewise.
1352 * solib-target.c (library_list_start_library): Likewise.
1353 (solib_target_current_sos): Likewise.
1354 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
1355 * symfile-debug.c (install_symfile_debug_logging): Likewise.
1356 * symfile.c (default_symfile_segments): Likewise.
1357 * target-descriptions.c (tdesc_data_init): Likewise.
1358 (tdesc_create_reg): Likewise.
1359 (struct tdesc_type *): Likewise.
1360 (tdesc_create_vector): Likewise.
1361 (tdesc_set_struct_size): Likewise.
1362 (struct tdesc_type *): Likewise.
1363 (tdesc_free_feature): Likewise.
1364 (tdesc_create_feature): Likewise.
1365 * windows-nat.c (windows_add_thread): Likewise.
1366 (windows_make_so): Likewise.
1367 * xml-support.c (gdb_xml_body_text): Likewise.
1368 (gdb_xml_create_parser_and_cleanup): Likewise.
1369 (xml_process_xincludes): Likewise.
1370 * xml-syscall.c (allocate_syscalls_info): Likewise.
1371 (syscall_create_syscall_desc): Likewise.
1373 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
1375 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
1376 function, with code from i386_stap_parse_special_token.
1377 (i386_stap_parse_special_token_three_arg_disp): Likewise.
1378 (i386_stap_parse_special_token): Move code to the two functions
1381 2014-01-09 Pedro Alves <palves@redhat.com>
1382 Hui Zhu <hui@codesourcery.com>
1385 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
1386 bp_err_string. Don't mark the location shlib_disabled if the
1387 error thrown wasn't a generic or memory error. Catch errors
1388 thrown while inserting breakpoints in overlayed code. Output
1389 error message of software breakpoints.
1390 * remote.c (remote_insert_breakpoint): If this breakpoint has
1391 target-side commands but this stub doesn't support Z0 packets,
1392 throw NOT_SUPPORTED_ERROR error.
1393 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
1394 * target.h (target_insert_breakpoint): Extend comment.
1395 (target_insert_hw_breakpoint): Add comment.
1397 2014-01-08 Pedro Alves <palves@redhat.com>
1399 * remote.c (remote_add_thread): Add threads silently if starting
1401 (remote_notice_new_inferior): If in all-stop, and starting up,
1402 don't call notice_new_inferior.
1403 (get_current_thread): New function, factored out from ...
1404 (add_current_inferior_and_thread): ... this. Adjust.
1405 (remote_start_remote) <all-stop>: Fetch the thread list. If we
1406 found any thread, then select the remote's current thread as GDB's
1409 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1411 * NEWS: Create a new section for the next release branch.
1412 Rename the section of the current branch, now that it has
1415 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1417 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
1418 * version.in: Bump version to 7.7.50.DATE-cvs.
1420 2014-01-08 Yao Qi <yao@codesourcery.com>
1422 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
1423 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
1424 (spu_xfer_partial): Cast 'buf' to 'const char *'.
1426 2014-01-08 Yao Qi <yao@codesourcery.com>
1428 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
1429 return value of bfd_get_filename to symbol_file_add_from_bfd.
1431 2014-01-08 Pierre Muller <muller@sourceware.org>
1434 * coff-pe-read.c (struct read_pe_section_data): Add index field.
1435 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
1436 to prim_record_mininal_symbol_and_info.
1437 (add_pe_forwarded_sym): Use known section number of forwarded symbol
1438 in call to prim_record_minimal_symbol_and_info.
1439 (read_pe_exported_syms): Set index field of section_data.
1441 2014-01-07 Andrew Pinski <apinski@cavium.com>
1443 * features/aarch64-core.xml (cpsr): Change to be 64bit.
1444 * features/aarch64.c: Regenerate.
1446 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
1448 * target.c (return_null): Define.
1449 (update_current_target): Use it instead of return_zero for
1450 functions that return a pointer.
1452 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1454 * source.c (add_path): Fix check for duplicated paths in the previously
1457 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
1459 * ada-lang.c: Remove duplicated include statements.
1460 * alphabsd-nat.c: Ditto.
1461 * amd64-darwin-tdep.c: Ditto.
1462 * amd64fbsd-nat.c: Ditto.
1463 * auto-load.c: Ditto.
1465 * breakpoint.c: Ditto.
1467 * fork-child.c: Ditto.
1468 * gdb_usleep.c: Ditto.
1469 * i386-darwin-tdep.c: Ditto.
1470 * i386fbsd-nat.c: Ditto.
1472 * inferior.c: Ditto.
1474 * linux-nat.c: Ditto.
1475 * linux-tdep.c: Ditto.
1476 * m68kbsd-nat.c: Ditto.
1477 * m68klinux-nat.c: Ditto.
1478 * microblaze-tdep.c: Ditto.
1479 * mips-linux-tdep.c: Ditto.
1480 * mn10300-tdep.c: Ditto.
1481 * nto-tdep.c: Ditto.
1482 * opencl-lang.c: Ditto.
1484 * printcmd.c: Ditto.
1485 * regcache.c: Ditto.
1486 * remote-m32r-sdi.c: Ditto.
1490 * tilegx-linux-nat.c: Ditto.
1491 * tilegx-tdep.c: Ditto.
1492 * tracepoint.c: Ditto.
1494 * vaxbsd-nat.c: Ditto.
1495 * windows-nat.c: Ditto.
1496 * xtensa-tdep.c: Ditto.
1498 2014-01-07 Yao Qi <yao@codesourcery.com>
1500 * spu-linux-nat.c (_initialize_spu_nat): Declare.
1502 2014-01-07 Yao Qi <yao@codesourcery.com>
1503 Joel Brobecker <brobecker@adacore.com>
1505 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
1506 (pdc_write_regs): Likewise.
1507 (fetch_regs_kernel_thread): Likewise.
1508 (store_regs_kernel_thread): Likewise.
1510 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1512 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
1513 tagged type objects to their actual type.
1515 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1517 * ada-valprint.c (print_field_values): Add "language" parameter.
1518 Update calls to print_field_values and print_variant_part.
1519 Pass new parameter "language" in call to val_print instead
1520 of "current_language". Replace call to ada_val_print by call
1522 (print_variant_part): Add "language" parameter.
1523 (ada_val_print_struct_union): Update call to print_field_values.
1525 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1527 * ada-valprint.c (ui_memcpy): Delete.
1528 (ada_print_floating): Update documentation. Add empty line
1529 between between function documentation and implementation.
1530 Delete variable "buffer". Use ui_file_xstrdup in place of
1531 ui_file_put. Minor adjustments following this change.
1533 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1535 * ada-valprint.c (ada_val_print_string): New function,
1536 extracted from ada_val_print_array.
1537 (ada_val_print_array): Replace extracted code by call
1538 to ada_val_print_string followed by a return. Move
1539 "else" branch to the function's top block.
1541 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1543 * ada-valprint.c (ada_val_print_array): Move implementation
1544 down. Rename parameter "offset" and "val" into "offset_aligned"
1545 and "original_value" respectively. Add parameter "offset".
1547 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1549 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
1550 re-organizing the code. Change the "???" message printed
1551 when target type is a TYPE_CODE_UNDEF into
1552 "<ref to undefined type>".
1554 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1556 * ada-valprint.c (print_record): Delete, implementation inlined...
1557 (ada_val_print_struct_union): ... here. Remove call to
1558 ada_check_typedef in inlined implementation.
1560 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1562 * ada-valprint.c (ada_val_print_gnat_array): New function,
1563 extracted from ada_val_print_1;
1564 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
1565 (ada_val_print_flt, ada_val_print_struct_union)
1566 (ada_val_print_ref): Likewise.
1567 (ada_val_print_1): Delete variables i and elttype.
1568 Replace extracted-out code by call to corresponding
1571 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1573 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
1575 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1577 * ada-valprint.c (ada_val_print_1): Replace calls to
1578 ada_val_print_1 by calls to val_print.
1580 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1582 * ada-valprint.c (ada_val_print_1): Add parameter "language".
1583 Update calls to self accordingly. Replace calls to c_val_print
1584 by calls to val_print.
1586 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1588 * ada-valprint.c (print_record): Delete declaration.
1589 (adjust_type_signedness, ada_val_print_1): Likewise.
1590 (ada_val_print): Move function implementation down.
1591 (print_variant_part, print_field_values, print_record):
1592 Move function implementation up.
1594 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1596 * python/py-type.c (typy_get_name): New function.
1597 (type_object_getset): Add entry for attribute "name".
1598 * NEWS: Add entry mentioning this new attribute.
1600 2014-01-07 Yao Qi <yao@codesourcery.com>
1602 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
1605 2014-01-07 Yao Qi <yao@codesourcery.com>
1607 * gnu-nat.c (info_port_rights): Add qualifier const to
1610 2014-01-07 Yao Qi <yao@codesourcery.com>
1612 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
1614 2014-01-07 Yao Qi <yao@codesourcery.com>
1616 * gnu-nat.c (make_inf) Update declaration.
1617 (make_inf): Make it static.
1618 (inf_set_traced): Likewise.
1619 (inf_port_to_thread, inf_task_died_status): Likewise.
1621 2014-01-07 Yao Qi <yao@codesourcery.com>
1623 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
1625 2014-01-07 Yao Qi <yao@codesourcery.com>
1627 * gnu-nat.c (_initialize_gnu_nat): Declare.
1629 2014-01-07 Yao Qi <yao@codesourcery.com>
1631 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
1633 (struct gdbarch_info) <byte_order>: Change type to
1635 <byte_order_for_code>: Likewise.
1636 * gdbarch.c, gdbarch.h: Regenerated.
1638 2014-01-06 Sasha Smundak <asmundak@google.com>
1640 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
1642 2014-01-06 Tom Tromey <tromey@redhat.com>
1644 * doublest.c (convert_doublest_to_floatformat): Use const, not
1646 * somread.c (som_symtab_read): Likewise.
1648 2014-01-07 Hui Zhu <hui@codesourcery.com>
1650 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
1651 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
1652 (gdb_bfd_fopen): Ditto.
1653 (gdb_bfd_openr): Ditto.
1654 (gdb_bfd_openw): Ditto.
1655 (gdb_bfd_openr_iovec): Ditto.
1656 (gdb_bfd_fdopenr): Ditto.
1657 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
1658 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
1660 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
1662 * symfile-mem.c (symbol_file_add_from_memory): Removed
1663 gdb_bfd_stash_filename.
1665 2014-01-03 Doug Evans <dje@google.com>
1667 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
1670 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1672 Update year range in copyright notice of all files.
1674 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1676 * top.c (print_gdb_version): Set copyright year to 2014.
1678 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1680 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
1682 For older changes see ChangeLog-2013.
1688 version-control: never