Use target_terminal_ours_for_output in exceptions.c
[external/binutils.git] / gdb / ChangeLog
1 2016-04-12  Pedro Alves  <palves@redhat.com>
2
3         * exceptions.c (print_flush): Use target_terminal_ours_for_output
4         instead of target_terminal_ours, and restore target terminal with
5         a cleanup.
6
7 2016-04-12  Pedro Alves  <palves@redhat.com>
8
9         * cp-support.c (gdb_demangle): Use target_terminal_ours_for_output
10         instead of target_terminal_ours, and restore target terminal with
11         a cleanup.
12
13 2016-04-12  Pedro Alves  <palves@redhat.com>
14
15         * ada-lang.c (type_as_string, type_as_string_and_cleanup): New
16         functions.
17         (ada_lookup_struct_elt_type): Use type_as_string_and_cleanup.
18
19 2016-04-12  Pedro Alves  <palves@redhat.com>
20
21         * ser-base.c (fd_event): Retry read_prim on EINTR.
22         (do_ser_base_readchar): Retry read_prim on EINTR.
23         (ser_base_write): Retry write_prim on EINTR.
24         * ser-unix.c (ser_unix_read_prim): Don't retry on EINTR here.
25         (ser_unix_write_prim): Remove comment.
26
27 2016-04-12  Pedro Alves  <palves@redhat.com>
28
29         * remote.c (remote_pass_ctrlc): New function.
30         (init_remote_ops): Install it.
31         * target.c (target_terminal_inferior): Pass pending Ctrl-C to the
32         target.
33         (target_pass_ctrlc, default_target_pass_ctrlc): New functions.
34         * target.h (struct target_ops) <to_pass_ctrlc>: New method.
35         (target_pass_ctrlc, default_target_pass_ctrlc): New declarations.
36         * target-delegates.c: Regenerate.
37
38 2016-04-12  Pedro Alves  <palves@redhat.com>
39
40         * infcmd.c (interrupt_target_1): Call target_stop is in non-stop
41         mode.
42         * linux-nat.c (linux_nat_interrupt): Delete.
43         (linux_nat_add_target): Don't install linux_nat_interrupt.
44         * remote.c (remote_interrupt_ns): Change return type to void.
45         Throw error if interrupting the target is not supported.
46         (remote_interrupt): Don't call the remote_stop_ns/remote_stop_as.
47
48 2016-04-12  Pedro Alves  <palves@redhat.com>
49
50         * defs.h (clear_quit_flag): Remove declaration.
51         * extension-priv.h (struct extension_language_ops)
52         <clear_quit_flag>: Remove field and update comments.
53         * extension.c (clear_quit_flag): Delete.
54         * guile/guile.c (guile_extension_ops): Adjust.
55         * python/python.c (python_extension_ops): Adjust.
56         (gdbpy_clear_quit_flag): Delete.
57
58 2016-04-12  Pedro Alves  <palves@redhat.com>
59
60         * main.c (captured_main): Don't clear the quit flag.
61
62 2016-04-12  Pedro Alves  <palves@redhat.com>
63
64         * exceptions.c (prepare_to_throw_exception): Don't clear the quit
65         flag.
66
67 2016-04-12  Pedro Alves  <palves@redhat.com>
68
69         * event-top.c (command_handler): Don't call clear_quit_flag.
70
71 2016-04-12  Pedro Alves  <palves@redhat.com>
72
73         * remote-sim.c (gdb_os_poll_quit): Don't call clear_quit_flag.
74         * remote.c (remote_wait_as): Don't call clear_quit_flag.
75
76 2016-04-12  Pedro Alves  <palves@redhat.com>
77
78         * python/python.c: Include "ser-event.h".
79         (gdbpy_event_fds): Delete.
80         (gdbpy_serial_event): New.
81         (gdbpy_run_events): Change prototype.  Use serial_event_clear
82         instead of serial_readchar.
83         (gdbpy_post_event): Use serial_event_set instead of serial_write.
84         (gdbpy_initialize_events): Use make_serial_event instead of
85         serial_pipe.
86
87 2016-04-12  Pedro Alves  <palves@redhat.com>
88
89         * defs.h: Extend QUIT-related comments to mention
90         interruptible_select.
91         (quit_serial_event_set, quit_serial_event_clear): Declare.
92         * event-top.c: Include "ser-event.h" and "gdb_select.h".
93         (quit_serial_event): New global.
94         (async_init_signals): Make quit_serial_event.
95         (quit_serial_event_set, quit_serial_event_clear)
96         (quit_serial_event_fd, interruptible_select): New functions.
97         * extension.c (set_quit_flag): Set the quit serial event.
98         (check_quit_flag): Clear the quit serial event.
99         * gdb_select.h (interruptible_select): New declaration.
100         * guile/scm-ports.c (ioscm_input_waiting): Use
101         interruptible_select instead of gdb_select.
102         * top.c (gdb_readline_no_editing): Likewise.
103         * ui-file.c (stdio_file_read): Likewise.
104
105 2016-04-12  Pedro Alves  <palves@redhat.com>
106
107         * event-loop.c: Include "ser-event.h".
108         (async_signal_handlers_serial_event): New global.
109         (async_signals_handler, initialize_async_signal_handlers): New
110         functions.
111         (mark_async_signal_handler): Set
112         async_signal_handlers_serial_event.
113         (invoke_async_signal_handlers): Clear
114         async_signal_handlers_serial_event.
115         * event-top.c (async_init_signals): Call
116         initialize_async_signal_handlers.
117
118 2016-04-12  Pedro Alves  <palves@redhat.com>
119
120         * Makefile.in (SFILES): Add ser-event.c.
121         (HFILES_NO_SRCDIR): Add ser-event.h.
122         (COMMON_OBS): Add ser-event.o.
123         * ser-event.c, ser-event.h: New files.
124         * serial.c (new_serial): New function, factored out from
125         (serial_fdopen_ops): ... this.
126         (serial_open_ops_1): New function, factored out from
127         (serial_open): ... this.
128         (serial_open_ops): New function.
129         * serial.h (struct serial): Forware declare.
130         (serial_open_ops): New declaration.
131
132 2016-04-12  Pedro Alves  <palves@redhat.com>
133
134         * serial.c (serial_open, serial_fdopen_ops, do_serial_close):
135         Remove references to name.
136         * serial.h (struct serial) <name>: Delete.
137
138 2016-04-12  Pedro Alves  <palves@redhat.com>
139
140         * remote-fileio.c (sigint_fileio_token, remote_fio_no_longjmp):
141         Delete.
142         (async_remote_fileio_interrupt): Delete.
143         (remote_fileio_ctrl_c_signal_handler): Don't call the async signal
144         handler.  Instead just always set the ctrl_c flag.
145         (remote_fileio_reply): Clear remote_fio_ctrl_c_flag before
146         re-enabling the SIGINT handler.
147         (remote_fileio_func_open, remote_fileio_func_close)
148         (remote_fileio_func_read, remote_fileio_func_write)
149         (remote_fileio_func_lseek, remote_fileio_func_rename)
150         (remote_fileio_func_unlink, remote_fileio_func_stat)
151         (remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
152         (remote_fileio_func_isatty, remote_fileio_func_system)
153         (remote_fileio_request): Remove references to
154         remote_fio_no_longjmp.
155         (initialize_remote_fileio): Don't create an async signal handler.
156
157 2016-04-12  Pedro Alves  <palves@redhat.com>
158
159         * event-top.c (stdin_event_handler): Call QUIT;
160         (prompt_for_continue): Don't run with immediate_quit set.
161
162 2016-04-12  Pedro Alves  <palves@redhat.com>
163
164         * tui/tui-io.c (tui_redisplay_readline): Check
165         gdb_in_secondary_prompt_p instead of immediate_quit.
166         * tui/tui.c: Include top.h.
167         (tui_rl_startup_hook): Check gdb_in_secondary_prompt_p instead of
168         immediate_quit.
169
170 2016-04-12  Pedro Alves  <palves@redhat.com>
171
172         * top.c (read_command_file): Inline command_loop here.
173         (command_loop): Delete.
174
175 2016-04-12  Pedro Alves  <palves@redhat.com>
176
177         * top.c: Include "gdb_select.h".
178         (gdb_readline_no_editing): Wait for input with gdb_select instead
179         of blocking in fgetc.
180         (command_line_input): Don't set immediate_quit.
181
182 2016-04-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
183
184         * value.c (value_next): Make pass-by-reference parameters const-correct.
185         (value_parent): Likewise.
186         (value_enclosing_type): Likewise.
187         (value_lazy): Likewise.
188         (value_stack): Likewise.
189         (value_embedded_offset): Likewise.
190         (value_pointed_to_offset): Likewise.
191         (value_raw_address): Likewise.
192         (deprecated_value_modifiable): Likewise.
193         (value_free_to_mark): Likewise.
194         (value_release_to_mark): Likewise.
195         (internalvar_name): Likewise.
196         (readjust_indirect_value_type): Likewise.
197         (value_initialized): Likewise.
198         * value.h (value_next): Likewise.
199         (value_parent): Likewise.
200         (value_enclosing_type): Likewise.
201         (value_lazy): Likewise.
202         (value_stack): Likewise.
203         (value_embedded_offset): Likewise.
204         (value_pointed_to_offset): Likewise.
205         (value_raw_address): Likewise.
206         (deprecated_value_modifiable): Likewise.
207         (value_free_to_mark): Likewise.
208         (value_release_to_mark): Likewise.
209         (internalvar_name): Likewise.
210         (readjust_indirect_value_type): Likewise.
211         (value_initialized): Likewise.
212
213 2016-04-07  Yao Qi  <yao.qi@linaro.org>
214
215         * record-full.c (record_full_insert_breakpoint): Return
216         early if entry on the address is found in
217         record_full_breakpoints.
218
219 2016-04-07  Yao Qi  <yao.qi@linaro.org>
220
221         * record-full.c (record_full_insert_breakpoint): Set
222         bp_tgt->reqstd_address and bp_tgt->placed_size.
223
224 2016-04-06  Don Breazeal  <donb@codesourcery.com>
225
226         * value.c (value_actual_type): Don't try to get rtti type
227         of the value if it has been optimized out.
228         (value_optimized_out): If a memory access error occurs,
229         just check vaue->optimized_out.
230
231 2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
232
233         Revert the previous commit adding unknown_v_replies_ok.
234
235 2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
236
237         * remote.c (struct remote_state): New field unknown_v_replies_ok.
238         (packet_config_support): Read it.
239         (remote_start_remote): Set it.
240
241 2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
242
243         * remote.c: Revert check-in by a mistake in the previous commit.
244
245 2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
246             Pedro Alves  <palves@redhat.com>
247
248         * exec.c (exec_file_locate_attach): Print warning for unsupported
249         target_pid_to_exec_file.
250         * symfile-mem.c (add_vsyscall_page): Remove the "file" command
251         message part.
252
253 2016-04-04  Simon Marchi  <simon.marchi@ericsson.com>
254
255         * cli/cli-decode.c (help_cmd_list): Fix function doc and remove
256         trailing spaces.
257
258 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
259
260         PR gdb/19820
261         * eval.c (evaluate_subexp_standard): Allow TYPE_CODE_ENUM to be
262         the type of BINOP_REPEAT's second operand.
263
264 2016-03-31  Yichao Yu  <yyc1992@gmail.com>
265
266         PR gdb/19858
267         * jit.c (jit_breakpoint_re_set_internal): Return 0 if we already
268         got the breakpoint at the right address.
269         (jit_inferior_created): New function.
270         (_initialize_jit): Install jit_inferior_created as
271         inferior_created observer.
272
273 2016-03-31  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
274
275         * NEWS: Mention support for tracepoints on powerpc*-linux.
276
277 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
278
279         PR python/19743
280         * python/python.c (execute_gdb_command): Use console uiout
281         when executing gdb command.
282         * utils.c (restore_ui_out_closure): New structure.
283         (do_restore_ui_out): New function.
284         (make_cleanup_restore_ui_out): Likewise.
285         * utils.h (make_cleanup_restore_ui_out): Declare.
286
287 2016-03-31  Pedro Alves  <palves@redhat.com>
288
289         * NEWS: Mention that support for "target m32rsdi", "target mips",
290         "target pmon", "target ddb", "target rockhopper", and "target lsi"
291         was removed.
292         * Makefile.in (ALL_TARGET_OBS): Remove remote-m32r-sdi.o and
293         remote-mips.o.
294         (ALLDEPFILES): Remove remote-m32r-sdi.c and remote-mips.c.
295         * configure.tgt: Remove all references to remote-m32r-sdi.o and
296         remote-mips.o.
297         * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Delete
298         function.
299         * mips-tdep.h (deprecated_mips_set_processor_regs_hack): Delete
300         declaration.
301         * remote-m32r-sdi.c, remote-mips.c: Delete files.
302         * symfile.c (generic_load, generic_load): Remove comments.
303
304 2016-03-30  Yao Qi  <yao.qi@linaro.org>
305
306         * arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against
307         0 rather than NULL.
308
309 2016-03-30  Yao Qi  <yao.qi@linaro.org>
310
311         * arm-tdep.c: (arm_make_epilogue_frame_cache): New function.
312         (arm_epilogue_frame_this_id): New function.
313         (arm_epilogue_frame_prev_register): New function.
314         (arm_epilogue_frame_sniffer): New function.
315         (arm_epilogue_frame_unwind): New.
316         (arm_gdbarch_init): Append unwinder arm_epilogue_frame_unwind.
317
318 2016-03-30  Yao Qi  <yao.qi@linaro.org>
319
320         * arm-tdep.c (arm_stack_frame_destroyed_p): Rename it ...
321         (arm_stack_frame_destroyed_p_1): ... here.  Don't call
322         arm_pc_is_thumb.
323         (arm_stack_frame_destroyed_p): Call
324         thumb_stack_frame_destroyed_p and
325         arm_stack_frame_destroyed_p_1.
326
327 2016-03-30  Doug Evans  <dje@google.com>
328
329         * python/py-utils.c (host_string_to_python_string): New function.
330         * python/python-internal.h (host_string_to_python_string): Declare it.
331         * python/py-*.c (*): Update all calls to
332         PyString_Decode (str, strlen (str), host_charset (), NULL);
333         to use host_string_to_python_string instead.
334
335 2016-03-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
336
337         * remote.c (remote_check_symbols): Allocate own buffer for reply.
338
339 2016-03-29  Max Filippov  <jcmvbkbc@gmail.com>
340
341         * xtensa-tdep.c (xtensa_frame_cache): Change op1 type to LONGEST.
342         Use safe_read_memory_integer instead of read_memory_integer.
343
344 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
345
346         * NEWS: Mention support for tracepoints on s390*-linux.
347
348 2016-03-29  Don Breazeal  <donb@codesourcery.com>
349
350         * gdb/value.c (value_actual_type): Fix formatting issue.
351
352 2016-03-23  Yao Qi  <yao.qi@linaro.org>
353
354         * gdbarch.sh (software_single_step): Remove comments.
355         * gdbarch.h: Regenerated.
356
357 2016-03-21  Yao Qi  <yao.qi@linaro.org>
358
359         * arm-tdep.c (arm_record_media): New.
360         (arm_record_ld_st_reg_offset): Call arm_record_media.
361
362 2016-03-21  Yao Qi  <yao.qi@linaro.org>
363
364         * arm-linux-tdep.c (arm_canonicalize_syscall): Canonicalize
365         more syscalls.
366
367 2016-03-18  Yao Qi  <yao.qi@linaro.org>
368
369         * sparc-tdep.c (sparc_software_single_step): Make it static.
370         * sparc-tdep.h (sparc_software_single_step): Remove declaration.
371
372 2016-03-18  Yao Qi  <yao.qi@linaro.org>
373
374         * spu-tdep.c (spu_software_single_step): Throw error when
375         target_read_memory fails.
376
377 2016-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
378
379         * linux-thread-db.c (check_pid_namespace_match): Extend the message.
380
381 2016-03-17  Pedro Alves  <palves@redhat.com>
382             Don Breazeal  <donb@codesourcery.com>
383
384         PR remote/19496
385         * infcmd.c (notice_new_inferior): Use the 'leave_running' argument
386         instead of checking the 'non_stop' global.
387         * remote.c (remote_add_thread): New parameter 'executing'.  Use it
388         to set the new thread's executing state.
389         (remote_notice_new_inferior): Rename parameter 'running' to
390         'executing'.  Always set the thread state to THREAD_RUNNING in
391         non-stop mode, and to THREAD_STOPPED in all-stop mode.  Pass
392         EXECUTING to remote_add_thread and notice_new_inferior.
393         (remote_update_thread_list): Update to pass executing state, not
394         running state.
395
396 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
397
398         * syscalls/s390-linux.xml: Add NUMA syscalls and new syscalls up
399         to 374.
400         * syscalls/s390x-linux.xml: Likewise.
401
402 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
403
404         * linux-record.c (record_mem_at_reg): New helper function.
405         (record_linux_system_call): Exploit new helper function where
406         applicable.
407
408 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
409
410         * linux-record.c: Fix whitespace issues; tabify, remove trailing
411         spaces.
412
413 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
414
415         * linux-record.c (record_linux_system_call): Add missing return
416         statements to handling of pipe and pipe2 syscalls.
417
418 2016-03-16  Doug Evans  <dje@google.com>
419
420         * xml-tdesc.c (tdesc_start_enum): Fix c++ build.
421
422 2016-03-16  Yao Qi  <yao.qi@linaro.org>
423
424         * arm-linux-tdep.c (arm_linux_init_abi): Fix
425         arm_linux_record_tdep.arg1, arm_linux_record_tdep.arg2 and
426         arm_linux_record_tdep.arg3.  Set arm_linux_record_tdep.arg4,
427         arm_linux_record_tdep.arg5, arm_linux_record_tdep.arg6, and
428         arm_linux_record_tdep.arg7.
429
430 2016-03-15  Keith Seitz  <keiths@redhat.com>
431
432         PR breakpoints/18303
433         * cp-namespace.c (cp_lookup_bare_symbol): Change assertion to
434         look for "::" instead of simply ":".
435         (cp_search_static_and_baseclasses): Return null_block_symbol for
436         malformed input.
437         Remove assertions.
438         * cp-support.c (cp_find_first_component_aux): Do not return
439         a prefix length for ':' unless the next character is also ':'.
440
441 2016-03-15  Doug Evans  <dje@google.com>
442
443         * features/aarch64-core.xml (cpsr_flags): New flags type.
444         (cpsr): Use it.
445         * features/aarch64.c: Regenerate.
446
447 2016-03-15  Doug Evans  <dje@google.com>
448
449         * features/i386/32bit-core.xml (i386_eflags): Remove "end" spec.
450         * features/i386/32bit-sse.xml (i386_eflags): Ditto.
451         * features/i386/64bit-core.xml (i386_eflags): Ditto.
452         * features/i386/64bit-sse.xml (i386_eflags): Ditto.
453         * features/i386/x32-core.xml (i386_eflags): Ditto.
454
455 2016-03-15  Doug Evans  <dje@google.com>
456             Wei-cheng Wang  <cole945@gmail.com>
457
458         Extend flags to support multibit and enum bitfields.
459         * NEWS: Document new features.
460         * c-typeprint.c (c_type_print_varspec_prefix): Handle TYPE_CODE_FLAGS.
461         (c_type_print_varspec_suffix, c_type_print_base): Ditto.
462         * gdbtypes.c (arch_flags_type): Don't assume all fields are one bit.
463         (append_flags_type_field): New function.
464         (append_flags_type_flag): Call it.
465         * gdbtypes.h (append_flags_type_field): Declare.
466         * target-descriptions.c (struct tdesc_type_flag): Delete.
467         (enum tdesc_type_kind) <TDESC_TYPE_BOOL>: New enum value.
468         (enum tdesc_type_kind) <TDESC_TYPE_ENUM>: Ditto.
469         (struct tdesc_type) <u.f>: Delete.
470         (tdesc_predefined_types): Add "bool".
471         (tdesc_predefined_type): New function.
472         (tdesc_gdb_type): Handle TDESC_TYPE_BOOL, TDESC_TYPE_ENUM.
473         Update TDESC_TYPE_FLAGS support.
474         (tdesc_free_type): Handle TDESC_TYPE_ENUM.  Update TDESC_TYPE_FLAGS.
475         (tdesc_create_flags): Update.
476         (tdesc_create_enum): New function.
477         (tdesc_add_field): Initialize start,end to -1.
478         (tdesc_add_typed_bitfield): New function.
479         (tdesc_add_bitfield): Call it.
480         (tdesc_add_flag): Allow TDESC_TYPE_STRUCT.  Update.
481         (tdesc_add_enum_value): New function.
482         (maint_print_c_tdesc_cmd): Fold TDESC_TYPE_FLAGS support into
483         TDESC_TYPE_STRUCT.  Handle TDESC_TYPE_ENUM.
484         * target-descriptions.h (tdesc_create_enum): Declare.
485         (tdesc_add_typed_bitfield, tdesc_add_enum_value): Declare.
486         * valprint.c (generic_val_print_enum_1): New function.
487         (generic_val_print_enum): Call it.
488         (val_print_type_code_flags): Make static.  Handle multibit bitfields
489         and enum bitfields.
490         * valprint.h (val_print_type_code_flags): Delete.
491         * xml-tdesc.c (struct tdesc_parsing_data) <current_type_is_flags>:
492         Delete.  All uses removed.
493         (tdesc_start_enum): New function.
494         (tdesc_start_field): Handle multibit and enum bitfields.
495         (tdesc_start_enum_value): New function.
496         (enum_value_attributes, enum_children, enum_attributes): New static
497         globals.
498         (feature_children): Add "enum".
499         * features/gdb-target.dtd (enum, evalue): New elements.
500
501 2016-03-15  Doug Evans  <dje@google.com>
502
503         * target-descriptions.c (struct tdesc_type) <u.u.size>: Change type
504         from LONGEST to int.
505         (struct tdesc_type) <u.f.size>: Ditto.
506         (tdesc_set_struct_size): Change type of "size" arg from LONGEST
507         to int.  Add assertion size > 0.
508         (tdesc_create_flags): Ditto.
509         * target-descriptions.h (tdesc_set_struct_size): Update.
510         (tdesc_create_flags): Update.
511         * xml-tdesc.c (MAX_FIELD_SIZE, MAX_FIELD_BITSIZE): New macros.
512         (MAX_VECTOR_SIZE): New macro.
513         (tdesc_start_struct): Catch conversion errors from LONGEST to int.
514         (tdesc_start_flags, tdesc_start_field, tdesc_start_vector): Ditto.
515
516 2016-03-15  Doug Evans  <dje@google.com>
517
518         * target-descriptions.c (maint_print_c_tdesc_cmd): Use "type" for
519         TYPE_CODE_FLAGS instead of "field_type", for consistency.
520         * features/i386/amd64-avx-linux.c: Regenerate.
521         * features/i386/amd64-avx.c: Regenerate.
522         * features/i386/amd64-avx512-linux.c: Regenerate.
523         * features/i386/amd64-avx512.c: Regenerate.
524         * features/i386/amd64-linux.c: Regenerate.
525         * features/i386/amd64-mpx-linux.c: Regenerate.
526         * features/i386/amd64-mpx.c: Regenerate.
527         * features/i386/amd64.c: Regenerate.
528         * features/i386/i386-avx-linux.c: Regenerate.
529         * features/i386/i386-avx.c: Regenerate.
530         * features/i386/i386-avx512-linux.c: Regenerate.
531         * features/i386/i386-avx512.c: Regenerate.
532         * features/i386/i386-linux.c: Regenerate.
533         * features/i386/i386-mmx-linux.c: Regenerate.
534         * features/i386/i386-mmx.c: Regenerate.
535         * features/i386/i386-mpx-linux.c: Regenerate.
536         * features/i386/i386-mpx.c: Regenerate.
537         * features/i386/i386.c: Regenerate.
538         * features/i386/x32-avx-linux.c: Regenerate.
539         * features/i386/x32-avx.c: Regenerate.
540         * features/i386/x32-avx512-linux.c: Regenerate.
541         * features/i386/x32-avx512.c: Regenerate.
542         * features/i386/x32-linux.c: Regenerate.
543         * features/i386/x32.c: Regenerate.
544
545 2016-03-15  Pedro Alves  <palves@redhat.com>
546
547         PR gdb/19676
548         * linux-thread-db.c (try_thread_db_load_1): Leave
549         info->td_ta_thr_iter_p NULL iff debugging a live process and we
550         have /proc access.
551         (find_new_threads_once): Assert that we have a non-NULL
552         info->td_ta_thr_iter_p instead of checking whether the target has
553         execution.
554
555 2016-03-15  Pedro Alves  <palves@redhat.com>
556
557         PR gdb/19676
558         * infrun.c (displaced_step_prepare): Also disable displaced
559         stepping on NOT_SUPPORTED_ERROR.
560         * linux-tdep.c (linux_displaced_step_location): If reading auxv
561         fails, throw NOT_SUPPORTED_ERROR instead of generic error.
562
563 2016-03-13  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
564
565         * s390-linux-tdep.c (s390_gen_return_address): New function.
566         (s390_gdbarch_init): Fill gen_return_address hook.
567
568 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
569
570         * symmisc.c (maintenance_info_line_tables): New function.
571         (maintenance_print_one_line_table): New function.
572         (_initialize_symmisc): Register 'maint info line-table' command.
573         * NEWS: Mention new command.
574
575 2016-03-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
576
577         * s390-linux-tdep.c (s390_ax_pseudo_register_collect): New function.
578         (s390_ax_pseudo_register_push_stack): New function.
579         (s390_gdbarch_init): Fill ax_pseudo_register_collect and
580         ax_pseudo_register_push_stack hooks.
581
582 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
583
584         * data-directory/Makefile.in (PYTHON_FILE_LIST): Install
585         gdb/function/as_string.py.
586         * python/lib/gdb/function/as_string.py: New file.
587         * NEWS: Mention the new $_as_string function.
588
589 2016-03-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
590
591         * target.h: Fix doc string of target_can_use_hardware_watchpoint.
592
593 2016-03-09  Pedro Alves  <palves@redhat.com>
594
595         * event-top.c (more_to_come): Delete.
596         (struct readline_input_state): Delete.
597         (readline_input_state): Delete.
598         (get_command_line_buffer): New function.
599         (command_handler): Update comments.  Don't handle NULL commands
600         here.  Do not execute commented lines.
601         (command_line_append_input_line): New function.
602         (handle_line_of_input): New function, partly based on
603         command_line_handler and command_line_input.
604         (command_line_handler): Rewrite.
605         * event-top.h (command_handler): New declaration.
606         (command_loop): Defer command execution to command_handler.
607         (command_line_input): Update comments.  Simplify, using struct
608         buffer and handle_line_of_input.
609         * top.h (struct buffer): New forward declaration.
610         (handle_line_of_input): New declaration.
611
612 2016-03-09  Pedro Alves  <palves@redhat.com>
613
614         * event-top.c (command_line_handler): Use xfree + xstrdup instead
615         of xrealloc + strcpy.
616         * main.c (captured_main): Use xstrdup instead of xmalloc plus
617         manual clear.
618         * top.c (saved_command_line): Rewrite comment.
619         (saved_command_line_size): Delete.
620         (command_line_input): Use xfree + xstrdup instead of xrealloc +
621         strcpy.
622         * top.h (saved_command_line_size): Delete declaration.
623
624 2016-03-09  Pedro Alves  <palves@redhat.com>
625
626         * event-top.c: Include buffer.h.
627         (gdb_readline_no_editing_callback): Use struct buffer instead
628         of xrealloc.
629
630 2016-03-09  Pedro Alves  <palves@redhat.com>
631
632         * common/buffer.h (buffer_grow_char): New function.
633         * top.c: Include buffer.h.
634         (gdb_readline_no_editing): Rename 'prompt_arg' parameter to
635         'prompt'.  Use struct buffer instead of xrealloc.
636
637 2016-03-09  Pedro Alves  <palves@redhat.com>
638
639         * defs.h (gdb_readline): Delete declaration.
640         * top.c (gdb_readline): Rename to ...
641         (gdb_readline_no_editing): ... this, and make static.
642
643 2016-03-09  Pedro Alves  <palves@redhat.com>
644
645         * utils.c (prompt_for_continue): Update comments.
646
647 2016-03-09  Pedro Alves  <palves@redhat.com>
648
649         * event-top.c (async_annotation_suffix): Delete.
650         (top_level_prompt, command_line_handler): Don't use
651         'async_annotation_suffix' and simplify.
652         * event-top.h (async_annotation_suffix): Delete declaration.
653         (init_main): Remove reference to 'async_annotation_suffix'.
654
655 2016-03-09  Pedro Alves  <palves@redhat.com>
656
657         * event-top.c (gdb_readline2): Rename to ...
658         (gdb_readline_no_editing_callback): ... this.
659         (change_line_handler, stdin_event_handler)
660         (gdb_setup_readline): Adjust.
661         * event-top.h (gdb_readline2): Rename to ...
662         (gdb_readline_no_editing_callback): ... this, and move closer to
663         other readline-related declarations.
664         * mi/mi-interp.c (mi_interpreter_resume): Adjust.
665
666 2016-03-09  Pedro Alves  <palves@redhat.com>
667
668         * top.c (window_hook): Delete.
669         (command_loop): Remove references to window_hook.
670
671 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
672
673         * corefile.c (safe_read_memory_unsigned_integer): New function.
674         * gdbcore.h (safe_read_memory_unsigned_integer): New prototype.
675         * rs6000-tdep.c (rs6000_frame_cache): Read backchain as unsigned.
676
677 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
678
679         * rs6000-tdep.c: Add "ax.h" and "ax-gdb.h" includes.
680         (rs6000_gen_return_address): New function.
681         (rs6000_gdbarch_init): Wire in the above.
682
683 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
684
685         * rs6000-tdep.c (rs6000_ax_pseudo_register_collect): New function.
686         (rs6000_gdbarch_init): Wire in the above.
687
688 2016-03-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
689
690         * s390-linux-tdep.c (s390_analyze_prologue): Ignore BRC and BRCL
691         instructions that do nothing or are conditional traps.
692
693 2016-03-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
694
695         * s390-linux-tdep.c (s390_prologue_frame_unwind_cache): Store
696         frame func's PC in info->func before any other failure can occur.
697         (s390_frame_this_id): Use frame_id_build_unavailable_stack if
698         info->func has been filled out.
699
700 2016-03-09  Pedro Alves  <palves@redhat.com>
701
702         * osabi.c (gdb_osabi_names): Avoid spaces in osabi names.
703
704 2016-03-09  Pedro Alves  <palves@redhat.com>
705
706         * frv-tdep.c (frv_gdbarch_init): Handle bfd_mach_fr300.
707
708 2016-03-09  Pedro Alves  <palves@redhat.com>
709
710         * cris-tdep.c (cris_gdbarch_init): Return 0 if the info's byte
711         order is BFD_ENDIAN_BIG or if the cris version is unsupported.
712
713 2016-03-09  Pedro Alves  <palves@redhat.com>
714
715         * doublest.c: Extend comments.
716         (floatformat_to_doublest, floatformat_from_doublest): Copy the
717         floatformat's total size, not the host type's size.
718
719 2016-03-09  Pedro Alves  <palves@redhat.com>
720
721         * doublest.c (floatformat_totalsize_bytes): New function.
722         (floatformat_from_type): Assert that the type's length is at least
723         as long as the floatformat's totalsize.
724         * doublest.h (floatformat_totalsize_bytes): New declaration.
725         * gdbtypes.c (arch_float_type): Assert that the type's length is
726         at least as long as the floatformat's totalsize.
727
728 2016-03-09  Pedro Alves  <palves@redhat.com>
729
730         * hppa-linux-tdep.c (hppa_linux_init_abi): Set the long double
731         format to floatformats_ieee_double.
732
733 2016-03-07  Pedro Alves  <palves@redhat.com>
734
735         * mips-tdep.c (mips_gdbarch_init): Check whether info.abfd is NULL
736         before calling bfd_get_flavour.
737
738 2016-03-05  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
739
740         * avr-tdep.c (AVR_LAST_ARG_REGNUM): Define.
741         (avr_push_dummy_call): Correct last needed argument register.
742         Write MSB of argument into register and subsequent bytes into
743         other registers in decreasing order.
744
745 2016-03-04  Yao Qi  <yao.qi@linaro.org>
746
747         * arm-tdep.c (arm_record_vdata_transfer_insn): Simplify the
748         condition check.  Record the right D register number.
749
750 2016-03-04  Yao Qi  <yao.qi@linaro.org>
751
752         * arm-tdep.c (arm_record_extension_space): Remove code
753         printing "Process record does not support".
754         (arm_record_data_proc_misc_ld_str): Likewise.
755         (decode_insn): Call arm_record_extension_space if condition
756         is 0xf.  Call arm_record_unsupported_insn if ret isn't
757         ARM_RECORD_SUCCESS.  Use 'ret' instead of 'insn_id' to hold
758         the value of thumb2_record_decode_insn_handler.
759
760 2016-03-04  Simon Marchi  <simon.marchi@ericsson.com>
761
762         * features/feature_to_c.sh: Print the help when passing no
763         argument.
764
765 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
766
767         * MAINTAINERS (Write After Approval): Add Bernhard Heckel.
768
769 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
770
771         * dwarf2read.c (new_symbol_full): Fix detection of gfortran compilers.
772
773 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
774
775         * s390-linux-tdep.c (s390_backchain_frame_unwind_cache): Avoid
776         exception when attempting to access the inferior's backchain.
777
778 2016-02-29  Yao Qi  <yao.qi@linaro.org>
779
780         * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Support
781         eventfd2, eventfd2, dup3, inotify_init1, fallocate and pipe2.
782         Return gdb_sys_epoll_create1 instead of gdb_sys_epoll_create
783         for aarch64_sys_epoll_create1.
784
785 2016-02-29  Yao Qi  <yao.qi@linaro.org>
786
787         * linux-record.h (enum gdb_syscall) <gdb_sys_fallocate>: New.
788         <gdb_sys_eventfd2, gdb_sys_epoll_create1, gdb_sys_dup3>: New.
789         <gdb_sys_pipe2, gdb_sys_inotify_init1>: New.
790         * linux-record.c (record_linux_system_call): Handle them.
791
792 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
793
794         * d-namespace.c (d_lookup_symbol_imports): Avoid recursive lookups from
795         cyclic imports.
796
797 2016-02-26  Keith Seitz  <keiths@redhat.com>
798
799         * rs6000-tdep.c (rs6000_frame_cache): Explicitly cast return result
800         to avoid invalid conversion from void *.
801
802 2016-02-26  Yao Qi  <yao.qi@linaro.org>
803
804         * arm-tdep.c (arm_record_exreg_ld_st_insn): Set 'single_reg'
805         per bit 8.  Check bit 20 instead of bit 4 for VMOV
806         instruction.  Record D registers for instructions changing
807         S registers.  Change of the order of length and address
808         in record_buf_mem array.
809
810 2016-02-26  Yao Qi  <yao.qi@linaro.org>
811
812         * arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register
813         number of Rd.
814
815 2016-02-25  Doug Evans  <dje@google.com>
816
817         * remote-m32r-sdi.c (recv_char_data): Initialize val to avoid
818         compiler warning.
819         (recv_long_data): Ditto.
820
821 2016-02-25  Simon Marchi  <simon.marchi@ericsson.com>
822
823         * i386-linux-tdep.c (i386_linux_handle_segmentation_fault):
824         Initialize variables.
825
826 2016-02-25  Antoine Tremblay  <antoine.tremblay@ericsson.com>
827
828         * ax-general.c (ax_reg): Call gdbarch_remote_register_number.
829         (ax_reg_mask): Likewise.
830
831 2016-02-24  Pedro Alves  <palves@redhat.com>
832
833         * linux-nat.c (save_sigtrap) Delete.
834         (stop_wait_callback): Call save_stop_reason instead of
835         save_sigtrap.
836         (check_stopped_by_breakpoint): Rename to ...
837         (save_stop_reason): ... this.  Bits of save_sigtrap folded here.
838         Use GDB_ARCH_IS_TRAP_HWBKPT and handle ambiguous
839         GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT.  Factor out
840         common code between the USE_SIGTRAP_SIGINFO and
841         !USE_SIGTRAP_SIGINFO blocks.
842         (linux_nat_filter_event): Call save_stop_reason instead of
843         save_sigtrap.
844         * nat/linux-ptrace.h: Check for both SI_KERNEL and TRAP_BRKPT
845         si_code for MIPS.
846         * nat/linux-ptrace.h: Fix "TRAP_HWBPT" typo in x86 table.  Add
847         comments on MIPS behavior.
848         (GDB_ARCH_IS_TRAP_HWBKPT): Define for all archs.
849
850 2016-02-24  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
851
852         * rs6000-tdep.c (rs6000_frame_cache): Initialize frame and pc to 0
853         to avoid spurious warnings.
854
855 2016-02-24  Gary Benson  <gbenson@redhat.com>
856
857         * exec.c (exec_file_locate_attach): Do not attempt to
858         locate main executable locally if not found in sysroot.
859
860 2016-02-24  Joel Brobecker  <brobecker@adacore.com>
861
862         GDB 7.11 released.
863
864 2016-02-24  Wei-cheng Wang  <cole945@gmail.com>
865
866         * rs6000-tdep.c (rs6000_frame_cache, rs6000_frame_this_id): Handle
867         unavailable PC/SP to build unavailable frame.
868
869 2016-02-23  Doug Evans  <dje@google.com>
870
871         Extend "skip" command to support -file, -gfile, -function, -rfunction.
872         * NEWS: Document new features.
873         * skip.c: #include "fnmatch.h", "gdb_regex.h".
874         (skiplist_entry) <file>: Renamed from filename.
875         <function>: Renamed from function_name.
876         <file_is_glob, function_is_regexp>: New members.
877         <compiled_function_regexp, compiled_function_regexp_is_valid>:
878         New members.
879         (make_skip_entry): New function.
880         (free_skiplist_entry, free_skiplist_entry_cleanup): New functions.
881         (make_free_skiplist_entry_cleanup): New function.
882         (skip_file_command): Update.
883         (skip_function, skip_function_command): Update.
884         (compile_skip_regexp): New functions.
885         (skip_command): Add support for new options.
886         (skip_info): Update.
887         (skip_file_p, skip_gfile_p): New functions.
888         (skip_function_p, skip_rfunction_p): New functions.
889         (function_name_is_marked_for_skip): Update and simplify.
890         (_initialize_step_skip): Update.
891         * symtab.c: #include "fnmatch.h".
892         (compare_glob_filenames_for_search): New function.
893         * symtab.h (compare_glob_filenames_for_search): Declare.
894         * utils.c (count_path_elements): New function.
895         (strip_leading_path_elements): New function.
896         * utils.h (count_path_elements): Declare.
897         (strip_leading_path_elements): Declare.
898
899 2016-02-23  Simon Marchi  <simon.marchi@ericsson.com>
900
901         * arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter.
902         (thumb_process_displaced_insn): Likewise.
903         (arm_process_displaced_insn): Adjust calls.
904
905 2016-02-23  Yao Qi  <yao.qi@linaro.org>
906
907         * aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>:
908         Remove.
909         <aarch64_sys_mkdir, aarch64_sys_unlink, aarch64_sys_symlink>: Remove.
910         <aarch64_sys_link, aarch64_sys_rename, aarch64_sys_faccess>: Remove.
911         <aarch64_sys_mknodat, aarch64_sys_mkdirat>: New.
912         <aarch64_sys_unlinkat, aarch64_sys_symlinkat>: New.
913         <aarch64_sys_linkat, aarch64_sys_renameat>: New.
914         <aarch64_sys_faccessat>: New.
915         <aarch64_sys_open, aarch64_sys_readlink, aarch64_sys_fstatat>: Remove.
916         <aarch64_sys_openat, aarch64_sys_readlinkat>: New.
917         <aarch64_sys_newfstatat>: New.
918         (UNSUPPORTED_SYSCALL_MAP): New macro.
919         (aarch64_canonicalize_syscall): Add missing syscalls.
920
921 2016-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
922
923         * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print.
924
925 2016-02-22  Yao Qi  <yao.qi@linaro.org>
926
927         * arm-tdep.c: Fix code format issues.
928
929 2016-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
930
931         * d-namespace.c (d_lookup_symbol_imports): Remove argument
932         'search_parents'.  All callers updated.
933
934 2016-02-18  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
935
936         * s390-linux-tdep.c (s390_guess_tracepoint_registers): New function.
937         (s390_gdbarch_init): Fill guess_tracepoint_registers hook.
938
939 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
940
941         * NEWS: Add entry for bound violation.
942         * amd64-linux-tdep.c (amd64_linux_init_abi_common):
943         Add handler for segmentation fault.
944         * gdbarch.sh (handle_segmentation_fault): New.
945         * gdbarch.c: Regenerate.
946         * gdbarch.h: Regenerate.
947         * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): New.
948         (SIG_CODE_BONDARY_FAULT): New define.
949         (i386_linux_init_abi): Use i386_mpx_bound_violation_handler.
950         * i386-linux-tdep.h (i386_linux_handle_segmentation_fault) New.
951         * i386-tdep.c (i386_mpx_enabled): Add as external.
952         * i386-tdep.c (i386_mpx_enabled): Add as external.
953         * infrun.c (handle_segmentation_fault): New function.
954         (print_signal_received_reason): Use handle_segmentation_fault.
955
956 2016-02-18  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
957
958         * arch-utils.c (default_guess_tracepoint_registers): New function.
959         * arch-utils.h (default_guess_tracepoint_registers): New prototype.
960         * gdbarch.c: Regenerate.
961         * gdbarch.h: Regenerate.
962         * gdbarch.sh: Add guess_tracepoint_registers hook.
963         * tracefile.c (tracefile_fetch_registers): Use the new gdbarch hook.
964
965 2016-02-17  Gary Benson  <gbenson@redhat.com>
966
967         * exec.c (exec_file_locate_attach): Add missing cleanup.
968
969 2016-02-16  Don Breazeal  <donb@codesourcery.com>
970
971         PR remote/19496
972         * remote.c (remove_new_fork_children): Check for pending
973         fork status in thread_info.suspend.
974
975 2016-02-16  Yao Qi  <yao.qi@linaro.org>
976
977         * arm-linux-tdep.c (arm_linux_software_single_step): Assign
978         'old_chain' later.
979
980 2016-02-16  Yao Qi  <yao.qi@linaro.org>
981
982         * arch/arm-get-next-pcs.h (struct arm_get_next_pcs_ops)
983         <syscall_next_pc>: Remove argument PC.  Callers updated.
984         * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
985         Remove argument PC.  Get pc from regcache_read_pc.
986         * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Remove
987         argument PC.
988
989 2016-02-15  Yao Qi  <yao.qi@linaro.org>
990
991         * aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x".
992
993 2016-02-12  Yao Qi  <yao.qi@linaro.org>
994
995         * arch/arm-linux.c (arm_linux_get_next_pcs_fixup): Calculate
996         nextpc according to instruction.
997
998 2016-02-12  Yao Qi  <yao.qi@linaro.org>
999
1000         * arch/arm-get-next-pcs.c (arm_get_next_pcs): Call
1001         self->ops->fixup if it isn't NULL.
1002         * arch/arm-get-next-pcs.h: Include gdb_vecs.h.
1003         (struct arm_get_next_pcs_ops) <fixup>: New field.
1004         * arch/arm-linux.c: Include common-regcache.h and
1005         arch/arm-get-next-pcs.h.
1006         (arm_linux_get_next_pcs_fixup): New function.
1007         * arch/arm-linux.h (arm_linux_get_next_pcs_fixup): Declare.
1008         * arm-linux-tdep.c (arm_linux_get_next_pcs_ops): Initialize
1009         it with arm_linux_get_next_pcs_fixup.
1010         (arm_linux_software_single_step): Move code to
1011         arm_linux_get_next_pcs_fixup.
1012         * arm-tdep.c (arm_get_next_pcs_ops): Initialize it.
1013
1014 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1015
1016         * xml-tdesc.c (target_fetch_description_xml) [!HAVE_LIBEXPAT]: Warn
1017         and return NULL.
1018
1019 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
1020
1021         * frame.h (skip_tailcall_frames): Update comment.
1022         * frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL
1023         if only artificial frames are found.  Update comment.
1024         (frame_unwind_caller_id): Handle NULL return.
1025         (frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that
1026         skip_artificial_frames does not return NULL.
1027         (frame_pop): Add an error if only tailcall frames are found.
1028         * infcmd.c (finish_command): Move skip_tailcall_frames call into
1029         forward-execution case.  Add an error if only tailcall frames are
1030         found.
1031
1032 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
1033
1034         * stack.c (frame_info): Check frame_unwind_caller_id.
1035
1036 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
1037
1038         * frame.h (skip_tailcall_frames): New.
1039         * frame.c (skip_tailcall_frames): New.
1040         (frame_pop): Call skip_tailcall_frames.
1041         * infcmd.c (finish_command): Call skip_tailcall_frames.
1042
1043 2016-02-11  Pedro Alves  <palves@redhat.com>
1044
1045         * Makefile.in (check-parallel): New rule.
1046
1047 2016-02-11  Simon Marchi  <simon.marchi@ericsson.com>
1048
1049         * arm-tdep.c (arm_skip_prologue): Remove unused variables.
1050         (arm_analyze_prologue): Likewise.
1051         (arm_scan_prologue): Likewise.
1052         (arm_m_exception_prev_register): Likewise.
1053         (arm_copy_block_xfer): Likewise.
1054         (thumb2_copy_block_xfer): Likewise.
1055         (arm_decode_miscellaneous): Likewise.
1056         (arm_decode_ld_st_word_ubyte): Likewise.
1057         (arm_decode_svc_copro): Likewise.
1058         (thumb2_decode_svc_copro): Likewise.
1059         (thumb_copy_16bit_ldr_literal): Likewise.
1060         (thumb_copy_pop_pc_16bit): Likewise.
1061         (decode_thumb_32bit_ld_mem_hints): Likewise.
1062         (arm_show_force_mode): Likewise.
1063         (_initialize_arm_tdep): Likewise.
1064         (arm_record_strx): Likewise.
1065         (arm_record_extension_space): Likewise.
1066         (arm_record_data_proc_misc_ld_str): Likewise.
1067         (arm_record_exreg_ld_st_insn): Likewise.
1068         (arm_record_vfp_data_proc_insn): Likewise.
1069         (arm_record_coproc_data_proc): Likewise.
1070         (thumb_record_misc): Likewise.
1071         (thumb_record_ldm_stm_swi): Likewise.
1072         (thumb2_record_ld_st_dual_ex_tbb): Likewise.
1073         (thumb2_record_ld_mem_hints): Likewise.
1074         (thumb2_record_lmul_lmla_div): Likewise.
1075         (thumb2_record_asimd_struct_ld_st): Likewise.
1076         (arm_process_record): Likewise.
1077
1078 2016-02-11  Simon Marchi  <simon.marchi@ericsson.com>
1079
1080         * arm-tdep.c (arm_displaced_step_copy_insn): Remove.
1081         (ARM displaced stepping support): Remove reference to
1082         arm_displaced_step_copy_insn in comment.
1083         * arm-tdep.h (arm_displaced_step_copy_insn): Remove.
1084         * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove
1085         reference to arm_displaced_step_copy_insn in comment.
1086
1087 2016-02-11  Simon Marchi  <simon.marchi@ericsson.com>
1088
1089         * arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn.
1090         (thumb_copy_b): Likewise.
1091         (arm_decode_b_bl_ldmstm): Likewise.
1092         (thumb_copy_16bit_ldr_literal): Likewise.
1093         (thumb_copy_pop_pc_16bit): Likewise.
1094
1095 2016-02-11  Antoine Tremblay  <antoine.tremblay@ericsson.com>
1096
1097         * tracepoint.c (encode_actions_1): Use target_gdbarch () rather
1098         than loc->gdbarch.
1099
1100 2016-02-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1101
1102         * tracefile-tfile.c (trace_tdesc): New static variable.
1103         (tfile_open): Clear trace_tdesc, call target_find_description.
1104         (tfile_interp_line): Recognize tdesc lines.
1105         (tfile_close): Clear trace_tdesc.
1106         (tfile_xfer_partial_features): New function.
1107         (tfile_xfer_partial): Call tfile_xfer_partial_features.
1108         (tfile_append_tdesc_line): New function.
1109
1110 2016-02-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1111
1112         * ctf.c (ctf_write_tdesc): New function.
1113         (ctf_write_ops): Wire in ctf_write_tdesc.
1114         * tracefile-tfile.c (tfile_write_tdesc): New function.
1115         (tfile_write_ops): Wire in tfile_write_tdesc.
1116         * tracefile.c (trace_save): Call write_tdesc method.
1117         * tracefile.h (struct trace_file_write_ops): Add write_tdesc method.
1118         * xml-tdesc.c (target_fetch_description_xml): New function.
1119         * xml-tdesc.h: Add target_fetch_description_xml prototype.
1120
1121 2016-02-10  Simon Marchi  <simon.marchi@ericsson.com>
1122
1123         * arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo.
1124         (arm_decode_dp_misc): Likewise.
1125
1126 2016-02-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1127
1128         * amd64-tdep.c (amd64_ax_pseudo_register_collect): New function.
1129         (amd64_init_abi): Fill ax_pseudo_register_collect hook.
1130         * gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove
1131         misleading comment.
1132         (i386_pseudo_register_write): Ditto.
1133         (i386_ax_pseudo_register_collect): New function.
1134         (i386_gdbarch_init): Fill ax_pseudo_register_collect hook.
1135         * i386-tdep.h: Add i386_ax_pseudo_register_collect prototype.
1136
1137 2016-02-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1138
1139         * tracefile-tfile.c (tfile_fetch_registers): Use g packet order
1140         instead of gdb order.
1141
1142 2016-02-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1143
1144         * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds
1145         check.
1146
1147 2016-02-10  Joel Brobecker  <brobecker@adacore.com>
1148
1149         * NEWS: Create a new section for the next release branch.
1150         Rename the section of the current branch, now that it has
1151         been cut.
1152
1153 2016-02-10  Joel Brobecker  <brobecker@adacore.com>
1154
1155         GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a):
1156         * version.in: Bump version to 7.11.50.DATE-git.
1157
1158 2016-02-09  Keith Seitz  <keiths@redhat.com>
1159
1160         PR breakpoints/19546
1161         * breakpoint.c (breakpoint_event_location_empty_p): New function.
1162         (update_breakpoints_after_exec, bkpt_re_set): Use this new function
1163         instead of event_location_empty_p.
1164
1165 2016-02-09  Keith Seitz  <keiths@redhat.com>
1166
1167         * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use
1168         string_to_event_location_basic instead of string_to_event_location.
1169
1170 2016-02-09  Keith Seitz  <keiths@redhat.com>
1171
1172         * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip
1173         leading whitespace and use string_to_event_location_basic instead
1174         of new_linespec_location.
1175
1176 2016-02-09  Keith Seitz  <keiths@redhat.com>
1177
1178         PR python/19506
1179         * python/py-breakpoint.c (bppy_init): Use
1180         string_to_event_location_basic instead of new_linespec_location.
1181
1182 2016-02-09  Keith Seitz  <keiths@redhat.com>
1183
1184         * location.c (string_to_explicit_location): Note that "-p" is
1185         reserved for probe locations and return NULL for any input
1186         that starts with that.
1187         (string_to_event_location): Move "legacy" linespec code to ...
1188         (string_to_event_location_basic): ... here.
1189         * location.h (string_to_event_location): Update comment.
1190         (string_to_event_location_basic): New function.
1191
1192 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
1193
1194         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1195         to AC_OUTPUT.  Remove "exit 0" at the end.
1196         * configure: Regenerate.
1197
1198 2016-02-09  Pedro Alves  <palves@redhat.com>
1199
1200         PR breakpoints/19548
1201         * breakpoint.c (create_overlay_event_breakpoint): Don't update
1202         global location list here.
1203         (create_longjmp_master_breakpoint)
1204         (create_std_terminate_master_breakpoint)
1205         (create_exception_master_breakpoint, create_jit_event_breakpoint)
1206         (update_breakpoint_locations):
1207         (breakpoint_re_set): Update global location list after all
1208         breakpoints are re-set.
1209
1210 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
1211
1212         * remote.c (remote_register_number_and_offset): Remove unused
1213         variable(s).
1214         (remote_thread_always_alive): Likewise.
1215         (remote_update_thread_list): Likewise.
1216         (process_initial_stop_replies): Likewise.
1217         (remote_start_remote): Likewise.
1218         (remote_check_symbols): Likewise.
1219         (discard_pending_stop_replies): Likewise.
1220         (process_stop_reply): Likewise.
1221         (putpkt_binary): Likewise.
1222         (getpkt): Likewise.
1223         (remote_add_target_side_condition): Likewise.
1224         (remote_insert_breakpoint): Likewise.
1225         (remote_supports_stopped_by_sw_breakpoint): Likewise.
1226         (remote_supports_stopped_by_hw_breakpoint): Likewise.
1227         (remote_xfer_partial): Likewise.
1228         (remote_read_btrace): Likewise.
1229         (remote_async_serial_handler): Likewise.
1230         (remote_thread_events): Likewise.
1231         (_initialize_remote): Likewise.
1232
1233 2016-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
1234
1235         * varobj.h (varobj_delete): Remove dellist parameter, update and
1236         move documentation here.
1237         * varobj.c (struct cpstack, cppush, cppop): Remove.
1238         (delete_variable): Remove resultp (first) parameter.
1239         (delete_variable_1): Likewise.
1240         (varobj_delete): Remove dellist parameter and unused code.
1241         (update_dynamic_varobj_children): Adjust varobj_delete call.
1242         (update_type_if_necessary): Likewise.
1243         (varobj_set_visualizer): Likewise.
1244         (varobj_update): Likewise.
1245         (value_of_root): Likewise.
1246         (varobj_invalidate_iter): Likewise.
1247         * mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise.
1248
1249 2016-02-04  Yao Qi  <yao.qi@linaro.org>
1250
1251         * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to
1252         0 before handling 'F' and set it back afterwards.
1253
1254 2016-02-02  Simon Marchi  <simon.marchi@ericsson.com>
1255
1256         * ui-out.c (MAX_UI_OUT_LEVELS): Remove.
1257
1258 2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1259
1260         * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval):
1261         New types.
1262         (compat_siginfo): New bound fields added.
1263         (compat_x32_siginfo): New field added.
1264         (cpt_si_addr_lsb): New define.
1265         (compat_siginfo_from_siginfo): Use nat_siginfo.
1266         (siginfo_from_compat_siginfo): Use nat_siginfo.
1267         (compat_x32_siginfo_from_siginfo): Likewise.
1268         (siginfo_from_compat_x32_siginfo): Likewise.
1269
1270 2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1271
1272         * linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd
1273         structure to the siginfo if extra_fields contains
1274         LINUX_SIGINFO_FIELD_ADDR_BND.
1275
1276 2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1277
1278         * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern.
1279         * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern.
1280         * i386-linux-tdep.h (x86_linux_get_siginfo_type): New
1281         function.
1282         * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add
1283         x86_linux_get_siginfo_type for the amd64 abi.
1284         * i386-linux-tdep.c (x86_linux_get_siginfo_type): New
1285         function.
1286         (i386_linux_init_abi): Add new function at the i386 ABI
1287         initialization.
1288
1289 2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1290
1291         * linux-tdep.h (linux_siginfo_extra_field_values): New enum values.
1292         (linux_siginfo_extra_fields): New enum type.
1293         * linux-tdep.c (linux_get_siginfo_type_with_fields): New function.
1294         (linux_get_siginfo_type): Use new function.
1295
1296 2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
1297
1298         * nat/amd64-linux-siginfo.c: New file.
1299         * nat/amd64-linux-siginfo.h: New file.
1300         * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h.
1301         (amd64-linux-siginfo.o): New rule.
1302         * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o.
1303         * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include.
1304         (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
1305         (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo)
1306         (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid)
1307         (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status)
1308         (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band)
1309         (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c.
1310
1311 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
1312
1313         * value.c (max_value_size): New variable.
1314         (MIN_VALUE_FOR_MAX_VALUE_SIZE): New define.
1315         (set_max_value_size): New function.
1316         (show_max_value_size): New function.
1317         (check_type_length_before_alloc): New function.
1318         (allocate_value_contents): Call check_type_length_before_alloc.
1319         (set_value_enclosing_type): Likewise.
1320         (_initialize_values): Add set/show handler for max-value-size.
1321         * NEWS: Mention new set/show command.
1322
1323 2016-01-31  Simon Marchi  <simon.marchi@polymtl.ca>
1324
1325         * varobj.h (struct varobj): Fix typos in comments.
1326         (struct lang_varobj_ops): Likewise.
1327         * varobj.c (VAROBJ_TABLE_SIZE): Likewise.
1328         (varobj_create): Move misplaced comment.
1329
1330 2016-01-29  Simon Marchi  <simon.marchi@ericsson.com>
1331
1332         * aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces
1333         to for include additional lines.
1334         * xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces.
1335
1336 2016-01-28  Simon Marchi  <simon.marchi@ericsson.com>
1337
1338         * gnulib/import/Makefile.am: Regenerate.
1339         * gnulib/import/Makefile.in: Regenerate.
1340         * gnulib/import/m4/gnulib-cache.m4: Regenerate.
1341         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr.
1342
1343 2016-01-28  Simon Marchi  <simon.marchi@ericsson.com>
1344
1345         * remote.c (skip_to_semicolon): Remove.
1346         (remote_parse_stop_reply): Use strchrnul instead of
1347         skip_to_semicolon.
1348         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
1349         strchrnul.
1350         * gnulib/aclocal.m4: Regenerate.
1351         * gnulib/config.in: Regenerate.
1352         * gnulib/configure: Regenerate.
1353         * gnulib/import/Makefile.am: Regenerate.
1354         * gnulib/import/Makefile.in: Regenerate.
1355         * gnulib/import/m4/gnulib-cache.m4: Regenerate.
1356         * gnulib/import/m4/gnulib-comp.m4: Regenerate.
1357         * gnulib/import/m4/rawmemchr.m4: New file.
1358         * gnulib/import/m4/strchrnul.m4: New file.
1359         * gnulib/import/rawmemchr.c: New file.
1360         * gnulib/import/rawmemchr.valgrind: New file.
1361         * gnulib/import/strchrnul.c: New file.
1362         * gnulib/import/strchrnul.valgrind: New file.
1363
1364 2016-01-28  Yao Qi  <yao.qi@linaro.org>
1365
1366         * breakpoint.c (build_target_command_list): Don't call continue
1367         if aexpr is NULL.
1368         (build_target_condition_list): Likewise.
1369
1370 2016-01-27  Kevin Buettner  <kevinb@redhat.com>
1371
1372         * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8
1373         bytes as aggregates.
1374
1375 2016-01-27  Joel Brobecker  <brobecker@adacore.com>
1376
1377         * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as
1378         Linespec Maintainers.
1379
1380 2016-01-26  Simon Marchi  <simon.marchi@ericsson.com>
1381
1382         * common/common-utils.c (skip_spaces): Fix comment.
1383         (skip_to_space_const): Likewise.
1384
1385 2016-01-25  Yao Qi  <yao.qi@linaro.org>
1386
1387         * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw):
1388         Remove argument pc.  Get pc by regcache_read_pc.  Callers updated.
1389         (arm_deal_with_atomic_sequence_raw): Likewise.
1390         (thumb_get_next_pcs_raw): Likewise.
1391         (arm_get_next_pcs_raw): Likewise.
1392         (arm_get_next_pcs): Remove argument pc.  Callers updated.
1393         * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration.
1394
1395 2016-01-25  Mark Wielaard  <mjw@redhat.com>
1396
1397         * ada-lang.c (ada_evaluate_subexp): Add proper else block.
1398         * c-typeprint.c (c_type_print_base): Fix misleading indentation of
1399         if statement.
1400         * inflow.c (child_terminal_ours_1): Fix misleading indentation of
1401         statement block by introducing an else.
1402         * linux-record.c (record_linux_sockaddr): Fix misleading indentation
1403         of return statements.
1404         (record_linux_msghdr): Likewise.
1405
1406 2016-01-25  Pedro Alves  <palves@redhat.com>
1407
1408         PR threads/19461
1409         * infrun.c (handle_inferior_event_1) <fork/vfork>: Update
1410         parent/child running states.
1411
1412 2016-01-25  Pedro Alves  <palves@redhat.com>
1413
1414         PR gdb/19494
1415         * linux-nat.c (kill_one_lwp): New, factored out from ...
1416         (kill_callback): ... this.
1417         (kill_wait_callback): New, factored out from ...
1418         (kill_wait_one_lwp): ... this.
1419         (kill_unfollowed_fork_children): New function.
1420         (linux_nat_kill): Use it.
1421
1422 2016-01-22  John Baldwin  <jhb@FreeBSD.org>
1423
1424         * fbsd-nat.c (fbsd_pid_to_str): Adjust string format.
1425
1426 2016-01-22  Yao Qi  <yao.qi@linaro.org>
1427
1428         * arm-linux-nat.c (fetch_fpregs): Call perror_with_name
1429         instead of warning.
1430         (store_fpregs, fetch_regs, store_regs): Likewise.
1431         (fetch_wmmx_regs, store_wmmx_regs): Likewise.
1432         (fetch_vfp_regs, store_vfp_regs): Likewise.
1433
1434 2016-01-21  Doug Evans  <dje@google.com>
1435
1436         * breakpoint.c (init_breakpoint_sal): Add comment.
1437
1438 2016-01-21  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1439
1440         * ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection.
1441
1442 2016-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1443
1444         * disasm.c (maybe_add_dis_line_entry): Rename to...
1445         (add_dis_line_entry): ...this, and update header comment.
1446         (do_mixed_source_and_assembly): Now use add_dis_line_entry.
1447
1448 2016-01-21  Pedro Alves  <palves@redhat.com>
1449
1450         * Makefile.in (COMPILER_CFLAGS): New.
1451         (CXXFLAGS): Get it from configure.
1452         (INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS
1453         instead of CFLAGS.
1454         * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST
1455         COMPILER_CFLAGS.
1456         * configure: Regenerate.
1457
1458 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
1459
1460         * location.h (new_address_location): Add new parameters
1461         "addr_string" and "addr_string_len".
1462         (get_address_string_location): Add declaration.
1463         * location.c (new_address_location): Add new parameters
1464         "addr_string" and "addr_string_len".  If not NULL, store
1465         a copy of the addr_string in the new location as well.
1466         (get_address_string_location): New function.
1467         (string_to_event_location): Update call to new_address_location.
1468         * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>:
1469         Save the event location in the parser's state before
1470         passing it to convert_address_location_to_sals.
1471         * breakpoint.c (create_thread_event_breakpoint): Update call
1472         to new_address_location.
1473         (init_breakpoint_sal): Get the event location's string, if any,
1474         and use it to update call to new_address_location.
1475         * python/py-finishbreakpoint.c (bpfinishpy_init):
1476         Update call to new_address_location.
1477         * spu-tdep.c (spu_catch_start): Likewise.
1478
1479         * config/djgpp/fnchange.lst: Add entries for
1480         gdb/testsuite/gdb.base/break-fun-addr1.c and
1481         gdb/testsuite/gdb.base/break-fun-addr2.c.
1482
1483 2016-01-21  Yao Qi  <yao.qi@linaro.org>
1484
1485         * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter
1486         is_thumb and set it according to CPSR saved on the stack.
1487         (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to
1488         arm_linux_sigreturn_next_pc.
1489
1490 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
1491
1492         * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__):
1493         Fix enumerators sort key function.
1494
1495 2016-01-20  Joel Brobecker  <brobecker@adacore.com>
1496
1497         * printcmd.c (print_scalar_formatted): Move binary operator from
1498         end of line to beginning of next line.  Adjust formatting
1499         accordingly.
1500
1501 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
1502
1503         * fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of
1504         "len" with sysctl.
1505
1506 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
1507
1508         * fbsd-tdep.c (find_stop_signal): Remove.
1509         (struct fbsd_collect_regset_section_cb) <lwp>: New field.
1510         <stop_signal>: New field.
1511         <abort_iteration>: New field.
1512         (fbsd_collect_regset_section_cb): Use new fields.
1513         (fbsd_collect_thread_registers): New function.
1514         (struct fbsd_corefile_thread_data): New structure.
1515         (fbsd_corefile_thread): New function.
1516         (fbsd_make_corefile_notes): Use new function to dump notes for each
1517         non-exited thread in a process.
1518
1519 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
1520
1521         * configure.ac: Check for support for LWP names on FreeBSD.
1522         * fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp.
1523         [TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]
1524         (fbsd_fetch_kinfo_proc): Move function earlier.
1525         [PT_LWPINFO] (fbsd_thread_alive): New function.
1526         [PT_LWPINFO] (fbsd_pid_to_str): New function.
1527         [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function.
1528         [PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function.
1529         [PT_LWPINFO] (fbsd_add_threads): New function.
1530         [PT_LWPINFO] (fbsd_update_thread_list): New function.
1531         [PT_LWPINFO] New variable super_resume.
1532         [PT_LWPINFO] (resume_one_thread_cb): New function.
1533         [PT_LWPINFO] (resume_all_threads_cb): New function.
1534         [PT_LWPINFO] (fbsd_resume): New function.
1535         (fbsd_remember_child): Save full ptid instead of plain pid.
1536         (fbsd_is_child_pending): Return ptid of saved child process.
1537         (fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on
1538         first stop.
1539         [PT_LWP_EVENTS] Handle LWP events.
1540         [TDP_RFPPWAIT] Include LWP in child ptid.
1541         (fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events.
1542         (fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events.
1543         Add threads for existing processes.
1544         (fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to
1545         "fbsd_thread_alive".
1546         Set "to_pid_to_str" to "fbsd_pid_to_str".
1547         [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to
1548         "fbsd_thread_name".
1549         [PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list".
1550         Set "to_has_thread_control" to "tc_schedlock".
1551         Set "to_resume" to "fbsd_resume".
1552         (_initialize_fbsd_nat): New function.
1553         * configure: Regenerate.
1554         * config.in: Regenerate.
1555
1556 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
1557
1558         * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use
1559         get_ptrace_pid.
1560         (amd64bsd_store_inferior_registers): Use get_ptrace_pid.
1561         (amd64bsd_dr_get): Use get_ptrace_pid.
1562         (amd64bsd_dr_set): Use get_ptrace_pid.
1563         * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid.
1564         (i386bsd_store_inferior_registers): Use get_ptrace_pid.
1565         (i386bsd_dr_get): Use get_ptrace_pid.
1566         (i386bsd_dr_set): Use get_ptrace_pid.
1567         * inf-ptrace.c (get_ptrace_pid): Export.
1568         * inf-ptrace.h (get_ptrace_pid): Declare.
1569         * ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id.
1570         (ppcfbsd_store_inferior_registers): Use lwp id.
1571
1572 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
1573
1574         * fbsd_tdep.c (fbsd_core_pid_to_str): New function.
1575         (fbsd_core_thread_name): New function.
1576         (fbsd_init_abi): Add "core_pid_to_str" gdbarch method.
1577         Add "core_thread_name" gdbarch method.
1578
1579 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
1580
1581         * corelow.c (core_thread_name): New function.
1582         (init_core_ops): Use "core_thread_name" for the "to_thread_name"
1583         target op.
1584         * gdbarch.sh (core_thread_name): New gdbarch callback.
1585         * gdbarch.h: Re-generate.
1586         * gdbarch.c: Re-generate.
1587
1588 2016-01-19  Simon Marchi  <simon.marchi@polymtl.ca>
1589
1590         * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly
1591         convert gdb.Value to integer type using int().
1592
1593 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
1594
1595         * configure.ac: Include <sys/types.h when checking for "r_fs" in
1596         "struct reg".
1597         * configure: Regenerate.
1598
1599 2016-01-19  Pedro Alves  <palves@redhat.com>
1600
1601         * ax-gdb.c (agent_command_1): Adjust call to decode_line_full.
1602         * break-catch-throw.c (re_set_exception_catchpoint): Pass the
1603         current program space down to linespec decoding and breakpoint
1604         location updating.
1605         * breakpoint.c (parse_breakpoint_sals): Adjust calls to
1606         decode_line_full.
1607         (until_break_command): Adjust calls to decode_line_1.
1608         (base_breakpoint_decode_location, bkpt_decode_location): Add
1609         'search_pspace' parameter.  Pass it along.
1610         (bkpt_probe_create_sals_from_location): Adjust calls to
1611         parse_probes.
1612         (tracepoint_decode_location, tracepoint_probe_decode_location)
1613         (strace_marker_decode_location): Add 'search_pspace' parameter.
1614         Pass it along.
1615         (all_locations_are_pending): Rewrite to take a breakpoint and
1616         program space as arguments instead.
1617         (hoist_existing_locations): New function.
1618         (update_breakpoint_locations): Add 'filter_pspace' parameter.  Use
1619         hoist_existing_locations instead of always removing all locations,
1620         and adjust to all_locations_are_pending change.
1621         (location_to_sals): Add 'search_pspace' parameter.  Pass it along.
1622         Don't disable the breakpoint if there are other locations in
1623         another program space.
1624         (breakpoint_re_set_default): Adjust to pass down the current
1625         program space as filter program space.
1626         (decode_location_default): Add 'search_pspace' parameter and pass
1627         it along.
1628         (prepare_re_set_context): Don't switch program space here.
1629         (breakpoint_re_set): Use save_current_space_and_thread instead of
1630         save_current_program_space.
1631         * breakpoint.h (struct breakpoint_ops) <decode_location>: Add
1632         'search_pspace' parameter.
1633         (update_breakpoint_locations): Add 'filter_pspace' parameter.
1634         * cli/cli-cmds.c (edit_command, list_command): Adjust calls to
1635         decode_line_1.
1636         * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current
1637         program space as filter program space.
1638         * linespec.c (struct linespec_state) <search_pspace>: New field.
1639         (create_sals_line_offset, convert_explicit_location_to_sals)
1640         (parse_linespec): Pass the search program space down.
1641         (linespec_state_constructor): Add 'search_pspace' parameter.
1642         Store it.
1643         (linespec_parser_new): Add 'search_pspace' parameter and pass it
1644         along.
1645         (linespec_lex_to_end): Adjust.
1646         (decode_line_full, decode_line_1): Add 'search_pspace' parameter
1647         and pass it along.
1648         (decode_line_with_last_displayed): Adjust.
1649         (collect_symtabs_from_filename, symtabs_from_filename): New
1650         'search_pspace' parameter.  Use it.
1651         (find_function_symbols): Pass the search program space down.
1652         * linespec.h (decode_line_1, decode_line_full): Add
1653         'search_pspace' parameter.
1654         * probe.c (parse_probes_in_pspace): New function, factored out
1655         from ...
1656         (parse_probes): ... this.  Add 'search_pspace' parameter and use
1657         it.
1658         * probe.h (parse_probes): Add pspace' parameter.
1659         * python/python.c (gdbpy_decode_line): Adjust.
1660         * tracepoint.c (scope_info): Adjust.
1661
1662 2016-01-18  Maciej W. Rozycki  <macro@imgtec.com>
1663
1664         * mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS
1665         instruction support.
1666         (micromips_next_pc): Likewise.
1667         (micromips_scan_prologue): Likewise.
1668         (micromips_deal_with_atomic_sequence): Likewise.
1669         (micromips_stack_frame_destroyed_p): Likewise.
1670         (mips_breakpoint_from_pc): Likewise.
1671
1672 2016-01-18  Maciej W. Rozycki  <macro@imgtec.com>
1673
1674         * mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass
1675         unshifted 16-bit microMIPS instruction word to `mips_insn_size'.
1676
1677 2016-01-18  Pedro Alves  <palves@redhat.com>
1678
1679         * NEWS: Mention that GDB now displays the ID and name of the
1680         thread that hit a breakpoint or received a signal.
1681         * break-catch-sig.c (signal_catchpoint_print_it): Use
1682         maybe_print_thread_hit_breakpoint.
1683         * break-catch-syscall.c (print_it_catch_syscall): Likewise.
1684         * break-catch-throw.c (print_it_exception_catchpoint): Likewise.
1685         * breakpoint.c (maybe_print_thread_hit_breakpoint): New function.
1686         (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib)
1687         (print_it_catch_exec, print_it_ranged_breakpoint)
1688         (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it):
1689         Use maybe_print_thread_hit_breakpoint.
1690         * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare.
1691         * gdbthread.h (show_thread_that_caused_stop): Declare.
1692         * infrun.c (print_signal_received_reason): Print which thread
1693         received signal.
1694         * thread.c (show_thread_that_caused_stop): New function.
1695
1696 2016-01-18  Gary Benson  <gbenson@redhat.com>
1697
1698         * nat/linux-namespaces.c (do_fork): New function.
1699         (linux_mntns_get_helper): Use the above.
1700
1701 2016-01-17  Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>  (tiny change)
1702
1703         Pushed by Joel Brobecker  <brobecker@adacore.com>.
1704         PR gdb/19208
1705         * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name
1706         if the function has no name.
1707
1708 2016-01-15  Sandra Loosemore  <sandra@codesourcery.com>
1709
1710         * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET):
1711         Conditionalize for Windows host.
1712         (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET.
1713         (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
1714         (phony_iconv_open): Handle both UTF-32 endiannesses.
1715         (phony_iconv): Likewise.  Check for output overflow and clean up
1716         out-of-input cases.  Correct adjustment to input buffer pointer.
1717         (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match
1718         phony_iconv_open.
1719
1720 2016-01-15  Pedro Alves  <palves@redhat.com>
1721
1722         * NEWS: Mention star wildcard ranges.
1723         * cli/cli-utils.c (get_number_or_range): Check state->in_range first.
1724         (number_range_setup_range): New function.
1725         * cli/cli-utils.h (number_range_setup_range): New declaration.
1726         * thread.c (thread_apply_command): Support star TID ranges.
1727         * tid-parse.c (tid_range_parser_finished)
1728         (tid_range_parser_string, tid_range_parser_skip)
1729         (get_tid_or_range, get_tid_or_range): Handle
1730         TID_RANGE_STATE_STAR_RANGE.
1731         (tid_range_parser_star_range): New function.
1732         * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>:
1733         New value.
1734         (tid_range_parser_star_range): New declaration.
1735
1736 2016-01-15  Pedro Alves  <palves@redhat.com>
1737
1738         * thread.c (thread_apply_command): Use the tid range parser to
1739         advance past the thread ID list.
1740         * tid-parse.c (get_positive_number_trailer): New function.
1741         (parse_thread_id): Use it.
1742         (get_tid_or_range): Use it.  Return 0 instead of throwing invalid
1743         thread ID error.
1744         (get_tid_or_range): Detect negative values.  Return 0 instead of
1745         throwing invalid thread ID error.
1746
1747 2016-01-14  Yao Qi  <yao.qi@linaro.org>
1748
1749         * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
1750         Declare.
1751         (arm_linux_get_next_pcs_ops): Install
1752         arm_linux_get_next_pcs_syscall_next_pc.
1753         (arm_linux_syscall_next_pc): Change to ...
1754         (arm_linux_get_next_pcs_syscall_next_pc): ... it.
1755         (arm_linux_init_abi): Don't set tdep->syscall_next_pc.
1756         * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare.
1757         (arm_get_next_pcs_syscall_next_pc): Make it static.  Don't
1758         call tdep->syscall_next_pc.
1759         * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove.
1760         (arm_get_next_pcs_syscall_next_pc): Remove.
1761
1762 2016-01-14  Yao Qi  <yao.qi@linaro.org>
1763
1764         * remote.c (remote_set_syscall_catchpoint): Cast to char *.
1765         * thread.c (do_captured_thread_select): Cast to const char *.
1766
1767 2016-01-14  Yao Qi  <yao.qi@linaro.org>
1768
1769         * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change
1770         argument arm_thumb2_breakpoint to has_thumb2_breakpoint.
1771         (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint
1772         instead.
1773         * arch/arm-get-next-pcs.h (struct arm_get_next_pcs)
1774         <arm_thumb2_breakpoint>: Remove.
1775         <has_thumb2_breakpoint>: New field.
1776         (arm_get_next_pcs_ctor): Update declaration.
1777         * arm-linux-tdep.c (arm_linux_software_single_step): Pass
1778         1 to arm_get_next_pcs_ctor.
1779         * arm-tdep.c (arm_software_single_step): Pass 0 to
1780         arm_get_next_pcs_ctor.
1781
1782 2016-01-13  Ulrich Weigand  <uweigand@de.ibm.com>
1783
1784         * MAINTAINERS: Add Andreas Arnez as s390 target maintainer.
1785
1786 2016-01-13  Yao Qi  <yao.qi@linaro.org>
1787
1788         * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use
1789         byte_order_for_code to read instruction.
1790
1791 2016-01-13  Pedro Alves  <palves@redhat.com>
1792
1793         * NEWS: Mention $_gthread.
1794         * gdbthread.h (struct thread_info) <global_num>: Mention
1795         $_gthread.
1796         * thread.c (thread_num_make_value_helper): New function.
1797         (thread_id_make_value): Delete.
1798         (thread_id_per_inf_num_make_value, global_thread_id_make_value):
1799         New.
1800         (thread_funcs): Adjust.
1801         (gthread_funcs): New.
1802         (_initialize_thread): Register $_gthread variable.
1803
1804 2016-01-13  Pedro Alves  <palves@redhat.com>
1805
1806         * NEWS: Mention "info threads -gid".
1807         * gdbthread.h (struct thread_info) <global_num>: Mention "info
1808         threads -gid".
1809         * thread.c (info_threads_command): Handle "-gid".
1810         (_initialize_thread): Adjust "info threads" help string to mention
1811         -gid.
1812
1813 2016-01-13  Pedro Alves  <palves@redhat.com>
1814
1815         * NEWS: Mention InferiorThread.global_num.
1816         * python/py-infthread.c (thpy_get_global_num): New function.
1817         (thread_object_getset): Register "global_num".
1818
1819 2016-01-13  Pedro Alves  <palves@redhat.com>
1820
1821         * NEWS: Mention that thread IDs are now per inferior and global
1822         thread IDs.
1823         * Makefile.in (SFILES): Add tid-parse.c.
1824         (COMMON_OBS): Add tid-parse.o.
1825         (HFILES_NO_SRCDIR): Add tid-parse.h.
1826         * ada-tasks.c: Adjust to use ptid_to_global_thread_id.
1827         * breakpoint.c (insert_breakpoint_locations)
1828         (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions)
1829         (print_one_breakpoint_location, set_longjmp_breakpoint)
1830         (check_longjmp_breakpoint_for_call_dummy)
1831         (set_momentary_breakpoint): Adjust to use global IDs.
1832         (find_condition_and_thread, watch_command_1): Use parse_thread_id.
1833         (until_break_command, longjmp_bkpt_dtor)
1834         (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust
1835         to use global IDs.
1836         * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use
1837         ptid_to_global_thread_id.
1838         * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
1839         * gdbthread.h (struct thread_info): Rename field 'num' to
1840         'global_num.  Add new fields 'per_inf_num' and 'inf'.
1841         (thread_id_to_pid): Rename thread_id_to_pid to
1842         global_thread_id_to_ptid.
1843         (pid_to_thread_id): Rename to ...
1844         (ptid_to_global_thread_id): ... this.
1845         (valid_thread_id): Rename to ...
1846         (valid_global_thread_id): ... this.
1847         (find_thread_id): Rename to ...
1848         (find_thread_global_id): ... this.
1849         (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare.
1850         (print_thread_info): Add comment.
1851         * tid-parse.h: New file.
1852         * tid-parse.c: New file.
1853         * infcmd.c (step_command_fsm_prepare)
1854         (step_command_fsm_should_stop): Adjust to use the global thread
1855         ID.
1856         (until_next_command, until_next_command)
1857         (finish_command_fsm_should_stop): Adjust to use the global thread
1858         ID.
1859         (attach_post_wait): Adjust to check the inferior number too.
1860         * inferior.h (struct inferior) <highest_thread_num>: New field.
1861         * infrun.c (handle_signal_stop)
1862         (insert_exception_resume_breakpoint)
1863         (insert_exception_resume_from_probe): Adjust to use the global
1864         thread ID.
1865         * record-btrace.c (record_btrace_open): Use global thread IDs.
1866         * remote.c (process_initial_stop_replies): Also consider the
1867         inferior number.
1868         * target.c (target_pre_inferior): Clear the inferior's highest
1869         thread num.
1870         * thread.c (clear_thread_inferior_resources): Adjust to use the
1871         global thread ID.
1872         (new_thread): New inferior parameter.  Adjust to use it.  Set both
1873         the thread's global ID and the thread's per-inferior ID.
1874         (add_thread_silent): Adjust.
1875         (find_thread_global_id): New.
1876         (find_thread_id): Make static.  Adjust to rename.
1877         (valid_thread_id): Rename to ...
1878         (valid_global_thread_id): ... this.
1879         (pid_to_thread_id): Rename to ...
1880         (ptid_to_global_thread_id): ... this.
1881         (thread_id_to_pid): Rename to ...
1882         (global_thread_id_to_ptid): ... this.  Adjust.
1883         (first_thread_of_process): Adjust.
1884         (do_captured_list_thread_ids): Adjust to use global thread IDs.
1885         (should_print_thread): New function.
1886         (print_thread_info): Rename to ...
1887         (print_thread_info_1): ... this, and add new show_global_ids
1888         parameter.  Handle it.  Iterate over inferiors.
1889         (print_thread_info): Reimplement as wrapper around
1890         print_thread_info_1.
1891         (show_inferior_qualified_tids): New function.
1892         (print_thread_id): Use it.
1893         (tp_array_compar): Compare inferior numbers too.
1894         (thread_apply_command): Use tid_range_parser.
1895         (do_captured_thread_select): Use parse_thread_id.
1896         (thread_id_make_value): Adjust.
1897         (_initialize_thread): Adjust "info threads" help string.
1898         * varobj.c (struct varobj_root): Update comment.
1899         (varobj_create): Adjust to use global thread IDs.
1900         (value_of_root_1): Adjust to use global_thread_id_to_ptid.
1901         * windows-tdep.c (display_tib): No longer accept an argument.
1902         * cli/cli-utils.c (get_number_trailer): Make extern.
1903         * cli/cli-utils.h (get_number_trailer): Declare.
1904         (get_number_const): Adjust documentation.
1905         * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global
1906         thread IDs.
1907         * mi/mi-interp.c (mi_new_thread, mi_thread_exit)
1908         (mi_on_normal_stop, mi_output_running_pid, mi_on_resume):
1909         * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise.
1910         * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x):
1911         Likewise.
1912         * python/py-breakpoint.c (bppy_set_thread): Likewise.
1913         * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise.
1914         * python/py-infthread.c (thpy_get_num): Add comment and return the
1915         per-inferior thread ID.
1916         (thread_object_getset): Update comment of "num".
1917
1918 2016-01-13  Pedro Alves  <palves@redhat.com>
1919
1920         * breakpoint.c (remove_threaded_breakpoints)
1921         (print_one_breakpoint_location): Use print_thread_id.
1922         * btrace.c (btrace_enable, btrace_disable, btrace_teardown)
1923         (btrace_fetch, btrace_clear): Use print_thread_id.
1924         * common/print-utils.c (CELLSIZE): Delete.
1925         (get_cell): Rename to ...
1926         (get_print_cell): ... this and made extern.  Adjust call callers.
1927         Adjust to use PRINT_CELL_SIZE.
1928         * common/print-utils.h (get_print_cell): Declare.
1929         (PRINT_CELL_SIZE): New.
1930         * gdbthread.h (print_thread_id): Declare.
1931         * infcmd.c (signal_command): Use print_thread_id.
1932         * inferior.c (print_inferior): Use print_thread_id.
1933         * infrun.c (handle_signal_stop)
1934         (insert_exception_resume_breakpoint)
1935         (insert_exception_resume_from_probe)
1936         (print_signal_received_reason): Use print_thread_id.
1937         * record-btrace.c (record_btrace_info)
1938         (record_btrace_resume_thread, record_btrace_cancel_resume)
1939         (record_btrace_step_thread, record_btrace_wait): Use
1940         print_thread_id.
1941         * thread.c (thread_apply_all_command): Use print_thread_id.
1942         (print_thread_id): New function.
1943         (thread_apply_command): Use print_thread_id.
1944         (thread_command, thread_find_command, do_captured_thread_select):
1945         Use print_thread_id.
1946
1947 2016-01-13  Pedro Alves  <palves@redhat.com>
1948
1949         * NEWS: Mention InferiorThread.inferior.
1950         * python/py-infthread.c (thpy_get_inferior): New.
1951         (thread_object_getset): Register "inferior".
1952
1953 2016-01-13  Pedro Alves  <palves@redhat.com>
1954
1955         * NEWS: Mention $_inferior.
1956         * inferior.c (inferior_id_make_value): New.
1957         (inferior_funcs): New.
1958         (_initialize_inferior): Create $_inferior variable.
1959
1960 2016-01-13  Pedro Alves  <palves@redhat.com>
1961
1962         PR breakpoints/19388
1963         * frame.c (get_current_frame): Use validate_registers_access.
1964         * gdbthread.h (validate_registers_access): Declare.
1965         * infrun.c (validate_siginfo_access): Delete.
1966         (siginfo_value_read, siginfo_value_write): Use
1967         validate_registers_access.
1968         * thread.c (validate_registers_access): New function.
1969
1970 2016-01-12  Josh Stone  <jistone@redhat.com>
1971             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1972
1973         * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the
1974         syscall_entry and syscall_return stop reasons.  Mention GDB
1975         support for remote catch syscall.
1976         * remote.c (PACKET_QCatchSyscalls): New enum.
1977         (remote_set_syscall_catchpoint): New function.
1978         (remote_protocol_features): New element for QCatchSyscalls.
1979         (remote_parse_stop_reply): Parse syscall_entry/return stops.
1980         (init_remote_ops): Install remote_set_syscall_catchpoint.
1981         (_initialize_remote): Config QCatchSyscalls.
1982         * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo.
1983
1984 2016-01-12  Yao Qi  <yao.qi@linaro.org>
1985
1986         * nat/linux-ptrace.c (linux_child_function): Cast child_stack
1987         to gdb_byte * and pass to linux_fork_to_function.
1988
1989 2016-01-12  Yao Qi  <yao.qi@linaro.org>
1990
1991         * nat/linux-ptrace.c (linux_fork_to_function): Change type
1992         of argument 'function'.
1993         (linux_grandchild_function): Change return type to 'int'.
1994         Change child_stack's type to 'void *'.
1995         (linux_child_function): Likewise.
1996
1997 2016-01-12  Pedro Alves  <palves@redhat.com>
1998
1999         Remove use of the registered trademark symbol throughout.
2000
2001 2016-01-12  Thomas Schwinge  <thomas@codesourcery.com>
2002
2003         * reply_mig_hack.awk: Rewrite one regular expression.
2004
2005 2016-01-11  Mike Frysinger  <vapier@gentoo.org>
2006
2007         * acinclude.m4: Include new warning.m4 file.
2008         * configure: Regenerated.
2009         * configure.ac: Move all warning logic ...
2010         * warning.m4: ... here.
2011
2012 2016-01-08  Yao Qi  <yao.qi@linaro.org>
2013
2014         * extension.c: Include target.h.
2015         (set_active_ext_lang): Only call install_gdb_sigint_handler,
2016         check_quit_flag, and set_quit_flag if target_terminal_is_ours
2017         returns false.
2018         (restore_active_ext_lang): Likewise.
2019         * target.c (target_terminal_is_ours): New function.
2020         * target.h (target_terminal_is_ours): Declare.
2021
2022 2016-01-07  Maciej W. Rozycki  <macro@imgtec.com>
2023
2024         * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status'
2025         to `err' in the little-endian leg.
2026
2027 2016-01-06  Yao Qi  <yao.qi@linaro.org>
2028
2029         * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some
2030         lines below.
2031         (thumb_get_next_pcs_raw): Make it static.
2032         (arm_get_next_pcs_raw): Likewise.
2033         * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the
2034         declaration.
2035         (arm_get_next_pcs_raw): Likewise.
2036
2037 2016-01-05  Mike Frysinger  <vapier@gentoo.org>
2038
2039         * version.in: Change cvs to git.
2040
2041 2016-01-05  Mike Frysinger  <vapier@gentoo.org>
2042
2043         * configure.tgt (score-*-*): Delete gdb_sim assignment.
2044
2045 2016-01-05  Pedro Alves  <palves@redhat.com>
2046
2047         PR sim/13418
2048         * configure.ac: Define WITH_PPC_SIM when linking in the sim and
2049         the target is powerpc*.
2050         * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead
2051         of WITH_SIM.
2052         * configure: Regenerate.
2053         * config.in: Regenerate.
2054
2055 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
2056
2057         * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH.
2058
2059 2016-01-02  Mike Frysinger  <vapier@gentoo.org>
2060
2061         * configure.tgt (powerpc*-*-*): Delete test call and
2062         always assign gdb_sim.
2063
2064 2016-01-01  Joel Brobecker  <brobecker@adacore.com>
2065
2066         Update year range in copyright notice of all files.
2067
2068 2016-01-01  Joel Brobecker  <brobecker@adacore.com>
2069
2070         * top.c (print_gdb_version): Change copyright year in version
2071         message.
2072
2073 2016-01-01  Joel Brobecker  <brobecker@adacore.com>
2074
2075         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015.
2076
2077 For older changes see ChangeLog-2015.
2078 \f
2079 Local Variables:
2080 mode: change-log
2081 left-margin: 8
2082 fill-column: 74
2083 version-control: never
2084 coding: utf-8
2085 End: