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