1 2016-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print.
5 2016-02-22 Yao Qi <yao.qi@linaro.org>
7 * arm-tdep.c: Fix code format issues.
9 2016-02-21 Iain Buclaw <ibuclaw@gdcproject.org>
11 * d-namespace.c (d_lookup_symbol_imports): Remove argument
12 'search_parents'. All callers updated.
14 2016-02-18 Marcin Kościelnicki <koriakin@0x04.net>
16 * s390-linux-tdep.c (s390_guess_tracepoint_registers): New function.
17 (s390_gdbarch_init): Fill guess_tracepoint_registers hook.
19 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
21 * NEWS: Add entry for bound violation.
22 * amd64-linux-tdep.c (amd64_linux_init_abi_common):
23 Add handler for segmentation fault.
24 * gdbarch.sh (handle_segmentation_fault): New.
25 * gdbarch.c: Regenerate.
26 * gdbarch.h: Regenerate.
27 * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): New.
28 (SIG_CODE_BONDARY_FAULT): New define.
29 (i386_linux_init_abi): Use i386_mpx_bound_violation_handler.
30 * i386-linux-tdep.h (i386_linux_handle_segmentation_fault) New.
31 * i386-tdep.c (i386_mpx_enabled): Add as external.
32 * i386-tdep.c (i386_mpx_enabled): Add as external.
33 * infrun.c (handle_segmentation_fault): New function.
34 (print_signal_received_reason): Use handle_segmentation_fault.
36 2016-02-18 Marcin Kościelnicki <koriakin@0x04.net>
38 * arch-utils.c (default_guess_tracepoint_registers): New function.
39 * arch-utils.h (default_guess_tracepoint_registers): New prototype.
40 * gdbarch.c: Regenerate.
41 * gdbarch.h: Regenerate.
42 * gdbarch.sh: Add guess_tracepoint_registers hook.
43 * tracefile.c (tracefile_fetch_registers): Use the new gdbarch hook.
45 2016-02-17 Gary Benson <gbenson@redhat.com>
47 * exec.c (exec_file_locate_attach): Add missing cleanup.
49 2016-02-16 Don Breazeal <donb@codesourcery.com>
52 * remote.c (remove_new_fork_children): Check for pending
53 fork status in thread_info.suspend.
55 2016-02-16 Yao Qi <yao.qi@linaro.org>
57 * arm-linux-tdep.c (arm_linux_software_single_step): Assign
60 2016-02-16 Yao Qi <yao.qi@linaro.org>
62 * arch/arm-get-next-pcs.h (struct arm_get_next_pcs_ops)
63 <syscall_next_pc>: Remove argument PC. Callers updated.
64 * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
65 Remove argument PC. Get pc from regcache_read_pc.
66 * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Remove
69 2016-02-15 Yao Qi <yao.qi@linaro.org>
71 * aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x".
73 2016-02-12 Yao Qi <yao.qi@linaro.org>
75 * arch/arm-linux.c (arm_linux_get_next_pcs_fixup): Calculate
76 nextpc according to instruction.
78 2016-02-12 Yao Qi <yao.qi@linaro.org>
80 * arch/arm-get-next-pcs.c (arm_get_next_pcs): Call
81 self->ops->fixup if it isn't NULL.
82 * arch/arm-get-next-pcs.h: Include gdb_vecs.h.
83 (struct arm_get_next_pcs_ops) <fixup>: New field.
84 * arch/arm-linux.c: Include common-regcache.h and
85 arch/arm-get-next-pcs.h.
86 (arm_linux_get_next_pcs_fixup): New function.
87 * arch/arm-linux.h (arm_linux_get_next_pcs_fixup): Declare.
88 * arm-linux-tdep.c (arm_linux_get_next_pcs_ops): Initialize
89 it with arm_linux_get_next_pcs_fixup.
90 (arm_linux_software_single_step): Move code to
91 arm_linux_get_next_pcs_fixup.
92 * arm-tdep.c (arm_get_next_pcs_ops): Initialize it.
94 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
96 * xml-tdesc.c (target_fetch_description_xml) [!HAVE_LIBEXPAT]: Warn
99 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
101 * frame.h (skip_tailcall_frames): Update comment.
102 * frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL
103 if only artificial frames are found. Update comment.
104 (frame_unwind_caller_id): Handle NULL return.
105 (frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that
106 skip_artificial_frames does not return NULL.
107 (frame_pop): Add an error if only tailcall frames are found.
108 * infcmd.c (finish_command): Move skip_tailcall_frames call into
109 forward-execution case. Add an error if only tailcall frames are
112 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
114 * stack.c (frame_info): Check frame_unwind_caller_id.
116 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
118 * frame.h (skip_tailcall_frames): New.
119 * frame.c (skip_tailcall_frames): New.
120 (frame_pop): Call skip_tailcall_frames.
121 * infcmd.c (finish_command): Call skip_tailcall_frames.
123 2016-02-11 Pedro Alves <palves@redhat.com>
125 * Makefile.in (check-parallel): New rule.
127 2016-02-11 Simon Marchi <simon.marchi@ericsson.com>
129 * arm-tdep.c (arm_skip_prologue): Remove unused variables.
130 (arm_analyze_prologue): Likewise.
131 (arm_scan_prologue): Likewise.
132 (arm_m_exception_prev_register): Likewise.
133 (arm_copy_block_xfer): Likewise.
134 (thumb2_copy_block_xfer): Likewise.
135 (arm_decode_miscellaneous): Likewise.
136 (arm_decode_ld_st_word_ubyte): Likewise.
137 (arm_decode_svc_copro): Likewise.
138 (thumb2_decode_svc_copro): Likewise.
139 (thumb_copy_16bit_ldr_literal): Likewise.
140 (thumb_copy_pop_pc_16bit): Likewise.
141 (decode_thumb_32bit_ld_mem_hints): Likewise.
142 (arm_show_force_mode): Likewise.
143 (_initialize_arm_tdep): Likewise.
144 (arm_record_strx): Likewise.
145 (arm_record_extension_space): Likewise.
146 (arm_record_data_proc_misc_ld_str): Likewise.
147 (arm_record_exreg_ld_st_insn): Likewise.
148 (arm_record_vfp_data_proc_insn): Likewise.
149 (arm_record_coproc_data_proc): Likewise.
150 (thumb_record_misc): Likewise.
151 (thumb_record_ldm_stm_swi): Likewise.
152 (thumb2_record_ld_st_dual_ex_tbb): Likewise.
153 (thumb2_record_ld_mem_hints): Likewise.
154 (thumb2_record_lmul_lmla_div): Likewise.
155 (thumb2_record_asimd_struct_ld_st): Likewise.
156 (arm_process_record): Likewise.
158 2016-02-11 Simon Marchi <simon.marchi@ericsson.com>
160 * arm-tdep.c (arm_displaced_step_copy_insn): Remove.
161 (ARM displaced stepping support): Remove reference to
162 arm_displaced_step_copy_insn in comment.
163 * arm-tdep.h (arm_displaced_step_copy_insn): Remove.
164 * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove
165 reference to arm_displaced_step_copy_insn in comment.
167 2016-02-11 Simon Marchi <simon.marchi@ericsson.com>
169 * arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn.
170 (thumb_copy_b): Likewise.
171 (arm_decode_b_bl_ldmstm): Likewise.
172 (thumb_copy_16bit_ldr_literal): Likewise.
173 (thumb_copy_pop_pc_16bit): Likewise.
175 2016-02-11 Antoine Tremblay <antoine.tremblay@ericsson.com>
177 * tracepoint.c (encode_actions_1): Use target_gdbarch () rather
180 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
182 * tracefile-tfile.c (trace_tdesc): New static variable.
183 (tfile_open): Clear trace_tdesc, call target_find_description.
184 (tfile_interp_line): Recognize tdesc lines.
185 (tfile_close): Clear trace_tdesc.
186 (tfile_xfer_partial_features): New function.
187 (tfile_xfer_partial): Call tfile_xfer_partial_features.
188 (tfile_append_tdesc_line): New function.
190 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
192 * ctf.c (ctf_write_tdesc): New function.
193 (ctf_write_ops): Wire in ctf_write_tdesc.
194 * tracefile-tfile.c (tfile_write_tdesc): New function.
195 (tfile_write_ops): Wire in tfile_write_tdesc.
196 * tracefile.c (trace_save): Call write_tdesc method.
197 * tracefile.h (struct trace_file_write_ops): Add write_tdesc method.
198 * xml-tdesc.c (target_fetch_description_xml): New function.
199 * xml-tdesc.h: Add target_fetch_description_xml prototype.
201 2016-02-10 Simon Marchi <simon.marchi@ericsson.com>
203 * arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo.
204 (arm_decode_dp_misc): Likewise.
206 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
208 * amd64-tdep.c (amd64_ax_pseudo_register_collect): New function.
209 (amd64_init_abi): Fill ax_pseudo_register_collect hook.
210 * gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove
212 (i386_pseudo_register_write): Ditto.
213 (i386_ax_pseudo_register_collect): New function.
214 (i386_gdbarch_init): Fill ax_pseudo_register_collect hook.
215 * i386-tdep.h: Add i386_ax_pseudo_register_collect prototype.
217 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
219 * tracefile-tfile.c (tfile_fetch_registers): Use g packet order
220 instead of gdb order.
222 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
224 * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds
227 2016-02-10 Joel Brobecker <brobecker@adacore.com>
229 * NEWS: Create a new section for the next release branch.
230 Rename the section of the current branch, now that it has
233 2016-02-10 Joel Brobecker <brobecker@adacore.com>
235 GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a):
236 * version.in: Bump version to 7.11.50.DATE-git.
238 2016-02-09 Keith Seitz <keiths@redhat.com>
241 * breakpoint.c (breakpoint_event_location_empty_p): New function.
242 (update_breakpoints_after_exec, bkpt_re_set): Use this new function
243 instead of event_location_empty_p.
245 2016-02-09 Keith Seitz <keiths@redhat.com>
247 * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use
248 string_to_event_location_basic instead of string_to_event_location.
250 2016-02-09 Keith Seitz <keiths@redhat.com>
252 * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip
253 leading whitespace and use string_to_event_location_basic instead
254 of new_linespec_location.
256 2016-02-09 Keith Seitz <keiths@redhat.com>
259 * python/py-breakpoint.c (bppy_init): Use
260 string_to_event_location_basic instead of new_linespec_location.
262 2016-02-09 Keith Seitz <keiths@redhat.com>
264 * location.c (string_to_explicit_location): Note that "-p" is
265 reserved for probe locations and return NULL for any input
266 that starts with that.
267 (string_to_event_location): Move "legacy" linespec code to ...
268 (string_to_event_location_basic): ... here.
269 * location.h (string_to_event_location): Update comment.
270 (string_to_event_location_basic): New function.
272 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
274 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
275 to AC_OUTPUT. Remove "exit 0" at the end.
276 * configure: Regenerate.
278 2016-02-09 Pedro Alves <palves@redhat.com>
281 * breakpoint.c (create_overlay_event_breakpoint): Don't update
282 global location list here.
283 (create_longjmp_master_breakpoint)
284 (create_std_terminate_master_breakpoint)
285 (create_exception_master_breakpoint, create_jit_event_breakpoint)
286 (update_breakpoint_locations):
287 (breakpoint_re_set): Update global location list after all
288 breakpoints are re-set.
290 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
292 * remote.c (remote_register_number_and_offset): Remove unused
294 (remote_thread_always_alive): Likewise.
295 (remote_update_thread_list): Likewise.
296 (process_initial_stop_replies): Likewise.
297 (remote_start_remote): Likewise.
298 (remote_check_symbols): Likewise.
299 (discard_pending_stop_replies): Likewise.
300 (process_stop_reply): Likewise.
301 (putpkt_binary): Likewise.
303 (remote_add_target_side_condition): Likewise.
304 (remote_insert_breakpoint): Likewise.
305 (remote_supports_stopped_by_sw_breakpoint): Likewise.
306 (remote_supports_stopped_by_hw_breakpoint): Likewise.
307 (remote_xfer_partial): Likewise.
308 (remote_read_btrace): Likewise.
309 (remote_async_serial_handler): Likewise.
310 (remote_thread_events): Likewise.
311 (_initialize_remote): Likewise.
313 2016-02-07 Simon Marchi <simon.marchi@polymtl.ca>
315 * varobj.h (varobj_delete): Remove dellist parameter, update and
316 move documentation here.
317 * varobj.c (struct cpstack, cppush, cppop): Remove.
318 (delete_variable): Remove resultp (first) parameter.
319 (delete_variable_1): Likewise.
320 (varobj_delete): Remove dellist parameter and unused code.
321 (update_dynamic_varobj_children): Adjust varobj_delete call.
322 (update_type_if_necessary): Likewise.
323 (varobj_set_visualizer): Likewise.
324 (varobj_update): Likewise.
325 (value_of_root): Likewise.
326 (varobj_invalidate_iter): Likewise.
327 * mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise.
329 2016-02-04 Yao Qi <yao.qi@linaro.org>
331 * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to
332 0 before handling 'F' and set it back afterwards.
334 2016-02-02 Simon Marchi <simon.marchi@ericsson.com>
336 * ui-out.c (MAX_UI_OUT_LEVELS): Remove.
338 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
340 * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval):
342 (compat_siginfo): New bound fields added.
343 (compat_x32_siginfo): New field added.
344 (cpt_si_addr_lsb): New define.
345 (compat_siginfo_from_siginfo): Use nat_siginfo.
346 (siginfo_from_compat_siginfo): Use nat_siginfo.
347 (compat_x32_siginfo_from_siginfo): Likewise.
348 (siginfo_from_compat_x32_siginfo): Likewise.
350 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
352 * linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd
353 structure to the siginfo if extra_fields contains
354 LINUX_SIGINFO_FIELD_ADDR_BND.
356 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
358 * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern.
359 * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern.
360 * i386-linux-tdep.h (x86_linux_get_siginfo_type): New
362 * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add
363 x86_linux_get_siginfo_type for the amd64 abi.
364 * i386-linux-tdep.c (x86_linux_get_siginfo_type): New
366 (i386_linux_init_abi): Add new function at the i386 ABI
369 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
371 * linux-tdep.h (linux_siginfo_extra_field_values): New enum values.
372 (linux_siginfo_extra_fields): New enum type.
373 * linux-tdep.c (linux_get_siginfo_type_with_fields): New function.
374 (linux_get_siginfo_type): Use new function.
376 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
378 * nat/amd64-linux-siginfo.c: New file.
379 * nat/amd64-linux-siginfo.h: New file.
380 * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h.
381 (amd64-linux-siginfo.o): New rule.
382 * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o.
383 * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include.
384 (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
385 (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo)
386 (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid)
387 (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status)
388 (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band)
389 (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c.
391 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
393 * value.c (max_value_size): New variable.
394 (MIN_VALUE_FOR_MAX_VALUE_SIZE): New define.
395 (set_max_value_size): New function.
396 (show_max_value_size): New function.
397 (check_type_length_before_alloc): New function.
398 (allocate_value_contents): Call check_type_length_before_alloc.
399 (set_value_enclosing_type): Likewise.
400 (_initialize_values): Add set/show handler for max-value-size.
401 * NEWS: Mention new set/show command.
403 2016-01-31 Simon Marchi <simon.marchi@polymtl.ca>
405 * varobj.h (struct varobj): Fix typos in comments.
406 (struct lang_varobj_ops): Likewise.
407 * varobj.c (VAROBJ_TABLE_SIZE): Likewise.
408 (varobj_create): Move misplaced comment.
410 2016-01-29 Simon Marchi <simon.marchi@ericsson.com>
412 * aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces
413 to for include additional lines.
414 * xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces.
416 2016-01-28 Simon Marchi <simon.marchi@ericsson.com>
418 * gnulib/import/Makefile.am: Regenerate.
419 * gnulib/import/Makefile.in: Regenerate.
420 * gnulib/import/m4/gnulib-cache.m4: Regenerate.
421 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr.
423 2016-01-28 Simon Marchi <simon.marchi@ericsson.com>
425 * remote.c (skip_to_semicolon): Remove.
426 (remote_parse_stop_reply): Use strchrnul instead of
428 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
430 * gnulib/aclocal.m4: Regenerate.
431 * gnulib/config.in: Regenerate.
432 * gnulib/configure: Regenerate.
433 * gnulib/import/Makefile.am: Regenerate.
434 * gnulib/import/Makefile.in: Regenerate.
435 * gnulib/import/m4/gnulib-cache.m4: Regenerate.
436 * gnulib/import/m4/gnulib-comp.m4: Regenerate.
437 * gnulib/import/m4/rawmemchr.m4: New file.
438 * gnulib/import/m4/strchrnul.m4: New file.
439 * gnulib/import/rawmemchr.c: New file.
440 * gnulib/import/rawmemchr.valgrind: New file.
441 * gnulib/import/strchrnul.c: New file.
442 * gnulib/import/strchrnul.valgrind: New file.
444 2016-01-28 Yao Qi <yao.qi@linaro.org>
446 * breakpoint.c (build_target_command_list): Don't call continue
448 (build_target_condition_list): Likewise.
450 2016-01-27 Kevin Buettner <kevinb@redhat.com>
452 * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8
455 2016-01-27 Joel Brobecker <brobecker@adacore.com>
457 * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as
458 Linespec Maintainers.
460 2016-01-26 Simon Marchi <simon.marchi@ericsson.com>
462 * common/common-utils.c (skip_spaces): Fix comment.
463 (skip_to_space_const): Likewise.
465 2016-01-25 Yao Qi <yao.qi@linaro.org>
467 * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw):
468 Remove argument pc. Get pc by regcache_read_pc. Callers updated.
469 (arm_deal_with_atomic_sequence_raw): Likewise.
470 (thumb_get_next_pcs_raw): Likewise.
471 (arm_get_next_pcs_raw): Likewise.
472 (arm_get_next_pcs): Remove argument pc. Callers updated.
473 * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration.
475 2016-01-25 Mark Wielaard <mjw@redhat.com>
477 * ada-lang.c (ada_evaluate_subexp): Add proper else block.
478 * c-typeprint.c (c_type_print_base): Fix misleading indentation of
480 * inflow.c (child_terminal_ours_1): Fix misleading indentation of
481 statement block by introducing an else.
482 * linux-record.c (record_linux_sockaddr): Fix misleading indentation
483 of return statements.
484 (record_linux_msghdr): Likewise.
486 2016-01-25 Pedro Alves <palves@redhat.com>
489 * infrun.c (handle_inferior_event_1) <fork/vfork>: Update
490 parent/child running states.
492 2016-01-25 Pedro Alves <palves@redhat.com>
495 * linux-nat.c (kill_one_lwp): New, factored out from ...
496 (kill_callback): ... this.
497 (kill_wait_callback): New, factored out from ...
498 (kill_wait_one_lwp): ... this.
499 (kill_unfollowed_fork_children): New function.
500 (linux_nat_kill): Use it.
502 2016-01-22 John Baldwin <jhb@FreeBSD.org>
504 * fbsd-nat.c (fbsd_pid_to_str): Adjust string format.
506 2016-01-22 Yao Qi <yao.qi@linaro.org>
508 * arm-linux-nat.c (fetch_fpregs): Call perror_with_name
510 (store_fpregs, fetch_regs, store_regs): Likewise.
511 (fetch_wmmx_regs, store_wmmx_regs): Likewise.
512 (fetch_vfp_regs, store_vfp_regs): Likewise.
514 2016-01-21 Doug Evans <dje@google.com>
516 * breakpoint.c (init_breakpoint_sal): Add comment.
518 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
520 * ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection.
522 2016-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
524 * disasm.c (maybe_add_dis_line_entry): Rename to...
525 (add_dis_line_entry): ...this, and update header comment.
526 (do_mixed_source_and_assembly): Now use add_dis_line_entry.
528 2016-01-21 Pedro Alves <palves@redhat.com>
530 * Makefile.in (COMPILER_CFLAGS): New.
531 (CXXFLAGS): Get it from configure.
532 (INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS
534 * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST
536 * configure: Regenerate.
538 2016-01-21 Joel Brobecker <brobecker@adacore.com>
540 * location.h (new_address_location): Add new parameters
541 "addr_string" and "addr_string_len".
542 (get_address_string_location): Add declaration.
543 * location.c (new_address_location): Add new parameters
544 "addr_string" and "addr_string_len". If not NULL, store
545 a copy of the addr_string in the new location as well.
546 (get_address_string_location): New function.
547 (string_to_event_location): Update call to new_address_location.
548 * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>:
549 Save the event location in the parser's state before
550 passing it to convert_address_location_to_sals.
551 * breakpoint.c (create_thread_event_breakpoint): Update call
552 to new_address_location.
553 (init_breakpoint_sal): Get the event location's string, if any,
554 and use it to update call to new_address_location.
555 * python/py-finishbreakpoint.c (bpfinishpy_init):
556 Update call to new_address_location.
557 * spu-tdep.c (spu_catch_start): Likewise.
559 * config/djgpp/fnchange.lst: Add entries for
560 gdb/testsuite/gdb.base/break-fun-addr1.c and
561 gdb/testsuite/gdb.base/break-fun-addr2.c.
563 2016-01-21 Yao Qi <yao.qi@linaro.org>
565 * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter
566 is_thumb and set it according to CPSR saved on the stack.
567 (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to
568 arm_linux_sigreturn_next_pc.
570 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
572 * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__):
573 Fix enumerators sort key function.
575 2016-01-20 Joel Brobecker <brobecker@adacore.com>
577 * printcmd.c (print_scalar_formatted): Move binary operator from
578 end of line to beginning of next line. Adjust formatting
581 2016-01-19 John Baldwin <jhb@FreeBSD.org>
583 * fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of
586 2016-01-19 John Baldwin <jhb@FreeBSD.org>
588 * fbsd-tdep.c (find_stop_signal): Remove.
589 (struct fbsd_collect_regset_section_cb) <lwp>: New field.
590 <stop_signal>: New field.
591 <abort_iteration>: New field.
592 (fbsd_collect_regset_section_cb): Use new fields.
593 (fbsd_collect_thread_registers): New function.
594 (struct fbsd_corefile_thread_data): New structure.
595 (fbsd_corefile_thread): New function.
596 (fbsd_make_corefile_notes): Use new function to dump notes for each
597 non-exited thread in a process.
599 2016-01-19 John Baldwin <jhb@FreeBSD.org>
601 * configure.ac: Check for support for LWP names on FreeBSD.
602 * fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp.
603 [TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]
604 (fbsd_fetch_kinfo_proc): Move function earlier.
605 [PT_LWPINFO] (fbsd_thread_alive): New function.
606 [PT_LWPINFO] (fbsd_pid_to_str): New function.
607 [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function.
608 [PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function.
609 [PT_LWPINFO] (fbsd_add_threads): New function.
610 [PT_LWPINFO] (fbsd_update_thread_list): New function.
611 [PT_LWPINFO] New variable super_resume.
612 [PT_LWPINFO] (resume_one_thread_cb): New function.
613 [PT_LWPINFO] (resume_all_threads_cb): New function.
614 [PT_LWPINFO] (fbsd_resume): New function.
615 (fbsd_remember_child): Save full ptid instead of plain pid.
616 (fbsd_is_child_pending): Return ptid of saved child process.
617 (fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on
619 [PT_LWP_EVENTS] Handle LWP events.
620 [TDP_RFPPWAIT] Include LWP in child ptid.
621 (fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events.
622 (fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events.
623 Add threads for existing processes.
624 (fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to
626 Set "to_pid_to_str" to "fbsd_pid_to_str".
627 [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to
629 [PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list".
630 Set "to_has_thread_control" to "tc_schedlock".
631 Set "to_resume" to "fbsd_resume".
632 (_initialize_fbsd_nat): New function.
633 * configure: Regenerate.
634 * config.in: Regenerate.
636 2016-01-19 John Baldwin <jhb@FreeBSD.org>
638 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use
640 (amd64bsd_store_inferior_registers): Use get_ptrace_pid.
641 (amd64bsd_dr_get): Use get_ptrace_pid.
642 (amd64bsd_dr_set): Use get_ptrace_pid.
643 * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid.
644 (i386bsd_store_inferior_registers): Use get_ptrace_pid.
645 (i386bsd_dr_get): Use get_ptrace_pid.
646 (i386bsd_dr_set): Use get_ptrace_pid.
647 * inf-ptrace.c (get_ptrace_pid): Export.
648 * inf-ptrace.h (get_ptrace_pid): Declare.
649 * ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id.
650 (ppcfbsd_store_inferior_registers): Use lwp id.
652 2016-01-19 John Baldwin <jhb@FreeBSD.org>
654 * fbsd_tdep.c (fbsd_core_pid_to_str): New function.
655 (fbsd_core_thread_name): New function.
656 (fbsd_init_abi): Add "core_pid_to_str" gdbarch method.
657 Add "core_thread_name" gdbarch method.
659 2016-01-19 John Baldwin <jhb@FreeBSD.org>
661 * corelow.c (core_thread_name): New function.
662 (init_core_ops): Use "core_thread_name" for the "to_thread_name"
664 * gdbarch.sh (core_thread_name): New gdbarch callback.
665 * gdbarch.h: Re-generate.
666 * gdbarch.c: Re-generate.
668 2016-01-19 Simon Marchi <simon.marchi@polymtl.ca>
670 * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly
671 convert gdb.Value to integer type using int().
673 2016-01-19 John Baldwin <jhb@FreeBSD.org>
675 * configure.ac: Include <sys/types.h when checking for "r_fs" in
677 * configure: Regenerate.
679 2016-01-19 Pedro Alves <palves@redhat.com>
681 * ax-gdb.c (agent_command_1): Adjust call to decode_line_full.
682 * break-catch-throw.c (re_set_exception_catchpoint): Pass the
683 current program space down to linespec decoding and breakpoint
685 * breakpoint.c (parse_breakpoint_sals): Adjust calls to
687 (until_break_command): Adjust calls to decode_line_1.
688 (base_breakpoint_decode_location, bkpt_decode_location): Add
689 'search_pspace' parameter. Pass it along.
690 (bkpt_probe_create_sals_from_location): Adjust calls to
692 (tracepoint_decode_location, tracepoint_probe_decode_location)
693 (strace_marker_decode_location): Add 'search_pspace' parameter.
695 (all_locations_are_pending): Rewrite to take a breakpoint and
696 program space as arguments instead.
697 (hoist_existing_locations): New function.
698 (update_breakpoint_locations): Add 'filter_pspace' parameter. Use
699 hoist_existing_locations instead of always removing all locations,
700 and adjust to all_locations_are_pending change.
701 (location_to_sals): Add 'search_pspace' parameter. Pass it along.
702 Don't disable the breakpoint if there are other locations in
703 another program space.
704 (breakpoint_re_set_default): Adjust to pass down the current
705 program space as filter program space.
706 (decode_location_default): Add 'search_pspace' parameter and pass
708 (prepare_re_set_context): Don't switch program space here.
709 (breakpoint_re_set): Use save_current_space_and_thread instead of
710 save_current_program_space.
711 * breakpoint.h (struct breakpoint_ops) <decode_location>: Add
712 'search_pspace' parameter.
713 (update_breakpoint_locations): Add 'filter_pspace' parameter.
714 * cli/cli-cmds.c (edit_command, list_command): Adjust calls to
716 * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current
717 program space as filter program space.
718 * linespec.c (struct linespec_state) <search_pspace>: New field.
719 (create_sals_line_offset, convert_explicit_location_to_sals)
720 (parse_linespec): Pass the search program space down.
721 (linespec_state_constructor): Add 'search_pspace' parameter.
723 (linespec_parser_new): Add 'search_pspace' parameter and pass it
725 (linespec_lex_to_end): Adjust.
726 (decode_line_full, decode_line_1): Add 'search_pspace' parameter
728 (decode_line_with_last_displayed): Adjust.
729 (collect_symtabs_from_filename, symtabs_from_filename): New
730 'search_pspace' parameter. Use it.
731 (find_function_symbols): Pass the search program space down.
732 * linespec.h (decode_line_1, decode_line_full): Add
733 'search_pspace' parameter.
734 * probe.c (parse_probes_in_pspace): New function, factored out
736 (parse_probes): ... this. Add 'search_pspace' parameter and use
738 * probe.h (parse_probes): Add pspace' parameter.
739 * python/python.c (gdbpy_decode_line): Adjust.
740 * tracepoint.c (scope_info): Adjust.
742 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
744 * mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS
746 (micromips_next_pc): Likewise.
747 (micromips_scan_prologue): Likewise.
748 (micromips_deal_with_atomic_sequence): Likewise.
749 (micromips_stack_frame_destroyed_p): Likewise.
750 (mips_breakpoint_from_pc): Likewise.
752 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
754 * mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass
755 unshifted 16-bit microMIPS instruction word to `mips_insn_size'.
757 2016-01-18 Pedro Alves <palves@redhat.com>
759 * NEWS: Mention that GDB now displays the ID and name of the
760 thread that hit a breakpoint or received a signal.
761 * break-catch-sig.c (signal_catchpoint_print_it): Use
762 maybe_print_thread_hit_breakpoint.
763 * break-catch-syscall.c (print_it_catch_syscall): Likewise.
764 * break-catch-throw.c (print_it_exception_catchpoint): Likewise.
765 * breakpoint.c (maybe_print_thread_hit_breakpoint): New function.
766 (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib)
767 (print_it_catch_exec, print_it_ranged_breakpoint)
768 (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it):
769 Use maybe_print_thread_hit_breakpoint.
770 * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare.
771 * gdbthread.h (show_thread_that_caused_stop): Declare.
772 * infrun.c (print_signal_received_reason): Print which thread
774 * thread.c (show_thread_that_caused_stop): New function.
776 2016-01-18 Gary Benson <gbenson@redhat.com>
778 * nat/linux-namespaces.c (do_fork): New function.
779 (linux_mntns_get_helper): Use the above.
781 2016-01-17 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> (tiny change)
783 Pushed by Joel Brobecker <brobecker@adacore.com>.
785 * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name
786 if the function has no name.
788 2016-01-15 Sandra Loosemore <sandra@codesourcery.com>
790 * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET):
791 Conditionalize for Windows host.
792 (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET.
793 (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
794 (phony_iconv_open): Handle both UTF-32 endiannesses.
795 (phony_iconv): Likewise. Check for output overflow and clean up
796 out-of-input cases. Correct adjustment to input buffer pointer.
797 (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match
800 2016-01-15 Pedro Alves <palves@redhat.com>
802 * NEWS: Mention star wildcard ranges.
803 * cli/cli-utils.c (get_number_or_range): Check state->in_range first.
804 (number_range_setup_range): New function.
805 * cli/cli-utils.h (number_range_setup_range): New declaration.
806 * thread.c (thread_apply_command): Support star TID ranges.
807 * tid-parse.c (tid_range_parser_finished)
808 (tid_range_parser_string, tid_range_parser_skip)
809 (get_tid_or_range, get_tid_or_range): Handle
810 TID_RANGE_STATE_STAR_RANGE.
811 (tid_range_parser_star_range): New function.
812 * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>:
814 (tid_range_parser_star_range): New declaration.
816 2016-01-15 Pedro Alves <palves@redhat.com>
818 * thread.c (thread_apply_command): Use the tid range parser to
819 advance past the thread ID list.
820 * tid-parse.c (get_positive_number_trailer): New function.
821 (parse_thread_id): Use it.
822 (get_tid_or_range): Use it. Return 0 instead of throwing invalid
824 (get_tid_or_range): Detect negative values. Return 0 instead of
825 throwing invalid thread ID error.
827 2016-01-14 Yao Qi <yao.qi@linaro.org>
829 * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
831 (arm_linux_get_next_pcs_ops): Install
832 arm_linux_get_next_pcs_syscall_next_pc.
833 (arm_linux_syscall_next_pc): Change to ...
834 (arm_linux_get_next_pcs_syscall_next_pc): ... it.
835 (arm_linux_init_abi): Don't set tdep->syscall_next_pc.
836 * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare.
837 (arm_get_next_pcs_syscall_next_pc): Make it static. Don't
838 call tdep->syscall_next_pc.
839 * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove.
840 (arm_get_next_pcs_syscall_next_pc): Remove.
842 2016-01-14 Yao Qi <yao.qi@linaro.org>
844 * remote.c (remote_set_syscall_catchpoint): Cast to char *.
845 * thread.c (do_captured_thread_select): Cast to const char *.
847 2016-01-14 Yao Qi <yao.qi@linaro.org>
849 * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change
850 argument arm_thumb2_breakpoint to has_thumb2_breakpoint.
851 (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint
853 * arch/arm-get-next-pcs.h (struct arm_get_next_pcs)
854 <arm_thumb2_breakpoint>: Remove.
855 <has_thumb2_breakpoint>: New field.
856 (arm_get_next_pcs_ctor): Update declaration.
857 * arm-linux-tdep.c (arm_linux_software_single_step): Pass
858 1 to arm_get_next_pcs_ctor.
859 * arm-tdep.c (arm_software_single_step): Pass 0 to
860 arm_get_next_pcs_ctor.
862 2016-01-13 Ulrich Weigand <uweigand@de.ibm.com>
864 * MAINTAINERS: Add Andreas Arnez as s390 target maintainer.
866 2016-01-13 Yao Qi <yao.qi@linaro.org>
868 * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use
869 byte_order_for_code to read instruction.
871 2016-01-13 Pedro Alves <palves@redhat.com>
873 * NEWS: Mention $_gthread.
874 * gdbthread.h (struct thread_info) <global_num>: Mention
876 * thread.c (thread_num_make_value_helper): New function.
877 (thread_id_make_value): Delete.
878 (thread_id_per_inf_num_make_value, global_thread_id_make_value):
880 (thread_funcs): Adjust.
881 (gthread_funcs): New.
882 (_initialize_thread): Register $_gthread variable.
884 2016-01-13 Pedro Alves <palves@redhat.com>
886 * NEWS: Mention "info threads -gid".
887 * gdbthread.h (struct thread_info) <global_num>: Mention "info
889 * thread.c (info_threads_command): Handle "-gid".
890 (_initialize_thread): Adjust "info threads" help string to mention
893 2016-01-13 Pedro Alves <palves@redhat.com>
895 * NEWS: Mention InferiorThread.global_num.
896 * python/py-infthread.c (thpy_get_global_num): New function.
897 (thread_object_getset): Register "global_num".
899 2016-01-13 Pedro Alves <palves@redhat.com>
901 * NEWS: Mention that thread IDs are now per inferior and global
903 * Makefile.in (SFILES): Add tid-parse.c.
904 (COMMON_OBS): Add tid-parse.o.
905 (HFILES_NO_SRCDIR): Add tid-parse.h.
906 * ada-tasks.c: Adjust to use ptid_to_global_thread_id.
907 * breakpoint.c (insert_breakpoint_locations)
908 (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions)
909 (print_one_breakpoint_location, set_longjmp_breakpoint)
910 (check_longjmp_breakpoint_for_call_dummy)
911 (set_momentary_breakpoint): Adjust to use global IDs.
912 (find_condition_and_thread, watch_command_1): Use parse_thread_id.
913 (until_break_command, longjmp_bkpt_dtor)
914 (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust
916 * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use
917 ptid_to_global_thread_id.
918 * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
919 * gdbthread.h (struct thread_info): Rename field 'num' to
920 'global_num. Add new fields 'per_inf_num' and 'inf'.
921 (thread_id_to_pid): Rename thread_id_to_pid to
922 global_thread_id_to_ptid.
923 (pid_to_thread_id): Rename to ...
924 (ptid_to_global_thread_id): ... this.
925 (valid_thread_id): Rename to ...
926 (valid_global_thread_id): ... this.
927 (find_thread_id): Rename to ...
928 (find_thread_global_id): ... this.
929 (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare.
930 (print_thread_info): Add comment.
931 * tid-parse.h: New file.
932 * tid-parse.c: New file.
933 * infcmd.c (step_command_fsm_prepare)
934 (step_command_fsm_should_stop): Adjust to use the global thread
936 (until_next_command, until_next_command)
937 (finish_command_fsm_should_stop): Adjust to use the global thread
939 (attach_post_wait): Adjust to check the inferior number too.
940 * inferior.h (struct inferior) <highest_thread_num>: New field.
941 * infrun.c (handle_signal_stop)
942 (insert_exception_resume_breakpoint)
943 (insert_exception_resume_from_probe): Adjust to use the global
945 * record-btrace.c (record_btrace_open): Use global thread IDs.
946 * remote.c (process_initial_stop_replies): Also consider the
948 * target.c (target_pre_inferior): Clear the inferior's highest
950 * thread.c (clear_thread_inferior_resources): Adjust to use the
952 (new_thread): New inferior parameter. Adjust to use it. Set both
953 the thread's global ID and the thread's per-inferior ID.
954 (add_thread_silent): Adjust.
955 (find_thread_global_id): New.
956 (find_thread_id): Make static. Adjust to rename.
957 (valid_thread_id): Rename to ...
958 (valid_global_thread_id): ... this.
959 (pid_to_thread_id): Rename to ...
960 (ptid_to_global_thread_id): ... this.
961 (thread_id_to_pid): Rename to ...
962 (global_thread_id_to_ptid): ... this. Adjust.
963 (first_thread_of_process): Adjust.
964 (do_captured_list_thread_ids): Adjust to use global thread IDs.
965 (should_print_thread): New function.
966 (print_thread_info): Rename to ...
967 (print_thread_info_1): ... this, and add new show_global_ids
968 parameter. Handle it. Iterate over inferiors.
969 (print_thread_info): Reimplement as wrapper around
971 (show_inferior_qualified_tids): New function.
972 (print_thread_id): Use it.
973 (tp_array_compar): Compare inferior numbers too.
974 (thread_apply_command): Use tid_range_parser.
975 (do_captured_thread_select): Use parse_thread_id.
976 (thread_id_make_value): Adjust.
977 (_initialize_thread): Adjust "info threads" help string.
978 * varobj.c (struct varobj_root): Update comment.
979 (varobj_create): Adjust to use global thread IDs.
980 (value_of_root_1): Adjust to use global_thread_id_to_ptid.
981 * windows-tdep.c (display_tib): No longer accept an argument.
982 * cli/cli-utils.c (get_number_trailer): Make extern.
983 * cli/cli-utils.h (get_number_trailer): Declare.
984 (get_number_const): Adjust documentation.
985 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global
987 * mi/mi-interp.c (mi_new_thread, mi_thread_exit)
988 (mi_on_normal_stop, mi_output_running_pid, mi_on_resume):
989 * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise.
990 * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x):
992 * python/py-breakpoint.c (bppy_set_thread): Likewise.
993 * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise.
994 * python/py-infthread.c (thpy_get_num): Add comment and return the
995 per-inferior thread ID.
996 (thread_object_getset): Update comment of "num".
998 2016-01-13 Pedro Alves <palves@redhat.com>
1000 * breakpoint.c (remove_threaded_breakpoints)
1001 (print_one_breakpoint_location): Use print_thread_id.
1002 * btrace.c (btrace_enable, btrace_disable, btrace_teardown)
1003 (btrace_fetch, btrace_clear): Use print_thread_id.
1004 * common/print-utils.c (CELLSIZE): Delete.
1005 (get_cell): Rename to ...
1006 (get_print_cell): ... this and made extern. Adjust call callers.
1007 Adjust to use PRINT_CELL_SIZE.
1008 * common/print-utils.h (get_print_cell): Declare.
1009 (PRINT_CELL_SIZE): New.
1010 * gdbthread.h (print_thread_id): Declare.
1011 * infcmd.c (signal_command): Use print_thread_id.
1012 * inferior.c (print_inferior): Use print_thread_id.
1013 * infrun.c (handle_signal_stop)
1014 (insert_exception_resume_breakpoint)
1015 (insert_exception_resume_from_probe)
1016 (print_signal_received_reason): Use print_thread_id.
1017 * record-btrace.c (record_btrace_info)
1018 (record_btrace_resume_thread, record_btrace_cancel_resume)
1019 (record_btrace_step_thread, record_btrace_wait): Use
1021 * thread.c (thread_apply_all_command): Use print_thread_id.
1022 (print_thread_id): New function.
1023 (thread_apply_command): Use print_thread_id.
1024 (thread_command, thread_find_command, do_captured_thread_select):
1025 Use print_thread_id.
1027 2016-01-13 Pedro Alves <palves@redhat.com>
1029 * NEWS: Mention InferiorThread.inferior.
1030 * python/py-infthread.c (thpy_get_inferior): New.
1031 (thread_object_getset): Register "inferior".
1033 2016-01-13 Pedro Alves <palves@redhat.com>
1035 * NEWS: Mention $_inferior.
1036 * inferior.c (inferior_id_make_value): New.
1037 (inferior_funcs): New.
1038 (_initialize_inferior): Create $_inferior variable.
1040 2016-01-13 Pedro Alves <palves@redhat.com>
1042 PR breakpoints/19388
1043 * frame.c (get_current_frame): Use validate_registers_access.
1044 * gdbthread.h (validate_registers_access): Declare.
1045 * infrun.c (validate_siginfo_access): Delete.
1046 (siginfo_value_read, siginfo_value_write): Use
1047 validate_registers_access.
1048 * thread.c (validate_registers_access): New function.
1050 2016-01-12 Josh Stone <jistone@redhat.com>
1051 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1053 * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the
1054 syscall_entry and syscall_return stop reasons. Mention GDB
1055 support for remote catch syscall.
1056 * remote.c (PACKET_QCatchSyscalls): New enum.
1057 (remote_set_syscall_catchpoint): New function.
1058 (remote_protocol_features): New element for QCatchSyscalls.
1059 (remote_parse_stop_reply): Parse syscall_entry/return stops.
1060 (init_remote_ops): Install remote_set_syscall_catchpoint.
1061 (_initialize_remote): Config QCatchSyscalls.
1062 * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo.
1064 2016-01-12 Yao Qi <yao.qi@linaro.org>
1066 * nat/linux-ptrace.c (linux_child_function): Cast child_stack
1067 to gdb_byte * and pass to linux_fork_to_function.
1069 2016-01-12 Yao Qi <yao.qi@linaro.org>
1071 * nat/linux-ptrace.c (linux_fork_to_function): Change type
1072 of argument 'function'.
1073 (linux_grandchild_function): Change return type to 'int'.
1074 Change child_stack's type to 'void *'.
1075 (linux_child_function): Likewise.
1077 2016-01-12 Pedro Alves <palves@redhat.com>
1079 Remove use of the registered trademark symbol throughout.
1081 2016-01-12 Thomas Schwinge <thomas@codesourcery.com>
1083 * reply_mig_hack.awk: Rewrite one regular expression.
1085 2016-01-11 Mike Frysinger <vapier@gentoo.org>
1087 * acinclude.m4: Include new warning.m4 file.
1088 * configure: Regenerated.
1089 * configure.ac: Move all warning logic ...
1090 * warning.m4: ... here.
1092 2016-01-08 Yao Qi <yao.qi@linaro.org>
1094 * extension.c: Include target.h.
1095 (set_active_ext_lang): Only call install_gdb_sigint_handler,
1096 check_quit_flag, and set_quit_flag if target_terminal_is_ours
1098 (restore_active_ext_lang): Likewise.
1099 * target.c (target_terminal_is_ours): New function.
1100 * target.h (target_terminal_is_ours): Declare.
1102 2016-01-07 Maciej W. Rozycki <macro@imgtec.com>
1104 * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status'
1105 to `err' in the little-endian leg.
1107 2016-01-06 Yao Qi <yao.qi@linaro.org>
1109 * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some
1111 (thumb_get_next_pcs_raw): Make it static.
1112 (arm_get_next_pcs_raw): Likewise.
1113 * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the
1115 (arm_get_next_pcs_raw): Likewise.
1117 2016-01-05 Mike Frysinger <vapier@gentoo.org>
1119 * version.in: Change cvs to git.
1121 2016-01-05 Mike Frysinger <vapier@gentoo.org>
1123 * configure.tgt (score-*-*): Delete gdb_sim assignment.
1125 2016-01-05 Pedro Alves <palves@redhat.com>
1128 * configure.ac: Define WITH_PPC_SIM when linking in the sim and
1129 the target is powerpc*.
1130 * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead
1132 * configure: Regenerate.
1133 * config.in: Regenerate.
1135 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1137 * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH.
1139 2016-01-02 Mike Frysinger <vapier@gentoo.org>
1141 * configure.tgt (powerpc*-*-*): Delete test call and
1142 always assign gdb_sim.
1144 2016-01-01 Joel Brobecker <brobecker@adacore.com>
1146 Update year range in copyright notice of all files.
1148 2016-01-01 Joel Brobecker <brobecker@adacore.com>
1150 * top.c (print_gdb_version): Change copyright year in version
1153 2016-01-01 Joel Brobecker <brobecker@adacore.com>
1155 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015.
1157 For older changes see ChangeLog-2015.
1163 version-control: never