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