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