1 2014-02-05 Yao Qi <yao@codesourcery.com>
5 2013-05-24 Yao Qi <yao@codesourcery.com>
7 * tracepoint.c (TFILE_PID): Remove.
8 (tfile_open): Don't add thread and inferior.
9 (tfile_close): Don't set 'inferior_ptid'. Don't call
11 (tfile_thread_alive): Remove.
12 (init_tfile_ops): Don't set field 'to_thread_alive' of
15 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
17 * remote.c (remote_start_remote): Call remote_check_symbols even
18 if only symbol-file (not file) has been given.
20 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22 * gdbarch.sh (skip_entrypoint): New callback.
23 * gdbarch.c, gdbarch.h: Regenerate.
24 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
25 * infrun.c (fill_in_stop_func): Likewise.
26 * ppc-linux-tdep.c: Include "elf/ppc64.h".
27 (ppc_elfv2_elf_make_msymbol_special): New function.
28 (ppc_elfv2_skip_entrypoint): Likewise.
29 (ppc_linux_init_abi): Install them for ELFv2.
31 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
33 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
34 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
35 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
36 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
37 structures returned in GPRs.
39 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
41 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
42 offset to the stack parameter list for the ELFv2 ABI.
44 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
46 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
47 set_gdbarch_convert_from_func_ptr_addr and
48 set_gdbarch_elf_make_msymbol_special for ELFv1.
49 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
50 function descriptors on ELFv1.
51 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
52 set up r12 at function entry.
54 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
56 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
57 (struct gdbarch_tdep): New member elf_abi.
59 * rs6000-tdep.c: Include "elf/ppc64.h".
60 (rs6000_gdbarch_init): Detect ELF ABI version.
62 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
64 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
65 within a register pair holding a DFP 128-bit value on little-endian.
66 (ppc64_sysv_abi_return_value_base): Likewise.
67 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
68 (dfp_pseudo_register_write): Likewise.
70 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
72 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
73 offset on little-endian when passing _Decimal32.
74 (ppc64_sysv_abi_return_value_base): Likewise for return values.
76 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
78 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
79 of the overlapped FP register within the VSX register on little-
81 (efpr_pseudo_register_write): Likewise.
83 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
85 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
86 offset on little-endian when passing small structures.
88 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
90 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
91 (struct ppc64_sysv_argpos): New data structure.
92 (ppc64_sysv_abi_push_float): Remove.
93 (ppc64_sysv_abi_push_val): New function.
94 (ppc64_sysv_abi_push_integer): Likewise.
95 (ppc64_sysv_abi_push_freg): Likewise.
96 (ppc64_sysv_abi_push_vreg): Likewise.
97 (ppc64_sysv_abi_push_param): Likewise.
98 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
99 (ppc64_sysv_abi_return_value_base): New function.
100 (ppc64_sysv_abi_return_value): Refactor to use it.
102 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
104 * NEWS: Document new target powerpc64le-*-linux*.
106 2014-02-04 Mark Kettenis <kettenis@gnu.org>
108 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
109 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
111 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
112 register set used in ELF core dumps. Add floating-point register set.
114 2014-02-03 Kevin Buettner <kevinb@redhat.com>
116 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
117 dwarf2_to_gdb[] table using symbolic constants. Adjust
118 penultimate entry from number representing the PC register
119 to symbolic constant representing the MDR register. Add
120 constant for the PC register to the end of the table.
122 2014-02-03 Mark Kettenis <kettenis@gnu.org>
124 * bsd-kvm.c: Include <sys/param.h>
126 2014-02-03 Mark Kettenis <kettenis@gnu.org>
128 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
130 2014-01-31 Joel Brobecker <brobecker@adacore.com>
132 * ada-lang.h (clear_ada_sym_cache): Delete.
134 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
136 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
138 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
140 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
141 the sigreturn register save area only if the syscall is
144 2014-01-29 Joel Brobecker <brobecker@adacore.com>
146 * valops.c (value_slice): Minor reformatting.
148 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
150 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
152 2014-01-28 Joel Brobecker <brobecker@adacore.com>
154 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
156 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
157 (ada_ignore_descriptive_types_p): New static global.
158 (find_parallel_type_by_descriptive_type): Return immediately
159 if ada_ignore_descriptive_types_p is set.
160 (_initialize_ada_language): Register new commands "maintenance
161 set ada", "maintenance show ada", "maintenance set ada
162 ignore-descriptive-types" and "maintenance show ada
163 ignore-descriptive-types".
164 * NEWS: Add entry for new "maint ada set/show
165 ignore-descriptive-types" commands.
167 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
169 * record-btrace.c (record_btrace_close): Call btrace_teardown
172 2014-01-27 Joel Brobecker <brobecker@adacore.com>
174 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
177 2014-01-27 Joel Brobecker <brobecker@adacore.com>
179 * ada-typeprint (type_is_full_subrange_of_target_type):
181 (print_range): Add parameter bounds_prefered_p. If not set,
182 try printing range types using the name of their base type.
183 (print_range_type): Add parameter bounds_prefered_p.
184 Use it in call to print_range.
185 (print_array_type, ada_print_type): Update calls to print_range
186 and print_range_type.
188 2014-01-27 Joel Brobecker <brobecker@adacore.com>
190 * ada-typeprint.c (print_array_type, print_choices, print_range)
191 (print_range_bound, print_dynamic_range_bound, print_range_type):
194 2014-01-27 Joel Brobecker <brobecker@adacore.com>
196 * ada-typeprint.c (print_range): Add missing empty line
197 after local declaration.
199 2014-01-27 Joel Brobecker <brobecker@adacore.com>
201 * ada-valprint.c (print_optional_low_bound): Get index_type's
202 target type for as long as it is a TYPE_CODE_RANGE.
204 2014-01-27 Joel Brobecker <brobecker@adacore.com>
206 * procfs.c (procfs_make_note_section): Remove assertion and
209 2014-01-24 Yao Qi <yao@codesourcery.com>
211 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
212 * corelow.c (get_core_siginfo): Likewise.
214 2014-01-24 Yao Qi <yao@codesourcery.com>
216 * remote.c (remote_write_bytes_aux): Change type of 'len' to
217 ULONGEST. Don't check 'len' is negative.
218 (remote_write_bytes): Change type of 'len' to ULONGEST.
220 2014-01-23 Tom Tromey <tromey@redhat.com>
223 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
224 Handle exception from frame.block.
225 (FrameVars.fetch_frame_locals): Likewise.
227 2014-01-23 Tom Tromey <tromey@redhat.com>
230 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
231 on a NULL pointer. Move "goto error" to correct place.
233 2014-01-23 Tom Tromey <tromey@redhat.com>
236 * python/py-framefilter.c (apply_frame_filter): Call
237 ensure_python_env after computing gdbarch.
239 2014-01-23 Yao Qi <yao@codesourcery.com>
241 * target.c (raw_memory_xfer_partial): Change argument type
242 from void * to gdb_byte *.
243 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
245 2014-01-22 Doug Evans <dje@google.com>
247 New gdbserver option --debug-format=timestamp.
250 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
252 * syscalls/s390x-linux.xml: New file.
253 * syscalls/s390-linux.xml: New file.
254 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
255 (XML_SYSCALL_FILENAME_S390X): Likewise.
256 (op_svc): New enum value for SVC opcode.
257 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
258 (s390_linux_get_syscall_number): New function.
259 (s390_gdbarch_init): Register '*get_syscall_number' and the
260 syscall xml file name.
261 * data-directory/Makefile.in (SYSCALLS_FILES): Add
262 "s390-linux.xml" and "s390x-linux.xml".
263 * NEWS: Announce new feature.
265 2014-01-22 Baruch Siach <baruch@tkos.co.il>
267 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
269 2014-01-22 Pedro Alves <palves@redhat.com>
271 * xtensa-config.c: Include defs.h.
273 2014-01-22 Joel Brobecker <brobecker@adacore.com>
275 * common/common-utils.h: Add "ARI:" comment beside __func__
278 2014-01-22 Joel Brobecker <brobecker@adacore.com>
280 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
283 2014-01-21 Roland McGrath <mcgrathr@google.com>
285 * configure.ac: Call AM_PROG_INSTALL_STRIP.
286 * configure: Regenerate.
287 * aclocal.m4: Regenerate.
288 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
289 New substituted variables.
290 (install-strip): New target.
291 (INSTALL_SCRIPT): New substituted variable.
292 (FLAGS_TO_PASS): Add it.
293 (install-only): Use $(INSTALL_SCRIPT) rather than
294 $(INSTALL_PROGRAM) for gcore.
296 2014-01-20 Tom Tromey <tromey@redhat.com>
298 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
301 2014-01-20 Tom Tromey <tromey@redhat.com>
303 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
304 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
305 (deprecated_cmd_warning, complete_on_cmdlist): Update.
306 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
307 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
308 (struct cmd_list_element) <flags>: Remove.
309 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
310 doc_allocated>: New fields.
311 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
313 * maint.c (maintenance_do_deprecate): Update.
314 * top.c (execute_command): Update.
316 2014-01-20 Baruch Siach <baruch@tkos.co.il>
318 * xtensa-linux-nat.c: Include asm/ptrace.h.
320 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
322 * Makefile.in (SFILES): Add d-support.c.
323 (COMMON_OBS): Add d-support.o.
324 * d-lang.h (d_parse_symbol): Add comment, now defined in
326 * d-lang.c (parse_call_convention)
327 (parse_attributes, parse_function_types)
328 (parse_function_args, parse_type, parse_identifier)
329 (call_convention_p, d_parse_symbol): Move functions to ...
330 * d-support.c: ... New file.
332 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
334 * d-lang.h (d_parse_symbol): Add declaration.
335 * d-lang.c (extract_identifiers)
336 (extract_type_info): Remove functions.
337 (parse_call_convention, parse_attributes)
338 (parse_function_types, parse_function_args)
339 (parse_type, parse_identifier, call_convention_p)
340 (d_parse_symbol): New functions.
341 (d_demangle): Use d_parse_symbol to demangle D symbols.
343 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
345 * d-lang.h (struct builtin_d_type): New data type.
346 (builtin_d_type): Add declaration.
347 * d-lang.c (d_language_arch_info, build_d_types)
348 (builtin_d_type): New functions.
349 (enum d_primitive_types): New data type.
350 (d_language_defn): Change c_language_arch_info to
351 d_language_arch_info.
352 (d_type_data): New static variable.
353 (_initialize_d_language): Initialize d_type_data.
355 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
357 * d-lang.h (d_main_name): Add declaration.
358 * d-lang.c (d_main_name): New function.
359 * symtab.c (find_main_name): Add call to d_main_name.
361 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
363 * d-lang.c (d_language_defn): Change macro_expansion_c to
366 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
368 * MAINTAINERS: Add myself as a write-after-approval maintainer.
370 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
372 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
373 gdb_exception" declaration.
374 * remote.c (getpkt_or_notif_sane): Likewise.
376 2014-01-17 Doug Evans <dje@google.com>
378 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
379 function, contents of dirnames_to_char_ptr_vec_append moved here.
380 (delim_string_to_char_ptr_vec): New function.
381 (dirnames_to_char_ptr_vec_append): Rewrite.
382 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
384 2014-01-17 Doug Evans <dje@google.com>
386 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
388 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
389 #include "common-utils.h".
390 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
391 * common/vec.h (VEC_ASSERT_PASS): Update.
392 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
393 (MACH_CHECK_ERROR): Update.
395 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
397 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
399 * gdbarch.h: Regenerate.
401 2014-01-16 Tom Tromey <tromey@redhat.com>
403 * value.c (struct value) <regnum>: Move earlier.
405 2014-01-16 Tom Tromey <tromey@redhat.com>
407 * remote.c (extended_remote_create_inferior): Rename from
408 extended_remote_create_inferior_1. Add "ops" argument. Remove
411 2014-01-16 Pedro Alves <palves@redhat.com>
413 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
414 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
417 2014-01-16 Doug Evans <dje@google.com>
419 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
421 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
423 * btrace.h (btrace_thread_flag): New.
424 (struct btrace_thread_info) <flags>: New.
425 * record-btrace.c (record_btrace_resume_thread)
426 (record_btrace_find_thread_to_move, btrace_step_no_history)
427 (btrace_step_stopped, record_btrace_start_replaying)
428 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
429 (record_btrace_find_resume_thread): New.
430 (record_btrace_resume, record_btrace_wait): Extend.
431 (record_btrace_can_execute_reverse): New.
432 (record_btrace_open): Fail in non-stop mode.
433 (record_btrace_set_replay): Split into this, ...
434 (record_btrace_stop_replaying): ... this, ...
435 (record_btrace_clear_histories): ... and this.
436 (init_record_btrace_ops): Init to_can_execute_reverse.
439 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
441 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
442 (forward_target_decr_pc_after_break)
443 (target_decr_pc_after_break): New.
444 * target.c (forward_target_decr_pc_after_break)
445 (target_decr_pc_after_break): New.
446 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
447 instead of gdbarch_decr_pc_after_break.
448 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
449 instead of gdbarch_decr_pc_after_break.
450 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
451 instead of gdbarch_decr_pc_after_break.
452 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
453 instead of gdbarch_decr_pc_after_break.
454 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
455 instead of gdbarch_decr_pc_after_break.
456 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
457 instead of gdbarch_decr_pc_after_break.
459 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
461 * btrace.c: Include regcache.h.
462 (btrace_add_pc): New.
463 (btrace_enable): Call btrace_add_pc.
464 (btrace_is_empty): New.
465 * btrace.h (btrace_is_empty): New.
466 * record-btrace.c (require_btrace, record_btrace_info): Call
469 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
471 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
473 (linux_disable_btrace): Change return type.
474 * common/linux-btrace.h (linux_read_btrace): Change parameters
475 and return type to allow error reporting. Update users.
476 (linux_disable_btrace): Change return type. Update users.
477 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
480 (btrace_block) <begin>: Comment on BEGIN == 0.
481 * btrace.c (btrace_compute_ftrace): Start from the end of
483 (btrace_stitch_trace, btrace_clear_history): New.
484 (btrace_fetch): Read delta trace, return if replaying.
485 (btrace_clear): Move clear history code to btrace_clear_history.
486 (parse_xml_btrace): Throw an error if parsing failed.
487 * target.h (struct target_ops) <to_read_btrace>: Change parameters
488 and return type to allow error reporting.
489 (target_read_btrace): Change parameters and return type to allow
491 * target.c (target_read_btrace): Update.
492 * remote.c (remote_read_btrace): Support delta reads. Pass
496 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
498 * record.h (record_btrace_frame_unwind)
499 (record_btrace_tailcall_frame_unwind): New declarations.
500 * dwarf2-frame: Include record.h
501 (dwarf2_frame_cfa): Throw an error for btrace frames.
502 * record-btrace.c: Include hashtab.h.
503 (btrace_get_bfun_name): New.
504 (btrace_call_history): Call btrace_get_bfun_name.
505 (struct btrace_frame_cache): New.
507 (bfcache_hash, bfcache_eq, bfcache_new): New.
508 (btrace_get_frame_function): New.
509 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
510 (record_btrace_frame_this_id): Compute own id.
511 (record_btrace_frame_prev_register): Provide PC, throw_error
512 for all other registers.
513 (record_btrace_frame_sniffer): Detect btrace frames.
514 (record_btrace_tailcall_frame_sniffer): New.
515 (record_btrace_frame_dealloc_cache): New.
516 (record_btrace_frame_unwind): Add new functions.
517 (record_btrace_tailcall_frame_unwind): New.
518 (_initialize_record_btrace): Allocate cache.
519 * btrace.c (btrace_clear): Call reinit_frame_cache.
522 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
524 * record-btrace.c (record_btrace_set_replay)
525 (record_btrace_goto_begin, record_btrace_goto_end)
526 (record_btrace_goto): New.
527 (init_record_btrace_ops): Initialize them.
530 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
532 * record-btrace.c (record_btrace_find_new_threads)
533 (record_btrace_thread_alive): New.
534 (init_record_btrace_ops): Initialize to_find_new_threads and
537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
539 * record-btrace.c (record_btrace_resume): New.
540 (record_btrace_wait): New.
541 (init_record_btrace_ops): Initialize to_wait and to_resume.
543 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
545 * record-btrace.c (record_btrace_xfer_partial)
546 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
547 (record_btrace_allow_memory_access): New.
548 (init_record_btrace_ops): Initialize new methods.
549 * target.c (raw_memory_xfer_partial): Bail out if target reports
550 that this memory is not available.
552 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
554 * target.h (target_ops) <to_insert_breakpoint>
555 <to_remove_breakpoint>: Add target_ops parameter.
556 (forward_target_insert_breakpoint): New.
557 (forward_target_remove_breakpoint): New.
558 (memory_remove_breakpoint, memory_insert_breakpoint):
559 Add target_ops parameter.
560 * target.c (target_insert_breakpoint): Split into this and ...
561 (forward_target_insert_breakpoint): ... this.
562 (target_remove_breakpoint): Split into this and ...
563 (forward_target_remove_breakpoint): ... this.
564 (debug_to_insert_breakpoint): Add target_ops parameter.
565 Call forward_target_insert_breakpoint.
566 (debug_to_remove_breakpoint): Add target_ops parameter.
567 Call forward_target_remove_breakpoint.
568 (update_current_target): Do not inherit or default to_insert_breakpoint
569 and to_remove_breakpoint.
570 * corelow.c (ignore): Add target_ops parameter.
571 * exec.c (ignore): Add target_ops parameter.
572 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
573 Add target_ops parameter.
574 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
575 Add target_ops parameter.
576 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
577 Add target_ops parameter.
578 * record-full.c (record_full_beneath_to_insert_breakpoint)
579 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
580 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
581 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
582 (record_full_core_remove_breakpoint): Add target_ops parameter.
584 (record_full_beneath_to_insert_breakpoint_ops)
585 (record_full_beneath_to_remove_breakpoint_ops)
586 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
587 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
588 tmp_to_remove_breakpoint_ops,
589 record_full_beneath_to_insert_breakpoint_ops, and
590 record_full_beneath_to_remove_breakpoint_ops.
591 * remote-m32r-sdi.c (m32r_insert_breakpoint)
592 (m32r_remove_breakpoint): Add target_ops parameter.
593 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
594 Add target_ops parameter.
595 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
596 Add target_ops parameter.
598 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
599 Markus Metzger <markus.t.metzger@intel.com>
601 * record-btrace.c: Include frame-unwind.h.
602 (record_btrace_frame_unwind_stop_reason)
603 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
604 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
606 (init_record_btrace_ops): Install it.
608 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
610 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
613 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
615 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
618 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
620 * frame-unwind.c: Include target.h.
621 (frame_unwind_try_unwinder): New function with code from ...
622 (frame_unwind_find_by_frame): ... here. New variable
623 unwinder_from_target, call also target_get_unwinder)
624 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
625 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
626 * target.h (struct target_ops): New fields to_get_unwinder and
627 to_get_tailcall_unwinder.
628 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
630 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
632 * record-btrace.c (record_btrace_fetch_registers)
633 (record_btrace_store_registers)
634 (record_btrace_to_prepare_to_store): New.
635 (init_record_btrace_ops): Add the above.
637 2014-01-16 Tom Tromey <tromey@redhat.com>
639 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
640 * target.h (struct target_ops) <to_prepare_to_store>: Add
642 (target_prepare_to_store): Add argument.
643 * target.c (debug_to_prepare_to_store): Add argument.
644 (update_current_target): Update.
645 * remote.c (remote_prepare_to_store): Add 'self' argument.
646 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
647 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
648 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
649 * record-full.c (record_full_core_prepare_to_store): Add 'self'
651 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
652 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
653 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
654 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
655 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
657 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
659 * btrace.h (replay) <replay>: New.
660 (btrace_is_replaying): New.
661 * btrace.c (btrace_clear): Free replay iterator.
662 (btrace_is_replaying): New.
663 * record-btrace.c (record_btrace_is_replaying): New.
664 (record_btrace_info): Print insn number if replaying.
665 (record_btrace_insn_history): Start at replay position.
666 (record_btrace_call_history): Start at replay position.
667 (init_record_btrace_ops): Init to_record_is_replaying.
669 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
671 * record-btrace.c (record_btrace_insn_history_range): Include
673 (record_btrace_insn_history_from): Adjust range.
674 (record_btrace_call_history_range): Include
676 (record_btrace_call_history_from): Adjust range.
677 * NEWS: Announce changes.
679 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
681 * record.h (enum record_print_flag)
682 <record_print_indent_calls>: New.
683 * record.c (get_call_history_modifiers): Recognize /c modifier.
684 (_initialize_record): Document /c modifier.
685 * record-btrace.c (btrace_call_history): Add btinfo parameter.
686 Reorder fields. Optionally indent the function name. Update
688 * NEWS: Announce changes.
690 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
692 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
694 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
696 * btrace.c (ftrace_new_function): Start counting at one.
697 * record-btrace.c (record_btrace_info): Adjust number of calls
701 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
703 * record-btrace.c (btrace_call_history_insn_range): Print
704 insn range as [begin, end].
706 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
708 * btrace.h (struct btrace_func_link): New.
709 (enum btrace_function_flag): New.
710 (struct btrace_inst): Rename to ...
711 (struct btrace_insn): ...this. Update all users.
712 (struct btrace_func) <ibegin, iend>: Remove.
713 (struct btrace_func_link): New.
714 (struct btrace_func): Rename to ...
715 (struct btrace_function): ...this. Update all users.
716 (struct btrace_function) <segment, flow, up, insn, insn_offset)
717 (number, level, flags>: New.
718 (struct btrace_insn_iterator): Rename to ...
719 (struct btrace_insn_history): ...this.
721 (struct btrace_insn_iterator, btrace_call_iterator): New.
722 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
723 (struct btrace_target_info) <begin, end, level>
724 <insn_history, call_history>: New.
725 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
726 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
727 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
728 (btrace_call_number, btrace_call_begin, btrace_call_end)
729 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
730 (btrace_find_function_by_number, btrace_set_insn_history)
731 (btrace_set_call_history): New.
732 * btrace.c (btrace_init_insn_iterator)
733 (btrace_init_func_iterator, compute_itrace): Remove.
734 (ftrace_print_function_name, ftrace_print_filename)
735 (ftrace_skip_file): Change
737 (ftrace_init_func): Remove.
738 (ftrace_debug): Use new btrace_function fields.
739 (ftrace_function_switched): Also consider gaining and
740 losing symbol information).
741 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
742 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
743 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
745 (ftrace_new_function): Move. Remove debug print.
746 (ftrace_update_lines, ftrace_update_insns): New.
747 (ftrace_update_function): Check for call, ret, and jump.
748 (compute_ftrace): Renamed to ...
749 (btrace_compute_ftrace): ...this. Rewritten to compute call
751 (btrace_fetch, btrace_clear): Updated.
752 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
753 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
754 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
755 (btrace_call_number, btrace_call_begin, btrace_call_end)
756 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
757 (btrace_find_function_by_number, btrace_set_insn_history)
758 (btrace_set_call_history): New.
759 * record-btrace.c (require_btrace): Use new btrace thread
761 (record_btrace_info, btrace_insn_history)
762 (record_btrace_insn_history, record_btrace_insn_history_range):
763 Use new btrace thread info fields and new iterator.
764 (btrace_func_history_src_line): Rename to ...
765 (btrace_call_history_src_line): ...this. Use new btrace
767 (btrace_func_history): Rename to ...
768 (btrace_call_history): ...this. Use new btrace thread info
769 fields and new iterator.
770 (record_btrace_call_history, record_btrace_call_history_range):
771 Use new btrace thread info fields and new iterator.
773 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
775 * frame.h (frame_id_build_unavailable_stack_special): New.
776 * frame.c (frame_id_build_unavailable_stack_special): New.
778 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
780 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
781 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
782 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
784 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
785 (i386_insn_is_jump, i386_jmp_p): New.
786 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
787 insn_is_jump to gdbarch.
788 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
789 * gdbarch.h: Regenerated.
790 * gdbarch.c: Regenerated.
791 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
792 (default_insn_is_jump): New.
793 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
794 (default_insn_is_jump): New.
796 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
798 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
800 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
801 (btrace_read_type) <btrace_read_new>: Change to ...
802 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
804 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
806 * common/linux-btrace.c (linux_read_btrace): Free trace from
809 2014-01-15 Doug Evans <dje@google.com>
811 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
814 2014-01-15 Tom Tromey <tromey@redhat.com>
816 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
817 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
818 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
819 (set_objfile_main_name): New function.
820 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
821 language_of_main>: New fields.
822 (set_objfile_main_name): Declare.
823 * symtab.c (find_main_name): Loop over objfiles to find the main
825 (set_main_name): Now static.
826 (get_main_info): Add comment.
827 * symtab.h (set_main_name): Don't declare.
829 2014-01-15 Tom Tromey <tromey@redhat.com>
831 * symtab.c (main_progspace_key): New global.
832 (struct main_info): New.
833 (name_of_main, language_of_main): Remove.
834 (get_main_info, main_info_cleanup): New function.
835 (set_main_name, main_name, main_language): Use get_main_info.
836 (_initialize_symtab): Initialize main_progspace_key.
838 2014-01-15 Tom Tromey <tromey@redhat.com>
840 * dbxread.c (process_one_symbol): Update.
841 * dwarf2read.c (read_partial_die): Update.
842 * symfile.c (set_initial_language): Call main_language.
843 * symtab.c (language_of_main): Now static.
844 (set_main_name): Add 'lang' parameter.
845 (find_main_name): Update.
846 (main_language): New function.
847 (symtab_observer_executable_changed): Update.
848 * symtab.h (set_main_name): Update.
849 (language_of_main): Remove.
850 (main_language): Declare.
852 2014-01-15 Tom Tromey <tromey@redhat.com>
854 * symfile.c (init_entry_point_info): Use new "initialized" field.
856 * objfiles.h (struct entry_point) <initialized>: New field.
857 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
858 (struct objfile) <ei>: ...here. Remove.
859 * objfiles.c (entry_point_address_query): Update.
861 2014-01-15 Tom Tromey <tromey@redhat.com>
863 * objfiles.c (entry_point_address_query): Relocate entry point
865 (objfile_relocate1): Do not relocate entry point address.
866 * objfiles.h (struct entry_info) <entry_point>: Update comment.
867 <the_bfd_section_index>: New field.
868 * symfile.c (init_entry_point_info): Find the entry point's
871 2014-01-15 Tom Tromey <tromey@redhat.com>
873 * solib-frv.c (enable_break): Use entry_point_address_query.
875 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
877 * NEWS: Add note on improved process record-replay on
880 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
882 * arm-tdep.c (enum arm_record_result): New enum.
883 (arm_record_unsupported_insn): New function.
884 (arm_record_coproc_data_proc): Removed.
885 (thumb2_record_ld_st_multiple): New function.
886 (thumb2_record_ld_st_dual_ex_tbb): New function.
887 (thumb2_record_data_proc_sreg_mimm): New function.
888 (thumb2_record_ps_dest_generic): New function.
889 (thumb2_record_branch_misc_cntrl): New function.
890 (thumb2_record_str_single_data): New function.
891 (thumb2_record_ld_mem_hints): New function.
892 (thumb2_record_ld_word): New function.
893 (thumb2_record_lmul_lmla_div): New function.
894 (thumb2_record_decode_insn_handler): New function.
895 (decode_insn): Add thumb32 instruction handlers.
897 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
899 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
900 (struct arm_linux_record_tdep): Declare.
901 (arm_canonicalize_syscall): New function.
902 (arm_all_but_pc_registers_record): New function.
903 (arm_linux_syscall_record): New function.
904 (arm_linux_init_abi): Add syscall recording constructs.
905 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
906 decoding. (arm_record_coproc_data_proc): Update arm syscall
908 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
909 <arm_syscall_record>: New field.
910 * configure.tgt (arm*-*-linux*): Add linux-record.o to
913 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
915 * arm-tdep.c (thumb_record_misc): Update to use sp as base
916 register for push instruction recording.
918 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
920 * arm-tdep.c (thumb_record_misc): Update to correct logical
921 error while recording ldm, ldmia and pop instructions.
923 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
925 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
927 2014-01-15 Pedro Alves <palves@redhat.com>
929 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
930 (go32_resume, go32_fetch_registers, store_register)
931 (go32_store_registers, go32_prepare_to_store)
932 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
933 (go32_create_inferior, go32_can_run, go32_terminal_init)
934 (go32_terminal_inferior, go32_terminal_ours): Delete forward
937 2014-01-15 Tom Tromey <tromey@redhat.com>
939 * target.h (async_callback_ftype): New typedef.
940 (struct target_ops) <to_async>: Use it.
942 2014-01-15 Joel Brobecker <brobecker@adacore.com>
944 * python/py-value.c (get_field_type): Remove unnecessary curly
945 braces for single-statement if block.
947 2014-01-15 Joel Brobecker <brobecker@adacore.com>
949 * python/py-type.c (convert_field): Add missing empty line
952 2014-01-14 Doug Evans <dje@google.com>
954 * symfile.h (expand_symtabs_matching): Renamed from
955 expand_partial_symbol_names. Update prototype.
956 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
957 * symfile.c (expand_symtabs_matching): Renamed from
958 expand_partial_symbol_names. New args file_matcher, kind.
959 Rename arg fun to symbol_matcher.
960 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
961 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
962 ada_expand_partial_symbol_name.
963 (ada_make_symbol_completion_list): Update to call
964 expand_symtabs_matching.
965 (ada_add_global_exceptions): Call expand_symtabs_matching.
966 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
967 call map_symbol_filenames.
968 * symtab.c (sources_info): Update to call map_symbol_filenames.
969 (search_symbols): Call expand_symtabs_matching.
970 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
971 (default_make_symbol_completion_list_break_on): Update to call
972 expand_symtabs_matching.
973 (make_source_files_completion_list): Update to call
974 map_symbol_filenames.
976 2014-01-14 Doug Evans <dje@google.com>
978 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
979 (expand_symtabs_symbol_matcher_ftype): New typedef.
980 (quick_symbol_functions.expand_symtabs_matching): Update to use.
981 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
982 * symfile.c (expand_partial_symbol_names): Update to use
983 expand_symtabs_symbol_matcher_ftype.
984 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
985 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
986 Arg name_matcher renamed to symbol_matcher.
987 * psymtab.c (recursively_search_psymtabs): Update to use
988 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
990 (expand_symtabs_matching_via_partial): Update to use
991 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
992 Arg name_matcher renamed to symbol_matcher.
994 2014-01-14 Doug Evans <dje@google.com>
996 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
997 (map_partial_symbol_filenames): Ditto.
998 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
999 (map_partial_symbol_filenames): Ditto.
1000 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
1001 (map_partial_symbol_filenames): Ditto.
1002 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
1003 (map_partial_symbol_filenames): Ditto.
1004 * symtab.c: Delete #include "psymtab.h".
1006 2014-01-14 Pedro Alves <palves@redhat.com>
1007 Tom Tromey <tromey@redhat.com>
1009 * infrun.c (use_displaced_stepping): Use find_record_target
1010 instead of RECORD_IS_USED.
1011 (adjust_pc_after_break): Use record_full_is_used instead of
1013 * record-btrace.c (record_btrace_open): Call record_preopen
1014 instead of checking RECORD_IS_USED.
1015 * record-full.c (record_full_shortname)
1016 (record_full_core_shortname): New globals.
1017 (record_full_is_used): New function.
1018 (find_full_open): Call record_preopen instead of checking
1020 (init_record_full_ops): Set the target's shortname to
1021 record_full_shortname.
1022 (init_record_full_core_ops): Set the target's shortname to
1023 record_full_core_shortname.
1024 * record-full.h (record_full_is_used): Declare.
1025 * record.c (find_record_target): Make extern.
1026 (record_preopen): New function.
1027 * record.h (RECORD_IS_USED): Delete macro.
1028 (find_record_target, record_preopen): Declare functions.
1030 2014-01-14 Yao Qi <yao@codesourcery.com>
1032 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
1033 'len''s type to ULONGEST.
1034 (core_xfer_shared_libraries_aix): Likewise.
1035 * gdbarch.c, gdbarch.h: Regenerated.
1036 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
1037 Change type of 'len' to ULONGEST.
1038 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1039 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
1041 2014-01-14 Yao Qi <yao@codesourcery.com>
1043 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
1044 type of 'len' to ULONGEST.
1045 (linux_xfer_osdata_processgroups): Likewise.
1046 (linux_xfer_osdata_threads): Likewise.
1047 (linux_xfer_osdata_fds): Likewise.
1048 (linux_xfer_osdata_isockets): Likewise.
1049 (linux_xfer_osdata_shm): Likewise.
1050 (linux_xfer_osdata_sem): Likewise.
1051 (linux_xfer_osdata_msg): Likewise.
1052 (linux_common_xfer_osdata): Likewise.
1053 (struct osdata_type) <getter>: Likewise.
1054 * common/linux-osdata.h (linux_common_xfer_osdata): Update
1057 2014-01-14 Yao Qi <yao@codesourcery.com>
1059 * target.h (target_xfer_partial_ftype): Update.
1060 (struct target_ops) <to_xfer_partial>: Change 'len' type to
1062 * aix-thread.c (aix_thread_xfer_partial): Change type of
1063 argument 'len' to ULONGEST.
1064 * auxv.c (procfs_xfer_auxv): Likewise.
1065 (ld_so_xfer_auxv): Likewise.
1066 (memory_xfer_auxv): Likewise.
1067 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1068 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1069 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1070 * corelow.c (core_xfer_partial): Likewise.
1071 * ctf.c (ctf_xfer_partial): Likewise.
1072 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
1074 (darwin_read_dyld_info): Likewise.
1075 (darwin_xfer_partial): Likewise.
1076 * exec.c (section_table_xfer_memory_partial): Likewise.
1077 (exec_xfer_partial): Likewise.
1078 * exec.h (section_table_xfer_memory_partial): Update
1080 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
1081 instead of plongest.
1082 (gnu_xfer_partial): Likewise.
1083 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
1084 (ia64_hpux_xfer_solib_got): Likewise.
1085 (ia64_hpux_xfer_partial): Likewise.
1086 * ia64-linux-nat.c (ia64_linux_xfer_partial):
1087 * inf-ptrace.c (inf_ptrace_xfer_partial):
1088 * inf-ttrace.c (inf_ttrace_xfer_partial):
1089 * linux-nat.c (linux_xfer_siginfo): Likewise.
1090 (linux_nat_xfer_partial): Likewise.
1091 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
1092 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
1093 * monitor.c (monitor_xfer_memory): Likewise.
1094 (monitor_xfer_partial): Likewise.
1095 * procfs.c (procfs_xfer_partial): Likewise.
1096 * record-full.c (record_full_xfer_partial): Likewise.
1097 (record_full_core_xfer_partial): Likewise.
1098 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
1099 instead of plongest.
1100 (gdbsim_xfer_partial): Likewise.
1101 * remote.c (remote_xfer_partial): Likewise.
1102 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1103 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1105 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1106 (rs6000_xfer_shared_libraries): Likewise.
1107 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1108 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1109 (sparc_xfer_partial): Likewise.
1110 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1111 (spu_xfer_partial): Likewise.
1112 * spu-multiarch.c (spu_xfer_partial): Likewise.
1113 * target.c (target_read_live_memory): Likewise.
1114 (memory_xfer_live_readonly_partial): Likewise.
1115 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
1116 (target_xfer_partial, default_xfer_partial): Likewise.
1117 (current_xfer_partial): Likewise.
1118 * tracepoint.c (tfile_xfer_partial): Likewise.
1119 * windows-nat.c (windows_xfer_memory): Likewise. Call
1120 pulongest instead of plongest.
1121 (windows_xfer_partial): Likewise.
1122 (windows_xfer_shared_libraries): Likewise.
1124 2014-01-14 Yao Qi <yao@codesourcery.com>
1126 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
1127 target_xfer_partial_ftype.
1129 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1133 * valops.c (value_struct_elt_bitpos): New function
1134 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
1135 object to 'None' if the field name is an empty string ("").
1136 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
1137 attribute to look for a field when 'name' is 'None'.
1138 (get_field_type): New function
1140 2014-01-13 Doug Evans <dje@google.com>
1143 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
1144 (try_open_dwop_file): Ditto.
1145 * gdb_bfd.c: #include "vec.h".
1146 (bfdp): New typedef.
1147 (struct gdb_bfd_data): New member included_bfds.
1148 (gdb_bfd_unref): Unref all included bfds.
1149 (gdb_bfd_record_inclusion): New function.
1150 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
1152 2014-01-13 Tom Tromey <tromey@redhat.com>
1154 * gdbcore.h (deprecated_core_resize_section_table): Remove.
1156 2014-01-13 Tom Tromey <tromey@redhat.com>
1158 * defs.h (use_windows): Remove.
1159 * gdb.c (main): Update.
1160 * main.c (captured_main, gdb_main): Update.
1161 * main.h (struct captured_main_args) <use_windows>: Remove.
1162 * top.c (use_windows): Remove.
1164 2014-01-13 Tom Tromey <tromey@redhat.com>
1166 * defs.h (deprecated_flush_hook): Remove.
1168 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1171 * linux-thread-db.c (try_thread_db_load): Add parameter
1172 check_auto_load_safe. Move here the file_is_auto_load_safe call.
1173 (try_thread_db_load_from_pdir_1): Move it there from here.
1174 (try_thread_db_load_from_sdir): Update caller.
1175 (try_thread_db_load_from_dir): Move it there from here.
1177 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
1179 * regformats/regdat.sh: Always rewrite the register file.
1181 2014-01-13 Pedro Alves <palves@redhat.com>
1183 * Makefile.in (CHECK_HEADERS): New variable.
1184 (check-headers:): New rule.
1186 2014-01-13 Tom Tromey <tromey@redhat.com>
1188 * cli/cli-setshow.c (do_set_command): Update.
1189 * defs.h (deprecated_set_hook): Remove.
1190 * top.c (deprecated_set_hook): Remove.
1192 2014-01-13 Pedro Alves <palves@redhat.com>
1194 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
1195 the tracepoint if the PC is a pseudo-register.
1197 2014-01-13 Tom Tromey <tromey@redhat.com>
1199 * defs.h (XCALLOC): Remove.
1200 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
1201 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
1202 * dwarf2loc.c (allocate_piece_closure): Likewise.
1203 * elfread.c (elf_symfile_segments): Likewise.
1204 (elf_symfile_segments): Likewise.
1205 * gdbtypes.c (copy_type_recursive): Likewise.
1206 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
1207 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
1208 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
1210 * mt-tdep.c (mt_gdbarch_init): Likewise.
1211 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
1213 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
1214 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
1215 * registry.c (registry_alloc_data): Likewise.
1216 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
1217 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
1218 * serial.c (serial_fdopen_ops): Likewise.
1219 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
1221 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
1222 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
1225 2014-01-13 Tom Tromey <tromey@redhat.com>
1227 * defs.h (XMALLOC): Remove.
1228 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
1229 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
1230 * cli-out.c (struct ui_out *): Likewise.
1231 * cli/cli-dump.c (add_dump_command): Likewise.
1232 (add_dump_command): Likewise.
1233 * complaints.c (get_complaints): Likewise.
1234 (find_complaint): Likewise.
1235 * dwarf2-frame.c (execute_cfa_program): Likewise.
1236 * dwarf2read.c (abbrev_table_read_table): Likewise.
1237 * gdbarch.sh: Likewise.
1238 * gdbarch.c: Rebuild.
1239 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
1240 * interps.c (interp_new): Likewise.
1241 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
1242 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
1243 * mi/mi-console.c (mi_console_file_new): Likewise.
1244 * mi/mi-interp.c (mi_interpreter_init): Likewise.
1245 * mi/mi-out.c (mi_out_new): Likewise.
1246 * mi/mi-parse.c (mi_parse): Likewise.
1247 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
1248 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
1249 * observer.c (xalloc_observer_list_node): Likewise.
1250 * regcache.c (regcache_xmalloc_1): Likewise.
1251 * reggroups.c (reggroup_new): Likewise.
1252 (_initialize_reggroup): Likewise.
1253 * registry.c (register_data_with_cleanup): Likewise.
1254 * remote.c (remote_notif_stop_alloc_reply): Likewise.
1255 * ser-base.c (serial_ttystate): Likewise.
1256 * ser-mingw.c (make_pipe_state): Likewise.
1257 * ser-pipe.c (pipe_open): Likewise.
1258 * serial.c (serial_open): Likewise.
1259 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
1260 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
1261 (tui_alloc_win_info): Likewise.
1262 (tui_add_content_elements): Likewise.
1263 * tui/tui-file.c (tui_file_new): Likewise.
1264 * tui/tui-out.c (tui_out_new): Likewise.
1265 * ui-file.c (mem_file_new): Likewise.
1266 * ui-out.c (push_level): Likewise.
1267 (make_cleanup_ui_out_end): Likewise.
1268 (append_header_to_list): Likewise.
1269 (ui_out_new): Likewise.
1270 * user-regs.c (user_reg_add_builtin): Likewise.
1272 2014-01-13 Tom Tromey <tromey@redhat.com>
1274 * defs.h (XZALLOC): Remove.
1275 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
1276 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
1277 (get_ada_tasks_inferior_data): Likewise.
1278 * auto-load.c (get_auto_load_pspace_data): Likewise.
1279 * auxv.c (get_auxv_inferior_data): Likewise.
1280 * bfd-target.c (target_bfd_reopen): Likewise.
1281 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
1282 (deprecated_insert_raw_breakpoint): Likewise.
1283 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
1284 * corelow.c (core_open): Likewise.
1285 * darwin-nat.c (darwin_check_new_threads): Likewise.
1286 (darwin_attach_pid): Likewise.
1287 * dummy-frame.c (dummy_frame_push): Likewise.
1288 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
1289 * dwarf2loc.c (allocate_piece_closure): Likewise.
1290 * elfread.c (elf_symfile_segments): Likewise.
1291 * eval.c (ptrmath_type_p): Likewise.
1292 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
1293 * gdbtypes.c (alloc_type_arch): Likewise.
1294 (alloc_type_instance): Likewise.
1295 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
1296 * inf-child.c (inf_child_can_use_agent): Likewise.
1297 * inflow.c (get_inflow_inferior_data): Likewise.
1298 * infrun.c (save_infcall_suspend_state): Likewise.
1299 * jit.c (jit_reader_load): Likewise.
1300 (get_jit_objfile_data): Likewise.
1301 (get_jit_program_space_data): Likewise.
1302 (jit_object_open_impl): Likewise.
1303 (jit_symtab_open_impl): Likewise.
1304 (jit_block_open_impl): Likewise.
1305 (jit_frame_sniffer): Likewise.
1306 * linux-fork.c (add_fork): Likewise.
1307 * maint.c (make_command_stats_cleanup): Likewise.
1308 * objfiles.c (get_objfile_pspace_data): Likewise.
1309 * opencl-lang.c (struct lval_closure): Likewise.
1310 * osdata.c (osdata_start_osdata): Likewise.
1311 * progspace.c (new_address_space): Likewise.
1312 (add_program_space): Likewise.
1313 * remote-sim.c (get_sim_inferior_data): Likewise.
1314 * sh-tdep.c (sh_gdbarch_init): Likewise.
1315 * skip.c (Ignore): Likewise.
1316 (skip_delete_command): Likewise.
1317 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
1318 (library_list_start_library): Likewise.
1319 (solib_aix_current_sos): Likewise.
1320 * solib-darwin.c (get_darwin_info): Likewise.
1321 (darwin_current_sos): Likewise.
1322 * solib-dsbt.c (get_dsbt_info): Likewise.
1323 * solib-ia64-hpux.c (new_so_list): Likewise.
1324 (ia64_hpux_get_solib_linkage_addr): Likewise.
1325 * solib-spu.c (append_ocl_sos): Likewise.
1326 (spu_current_sos): Likewise.
1327 * solib-svr4.c (get_svr4_info): Likewise.
1328 (svr4_keep_data_in_core): Likewise.
1329 (library_list_start_library): Likewise.
1330 (svr4_default_sos): Likewise.
1331 (svr4_read_so_list): Likewise.
1332 * solib-target.c (library_list_start_library): Likewise.
1333 (solib_target_current_sos): Likewise.
1334 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
1335 * symfile-debug.c (install_symfile_debug_logging): Likewise.
1336 * symfile.c (default_symfile_segments): Likewise.
1337 * target-descriptions.c (tdesc_data_init): Likewise.
1338 (tdesc_create_reg): Likewise.
1339 (struct tdesc_type *): Likewise.
1340 (tdesc_create_vector): Likewise.
1341 (tdesc_set_struct_size): Likewise.
1342 (struct tdesc_type *): Likewise.
1343 (tdesc_free_feature): Likewise.
1344 (tdesc_create_feature): Likewise.
1345 * windows-nat.c (windows_add_thread): Likewise.
1346 (windows_make_so): Likewise.
1347 * xml-support.c (gdb_xml_body_text): Likewise.
1348 (gdb_xml_create_parser_and_cleanup): Likewise.
1349 (xml_process_xincludes): Likewise.
1350 * xml-syscall.c (allocate_syscalls_info): Likewise.
1351 (syscall_create_syscall_desc): Likewise.
1353 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
1355 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
1356 function, with code from i386_stap_parse_special_token.
1357 (i386_stap_parse_special_token_three_arg_disp): Likewise.
1358 (i386_stap_parse_special_token): Move code to the two functions
1361 2014-01-09 Pedro Alves <palves@redhat.com>
1362 Hui Zhu <hui@codesourcery.com>
1365 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
1366 bp_err_string. Don't mark the location shlib_disabled if the
1367 error thrown wasn't a generic or memory error. Catch errors
1368 thrown while inserting breakpoints in overlayed code. Output
1369 error message of software breakpoints.
1370 * remote.c (remote_insert_breakpoint): If this breakpoint has
1371 target-side commands but this stub doesn't support Z0 packets,
1372 throw NOT_SUPPORTED_ERROR error.
1373 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
1374 * target.h (target_insert_breakpoint): Extend comment.
1375 (target_insert_hw_breakpoint): Add comment.
1377 2014-01-08 Pedro Alves <palves@redhat.com>
1379 * remote.c (remote_add_thread): Add threads silently if starting
1381 (remote_notice_new_inferior): If in all-stop, and starting up,
1382 don't call notice_new_inferior.
1383 (get_current_thread): New function, factored out from ...
1384 (add_current_inferior_and_thread): ... this. Adjust.
1385 (remote_start_remote) <all-stop>: Fetch the thread list. If we
1386 found any thread, then select the remote's current thread as GDB's
1389 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1391 * NEWS: Create a new section for the next release branch.
1392 Rename the section of the current branch, now that it has
1395 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1397 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
1398 * version.in: Bump version to 7.7.50.DATE-cvs.
1400 2014-01-08 Yao Qi <yao@codesourcery.com>
1402 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
1403 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
1404 (spu_xfer_partial): Cast 'buf' to 'const char *'.
1406 2014-01-08 Yao Qi <yao@codesourcery.com>
1408 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
1409 return value of bfd_get_filename to symbol_file_add_from_bfd.
1411 2014-01-08 Pierre Muller <muller@sourceware.org>
1414 * coff-pe-read.c (struct read_pe_section_data): Add index field.
1415 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
1416 to prim_record_mininal_symbol_and_info.
1417 (add_pe_forwarded_sym): Use known section number of forwarded symbol
1418 in call to prim_record_minimal_symbol_and_info.
1419 (read_pe_exported_syms): Set index field of section_data.
1421 2014-01-07 Andrew Pinski <apinski@cavium.com>
1423 * features/aarch64-core.xml (cpsr): Change to be 64bit.
1424 * features/aarch64.c: Regenerate.
1426 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
1428 * target.c (return_null): Define.
1429 (update_current_target): Use it instead of return_zero for
1430 functions that return a pointer.
1432 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1434 * source.c (add_path): Fix check for duplicated paths in the previously
1437 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
1439 * ada-lang.c: Remove duplicated include statements.
1440 * alphabsd-nat.c: Ditto.
1441 * amd64-darwin-tdep.c: Ditto.
1442 * amd64fbsd-nat.c: Ditto.
1443 * auto-load.c: Ditto.
1445 * breakpoint.c: Ditto.
1447 * fork-child.c: Ditto.
1448 * gdb_usleep.c: Ditto.
1449 * i386-darwin-tdep.c: Ditto.
1450 * i386fbsd-nat.c: Ditto.
1452 * inferior.c: Ditto.
1454 * linux-nat.c: Ditto.
1455 * linux-tdep.c: Ditto.
1456 * m68kbsd-nat.c: Ditto.
1457 * m68klinux-nat.c: Ditto.
1458 * microblaze-tdep.c: Ditto.
1459 * mips-linux-tdep.c: Ditto.
1460 * mn10300-tdep.c: Ditto.
1461 * nto-tdep.c: Ditto.
1462 * opencl-lang.c: Ditto.
1464 * printcmd.c: Ditto.
1465 * regcache.c: Ditto.
1466 * remote-m32r-sdi.c: Ditto.
1470 * tilegx-linux-nat.c: Ditto.
1471 * tilegx-tdep.c: Ditto.
1472 * tracepoint.c: Ditto.
1474 * vaxbsd-nat.c: Ditto.
1475 * windows-nat.c: Ditto.
1476 * xtensa-tdep.c: Ditto.
1478 2014-01-07 Yao Qi <yao@codesourcery.com>
1480 * spu-linux-nat.c (_initialize_spu_nat): Declare.
1482 2014-01-07 Yao Qi <yao@codesourcery.com>
1483 Joel Brobecker <brobecker@adacore.com>
1485 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
1486 (pdc_write_regs): Likewise.
1487 (fetch_regs_kernel_thread): Likewise.
1488 (store_regs_kernel_thread): Likewise.
1490 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1492 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
1493 tagged type objects to their actual type.
1495 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1497 * ada-valprint.c (print_field_values): Add "language" parameter.
1498 Update calls to print_field_values and print_variant_part.
1499 Pass new parameter "language" in call to val_print instead
1500 of "current_language". Replace call to ada_val_print by call
1502 (print_variant_part): Add "language" parameter.
1503 (ada_val_print_struct_union): Update call to print_field_values.
1505 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1507 * ada-valprint.c (ui_memcpy): Delete.
1508 (ada_print_floating): Update documentation. Add empty line
1509 between between function documentation and implementation.
1510 Delete variable "buffer". Use ui_file_xstrdup in place of
1511 ui_file_put. Minor adjustments following this change.
1513 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1515 * ada-valprint.c (ada_val_print_string): New function,
1516 extracted from ada_val_print_array.
1517 (ada_val_print_array): Replace extracted code by call
1518 to ada_val_print_string followed by a return. Move
1519 "else" branch to the function's top block.
1521 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1523 * ada-valprint.c (ada_val_print_array): Move implementation
1524 down. Rename parameter "offset" and "val" into "offset_aligned"
1525 and "original_value" respectively. Add parameter "offset".
1527 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1529 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
1530 re-organizing the code. Change the "???" message printed
1531 when target type is a TYPE_CODE_UNDEF into
1532 "<ref to undefined type>".
1534 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1536 * ada-valprint.c (print_record): Delete, implementation inlined...
1537 (ada_val_print_struct_union): ... here. Remove call to
1538 ada_check_typedef in inlined implementation.
1540 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1542 * ada-valprint.c (ada_val_print_gnat_array): New function,
1543 extracted from ada_val_print_1;
1544 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
1545 (ada_val_print_flt, ada_val_print_struct_union)
1546 (ada_val_print_ref): Likewise.
1547 (ada_val_print_1): Delete variables i and elttype.
1548 Replace extracted-out code by call to corresponding
1551 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1553 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
1555 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1557 * ada-valprint.c (ada_val_print_1): Replace calls to
1558 ada_val_print_1 by calls to val_print.
1560 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1562 * ada-valprint.c (ada_val_print_1): Add parameter "language".
1563 Update calls to self accordingly. Replace calls to c_val_print
1564 by calls to val_print.
1566 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1568 * ada-valprint.c (print_record): Delete declaration.
1569 (adjust_type_signedness, ada_val_print_1): Likewise.
1570 (ada_val_print): Move function implementation down.
1571 (print_variant_part, print_field_values, print_record):
1572 Move function implementation up.
1574 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1576 * python/py-type.c (typy_get_name): New function.
1577 (type_object_getset): Add entry for attribute "name".
1578 * NEWS: Add entry mentioning this new attribute.
1580 2014-01-07 Yao Qi <yao@codesourcery.com>
1582 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
1585 2014-01-07 Yao Qi <yao@codesourcery.com>
1587 * gnu-nat.c (info_port_rights): Add qualifier const to
1590 2014-01-07 Yao Qi <yao@codesourcery.com>
1592 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
1594 2014-01-07 Yao Qi <yao@codesourcery.com>
1596 * gnu-nat.c (make_inf) Update declaration.
1597 (make_inf): Make it static.
1598 (inf_set_traced): Likewise.
1599 (inf_port_to_thread, inf_task_died_status): Likewise.
1601 2014-01-07 Yao Qi <yao@codesourcery.com>
1603 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
1605 2014-01-07 Yao Qi <yao@codesourcery.com>
1607 * gnu-nat.c (_initialize_gnu_nat): Declare.
1609 2014-01-07 Yao Qi <yao@codesourcery.com>
1611 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
1613 (struct gdbarch_info) <byte_order>: Change type to
1615 <byte_order_for_code>: Likewise.
1616 * gdbarch.c, gdbarch.h: Regenerated.
1618 2014-01-06 Sasha Smundak <asmundak@google.com>
1620 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
1622 2014-01-06 Tom Tromey <tromey@redhat.com>
1624 * doublest.c (convert_doublest_to_floatformat): Use const, not
1626 * somread.c (som_symtab_read): Likewise.
1628 2014-01-07 Hui Zhu <hui@codesourcery.com>
1630 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
1631 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
1632 (gdb_bfd_fopen): Ditto.
1633 (gdb_bfd_openr): Ditto.
1634 (gdb_bfd_openw): Ditto.
1635 (gdb_bfd_openr_iovec): Ditto.
1636 (gdb_bfd_fdopenr): Ditto.
1637 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
1638 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
1640 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
1642 * symfile-mem.c (symbol_file_add_from_memory): Removed
1643 gdb_bfd_stash_filename.
1645 2014-01-03 Doug Evans <dje@google.com>
1647 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
1650 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1652 Update year range in copyright notice of all files.
1654 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1656 * top.c (print_gdb_version): Set copyright year to 2014.
1658 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1660 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
1662 For older changes see ChangeLog-2013.
1668 version-control: never