Detect the arm/thumb mode of code SIGRETURN or RT_SIGRETURN returns to
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2016-01-21 Yao Qi <yao.qi@linaro.org>
2
3 * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter
4 is_thumb and set it according to CPSR saved on the stack.
5 (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to
6 arm_linux_sigreturn_next_pc.
7
8 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9
10 * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__):
11 Fix enumerators sort key function.
12
13 2016-01-20 Joel Brobecker <brobecker@adacore.com>
14
15 * printcmd.c (print_scalar_formatted): Move binary operator from
16 end of line to beginning of next line. Adjust formatting
17 accordingly.
18
19 2016-01-19 John Baldwin <jhb@FreeBSD.org>
20
21 * fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of
22 "len" with sysctl.
23
24 2016-01-19 John Baldwin <jhb@FreeBSD.org>
25
26 * fbsd-tdep.c (find_stop_signal): Remove.
27 (struct fbsd_collect_regset_section_cb) <lwp>: New field.
28 <stop_signal>: New field.
29 <abort_iteration>: New field.
30 (fbsd_collect_regset_section_cb): Use new fields.
31 (fbsd_collect_thread_registers): New function.
32 (struct fbsd_corefile_thread_data): New structure.
33 (fbsd_corefile_thread): New function.
34 (fbsd_make_corefile_notes): Use new function to dump notes for each
35 non-exited thread in a process.
36
37 2016-01-19 John Baldwin <jhb@FreeBSD.org>
38
39 * configure.ac: Check for support for LWP names on FreeBSD.
40 * fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp.
41 [TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]
42 (fbsd_fetch_kinfo_proc): Move function earlier.
43 [PT_LWPINFO] (fbsd_thread_alive): New function.
44 [PT_LWPINFO] (fbsd_pid_to_str): New function.
45 [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function.
46 [PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function.
47 [PT_LWPINFO] (fbsd_add_threads): New function.
48 [PT_LWPINFO] (fbsd_update_thread_list): New function.
49 [PT_LWPINFO] New variable super_resume.
50 [PT_LWPINFO] (resume_one_thread_cb): New function.
51 [PT_LWPINFO] (resume_all_threads_cb): New function.
52 [PT_LWPINFO] (fbsd_resume): New function.
53 (fbsd_remember_child): Save full ptid instead of plain pid.
54 (fbsd_is_child_pending): Return ptid of saved child process.
55 (fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on
56 first stop.
57 [PT_LWP_EVENTS] Handle LWP events.
58 [TDP_RFPPWAIT] Include LWP in child ptid.
59 (fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events.
60 (fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events.
61 Add threads for existing processes.
62 (fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to
63 "fbsd_thread_alive".
64 Set "to_pid_to_str" to "fbsd_pid_to_str".
65 [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to
66 "fbsd_thread_name".
67 [PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list".
68 Set "to_has_thread_control" to "tc_schedlock".
69 Set "to_resume" to "fbsd_resume".
70 (_initialize_fbsd_nat): New function.
71 * configure: Regenerate.
72 * config.in: Regenerate.
73
74 2016-01-19 John Baldwin <jhb@FreeBSD.org>
75
76 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use
77 get_ptrace_pid.
78 (amd64bsd_store_inferior_registers): Use get_ptrace_pid.
79 (amd64bsd_dr_get): Use get_ptrace_pid.
80 (amd64bsd_dr_set): Use get_ptrace_pid.
81 * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid.
82 (i386bsd_store_inferior_registers): Use get_ptrace_pid.
83 (i386bsd_dr_get): Use get_ptrace_pid.
84 (i386bsd_dr_set): Use get_ptrace_pid.
85 * inf-ptrace.c (get_ptrace_pid): Export.
86 * inf-ptrace.h (get_ptrace_pid): Declare.
87 * ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id.
88 (ppcfbsd_store_inferior_registers): Use lwp id.
89
90 2016-01-19 John Baldwin <jhb@FreeBSD.org>
91
92 * fbsd_tdep.c (fbsd_core_pid_to_str): New function.
93 (fbsd_core_thread_name): New function.
94 (fbsd_init_abi): Add "core_pid_to_str" gdbarch method.
95 Add "core_thread_name" gdbarch method.
96
97 2016-01-19 John Baldwin <jhb@FreeBSD.org>
98
99 * corelow.c (core_thread_name): New function.
100 (init_core_ops): Use "core_thread_name" for the "to_thread_name"
101 target op.
102 * gdbarch.sh (core_thread_name): New gdbarch callback.
103 * gdbarch.h: Re-generate.
104 * gdbarch.c: Re-generate.
105
106 2016-01-19 Simon Marchi <simon.marchi@polymtl.ca>
107
108 * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly
109 convert gdb.Value to integer type using int().
110
111 2016-01-19 John Baldwin <jhb@FreeBSD.org>
112
113 * configure.ac: Include <sys/types.h when checking for "r_fs" in
114 "struct reg".
115 * configure: Regenerate.
116
117 2016-01-19 Pedro Alves <palves@redhat.com>
118
119 * ax-gdb.c (agent_command_1): Adjust call to decode_line_full.
120 * break-catch-throw.c (re_set_exception_catchpoint): Pass the
121 current program space down to linespec decoding and breakpoint
122 location updating.
123 * breakpoint.c (parse_breakpoint_sals): Adjust calls to
124 decode_line_full.
125 (until_break_command): Adjust calls to decode_line_1.
126 (base_breakpoint_decode_location, bkpt_decode_location): Add
127 'search_pspace' parameter. Pass it along.
128 (bkpt_probe_create_sals_from_location): Adjust calls to
129 parse_probes.
130 (tracepoint_decode_location, tracepoint_probe_decode_location)
131 (strace_marker_decode_location): Add 'search_pspace' parameter.
132 Pass it along.
133 (all_locations_are_pending): Rewrite to take a breakpoint and
134 program space as arguments instead.
135 (hoist_existing_locations): New function.
136 (update_breakpoint_locations): Add 'filter_pspace' parameter. Use
137 hoist_existing_locations instead of always removing all locations,
138 and adjust to all_locations_are_pending change.
139 (location_to_sals): Add 'search_pspace' parameter. Pass it along.
140 Don't disable the breakpoint if there are other locations in
141 another program space.
142 (breakpoint_re_set_default): Adjust to pass down the current
143 program space as filter program space.
144 (decode_location_default): Add 'search_pspace' parameter and pass
145 it along.
146 (prepare_re_set_context): Don't switch program space here.
147 (breakpoint_re_set): Use save_current_space_and_thread instead of
148 save_current_program_space.
149 * breakpoint.h (struct breakpoint_ops) <decode_location>: Add
150 'search_pspace' parameter.
151 (update_breakpoint_locations): Add 'filter_pspace' parameter.
152 * cli/cli-cmds.c (edit_command, list_command): Adjust calls to
153 decode_line_1.
154 * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current
155 program space as filter program space.
156 * linespec.c (struct linespec_state) <search_pspace>: New field.
157 (create_sals_line_offset, convert_explicit_location_to_sals)
158 (parse_linespec): Pass the search program space down.
159 (linespec_state_constructor): Add 'search_pspace' parameter.
160 Store it.
161 (linespec_parser_new): Add 'search_pspace' parameter and pass it
162 along.
163 (linespec_lex_to_end): Adjust.
164 (decode_line_full, decode_line_1): Add 'search_pspace' parameter
165 and pass it along.
166 (decode_line_with_last_displayed): Adjust.
167 (collect_symtabs_from_filename, symtabs_from_filename): New
168 'search_pspace' parameter. Use it.
169 (find_function_symbols): Pass the search program space down.
170 * linespec.h (decode_line_1, decode_line_full): Add
171 'search_pspace' parameter.
172 * probe.c (parse_probes_in_pspace): New function, factored out
173 from ...
174 (parse_probes): ... this. Add 'search_pspace' parameter and use
175 it.
176 * probe.h (parse_probes): Add pspace' parameter.
177 * python/python.c (gdbpy_decode_line): Adjust.
178 * tracepoint.c (scope_info): Adjust.
179
180 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
181
182 * mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS
183 instruction support.
184 (micromips_next_pc): Likewise.
185 (micromips_scan_prologue): Likewise.
186 (micromips_deal_with_atomic_sequence): Likewise.
187 (micromips_stack_frame_destroyed_p): Likewise.
188 (mips_breakpoint_from_pc): Likewise.
189
190 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
191
192 * mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass
193 unshifted 16-bit microMIPS instruction word to `mips_insn_size'.
194
195 2016-01-18 Pedro Alves <palves@redhat.com>
196
197 * NEWS: Mention that GDB now displays the ID and name of the
198 thread that hit a breakpoint or received a signal.
199 * break-catch-sig.c (signal_catchpoint_print_it): Use
200 maybe_print_thread_hit_breakpoint.
201 * break-catch-syscall.c (print_it_catch_syscall): Likewise.
202 * break-catch-throw.c (print_it_exception_catchpoint): Likewise.
203 * breakpoint.c (maybe_print_thread_hit_breakpoint): New function.
204 (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib)
205 (print_it_catch_exec, print_it_ranged_breakpoint)
206 (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it):
207 Use maybe_print_thread_hit_breakpoint.
208 * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare.
209 * gdbthread.h (show_thread_that_caused_stop): Declare.
210 * infrun.c (print_signal_received_reason): Print which thread
211 received signal.
212 * thread.c (show_thread_that_caused_stop): New function.
213
214 2016-01-18 Gary Benson <gbenson@redhat.com>
215
216 * nat/linux-namespaces.c (do_fork): New function.
217 (linux_mntns_get_helper): Use the above.
218
219 2016-01-17 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> (tiny change)
220
221 Pushed by Joel Brobecker <brobecker@adacore.com>.
222 PR gdb/19208
223 * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name
224 if the function has no name.
225
226 2016-01-15 Sandra Loosemore <sandra@codesourcery.com>
227
228 * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET):
229 Conditionalize for Windows host.
230 (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET.
231 (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
232 (phony_iconv_open): Handle both UTF-32 endiannesses.
233 (phony_iconv): Likewise. Check for output overflow and clean up
234 out-of-input cases. Correct adjustment to input buffer pointer.
235 (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match
236 phony_iconv_open.
237
238 2016-01-15 Pedro Alves <palves@redhat.com>
239
240 * NEWS: Mention star wildcard ranges.
241 * cli/cli-utils.c (get_number_or_range): Check state->in_range first.
242 (number_range_setup_range): New function.
243 * cli/cli-utils.h (number_range_setup_range): New declaration.
244 * thread.c (thread_apply_command): Support star TID ranges.
245 * tid-parse.c (tid_range_parser_finished)
246 (tid_range_parser_string, tid_range_parser_skip)
247 (get_tid_or_range, get_tid_or_range): Handle
248 TID_RANGE_STATE_STAR_RANGE.
249 (tid_range_parser_star_range): New function.
250 * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>:
251 New value.
252 (tid_range_parser_star_range): New declaration.
253
254 2016-01-15 Pedro Alves <palves@redhat.com>
255
256 * thread.c (thread_apply_command): Use the tid range parser to
257 advance past the thread ID list.
258 * tid-parse.c (get_positive_number_trailer): New function.
259 (parse_thread_id): Use it.
260 (get_tid_or_range): Use it. Return 0 instead of throwing invalid
261 thread ID error.
262 (get_tid_or_range): Detect negative values. Return 0 instead of
263 throwing invalid thread ID error.
264
265 2016-01-14 Yao Qi <yao.qi@linaro.org>
266
267 * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
268 Declare.
269 (arm_linux_get_next_pcs_ops): Install
270 arm_linux_get_next_pcs_syscall_next_pc.
271 (arm_linux_syscall_next_pc): Change to ...
272 (arm_linux_get_next_pcs_syscall_next_pc): ... it.
273 (arm_linux_init_abi): Don't set tdep->syscall_next_pc.
274 * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare.
275 (arm_get_next_pcs_syscall_next_pc): Make it static. Don't
276 call tdep->syscall_next_pc.
277 * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove.
278 (arm_get_next_pcs_syscall_next_pc): Remove.
279
280 2016-01-14 Yao Qi <yao.qi@linaro.org>
281
282 * remote.c (remote_set_syscall_catchpoint): Cast to char *.
283 * thread.c (do_captured_thread_select): Cast to const char *.
284
285 2016-01-14 Yao Qi <yao.qi@linaro.org>
286
287 * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change
288 argument arm_thumb2_breakpoint to has_thumb2_breakpoint.
289 (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint
290 instead.
291 * arch/arm-get-next-pcs.h (struct arm_get_next_pcs)
292 <arm_thumb2_breakpoint>: Remove.
293 <has_thumb2_breakpoint>: New field.
294 (arm_get_next_pcs_ctor): Update declaration.
295 * arm-linux-tdep.c (arm_linux_software_single_step): Pass
296 1 to arm_get_next_pcs_ctor.
297 * arm-tdep.c (arm_software_single_step): Pass 0 to
298 arm_get_next_pcs_ctor.
299
300 2016-01-13 Ulrich Weigand <uweigand@de.ibm.com>
301
302 * MAINTAINERS: Add Andreas Arnez as s390 target maintainer.
303
304 2016-01-13 Yao Qi <yao.qi@linaro.org>
305
306 * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use
307 byte_order_for_code to read instruction.
308
309 2016-01-13 Pedro Alves <palves@redhat.com>
310
311 * NEWS: Mention $_gthread.
312 * gdbthread.h (struct thread_info) <global_num>: Mention
313 $_gthread.
314 * thread.c (thread_num_make_value_helper): New function.
315 (thread_id_make_value): Delete.
316 (thread_id_per_inf_num_make_value, global_thread_id_make_value):
317 New.
318 (thread_funcs): Adjust.
319 (gthread_funcs): New.
320 (_initialize_thread): Register $_gthread variable.
321
322 2016-01-13 Pedro Alves <palves@redhat.com>
323
324 * NEWS: Mention "info threads -gid".
325 * gdbthread.h (struct thread_info) <global_num>: Mention "info
326 threads -gid".
327 * thread.c (info_threads_command): Handle "-gid".
328 (_initialize_thread): Adjust "info threads" help string to mention
329 -gid.
330
331 2016-01-13 Pedro Alves <palves@redhat.com>
332
333 * NEWS: Mention InferiorThread.global_num.
334 * python/py-infthread.c (thpy_get_global_num): New function.
335 (thread_object_getset): Register "global_num".
336
337 2016-01-13 Pedro Alves <palves@redhat.com>
338
339 * NEWS: Mention that thread IDs are now per inferior and global
340 thread IDs.
341 * Makefile.in (SFILES): Add tid-parse.c.
342 (COMMON_OBS): Add tid-parse.o.
343 (HFILES_NO_SRCDIR): Add tid-parse.h.
344 * ada-tasks.c: Adjust to use ptid_to_global_thread_id.
345 * breakpoint.c (insert_breakpoint_locations)
346 (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions)
347 (print_one_breakpoint_location, set_longjmp_breakpoint)
348 (check_longjmp_breakpoint_for_call_dummy)
349 (set_momentary_breakpoint): Adjust to use global IDs.
350 (find_condition_and_thread, watch_command_1): Use parse_thread_id.
351 (until_break_command, longjmp_bkpt_dtor)
352 (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust
353 to use global IDs.
354 * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use
355 ptid_to_global_thread_id.
356 * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
357 * gdbthread.h (struct thread_info): Rename field 'num' to
358 'global_num. Add new fields 'per_inf_num' and 'inf'.
359 (thread_id_to_pid): Rename thread_id_to_pid to
360 global_thread_id_to_ptid.
361 (pid_to_thread_id): Rename to ...
362 (ptid_to_global_thread_id): ... this.
363 (valid_thread_id): Rename to ...
364 (valid_global_thread_id): ... this.
365 (find_thread_id): Rename to ...
366 (find_thread_global_id): ... this.
367 (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare.
368 (print_thread_info): Add comment.
369 * tid-parse.h: New file.
370 * tid-parse.c: New file.
371 * infcmd.c (step_command_fsm_prepare)
372 (step_command_fsm_should_stop): Adjust to use the global thread
373 ID.
374 (until_next_command, until_next_command)
375 (finish_command_fsm_should_stop): Adjust to use the global thread
376 ID.
377 (attach_post_wait): Adjust to check the inferior number too.
378 * inferior.h (struct inferior) <highest_thread_num>: New field.
379 * infrun.c (handle_signal_stop)
380 (insert_exception_resume_breakpoint)
381 (insert_exception_resume_from_probe): Adjust to use the global
382 thread ID.
383 * record-btrace.c (record_btrace_open): Use global thread IDs.
384 * remote.c (process_initial_stop_replies): Also consider the
385 inferior number.
386 * target.c (target_pre_inferior): Clear the inferior's highest
387 thread num.
388 * thread.c (clear_thread_inferior_resources): Adjust to use the
389 global thread ID.
390 (new_thread): New inferior parameter. Adjust to use it. Set both
391 the thread's global ID and the thread's per-inferior ID.
392 (add_thread_silent): Adjust.
393 (find_thread_global_id): New.
394 (find_thread_id): Make static. Adjust to rename.
395 (valid_thread_id): Rename to ...
396 (valid_global_thread_id): ... this.
397 (pid_to_thread_id): Rename to ...
398 (ptid_to_global_thread_id): ... this.
399 (thread_id_to_pid): Rename to ...
400 (global_thread_id_to_ptid): ... this. Adjust.
401 (first_thread_of_process): Adjust.
402 (do_captured_list_thread_ids): Adjust to use global thread IDs.
403 (should_print_thread): New function.
404 (print_thread_info): Rename to ...
405 (print_thread_info_1): ... this, and add new show_global_ids
406 parameter. Handle it. Iterate over inferiors.
407 (print_thread_info): Reimplement as wrapper around
408 print_thread_info_1.
409 (show_inferior_qualified_tids): New function.
410 (print_thread_id): Use it.
411 (tp_array_compar): Compare inferior numbers too.
412 (thread_apply_command): Use tid_range_parser.
413 (do_captured_thread_select): Use parse_thread_id.
414 (thread_id_make_value): Adjust.
415 (_initialize_thread): Adjust "info threads" help string.
416 * varobj.c (struct varobj_root): Update comment.
417 (varobj_create): Adjust to use global thread IDs.
418 (value_of_root_1): Adjust to use global_thread_id_to_ptid.
419 * windows-tdep.c (display_tib): No longer accept an argument.
420 * cli/cli-utils.c (get_number_trailer): Make extern.
421 * cli/cli-utils.h (get_number_trailer): Declare.
422 (get_number_const): Adjust documentation.
423 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global
424 thread IDs.
425 * mi/mi-interp.c (mi_new_thread, mi_thread_exit)
426 (mi_on_normal_stop, mi_output_running_pid, mi_on_resume):
427 * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise.
428 * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x):
429 Likewise.
430 * python/py-breakpoint.c (bppy_set_thread): Likewise.
431 * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise.
432 * python/py-infthread.c (thpy_get_num): Add comment and return the
433 per-inferior thread ID.
434 (thread_object_getset): Update comment of "num".
435
436 2016-01-13 Pedro Alves <palves@redhat.com>
437
438 * breakpoint.c (remove_threaded_breakpoints)
439 (print_one_breakpoint_location): Use print_thread_id.
440 * btrace.c (btrace_enable, btrace_disable, btrace_teardown)
441 (btrace_fetch, btrace_clear): Use print_thread_id.
442 * common/print-utils.c (CELLSIZE): Delete.
443 (get_cell): Rename to ...
444 (get_print_cell): ... this and made extern. Adjust call callers.
445 Adjust to use PRINT_CELL_SIZE.
446 * common/print-utils.h (get_print_cell): Declare.
447 (PRINT_CELL_SIZE): New.
448 * gdbthread.h (print_thread_id): Declare.
449 * infcmd.c (signal_command): Use print_thread_id.
450 * inferior.c (print_inferior): Use print_thread_id.
451 * infrun.c (handle_signal_stop)
452 (insert_exception_resume_breakpoint)
453 (insert_exception_resume_from_probe)
454 (print_signal_received_reason): Use print_thread_id.
455 * record-btrace.c (record_btrace_info)
456 (record_btrace_resume_thread, record_btrace_cancel_resume)
457 (record_btrace_step_thread, record_btrace_wait): Use
458 print_thread_id.
459 * thread.c (thread_apply_all_command): Use print_thread_id.
460 (print_thread_id): New function.
461 (thread_apply_command): Use print_thread_id.
462 (thread_command, thread_find_command, do_captured_thread_select):
463 Use print_thread_id.
464
465 2016-01-13 Pedro Alves <palves@redhat.com>
466
467 * NEWS: Mention InferiorThread.inferior.
468 * python/py-infthread.c (thpy_get_inferior): New.
469 (thread_object_getset): Register "inferior".
470
471 2016-01-13 Pedro Alves <palves@redhat.com>
472
473 * NEWS: Mention $_inferior.
474 * inferior.c (inferior_id_make_value): New.
475 (inferior_funcs): New.
476 (_initialize_inferior): Create $_inferior variable.
477
478 2016-01-13 Pedro Alves <palves@redhat.com>
479
480 PR breakpoints/19388
481 * frame.c (get_current_frame): Use validate_registers_access.
482 * gdbthread.h (validate_registers_access): Declare.
483 * infrun.c (validate_siginfo_access): Delete.
484 (siginfo_value_read, siginfo_value_write): Use
485 validate_registers_access.
486 * thread.c (validate_registers_access): New function.
487
488 2016-01-12 Josh Stone <jistone@redhat.com>
489 Philippe Waroquiers <philippe.waroquiers@skynet.be>
490
491 * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the
492 syscall_entry and syscall_return stop reasons. Mention GDB
493 support for remote catch syscall.
494 * remote.c (PACKET_QCatchSyscalls): New enum.
495 (remote_set_syscall_catchpoint): New function.
496 (remote_protocol_features): New element for QCatchSyscalls.
497 (remote_parse_stop_reply): Parse syscall_entry/return stops.
498 (init_remote_ops): Install remote_set_syscall_catchpoint.
499 (_initialize_remote): Config QCatchSyscalls.
500 * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo.
501
502 2016-01-12 Yao Qi <yao.qi@linaro.org>
503
504 * nat/linux-ptrace.c (linux_child_function): Cast child_stack
505 to gdb_byte * and pass to linux_fork_to_function.
506
507 2016-01-12 Yao Qi <yao.qi@linaro.org>
508
509 * nat/linux-ptrace.c (linux_fork_to_function): Change type
510 of argument 'function'.
511 (linux_grandchild_function): Change return type to 'int'.
512 Change child_stack's type to 'void *'.
513 (linux_child_function): Likewise.
514
515 2016-01-12 Pedro Alves <palves@redhat.com>
516
517 Remove use of the registered trademark symbol throughout.
518
519 2016-01-12 Thomas Schwinge <thomas@codesourcery.com>
520
521 * reply_mig_hack.awk: Rewrite one regular expression.
522
523 2016-01-11 Mike Frysinger <vapier@gentoo.org>
524
525 * acinclude.m4: Include new warning.m4 file.
526 * configure: Regenerated.
527 * configure.ac: Move all warning logic ...
528 * warning.m4: ... here.
529
530 2016-01-08 Yao Qi <yao.qi@linaro.org>
531
532 * extension.c: Include target.h.
533 (set_active_ext_lang): Only call install_gdb_sigint_handler,
534 check_quit_flag, and set_quit_flag if target_terminal_is_ours
535 returns false.
536 (restore_active_ext_lang): Likewise.
537 * target.c (target_terminal_is_ours): New function.
538 * target.h (target_terminal_is_ours): Declare.
539
540 2016-01-07 Maciej W. Rozycki <macro@imgtec.com>
541
542 * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status'
543 to `err' in the little-endian leg.
544
545 2016-01-06 Yao Qi <yao.qi@linaro.org>
546
547 * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some
548 lines below.
549 (thumb_get_next_pcs_raw): Make it static.
550 (arm_get_next_pcs_raw): Likewise.
551 * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the
552 declaration.
553 (arm_get_next_pcs_raw): Likewise.
554
555 2016-01-05 Mike Frysinger <vapier@gentoo.org>
556
557 * version.in: Change cvs to git.
558
559 2016-01-05 Mike Frysinger <vapier@gentoo.org>
560
561 * configure.tgt (score-*-*): Delete gdb_sim assignment.
562
563 2016-01-05 Pedro Alves <palves@redhat.com>
564
565 PR sim/13418
566 * configure.ac: Define WITH_PPC_SIM when linking in the sim and
567 the target is powerpc*.
568 * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead
569 of WITH_SIM.
570 * configure: Regenerate.
571 * config.in: Regenerate.
572
573 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
574
575 * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH.
576
577 2016-01-02 Mike Frysinger <vapier@gentoo.org>
578
579 * configure.tgt (powerpc*-*-*): Delete test call and
580 always assign gdb_sim.
581
582 2016-01-01 Joel Brobecker <brobecker@adacore.com>
583
584 Update year range in copyright notice of all files.
585
586 2016-01-01 Joel Brobecker <brobecker@adacore.com>
587
588 * top.c (print_gdb_version): Change copyright year in version
589 message.
590
591 2016-01-01 Joel Brobecker <brobecker@adacore.com>
592
593 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015.
594
595 For older changes see ChangeLog-2015.
596 \f
597 Local Variables:
598 mode: change-log
599 left-margin: 8
600 fill-column: 74
601 version-control: never
602 coding: utf-8
603 End:
This page took 0.085722 seconds and 5 git commands to generate.