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