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