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