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