gdb/s390: Fill pseudo register agent expression hooks.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c4b3e547
MK
12016-03-11 Marcin Kościelnicki <koriakin@0x04.net>
2
3 * s390-linux-tdep.c (s390_ax_pseudo_register_collect): New function.
4 (s390_ax_pseudo_register_push_stack): New function.
5 (s390_gdbarch_init): Fill ax_pseudo_register_collect and
6 ax_pseudo_register_push_stack hooks.
7
f2f3ccb9
SM
82016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9
10 * data-directory/Makefile.in (PYTHON_FILE_LIST): Install
11 gdb/function/as_string.py.
12 * python/lib/gdb/function/as_string.py: New file.
13 * NEWS: Mention the new $_as_string function.
14
2343b78a
JM
152016-03-09 Jose E. Marchesi <jose.marchesi@oracle.com>
16
17 * target.h: Fix doc string of target_can_use_hardware_watchpoint.
18
b69d38af
PA
192016-03-09 Pedro Alves <palves@redhat.com>
20
21 * event-top.c (more_to_come): Delete.
22 (struct readline_input_state): Delete.
23 (readline_input_state): Delete.
24 (get_command_line_buffer): New function.
25 (command_handler): Update comments. Don't handle NULL commands
26 here. Do not execute commented lines.
27 (command_line_append_input_line): New function.
28 (handle_line_of_input): New function, partly based on
29 command_line_handler and command_line_input.
30 (command_line_handler): Rewrite.
31 * event-top.h (command_handler): New declaration.
32 (command_loop): Defer command execution to command_handler.
33 (command_line_input): Update comments. Simplify, using struct
34 buffer and handle_line_of_input.
35 * top.h (struct buffer): New forward declaration.
36 (handle_line_of_input): New declaration.
37
2669cade
PA
382016-03-09 Pedro Alves <palves@redhat.com>
39
40 * event-top.c (command_line_handler): Use xfree + xstrdup instead
41 of xrealloc + strcpy.
42 * main.c (captured_main): Use xstrdup instead of xmalloc plus
43 manual clear.
44 * top.c (saved_command_line): Rewrite comment.
45 (saved_command_line_size): Delete.
46 (command_line_input): Use xfree + xstrdup instead of xrealloc +
47 strcpy.
48 * top.h (saved_command_line_size): Delete declaration.
49
187212b3
PA
502016-03-09 Pedro Alves <palves@redhat.com>
51
52 * event-top.c: Include buffer.h.
53 (gdb_readline_no_editing_callback): Use struct buffer instead
54 of xrealloc.
55
7a3bde34
PA
562016-03-09 Pedro Alves <palves@redhat.com>
57
58 * common/buffer.h (buffer_grow_char): New function.
59 * top.c: Include buffer.h.
60 (gdb_readline_no_editing): Rename 'prompt_arg' parameter to
61 'prompt'. Use struct buffer instead of xrealloc.
62
c5c136ea
PA
632016-03-09 Pedro Alves <palves@redhat.com>
64
65 * defs.h (gdb_readline): Delete declaration.
66 * top.c (gdb_readline): Rename to ...
67 (gdb_readline_no_editing): ... this, and make static.
68
720d2e96
PA
692016-03-09 Pedro Alves <palves@redhat.com>
70
71 * utils.c (prompt_for_continue): Update comments.
72
608ff013
PA
732016-03-09 Pedro Alves <palves@redhat.com>
74
75 * event-top.c (async_annotation_suffix): Delete.
76 (top_level_prompt, command_line_handler): Don't use
77 'async_annotation_suffix' and simplify.
78 * event-top.h (async_annotation_suffix): Delete declaration.
79 (init_main): Remove reference to 'async_annotation_suffix'.
80
c70061cf
PA
812016-03-09 Pedro Alves <palves@redhat.com>
82
83 * event-top.c (gdb_readline2): Rename to ...
84 (gdb_readline_no_editing_callback): ... this.
85 (change_line_handler, stdin_event_handler)
86 (gdb_setup_readline): Adjust.
87 * event-top.h (gdb_readline2): Rename to ...
88 (gdb_readline_no_editing_callback): ... this, and move closer to
89 other readline-related declarations.
90 * mi/mi-interp.c (mi_interpreter_resume): Adjust.
91
8a243832
PA
922016-03-09 Pedro Alves <palves@redhat.com>
93
94 * top.c (window_hook): Delete.
95 (command_loop): Remove references to window_hook.
96
c32e8706
PA
972016-03-09 Pedro Alves <palves@redhat.com>
98
99 * gdb.base/command-line-input.exp: New file.
100
cc2c4da8
MK
1012016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
102
103 * corefile.c (safe_read_memory_unsigned_integer): New function.
104 * gdbcore.h (safe_read_memory_unsigned_integer): New prototype.
105 * rs6000-tdep.c (rs6000_frame_cache): Read backchain as unsigned.
106
a67914de
MK
1072016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
108
109 * rs6000-tdep.c: Add "ax.h" and "ax-gdb.h" includes.
110 (rs6000_gen_return_address): New function.
111 (rs6000_gdbarch_init): Wire in the above.
112
2a2fa07b
MK
1132016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
114
115 * rs6000-tdep.c (rs6000_ax_pseudo_register_collect): New function.
116 (rs6000_gdbarch_init): Wire in the above.
117
bc0e3f49
AA
1182016-03-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
119
120 * s390-linux-tdep.c (s390_analyze_prologue): Ignore BRC and BRCL
121 instructions that do nothing or are conditional traps.
122
6d53bec8
AA
1232016-03-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
124
125 * s390-linux-tdep.c (s390_prologue_frame_unwind_cache): Store
126 frame func's PC in info->func before any other failure can occur.
127 (s390_frame_this_id): Use frame_id_build_unavailable_stack if
128 info->func has been filled out.
129
f7990f16
PA
1302016-03-09 Pedro Alves <palves@redhat.com>
131
132 * osabi.c (gdb_osabi_names): Avoid spaces in osabi names.
133
087ccc6a
PA
1342016-03-09 Pedro Alves <palves@redhat.com>
135
136 * frv-tdep.c (frv_gdbarch_init): Handle bfd_mach_fr300.
137
114d7832
PA
1382016-03-09 Pedro Alves <palves@redhat.com>
139
140 * cris-tdep.c (cris_gdbarch_init): Return 0 if the info's byte
141 order is BFD_ENDIAN_BIG or if the cris version is unsupported.
142
d7a87b5e
PA
1432016-03-09 Pedro Alves <palves@redhat.com>
144
145 * doublest.c: Extend comments.
146 (floatformat_to_doublest, floatformat_from_doublest): Copy the
147 floatformat's total size, not the host type's size.
148
b79497cb
PA
1492016-03-09 Pedro Alves <palves@redhat.com>
150
151 * doublest.c (floatformat_totalsize_bytes): New function.
152 (floatformat_from_type): Assert that the type's length is at least
153 as long as the floatformat's totalsize.
154 * doublest.h (floatformat_totalsize_bytes): New declaration.
155 * gdbtypes.c (arch_float_type): Assert that the type's length is
156 at least as long as the floatformat's totalsize.
157
aacca8a7
PA
1582016-03-09 Pedro Alves <palves@redhat.com>
159
160 * hppa-linux-tdep.c (hppa_linux_init_abi): Set the long double
161 format to floatformats_ieee_double.
162
e6c2f47b
PA
1632016-03-07 Pedro Alves <palves@redhat.com>
164
165 * mips-tdep.c (mips_gdbarch_init): Check whether info.abfd is NULL
166 before calling bfd_get_flavour.
167
cb86f388
DC
1682016-03-05 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
169
170 * avr-tdep.c (AVR_LAST_ARG_REGNUM): Define.
171 (avr_push_dummy_call): Correct last needed argument register.
172 Write MSB of argument into register and subsequent bytes into
173 other registers in decreasing order.
174
f1771dce
YQ
1752016-03-04 Yao Qi <yao.qi@linaro.org>
176
177 * arm-tdep.c (arm_record_vdata_transfer_insn): Simplify the
178 condition check. Record the right D register number.
179
ca92db2d
YQ
1802016-03-04 Yao Qi <yao.qi@linaro.org>
181
182 * arm-tdep.c (arm_record_extension_space): Remove code
183 printing "Process record does not support".
184 (arm_record_data_proc_misc_ld_str): Likewise.
185 (decode_insn): Call arm_record_extension_space if condition
186 is 0xf. Call arm_record_unsupported_insn if ret isn't
187 ARM_RECORD_SUCCESS. Use 'ret' instead of 'insn_id' to hold
188 the value of thumb2_record_decode_insn_handler.
189
73519cce
SM
1902016-03-04 Simon Marchi <simon.marchi@ericsson.com>
191
192 * features/feature_to_c.sh: Print the help when passing no
193 argument.
194
650beae3
BH
1952016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
196
197 * MAINTAINERS (Write After Approval): Add Bernhard Heckel.
198
28586665
BH
1992016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
200
201 * dwarf2read.c (new_symbol_full): Fix detection of gfortran compilers.
202
f2489477
AA
2032016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
204
205 * s390-linux-tdep.c (s390_backchain_frame_unwind_cache): Avoid
206 exception when attempting to access the inferior's backchain.
207
d5219069
YQ
2082016-02-29 Yao Qi <yao.qi@linaro.org>
209
210 * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Support
211 eventfd2, eventfd2, dup3, inotify_init1, fallocate and pipe2.
212 Return gdb_sys_epoll_create1 instead of gdb_sys_epoll_create
213 for aarch64_sys_epoll_create1.
214
253b4d3a
YQ
2152016-02-29 Yao Qi <yao.qi@linaro.org>
216
217 * linux-record.h (enum gdb_syscall) <gdb_sys_fallocate>: New.
218 <gdb_sys_eventfd2, gdb_sys_epoll_create1, gdb_sys_dup3>: New.
219 <gdb_sys_pipe2, gdb_sys_inotify_init1>: New.
220 * linux-record.c (record_linux_system_call): Handle them.
221
38899f16
IB
2222016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
223
224 * d-namespace.c (d_lookup_symbol_imports): Avoid recursive lookups from
225 cyclic imports.
226
1ed0c2a4
KS
2272016-02-26 Keith Seitz <keiths@redhat.com>
228
229 * rs6000-tdep.c (rs6000_frame_cache): Explicitly cast return result
230 to avoid invalid conversion from void *.
231
9fde51ed
YQ
2322016-02-26 Yao Qi <yao.qi@linaro.org>
233
234 * arm-tdep.c (arm_record_exreg_ld_st_insn): Set 'single_reg'
235 per bit 8. Check bit 20 instead of bit 4 for VMOV
236 instruction. Record D registers for instructions changing
237 S registers. Change of the order of length and address
238 in record_buf_mem array.
239
1f33efec
YQ
2402016-02-26 Yao Qi <yao.qi@linaro.org>
241
242 * arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register
243 number of Rd.
244
1547ef64
DE
2452016-02-25 Doug Evans <dje@google.com>
246
247 * remote-m32r-sdi.c (recv_char_data): Initialize val to avoid
248 compiler warning.
249 (recv_long_data): Ditto.
250
166616ce
SM
2512016-02-25 Simon Marchi <simon.marchi@ericsson.com>
252
253 * i386-linux-tdep.c (i386_linux_handle_segmentation_fault):
254 Initialize variables.
255
1eb7c2d8
AT
2562016-02-25 Antoine Tremblay <antoine.tremblay@ericsson.com>
257
258 * ax-general.c (ax_reg): Call gdbarch_remote_register_number.
259 (ax_reg_mask): Likewise.
260
e7ad2f14
PA
2612016-02-24 Pedro Alves <palves@redhat.com>
262
263 * linux-nat.c (save_sigtrap) Delete.
264 (stop_wait_callback): Call save_stop_reason instead of
265 save_sigtrap.
266 (check_stopped_by_breakpoint): Rename to ...
267 (save_stop_reason): ... this. Bits of save_sigtrap folded here.
268 Use GDB_ARCH_IS_TRAP_HWBKPT and handle ambiguous
269 GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT. Factor out
270 common code between the USE_SIGTRAP_SIGINFO and
271 !USE_SIGTRAP_SIGINFO blocks.
272 (linux_nat_filter_event): Call save_stop_reason instead of
273 save_sigtrap.
274 * nat/linux-ptrace.h: Check for both SI_KERNEL and TRAP_BRKPT
275 si_code for MIPS.
276 * nat/linux-ptrace.h: Fix "TRAP_HWBPT" typo in x86 table. Add
277 comments on MIPS behavior.
278 (GDB_ARCH_IS_TRAP_HWBKPT): Define for all archs.
279
338435ef
MK
2802016-02-24 Marcin Kościelnicki <koriakin@0x04.net>
281
282 * rs6000-tdep.c (rs6000_frame_cache): Initialize frame and pc to 0
283 to avoid spurious warnings.
284
bf74e428
GB
2852016-02-24 Gary Benson <gbenson@redhat.com>
286
287 * exec.c (exec_file_locate_attach): Do not attempt to
288 locate main executable locally if not found in sysroot.
289
62fb310b
JB
2902016-02-24 Joel Brobecker <brobecker@adacore.com>
291
292 GDB 7.11 released.
293
50ae56ec
WW
2942016-02-24 Wei-cheng Wang <cole945@gmail.com>
295
296 * rs6000-tdep.c (rs6000_frame_cache, rs6000_frame_this_id): Handle
297 unavailable PC/SP to build unavailable frame.
298
cce0e923
DE
2992016-02-23 Doug Evans <dje@google.com>
300
301 Extend "skip" command to support -file, -gfile, -function, -rfunction.
302 * NEWS: Document new features.
303 * skip.c: #include "fnmatch.h", "gdb_regex.h".
304 (skiplist_entry) <file>: Renamed from filename.
305 <function>: Renamed from function_name.
306 <file_is_glob, function_is_regexp>: New members.
307 <compiled_function_regexp, compiled_function_regexp_is_valid>:
308 New members.
309 (make_skip_entry): New function.
310 (free_skiplist_entry, free_skiplist_entry_cleanup): New functions.
311 (make_free_skiplist_entry_cleanup): New function.
312 (skip_file_command): Update.
313 (skip_function, skip_function_command): Update.
314 (compile_skip_regexp): New functions.
315 (skip_command): Add support for new options.
316 (skip_info): Update.
317 (skip_file_p, skip_gfile_p): New functions.
318 (skip_function_p, skip_rfunction_p): New functions.
319 (function_name_is_marked_for_skip): Update and simplify.
320 (_initialize_step_skip): Update.
321 * symtab.c: #include "fnmatch.h".
322 (compare_glob_filenames_for_search): New function.
323 * symtab.h (compare_glob_filenames_for_search): Declare.
324 * utils.c (count_path_elements): New function.
325 (strip_leading_path_elements): New function.
326 * utils.h (count_path_elements): Declare.
327 (strip_leading_path_elements): Declare.
328
12545665
SM
3292016-02-23 Simon Marchi <simon.marchi@ericsson.com>
330
331 * arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter.
332 (thumb_process_displaced_insn): Likewise.
333 (arm_process_displaced_insn): Adjust calls.
334
c955ae73
YQ
3352016-02-23 Yao Qi <yao.qi@linaro.org>
336
337 * aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>:
338 Remove.
339 <aarch64_sys_mkdir, aarch64_sys_unlink, aarch64_sys_symlink>: Remove.
340 <aarch64_sys_link, aarch64_sys_rename, aarch64_sys_faccess>: Remove.
341 <aarch64_sys_mknodat, aarch64_sys_mkdirat>: New.
342 <aarch64_sys_unlinkat, aarch64_sys_symlinkat>: New.
343 <aarch64_sys_linkat, aarch64_sys_renameat>: New.
344 <aarch64_sys_faccessat>: New.
345 <aarch64_sys_open, aarch64_sys_readlink, aarch64_sys_fstatat>: Remove.
346 <aarch64_sys_openat, aarch64_sys_readlinkat>: New.
347 <aarch64_sys_newfstatat>: New.
348 (UNSUPPORTED_SYSCALL_MAP): New macro.
349 (aarch64_canonicalize_syscall): Add missing syscalls.
350
ac46107c
JK
3512016-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print.
354
01e57735
YQ
3552016-02-22 Yao Qi <yao.qi@linaro.org>
356
357 * arm-tdep.c: Fix code format issues.
358
30a6a7f0
IB
3592016-02-21 Iain Buclaw <ibuclaw@gdcproject.org>
360
361 * d-namespace.c (d_lookup_symbol_imports): Remove argument
362 'search_parents'. All callers updated.
363
f79a3bae
MK
3642016-02-18 Marcin Kościelnicki <koriakin@0x04.net>
365
366 * s390-linux-tdep.c (s390_guess_tracepoint_registers): New function.
367 (s390_gdbarch_init): Fill guess_tracepoint_registers hook.
368
012b3a21
WT
3692016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
370
371 * NEWS: Add entry for bound violation.
372 * amd64-linux-tdep.c (amd64_linux_init_abi_common):
373 Add handler for segmentation fault.
374 * gdbarch.sh (handle_segmentation_fault): New.
375 * gdbarch.c: Regenerate.
376 * gdbarch.h: Regenerate.
377 * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): New.
378 (SIG_CODE_BONDARY_FAULT): New define.
379 (i386_linux_init_abi): Use i386_mpx_bound_violation_handler.
380 * i386-linux-tdep.h (i386_linux_handle_segmentation_fault) New.
381 * i386-tdep.c (i386_mpx_enabled): Add as external.
382 * i386-tdep.c (i386_mpx_enabled): Add as external.
383 * infrun.c (handle_segmentation_fault): New function.
384 (print_signal_received_reason): Use handle_segmentation_fault.
385
5f034a78
MK
3862016-02-18 Marcin Kościelnicki <koriakin@0x04.net>
387
388 * arch-utils.c (default_guess_tracepoint_registers): New function.
389 * arch-utils.h (default_guess_tracepoint_registers): New prototype.
390 * gdbarch.c: Regenerate.
391 * gdbarch.h: Regenerate.
392 * gdbarch.sh: Add guess_tracepoint_registers hook.
393 * tracefile.c (tracefile_fetch_registers): Use the new gdbarch hook.
394
88178e82
GB
3952016-02-17 Gary Benson <gbenson@redhat.com>
396
397 * exec.c (exec_file_locate_attach): Add missing cleanup.
398
4041ed77
DB
3992016-02-16 Don Breazeal <donb@codesourcery.com>
400
401 PR remote/19496
402 * remote.c (remove_new_fork_children): Check for pending
403 fork status in thread_info.suspend.
404
b442c911
YQ
4052016-02-16 Yao Qi <yao.qi@linaro.org>
406
407 * arm-linux-tdep.c (arm_linux_software_single_step): Assign
408 'old_chain' later.
409
553cb527
YQ
4102016-02-16 Yao Qi <yao.qi@linaro.org>
411
412 * arch/arm-get-next-pcs.h (struct arm_get_next_pcs_ops)
413 <syscall_next_pc>: Remove argument PC. Callers updated.
414 * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
415 Remove argument PC. Get pc from regcache_read_pc.
416 * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Remove
417 argument PC.
418
0a0da556
YQ
4192016-02-15 Yao Qi <yao.qi@linaro.org>
420
421 * aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x".
422
01113bc1
YQ
4232016-02-12 Yao Qi <yao.qi@linaro.org>
424
425 * arch/arm-linux.c (arm_linux_get_next_pcs_fixup): Calculate
426 nextpc according to instruction.
427
ed443b61
YQ
4282016-02-12 Yao Qi <yao.qi@linaro.org>
429
430 * arch/arm-get-next-pcs.c (arm_get_next_pcs): Call
431 self->ops->fixup if it isn't NULL.
432 * arch/arm-get-next-pcs.h: Include gdb_vecs.h.
433 (struct arm_get_next_pcs_ops) <fixup>: New field.
434 * arch/arm-linux.c: Include common-regcache.h and
435 arch/arm-get-next-pcs.h.
436 (arm_linux_get_next_pcs_fixup): New function.
437 * arch/arm-linux.h (arm_linux_get_next_pcs_fixup): Declare.
438 * arm-linux-tdep.c (arm_linux_get_next_pcs_ops): Initialize
439 it with arm_linux_get_next_pcs_fixup.
440 (arm_linux_software_single_step): Move code to
441 arm_linux_get_next_pcs_fixup.
442 * arm-tdep.c (arm_get_next_pcs_ops): Initialize it.
443
d21b5f15
MK
4442016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
445
446 * xml-tdesc.c (target_fetch_description_xml) [!HAVE_LIBEXPAT]: Warn
447 and return NULL.
448
33b4777c
MM
4492016-02-12 Markus Metzger <markus.t.metzger@intel.com>
450
451 * frame.h (skip_tailcall_frames): Update comment.
452 * frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL
453 if only artificial frames are found. Update comment.
454 (frame_unwind_caller_id): Handle NULL return.
455 (frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that
456 skip_artificial_frames does not return NULL.
457 (frame_pop): Add an error if only tailcall frames are found.
458 * infcmd.c (finish_command): Move skip_tailcall_frames call into
459 forward-execution case. Add an error if only tailcall frames are
460 found.
461
a038fa3e
MM
4622016-02-12 Markus Metzger <markus.t.metzger@intel.com>
463
464 * stack.c (frame_info): Check frame_unwind_caller_id.
465
2f3ef606
MM
4662016-02-12 Markus Metzger <markus.t.metzger@intel.com>
467
468 * frame.h (skip_tailcall_frames): New.
469 * frame.c (skip_tailcall_frames): New.
470 (frame_pop): Call skip_tailcall_frames.
471 * infcmd.c (finish_command): Call skip_tailcall_frames.
472
e352bf0a
PA
4732016-02-11 Pedro Alves <palves@redhat.com>
474
475 * Makefile.in (check-parallel): New rule.
476
bec2ab5a
SM
4772016-02-11 Simon Marchi <simon.marchi@ericsson.com>
478
479 * arm-tdep.c (arm_skip_prologue): Remove unused variables.
480 (arm_analyze_prologue): Likewise.
481 (arm_scan_prologue): Likewise.
482 (arm_m_exception_prev_register): Likewise.
483 (arm_copy_block_xfer): Likewise.
484 (thumb2_copy_block_xfer): Likewise.
485 (arm_decode_miscellaneous): Likewise.
486 (arm_decode_ld_st_word_ubyte): Likewise.
487 (arm_decode_svc_copro): Likewise.
488 (thumb2_decode_svc_copro): Likewise.
489 (thumb_copy_16bit_ldr_literal): Likewise.
490 (thumb_copy_pop_pc_16bit): Likewise.
491 (decode_thumb_32bit_ld_mem_hints): Likewise.
492 (arm_show_force_mode): Likewise.
493 (_initialize_arm_tdep): Likewise.
494 (arm_record_strx): Likewise.
495 (arm_record_extension_space): Likewise.
496 (arm_record_data_proc_misc_ld_str): Likewise.
497 (arm_record_exreg_ld_st_insn): Likewise.
498 (arm_record_vfp_data_proc_insn): Likewise.
499 (arm_record_coproc_data_proc): Likewise.
500 (thumb_record_misc): Likewise.
501 (thumb_record_ldm_stm_swi): Likewise.
502 (thumb2_record_ld_st_dual_ex_tbb): Likewise.
503 (thumb2_record_ld_mem_hints): Likewise.
504 (thumb2_record_lmul_lmla_div): Likewise.
505 (thumb2_record_asimd_struct_ld_st): Likewise.
506 (arm_process_record): Likewise.
507
2ba163c8
SM
5082016-02-11 Simon Marchi <simon.marchi@ericsson.com>
509
510 * arm-tdep.c (arm_displaced_step_copy_insn): Remove.
511 (ARM displaced stepping support): Remove reference to
512 arm_displaced_step_copy_insn in comment.
513 * arm-tdep.h (arm_displaced_step_copy_insn): Remove.
514 * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove
515 reference to arm_displaced_step_copy_insn in comment.
516
615234c1
SM
5172016-02-11 Simon Marchi <simon.marchi@ericsson.com>
518
519 * arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn.
520 (thumb_copy_b): Likewise.
521 (arm_decode_b_bl_ldmstm): Likewise.
522 (thumb_copy_16bit_ldr_literal): Likewise.
523 (thumb_copy_pop_pc_16bit): Likewise.
524
82e9becd
AT
5252016-02-11 Antoine Tremblay <antoine.tremblay@ericsson.com>
526
527 * tracepoint.c (encode_actions_1): Use target_gdbarch () rather
528 than loc->gdbarch.
529
5ac87a99
MK
5302016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
531
532 * tracefile-tfile.c (trace_tdesc): New static variable.
533 (tfile_open): Clear trace_tdesc, call target_find_description.
534 (tfile_interp_line): Recognize tdesc lines.
535 (tfile_close): Clear trace_tdesc.
536 (tfile_xfer_partial_features): New function.
537 (tfile_xfer_partial): Call tfile_xfer_partial_features.
538 (tfile_append_tdesc_line): New function.
539
18d3cec5
MK
5402016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
541
542 * ctf.c (ctf_write_tdesc): New function.
543 (ctf_write_ops): Wire in ctf_write_tdesc.
544 * tracefile-tfile.c (tfile_write_tdesc): New function.
545 (tfile_write_ops): Wire in tfile_write_tdesc.
546 * tracefile.c (trace_save): Call write_tdesc method.
547 * tracefile.h (struct trace_file_write_ops): Add write_tdesc method.
548 * xml-tdesc.c (target_fetch_description_xml): New function.
549 * xml-tdesc.h: Add target_fetch_description_xml prototype.
550
550dc4e2
SM
5512016-02-10 Simon Marchi <simon.marchi@ericsson.com>
552
553 * arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo.
554 (arm_decode_dp_misc): Likewise.
555
62e5fd57
MK
5562016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
557
558 * amd64-tdep.c (amd64_ax_pseudo_register_collect): New function.
559 (amd64_init_abi): Fill ax_pseudo_register_collect hook.
560 * gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove
561 misleading comment.
562 (i386_pseudo_register_write): Ditto.
563 (i386_ax_pseudo_register_collect): New function.
564 (i386_gdbarch_init): Fill ax_pseudo_register_collect hook.
565 * i386-tdep.h: Add i386_ax_pseudo_register_collect prototype.
566
e909d859
MK
5672016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
568
569 * tracefile-tfile.c (tfile_fetch_registers): Use g packet order
570 instead of gdb order.
571
473b99e5
MK
5722016-02-10 Marcin Kościelnicki <koriakin@0x04.net>
573
574 * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds
575 check.
576
1233c0ba
JB
5772016-02-10 Joel Brobecker <brobecker@adacore.com>
578
579 * NEWS: Create a new section for the next release branch.
580 Rename the section of the current branch, now that it has
581 been cut.
582
d1dc0942
JB
5832016-02-10 Joel Brobecker <brobecker@adacore.com>
584
585 GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a):
586 * version.in: Bump version to 7.11.50.DATE-git.
587
9ef9e6a6
KS
5882016-02-09 Keith Seitz <keiths@redhat.com>
589
590 PR breakpoints/19546
591 * breakpoint.c (breakpoint_event_location_empty_p): New function.
592 (update_breakpoints_after_exec, bkpt_re_set): Use this new function
593 instead of event_location_empty_p.
594
39a67dc4
KS
5952016-02-09 Keith Seitz <keiths@redhat.com>
596
597 * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use
598 string_to_event_location_basic instead of string_to_event_location.
599
a96e36da
KS
6002016-02-09 Keith Seitz <keiths@redhat.com>
601
602 * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip
603 leading whitespace and use string_to_event_location_basic instead
604 of new_linespec_location.
605
9f61929f
KS
6062016-02-09 Keith Seitz <keiths@redhat.com>
607
608 PR python/19506
609 * python/py-breakpoint.c (bppy_init): Use
610 string_to_event_location_basic instead of new_linespec_location.
611
eeb1af43
KS
6122016-02-09 Keith Seitz <keiths@redhat.com>
613
614 * location.c (string_to_explicit_location): Note that "-p" is
615 reserved for probe locations and return NULL for any input
616 that starts with that.
617 (string_to_event_location): Move "legacy" linespec code to ...
618 (string_to_event_location_basic): ... here.
619 * location.h (string_to_event_location): Update comment.
620 (string_to_event_location_basic): New function.
621
1e94266c
SM
6222016-02-09 Simon Marchi <simon.marchi@ericsson.com>
623
624 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
625 to AC_OUTPUT. Remove "exit 0" at the end.
626 * configure: Regenerate.
627
2a7f3dff
PA
6282016-02-09 Pedro Alves <palves@redhat.com>
629
630 PR breakpoints/19548
631 * breakpoint.c (create_overlay_event_breakpoint): Don't update
632 global location list here.
633 (create_longjmp_master_breakpoint)
634 (create_std_terminate_master_breakpoint)
635 (create_exception_master_breakpoint, create_jit_event_breakpoint)
636 (update_breakpoint_locations):
637 (breakpoint_re_set): Update global location list after all
638 breakpoints are re-set.
639
54887903
SM
6402016-02-08 Simon Marchi <simon.marchi@ericsson.com>
641
642 * remote.c (remote_register_number_and_offset): Remove unused
643 variable(s).
644 (remote_thread_always_alive): Likewise.
645 (remote_update_thread_list): Likewise.
646 (process_initial_stop_replies): Likewise.
647 (remote_start_remote): Likewise.
648 (remote_check_symbols): Likewise.
649 (discard_pending_stop_replies): Likewise.
650 (process_stop_reply): Likewise.
651 (putpkt_binary): Likewise.
652 (getpkt): Likewise.
653 (remote_add_target_side_condition): Likewise.
654 (remote_insert_breakpoint): Likewise.
655 (remote_supports_stopped_by_sw_breakpoint): Likewise.
656 (remote_supports_stopped_by_hw_breakpoint): Likewise.
657 (remote_xfer_partial): Likewise.
658 (remote_read_btrace): Likewise.
659 (remote_async_serial_handler): Likewise.
660 (remote_thread_events): Likewise.
661 (_initialize_remote): Likewise.
662
30914ca8
SM
6632016-02-07 Simon Marchi <simon.marchi@polymtl.ca>
664
665 * varobj.h (varobj_delete): Remove dellist parameter, update and
666 move documentation here.
667 * varobj.c (struct cpstack, cppush, cppop): Remove.
668 (delete_variable): Remove resultp (first) parameter.
669 (delete_variable_1): Likewise.
670 (varobj_delete): Remove dellist parameter and unused code.
671 (update_dynamic_varobj_children): Adjust varobj_delete call.
672 (update_type_if_necessary): Likewise.
673 (varobj_set_visualizer): Likewise.
674 (varobj_update): Likewise.
675 (value_of_root): Likewise.
676 (varobj_invalidate_iter): Likewise.
677 * mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise.
678
e42e5352
YQ
6792016-02-04 Yao Qi <yao.qi@linaro.org>
680
681 * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to
682 0 before handling 'F' and set it back afterwards.
683
6456a18b
SM
6842016-02-02 Simon Marchi <simon.marchi@ericsson.com>
685
686 * ui-out.c (MAX_UI_OUT_LEVELS): Remove.
687
3f2f6cb5
WT
6882016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
689
690 * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval):
691 New types.
692 (compat_siginfo): New bound fields added.
693 (compat_x32_siginfo): New field added.
694 (cpt_si_addr_lsb): New define.
695 (compat_siginfo_from_siginfo): Use nat_siginfo.
696 (siginfo_from_compat_siginfo): Use nat_siginfo.
697 (compat_x32_siginfo_from_siginfo): Likewise.
698 (siginfo_from_compat_x32_siginfo): Likewise.
699
96b5c49f
WT
7002016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
701
702 * linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd
703 structure to the siginfo if extra_fields contains
704 LINUX_SIGINFO_FIELD_ADDR_BND.
705
190b495d
WT
7062016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
707
708 * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern.
709 * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern.
710 * i386-linux-tdep.h (x86_linux_get_siginfo_type): New
711 function.
712 * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add
713 x86_linux_get_siginfo_type for the amd64 abi.
714 * i386-linux-tdep.c (x86_linux_get_siginfo_type): New
715 function.
716 (i386_linux_init_abi): Add new function at the i386 ABI
717 initialization.
718
43564574
WT
7192016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
720
721 * linux-tdep.h (linux_siginfo_extra_field_values): New enum values.
722 (linux_siginfo_extra_fields): New enum type.
723 * linux-tdep.c (linux_get_siginfo_type_with_fields): New function.
724 (linux_get_siginfo_type): Use new function.
725
93813b37
WT
7262016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
727
728 * nat/amd64-linux-siginfo.c: New file.
729 * nat/amd64-linux-siginfo.h: New file.
730 * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h.
731 (amd64-linux-siginfo.o): New rule.
732 * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o.
733 * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include.
734 (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
735 (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo)
736 (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid)
737 (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status)
738 (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band)
739 (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c.
740
5fdf6324
AB
7412016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
742
743 * value.c (max_value_size): New variable.
744 (MIN_VALUE_FOR_MAX_VALUE_SIZE): New define.
745 (set_max_value_size): New function.
746 (show_max_value_size): New function.
747 (check_type_length_before_alloc): New function.
748 (allocate_value_contents): Call check_type_length_before_alloc.
749 (set_value_enclosing_type): Likewise.
750 (_initialize_values): Add set/show handler for max-value-size.
751 * NEWS: Mention new set/show command.
752
5fa13070
SM
7532016-01-31 Simon Marchi <simon.marchi@polymtl.ca>
754
755 * varobj.h (struct varobj): Fix typos in comments.
756 (struct lang_varobj_ops): Likewise.
757 * varobj.c (VAROBJ_TABLE_SIZE): Likewise.
758 (varobj_create): Move misplaced comment.
759
a2e3e93f
SM
7602016-01-29 Simon Marchi <simon.marchi@ericsson.com>
761
762 * aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces
763 to for include additional lines.
764 * xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces.
765
56e374a6
SM
7662016-01-28 Simon Marchi <simon.marchi@ericsson.com>
767
768 * gnulib/import/Makefile.am: Regenerate.
769 * gnulib/import/Makefile.in: Regenerate.
770 * gnulib/import/m4/gnulib-cache.m4: Regenerate.
771 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr.
772
8424cc97
SM
7732016-01-28 Simon Marchi <simon.marchi@ericsson.com>
774
775 * remote.c (skip_to_semicolon): Remove.
776 (remote_parse_stop_reply): Use strchrnul instead of
777 skip_to_semicolon.
778 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
779 strchrnul.
780 * gnulib/aclocal.m4: Regenerate.
781 * gnulib/config.in: Regenerate.
782 * gnulib/configure: Regenerate.
783 * gnulib/import/Makefile.am: Regenerate.
784 * gnulib/import/Makefile.in: Regenerate.
785 * gnulib/import/m4/gnulib-cache.m4: Regenerate.
786 * gnulib/import/m4/gnulib-comp.m4: Regenerate.
787 * gnulib/import/m4/rawmemchr.m4: New file.
788 * gnulib/import/m4/strchrnul.m4: New file.
789 * gnulib/import/rawmemchr.c: New file.
790 * gnulib/import/rawmemchr.valgrind: New file.
791 * gnulib/import/strchrnul.c: New file.
792 * gnulib/import/strchrnul.valgrind: New file.
793
4a6a1ed4
YQ
7942016-01-28 Yao Qi <yao.qi@linaro.org>
795
796 * breakpoint.c (build_target_command_list): Don't call continue
797 if aexpr is NULL.
798 (build_target_condition_list): Likewise.
799
94715c17
KB
8002016-01-27 Kevin Buettner <kevinb@redhat.com>
801
802 * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8
803 bytes as aggregates.
804
c07af0ab
JB
8052016-01-27 Joel Brobecker <brobecker@adacore.com>
806
807 * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as
808 Linespec Maintainers.
809
41548caa
SM
8102016-01-26 Simon Marchi <simon.marchi@ericsson.com>
811
812 * common/common-utils.c (skip_spaces): Fix comment.
813 (skip_to_space_const): Likewise.
814
4d18591b
YQ
8152016-01-25 Yao Qi <yao.qi@linaro.org>
816
817 * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw):
818 Remove argument pc. Get pc by regcache_read_pc. Callers updated.
819 (arm_deal_with_atomic_sequence_raw): Likewise.
820 (thumb_get_next_pcs_raw): Likewise.
821 (arm_get_next_pcs_raw): Likewise.
822 (arm_get_next_pcs): Remove argument pc. Callers updated.
823 * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration.
824
a579cd9a
MW
8252016-01-25 Mark Wielaard <mjw@redhat.com>
826
827 * ada-lang.c (ada_evaluate_subexp): Add proper else block.
828 * c-typeprint.c (c_type_print_base): Fix misleading indentation of
829 if statement.
830 * inflow.c (child_terminal_ours_1): Fix misleading indentation of
831 statement block by introducing an else.
832 * linux-record.c (record_linux_sockaddr): Fix misleading indentation
833 of return statements.
834 (record_linux_msghdr): Likewise.
835
a2077e25
PA
8362016-01-25 Pedro Alves <palves@redhat.com>
837
838 PR threads/19461
839 * infrun.c (handle_inferior_event_1) <fork/vfork>: Update
840 parent/child running states.
841
1d2736d4
PA
8422016-01-25 Pedro Alves <palves@redhat.com>
843
844 PR gdb/19494
845 * linux-nat.c (kill_one_lwp): New, factored out from ...
846 (kill_callback): ... this.
847 (kill_wait_callback): New, factored out from ...
848 (kill_wait_one_lwp): ... this.
849 (kill_unfollowed_fork_children): New function.
850 (linux_nat_kill): Use it.
851
b2bae2f7
JB
8522016-01-22 John Baldwin <jhb@FreeBSD.org>
853
854 * fbsd-nat.c (fbsd_pid_to_str): Adjust string format.
855
d86feca3
YQ
8562016-01-22 Yao Qi <yao.qi@linaro.org>
857
858 * arm-linux-nat.c (fetch_fpregs): Call perror_with_name
859 instead of warning.
860 (store_fpregs, fetch_regs, store_regs): Likewise.
861 (fetch_wmmx_regs, store_wmmx_regs): Likewise.
862 (fetch_vfp_regs, store_vfp_regs): Likewise.
863
b35a8b2f
DE
8642016-01-21 Doug Evans <dje@google.com>
865
866 * breakpoint.c (init_breakpoint_sal): Add comment.
867
f906b857
MK
8682016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
869
870 * ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection.
871
4a099de2
AB
8722016-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
873
874 * disasm.c (maybe_add_dis_line_entry): Rename to...
875 (add_dis_line_entry): ...this, and update header comment.
876 (do_mixed_source_and_assembly): Now use add_dis_line_entry.
877
a994041d
PA
8782016-01-21 Pedro Alves <palves@redhat.com>
879
880 * Makefile.in (COMPILER_CFLAGS): New.
881 (CXXFLAGS): Get it from configure.
882 (INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS
883 instead of CFLAGS.
884 * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST
885 COMPILER_CFLAGS.
886 * configure: Regenerate.
887
305e13e6
JB
8882016-01-21 Joel Brobecker <brobecker@adacore.com>
889
890 * location.h (new_address_location): Add new parameters
891 "addr_string" and "addr_string_len".
892 (get_address_string_location): Add declaration.
893 * location.c (new_address_location): Add new parameters
894 "addr_string" and "addr_string_len". If not NULL, store
895 a copy of the addr_string in the new location as well.
896 (get_address_string_location): New function.
897 (string_to_event_location): Update call to new_address_location.
898 * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>:
899 Save the event location in the parser's state before
900 passing it to convert_address_location_to_sals.
901 * breakpoint.c (create_thread_event_breakpoint): Update call
902 to new_address_location.
903 (init_breakpoint_sal): Get the event location's string, if any,
904 and use it to update call to new_address_location.
905 * python/py-finishbreakpoint.c (bpfinishpy_init):
906 Update call to new_address_location.
907 * spu-tdep.c (spu_catch_start): Likewise.
908
909 * config/djgpp/fnchange.lst: Add entries for
910 gdb/testsuite/gdb.base/break-fun-addr1.c and
911 gdb/testsuite/gdb.base/break-fun-addr2.c.
912
f7a6a40d
YQ
9132016-01-21 Yao Qi <yao.qi@linaro.org>
914
915 * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter
916 is_thumb and set it according to CPSR saved on the stack.
917 (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to
918 arm_linux_sigreturn_next_pc.
919
5f5dfff6
SM
9202016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
921
922 * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__):
923 Fix enumerators sort key function.
924
be56871e
JB
9252016-01-20 Joel Brobecker <brobecker@adacore.com>
926
b12e5614 927 * printcmd.c (print_scalar_formatted): Move binary operator from
be56871e
JB
928 end of line to beginning of next line. Adjust formatting
929 accordingly.
930
f2feec98
JB
9312016-01-19 John Baldwin <jhb@FreeBSD.org>
932
933 * fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of
934 "len" with sysctl.
935
20a0aab3
JB
9362016-01-19 John Baldwin <jhb@FreeBSD.org>
937
938 * fbsd-tdep.c (find_stop_signal): Remove.
939 (struct fbsd_collect_regset_section_cb) <lwp>: New field.
940 <stop_signal>: New field.
941 <abort_iteration>: New field.
942 (fbsd_collect_regset_section_cb): Use new fields.
943 (fbsd_collect_thread_registers): New function.
944 (struct fbsd_corefile_thread_data): New structure.
945 (fbsd_corefile_thread): New function.
946 (fbsd_make_corefile_notes): Use new function to dump notes for each
947 non-exited thread in a process.
948
6e9567fe
JB
9492016-01-19 John Baldwin <jhb@FreeBSD.org>
950
951 * configure.ac: Check for support for LWP names on FreeBSD.
952 * fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp.
953 [TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]
954 (fbsd_fetch_kinfo_proc): Move function earlier.
955 [PT_LWPINFO] (fbsd_thread_alive): New function.
956 [PT_LWPINFO] (fbsd_pid_to_str): New function.
957 [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function.
958 [PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function.
959 [PT_LWPINFO] (fbsd_add_threads): New function.
960 [PT_LWPINFO] (fbsd_update_thread_list): New function.
961 [PT_LWPINFO] New variable super_resume.
962 [PT_LWPINFO] (resume_one_thread_cb): New function.
963 [PT_LWPINFO] (resume_all_threads_cb): New function.
964 [PT_LWPINFO] (fbsd_resume): New function.
965 (fbsd_remember_child): Save full ptid instead of plain pid.
966 (fbsd_is_child_pending): Return ptid of saved child process.
967 (fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on
968 first stop.
969 [PT_LWP_EVENTS] Handle LWP events.
970 [TDP_RFPPWAIT] Include LWP in child ptid.
971 (fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events.
972 (fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events.
973 Add threads for existing processes.
974 (fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to
975 "fbsd_thread_alive".
976 Set "to_pid_to_str" to "fbsd_pid_to_str".
977 [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to
978 "fbsd_thread_name".
979 [PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list".
980 Set "to_has_thread_control" to "tc_schedlock".
981 Set "to_resume" to "fbsd_resume".
982 (_initialize_fbsd_nat): New function.
983 * configure: Regenerate.
984 * config.in: Regenerate.
985
94309df7
JB
9862016-01-19 John Baldwin <jhb@FreeBSD.org>
987
988 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use
989 get_ptrace_pid.
990 (amd64bsd_store_inferior_registers): Use get_ptrace_pid.
991 (amd64bsd_dr_get): Use get_ptrace_pid.
992 (amd64bsd_dr_set): Use get_ptrace_pid.
993 * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid.
994 (i386bsd_store_inferior_registers): Use get_ptrace_pid.
995 (i386bsd_dr_get): Use get_ptrace_pid.
996 (i386bsd_dr_set): Use get_ptrace_pid.
997 * inf-ptrace.c (get_ptrace_pid): Export.
998 * inf-ptrace.h (get_ptrace_pid): Declare.
999 * ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id.
1000 (ppcfbsd_store_inferior_registers): Use lwp id.
1001
79117428
JB
10022016-01-19 John Baldwin <jhb@FreeBSD.org>
1003
1004 * fbsd_tdep.c (fbsd_core_pid_to_str): New function.
1005 (fbsd_core_thread_name): New function.
1006 (fbsd_init_abi): Add "core_pid_to_str" gdbarch method.
1007 Add "core_thread_name" gdbarch method.
1008
4dfc5dbc
JB
10092016-01-19 John Baldwin <jhb@FreeBSD.org>
1010
1011 * corelow.c (core_thread_name): New function.
1012 (init_core_ops): Use "core_thread_name" for the "to_thread_name"
1013 target op.
1014 * gdbarch.sh (core_thread_name): New gdbarch callback.
1015 * gdbarch.h: Re-generate.
1016 * gdbarch.c: Re-generate.
1017
10e3ed90
SM
10182016-01-19 Simon Marchi <simon.marchi@polymtl.ca>
1019
1020 * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly
1021 convert gdb.Value to integer type using int().
1022
a6e69c1f
JB
10232016-01-19 John Baldwin <jhb@FreeBSD.org>
1024
1025 * configure.ac: Include <sys/types.h when checking for "r_fs" in
1026 "struct reg".
1027 * configure: Regenerate.
1028
37e42b4f
PA
10292016-01-19 Pedro Alves <palves@redhat.com>
1030
1031 * ax-gdb.c (agent_command_1): Adjust call to decode_line_full.
1032 * break-catch-throw.c (re_set_exception_catchpoint): Pass the
1033 current program space down to linespec decoding and breakpoint
1034 location updating.
1035 * breakpoint.c (parse_breakpoint_sals): Adjust calls to
1036 decode_line_full.
1037 (until_break_command): Adjust calls to decode_line_1.
1038 (base_breakpoint_decode_location, bkpt_decode_location): Add
1039 'search_pspace' parameter. Pass it along.
1040 (bkpt_probe_create_sals_from_location): Adjust calls to
1041 parse_probes.
1042 (tracepoint_decode_location, tracepoint_probe_decode_location)
1043 (strace_marker_decode_location): Add 'search_pspace' parameter.
1044 Pass it along.
1045 (all_locations_are_pending): Rewrite to take a breakpoint and
1046 program space as arguments instead.
1047 (hoist_existing_locations): New function.
1048 (update_breakpoint_locations): Add 'filter_pspace' parameter. Use
1049 hoist_existing_locations instead of always removing all locations,
1050 and adjust to all_locations_are_pending change.
1051 (location_to_sals): Add 'search_pspace' parameter. Pass it along.
1052 Don't disable the breakpoint if there are other locations in
1053 another program space.
1054 (breakpoint_re_set_default): Adjust to pass down the current
1055 program space as filter program space.
1056 (decode_location_default): Add 'search_pspace' parameter and pass
1057 it along.
1058 (prepare_re_set_context): Don't switch program space here.
1059 (breakpoint_re_set): Use save_current_space_and_thread instead of
1060 save_current_program_space.
1061 * breakpoint.h (struct breakpoint_ops) <decode_location>: Add
1062 'search_pspace' parameter.
1063 (update_breakpoint_locations): Add 'filter_pspace' parameter.
1064 * cli/cli-cmds.c (edit_command, list_command): Adjust calls to
1065 decode_line_1.
1066 * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current
1067 program space as filter program space.
1068 * linespec.c (struct linespec_state) <search_pspace>: New field.
1069 (create_sals_line_offset, convert_explicit_location_to_sals)
1070 (parse_linespec): Pass the search program space down.
1071 (linespec_state_constructor): Add 'search_pspace' parameter.
1072 Store it.
1073 (linespec_parser_new): Add 'search_pspace' parameter and pass it
1074 along.
1075 (linespec_lex_to_end): Adjust.
1076 (decode_line_full, decode_line_1): Add 'search_pspace' parameter
1077 and pass it along.
1078 (decode_line_with_last_displayed): Adjust.
1079 (collect_symtabs_from_filename, symtabs_from_filename): New
1080 'search_pspace' parameter. Use it.
1081 (find_function_symbols): Pass the search program space down.
1082 * linespec.h (decode_line_1, decode_line_full): Add
1083 'search_pspace' parameter.
1084 * probe.c (parse_probes_in_pspace): New function, factored out
1085 from ...
1086 (parse_probes): ... this. Add 'search_pspace' parameter and use
1087 it.
1088 * probe.h (parse_probes): Add pspace' parameter.
1089 * python/python.c (gdbpy_decode_line): Adjust.
1090 * tracepoint.c (scope_info): Adjust.
1091
100b4f2e
MR
10922016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1093
1094 * mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS
1095 instruction support.
1096 (micromips_next_pc): Likewise.
1097 (micromips_scan_prologue): Likewise.
1098 (micromips_deal_with_atomic_sequence): Likewise.
1099 (micromips_stack_frame_destroyed_p): Likewise.
1100 (mips_breakpoint_from_pc): Likewise.
1101
3f7f3650
MR
11022016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1103
1104 * mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass
1105 unshifted 16-bit microMIPS instruction word to `mips_insn_size'.
1106
f303dbd6
PA
11072016-01-18 Pedro Alves <palves@redhat.com>
1108
1109 * NEWS: Mention that GDB now displays the ID and name of the
1110 thread that hit a breakpoint or received a signal.
1111 * break-catch-sig.c (signal_catchpoint_print_it): Use
1112 maybe_print_thread_hit_breakpoint.
1113 * break-catch-syscall.c (print_it_catch_syscall): Likewise.
1114 * break-catch-throw.c (print_it_exception_catchpoint): Likewise.
1115 * breakpoint.c (maybe_print_thread_hit_breakpoint): New function.
1116 (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib)
1117 (print_it_catch_exec, print_it_ranged_breakpoint)
1118 (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it):
1119 Use maybe_print_thread_hit_breakpoint.
1120 * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare.
1121 * gdbthread.h (show_thread_that_caused_stop): Declare.
1122 * infrun.c (print_signal_received_reason): Print which thread
1123 received signal.
1124 * thread.c (show_thread_that_caused_stop): New function.
1125
eb0edac8
GB
11262016-01-18 Gary Benson <gbenson@redhat.com>
1127
1128 * nat/linux-namespaces.c (do_fork): New function.
1129 (linux_mntns_get_helper): Use the above.
1130
dc365182
JH
11312016-01-17 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> (tiny change)
1132
1133 Pushed by Joel Brobecker <brobecker@adacore.com>.
1134 PR gdb/19208
1135 * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name
1136 if the function has no name.
1137
f74f61cb
SL
11382016-01-15 Sandra Loosemore <sandra@codesourcery.com>
1139
1140 * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET):
1141 Conditionalize for Windows host.
1142 (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET.
1143 (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
1144 (phony_iconv_open): Handle both UTF-32 endiannesses.
1145 (phony_iconv): Likewise. Check for output overflow and clean up
1146 out-of-input cases. Correct adjustment to input buffer pointer.
1147 (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match
1148 phony_iconv_open.
1149
71ef29a8
PA
11502016-01-15 Pedro Alves <palves@redhat.com>
1151
1152 * NEWS: Mention star wildcard ranges.
1153 * cli/cli-utils.c (get_number_or_range): Check state->in_range first.
1154 (number_range_setup_range): New function.
1155 * cli/cli-utils.h (number_range_setup_range): New declaration.
1156 * thread.c (thread_apply_command): Support star TID ranges.
1157 * tid-parse.c (tid_range_parser_finished)
1158 (tid_range_parser_string, tid_range_parser_skip)
1159 (get_tid_or_range, get_tid_or_range): Handle
1160 TID_RANGE_STATE_STAR_RANGE.
1161 (tid_range_parser_star_range): New function.
1162 * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>:
1163 New value.
1164 (tid_range_parser_star_range): New declaration.
1165
3f5b7598
PA
11662016-01-15 Pedro Alves <palves@redhat.com>
1167
1168 * thread.c (thread_apply_command): Use the tid range parser to
1169 advance past the thread ID list.
1170 * tid-parse.c (get_positive_number_trailer): New function.
1171 (parse_thread_id): Use it.
1172 (get_tid_or_range): Use it. Return 0 instead of throwing invalid
1173 thread ID error.
1174 (get_tid_or_range): Detect negative values. Return 0 instead of
1175 throwing invalid thread ID error.
1176
e7cf25a8
YQ
11772016-01-14 Yao Qi <yao.qi@linaro.org>
1178
1179 * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
1180 Declare.
1181 (arm_linux_get_next_pcs_ops): Install
1182 arm_linux_get_next_pcs_syscall_next_pc.
1183 (arm_linux_syscall_next_pc): Change to ...
1184 (arm_linux_get_next_pcs_syscall_next_pc): ... it.
1185 (arm_linux_init_abi): Don't set tdep->syscall_next_pc.
1186 * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare.
1187 (arm_get_next_pcs_syscall_next_pc): Make it static. Don't
1188 call tdep->syscall_next_pc.
1189 * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove.
1190 (arm_get_next_pcs_syscall_next_pc): Remove.
1191
c0518081
YQ
11922016-01-14 Yao Qi <yao.qi@linaro.org>
1193
1194 * remote.c (remote_set_syscall_catchpoint): Cast to char *.
1195 * thread.c (do_captured_thread_select): Cast to const char *.
1196
1b451dda
YQ
11972016-01-14 Yao Qi <yao.qi@linaro.org>
1198
1199 * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change
1200 argument arm_thumb2_breakpoint to has_thumb2_breakpoint.
1201 (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint
1202 instead.
1203 * arch/arm-get-next-pcs.h (struct arm_get_next_pcs)
1204 <arm_thumb2_breakpoint>: Remove.
1205 <has_thumb2_breakpoint>: New field.
1206 (arm_get_next_pcs_ctor): Update declaration.
1207 * arm-linux-tdep.c (arm_linux_software_single_step): Pass
1208 1 to arm_get_next_pcs_ctor.
1209 * arm-tdep.c (arm_software_single_step): Pass 0 to
1210 arm_get_next_pcs_ctor.
1211
bc06e0b1
UW
12122016-01-13 Ulrich Weigand <uweigand@de.ibm.com>
1213
1214 * MAINTAINERS: Add Andreas Arnez as s390 target maintainer.
1215
4e7b8bea
YQ
12162016-01-13 Yao Qi <yao.qi@linaro.org>
1217
1218 * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use
1219 byte_order_for_code to read instruction.
1220
663f6d42
PA
12212016-01-13 Pedro Alves <palves@redhat.com>
1222
1223 * NEWS: Mention $_gthread.
1224 * gdbthread.h (struct thread_info) <global_num>: Mention
1225 $_gthread.
1226 * thread.c (thread_num_make_value_helper): New function.
1227 (thread_id_make_value): Delete.
1228 (thread_id_per_inf_num_make_value, global_thread_id_make_value):
1229 New.
1230 (thread_funcs): Adjust.
1231 (gthread_funcs): New.
1232 (_initialize_thread): Register $_gthread variable.
1233
c84f6bbf
PA
12342016-01-13 Pedro Alves <palves@redhat.com>
1235
1236 * NEWS: Mention "info threads -gid".
1237 * gdbthread.h (struct thread_info) <global_num>: Mention "info
1238 threads -gid".
1239 * thread.c (info_threads_command): Handle "-gid".
1240 (_initialize_thread): Adjust "info threads" help string to mention
1241 -gid.
1242
22a02324
PA
12432016-01-13 Pedro Alves <palves@redhat.com>
1244
1245 * NEWS: Mention InferiorThread.global_num.
1246 * python/py-infthread.c (thpy_get_global_num): New function.
1247 (thread_object_getset): Register "global_num".
1248
5d5658a1
PA
12492016-01-13 Pedro Alves <palves@redhat.com>
1250
1251 * NEWS: Mention that thread IDs are now per inferior and global
1252 thread IDs.
1253 * Makefile.in (SFILES): Add tid-parse.c.
1254 (COMMON_OBS): Add tid-parse.o.
1255 (HFILES_NO_SRCDIR): Add tid-parse.h.
1256 * ada-tasks.c: Adjust to use ptid_to_global_thread_id.
1257 * breakpoint.c (insert_breakpoint_locations)
1258 (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions)
1259 (print_one_breakpoint_location, set_longjmp_breakpoint)
1260 (check_longjmp_breakpoint_for_call_dummy)
1261 (set_momentary_breakpoint): Adjust to use global IDs.
1262 (find_condition_and_thread, watch_command_1): Use parse_thread_id.
1263 (until_break_command, longjmp_bkpt_dtor)
1264 (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust
1265 to use global IDs.
1266 * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use
1267 ptid_to_global_thread_id.
1268 * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
1269 * gdbthread.h (struct thread_info): Rename field 'num' to
1270 'global_num. Add new fields 'per_inf_num' and 'inf'.
1271 (thread_id_to_pid): Rename thread_id_to_pid to
1272 global_thread_id_to_ptid.
1273 (pid_to_thread_id): Rename to ...
1274 (ptid_to_global_thread_id): ... this.
1275 (valid_thread_id): Rename to ...
1276 (valid_global_thread_id): ... this.
1277 (find_thread_id): Rename to ...
1278 (find_thread_global_id): ... this.
1279 (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare.
1280 (print_thread_info): Add comment.
1281 * tid-parse.h: New file.
1282 * tid-parse.c: New file.
1283 * infcmd.c (step_command_fsm_prepare)
1284 (step_command_fsm_should_stop): Adjust to use the global thread
1285 ID.
1286 (until_next_command, until_next_command)
1287 (finish_command_fsm_should_stop): Adjust to use the global thread
1288 ID.
1289 (attach_post_wait): Adjust to check the inferior number too.
1290 * inferior.h (struct inferior) <highest_thread_num>: New field.
1291 * infrun.c (handle_signal_stop)
1292 (insert_exception_resume_breakpoint)
1293 (insert_exception_resume_from_probe): Adjust to use the global
1294 thread ID.
1295 * record-btrace.c (record_btrace_open): Use global thread IDs.
1296 * remote.c (process_initial_stop_replies): Also consider the
1297 inferior number.
1298 * target.c (target_pre_inferior): Clear the inferior's highest
1299 thread num.
1300 * thread.c (clear_thread_inferior_resources): Adjust to use the
1301 global thread ID.
1302 (new_thread): New inferior parameter. Adjust to use it. Set both
1303 the thread's global ID and the thread's per-inferior ID.
1304 (add_thread_silent): Adjust.
1305 (find_thread_global_id): New.
1306 (find_thread_id): Make static. Adjust to rename.
1307 (valid_thread_id): Rename to ...
1308 (valid_global_thread_id): ... this.
1309 (pid_to_thread_id): Rename to ...
1310 (ptid_to_global_thread_id): ... this.
1311 (thread_id_to_pid): Rename to ...
1312 (global_thread_id_to_ptid): ... this. Adjust.
1313 (first_thread_of_process): Adjust.
1314 (do_captured_list_thread_ids): Adjust to use global thread IDs.
1315 (should_print_thread): New function.
1316 (print_thread_info): Rename to ...
1317 (print_thread_info_1): ... this, and add new show_global_ids
1318 parameter. Handle it. Iterate over inferiors.
1319 (print_thread_info): Reimplement as wrapper around
1320 print_thread_info_1.
1321 (show_inferior_qualified_tids): New function.
1322 (print_thread_id): Use it.
1323 (tp_array_compar): Compare inferior numbers too.
1324 (thread_apply_command): Use tid_range_parser.
1325 (do_captured_thread_select): Use parse_thread_id.
1326 (thread_id_make_value): Adjust.
1327 (_initialize_thread): Adjust "info threads" help string.
1328 * varobj.c (struct varobj_root): Update comment.
1329 (varobj_create): Adjust to use global thread IDs.
1330 (value_of_root_1): Adjust to use global_thread_id_to_ptid.
1331 * windows-tdep.c (display_tib): No longer accept an argument.
1332 * cli/cli-utils.c (get_number_trailer): Make extern.
1333 * cli/cli-utils.h (get_number_trailer): Declare.
1334 (get_number_const): Adjust documentation.
1335 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global
1336 thread IDs.
1337 * mi/mi-interp.c (mi_new_thread, mi_thread_exit)
1338 (mi_on_normal_stop, mi_output_running_pid, mi_on_resume):
1339 * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise.
1340 * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x):
1341 Likewise.
1342 * python/py-breakpoint.c (bppy_set_thread): Likewise.
1343 * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise.
1344 * python/py-infthread.c (thpy_get_num): Add comment and return the
1345 per-inferior thread ID.
1346 (thread_object_getset): Update comment of "num".
1347
43792cf0
PA
13482016-01-13 Pedro Alves <palves@redhat.com>
1349
1350 * breakpoint.c (remove_threaded_breakpoints)
1351 (print_one_breakpoint_location): Use print_thread_id.
1352 * btrace.c (btrace_enable, btrace_disable, btrace_teardown)
1353 (btrace_fetch, btrace_clear): Use print_thread_id.
1354 * common/print-utils.c (CELLSIZE): Delete.
1355 (get_cell): Rename to ...
1356 (get_print_cell): ... this and made extern. Adjust call callers.
1357 Adjust to use PRINT_CELL_SIZE.
1358 * common/print-utils.h (get_print_cell): Declare.
1359 (PRINT_CELL_SIZE): New.
1360 * gdbthread.h (print_thread_id): Declare.
1361 * infcmd.c (signal_command): Use print_thread_id.
1362 * inferior.c (print_inferior): Use print_thread_id.
1363 * infrun.c (handle_signal_stop)
1364 (insert_exception_resume_breakpoint)
1365 (insert_exception_resume_from_probe)
1366 (print_signal_received_reason): Use print_thread_id.
1367 * record-btrace.c (record_btrace_info)
1368 (record_btrace_resume_thread, record_btrace_cancel_resume)
1369 (record_btrace_step_thread, record_btrace_wait): Use
1370 print_thread_id.
1371 * thread.c (thread_apply_all_command): Use print_thread_id.
1372 (print_thread_id): New function.
1373 (thread_apply_command): Use print_thread_id.
1374 (thread_command, thread_find_command, do_captured_thread_select):
1375 Use print_thread_id.
1376
84654457
PA
13772016-01-13 Pedro Alves <palves@redhat.com>
1378
1379 * NEWS: Mention InferiorThread.inferior.
1380 * python/py-infthread.c (thpy_get_inferior): New.
1381 (thread_object_getset): Register "inferior".
1382
e3940304
PA
13832016-01-13 Pedro Alves <palves@redhat.com>
1384
1385 * NEWS: Mention $_inferior.
1386 * inferior.c (inferior_id_make_value): New.
1387 (inferior_funcs): New.
1388 (_initialize_inferior): Create $_inferior variable.
1389
a911d87a
PA
13902016-01-13 Pedro Alves <palves@redhat.com>
1391
1392 PR breakpoints/19388
1393 * frame.c (get_current_frame): Use validate_registers_access.
1394 * gdbthread.h (validate_registers_access): Declare.
1395 * infrun.c (validate_siginfo_access): Delete.
1396 (siginfo_value_read, siginfo_value_write): Use
1397 validate_registers_access.
1398 * thread.c (validate_registers_access): New function.
1399
82075af2
JS
14002016-01-12 Josh Stone <jistone@redhat.com>
1401 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1402
1403 * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the
1404 syscall_entry and syscall_return stop reasons. Mention GDB
1405 support for remote catch syscall.
1406 * remote.c (PACKET_QCatchSyscalls): New enum.
1407 (remote_set_syscall_catchpoint): New function.
1408 (remote_protocol_features): New element for QCatchSyscalls.
1409 (remote_parse_stop_reply): Parse syscall_entry/return stops.
1410 (init_remote_ops): Install remote_set_syscall_catchpoint.
1411 (_initialize_remote): Config QCatchSyscalls.
1412 * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo.
1413
d18547d8
YQ
14142016-01-12 Yao Qi <yao.qi@linaro.org>
1415
1416 * nat/linux-ptrace.c (linux_child_function): Cast child_stack
1417 to gdb_byte * and pass to linux_fork_to_function.
1418
ba4dd7c4
YQ
14192016-01-12 Yao Qi <yao.qi@linaro.org>
1420
1421 * nat/linux-ptrace.c (linux_fork_to_function): Change type
1422 of argument 'function'.
1423 (linux_grandchild_function): Change return type to 'int'.
1424 Change child_stack's type to 'void *'.
1425 (linux_child_function): Likewise.
1426
bc504a31
PA
14272016-01-12 Pedro Alves <palves@redhat.com>
1428
1429 Remove use of the registered trademark symbol throughout.
1430
5eddd578
TS
14312016-01-12 Thomas Schwinge <thomas@codesourcery.com>
1432
1433 * reply_mig_hack.awk: Rewrite one regular expression.
1434
b835bb52
MF
14352016-01-11 Mike Frysinger <vapier@gentoo.org>
1436
1437 * acinclude.m4: Include new warning.m4 file.
1438 * configure: Regenerated.
1439 * configure.ac: Move all warning logic ...
1440 * warning.m4: ... here.
1441
2f99e8fc
YQ
14422016-01-08 Yao Qi <yao.qi@linaro.org>
1443
1444 * extension.c: Include target.h.
1445 (set_active_ext_lang): Only call install_gdb_sigint_handler,
1446 check_quit_flag, and set_quit_flag if target_terminal_is_ours
1447 returns false.
1448 (restore_active_ext_lang): Likewise.
1449 * target.c (target_terminal_is_ours): New function.
1450 * target.h (target_terminal_is_ours): Declare.
1451
5dd05630
MR
14522016-01-07 Maciej W. Rozycki <macro@imgtec.com>
1453
1454 * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status'
1455 to `err' in the little-endian leg.
1456
f5aa3069
YQ
14572016-01-06 Yao Qi <yao.qi@linaro.org>
1458
1459 * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some
1460 lines below.
1461 (thumb_get_next_pcs_raw): Make it static.
1462 (arm_get_next_pcs_raw): Likewise.
1463 * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the
1464 declaration.
1465 (arm_get_next_pcs_raw): Likewise.
1466
bf69ad5a
MF
14672016-01-05 Mike Frysinger <vapier@gentoo.org>
1468
1469 * version.in: Change cvs to git.
1470
66750332
MF
14712016-01-05 Mike Frysinger <vapier@gentoo.org>
1472
1473 * configure.tgt (score-*-*): Delete gdb_sim assignment.
1474
976102cd
PA
14752016-01-05 Pedro Alves <palves@redhat.com>
1476
1477 PR sim/13418
1478 * configure.ac: Define WITH_PPC_SIM when linking in the sim and
1479 the target is powerpc*.
fa89c126
PA
1480 * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead
1481 of WITH_SIM.
976102cd
PA
1482 * configure: Regenerate.
1483 * config.in: Regenerate.
1484
43368e1d
MM
14852016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1486
1487 * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH.
1488
32273fe6
MF
14892016-01-02 Mike Frysinger <vapier@gentoo.org>
1490
1491 * configure.tgt (powerpc*-*-*): Delete test call and
1492 always assign gdb_sim.
1493
618f726f
JB
14942016-01-01 Joel Brobecker <brobecker@adacore.com>
1495
1496 Update year range in copyright notice of all files.
1497
edd88788
JB
14982016-01-01 Joel Brobecker <brobecker@adacore.com>
1499
1500 * top.c (print_gdb_version): Change copyright year in version
1501 message.
1502
0f7b3ef4 15032016-01-01 Joel Brobecker <brobecker@adacore.com>
aec47d1d 1504
0f7b3ef4 1505 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015.
aec47d1d 1506
0f7b3ef4 1507For older changes see ChangeLog-2015.
c906108c
SS
1508\f
1509Local Variables:
1510mode: change-log
1511left-margin: 8
1512fill-column: 74
1513version-control: never
57da7796 1514coding: utf-8
c906108c 1515End:
This page took 2.553039 seconds and 4 git commands to generate.