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