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