96d65ae92f5ce8dac1fa2cba7e25183091e6574a
[platform/upstream/binutils.git] / gdb / ChangeLog
1 2014-09-12  Tom Tromey  <tromey@redhat.com>
2             Gary Benson  <gbenson@redhat.com>
3
4         * common/common-regcache.h: New file.
5         * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
6         * regcache.h: Include common-regcache.h.
7         (regcache_read_pc): Don't declare.
8         * regcache.c (get_thread_regcache_for_ptid): New function.
9         * nat/linux-btrace.c: Don't include regcache.h.
10         Include common-regcache.h.
11         (perf_event_read_bts): Use get_thread_regcache_for_ptid.
12
13 2014-09-11  Thomas Schwinge  <thomas@codesourcery.com>
14
15         * regcache.h (struct regset): Declare.
16
17 2014-09-11  Pedro Alves  <palves@redhat.com>
18
19         PR gdb/17347
20         * main.c: Include "infrun.h".
21         (catch_command_errors, catch_command_errors_const): Wait for the
22         foreground command to complete.
23         * top.c (maybe_wait_sync_command_done): New function, factored out
24         from ...
25         (maybe_wait_sync_command_done): ... here.
26         * top.h (maybe_wait_sync_command_done): New declaration.
27
28 2014-09-11  Tom Tromey  <tromey@redhat.com>
29             Gary Benson  <gbenson@redhat.com>
30
31         * common/symbol.h: New file.
32         * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
33         * minsyms.c (find_minimal_symbol_address): New function.
34         * common/agent.c: Include common/symbol.h.
35         [!GDBSERVER]: Don't include objfiles.h.
36         (agent_look_up_symbols): Use find_minimal_symbol_address.
37
38 2014-09-11  Gary Benson  <gbenson@redhat.com>
39
40         * target/target.h (target_stop_ptid, target_continue_ptid):
41         Declare.
42         * target.c (target_stop_ptid, target_continue_ptid): New
43         functions.
44         * common/agent.c [!GDBSERVER]: Don't include infrun.h.
45         (agent_run_command): Always use target_stop_ptid and
46         target_continue_ptid.
47
48 2014-09-11  Tom Tromey  <tromey@redhat.com>
49             Gary Benson  <gbenson@redhat.com>
50
51         * target/target.h: New file.
52         * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
53         * target.h: Include target/target.h.
54         (target_read_memory, target_write_memory): Don't declare.
55         * target.c (target_read_uint32): New function.
56         * common/agent.c: Include target/target.h.
57         [!GDBSERVER]: Don't include target.h.
58         (helper_thread_id): Type changed to uint32_t.
59         (agent_get_helper_thread_id): Use target_read_uint32.
60         (agent_run_command): Always use target_read_memory and
61         target_write_memory.
62         (agent_capability): Type changed to uint32_t.
63         (agent_capability_check): Use target_read_uint32.
64
65 2014-09-11  Gary Benson  <gbenson@redhat.com>
66
67         * common/common-debug.h (show_debug_regs): Declare.
68         * common/common-debug.c (show_debug_regs): Define.
69         * aarch64-linux-nat.c (debug_hw_points): Don't define.  Replace
70         all uses with show_debug_regs.  Replace all uses that considered
71         debug_hw_points as a multi-value integer with straight boolean
72         uses.
73         * x86-nat.c (debug_hw_points): Don't define.  Replace all uses
74         with show_debug_regs.
75         * nat/x86-dregs.c (debug_hw_points): Don't declare.  Replace
76         all uses with show_debug_regs.
77         * mips-linux-nat.c (maint_show_dr): Don't define.  Replace all
78         uses with show_debug_regs.
79
80 2014-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
81
82         * findvar.c (address_from_register): Handle targets requiring
83         a special conversion routine even for plain pointer types.
84
85 2014-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
86
87         * rs6000-nat.c (exec_one_dummy_insn): Remove.
88         (store_register): Do not call exec_one_dummy_insn.
89
90 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
91
92         * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
93         dereference it first.  Use value_enclosing_type instead of
94         value_type.
95         (ada_array_length): Likewise.
96
97 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
98
99         * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
100         Adjust function implementation and documentation accordingly.
101         (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
102         NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
103         Update call to ada_value_ptr_subscript.
104
105 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
106
107         * ada-valprint.c (ada_value_print): Use VAL's enclosing type
108         instead of VAL's type.
109
110 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
111
112         * amd64-linux-nat.c: Add <sys/uio.h> #include.
113
114 2014-09-09  Doug Evans  <xdje42@gmail.com>
115
116         PR guile/17367
117         * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
118         last parameter to pkg-config, not first.
119         * configure.ac: Pass --with-guile provided pkg-config path to
120         GDB_GUILE_PROGRAM_NAMES.
121         * configure: Regenerate.
122
123 2014-09-09  Gabriel Krisman Bertazi  <gabriel@krisman.be>
124
125         * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
126         Bertazi".
127
128 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
129
130         * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
131         Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
132         the list of sections determining GDB_OSABI_IRIX.
133
134 2014-09-09  James Hogan  <james.hogan@imgtec.com>
135
136         * MAINTAINERS (Write After Approval): Add "James Hogan".
137
138 2014-09-09  James Hogan  <james.hogan@imgtec.com>
139
140         * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
141
142 2014-09-09  Joel Brobecker  <brobecker@adacore.com>
143
144         * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
145
146 2014-09-08  Doug Evans  <xdje42@gmail.com>
147
148         PR 17247
149         * guile.c: #include <signal.h>.
150         (_initialize_guile): Block SIGCHLD while initializing Guile.
151
152         Replaces the following, which is reverted.
153
154         2014-07-26  Doug Evans  <xdje42@gmail.com>
155
156         PR 17185
157         * configure.ac: Add check for header gc/gc.h.
158         Add check for function setenv.
159         * configure: Regenerate.
160         * config.in: Regenerate.
161         * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
162
163 2014-09-08  Doug Evans  <xdje42@gmail.com>
164
165         * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
166         with named constant.  Fix style of pointer comparison.
167         * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
168
169 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
170
171         PR gdb/17035
172         * cli/cli-cmds.c (show_user): Use cli_user_command_p to
173         decide whether we display the command on "show user".
174         * cli/cli-script.c (show_user_1): Only verify cmdlines after
175         printing command name.
176         * cli/cli-decode.h (cli_user_command_p): Declare new function.
177         * cli/cli-decode.c (cli_user_command_p): Create helper function
178         to verify whether cmd_list_element is a user-defined command.
179
180 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
181
182         PR python/17355
183         * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
184         Fix goto out of TRY_CATCH.
185
186 2014-09-06  Doug Evans  <xdje42@gmail.com>
187             Tom Tromey  <tromey@redhat.com>
188
189         PR 15276
190         * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
191         $_any_caller_matches.
192         * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
193         * python/lib/gdb/function/caller_is.py: New file.
194
195 2014-09-06  Doug Evans  <xdje42@gmail.com>
196
197         * infcmd.c (program_info): Fix typo.
198
199 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
200
201         PR gdb/17235
202         * stap-probe.c (stap_parse_single_operand): Delete unused variable
203         'number'.  New variable 'has_digit'.  Rewrite code to deal with
204         subexpressions on SDT probes.
205
206 2014-09-04  Pedro Alves  <palves@redhat.com>
207
208         * c-exp.y (parse_number): Skip handling base-switching prefixes if
209         the input is only one character long.
210
211 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
212
213         PR fortran/17237
214         * f-valprint.c (f_val_print): Specify the correct print option to
215         use when printing integer values.
216
217 2014-09-04  Gary Benson  <gbenson@redhat.com>
218
219         * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
220         Remove code to cope with LWPs wrapped as PIDs.
221         Add assertions to ensure no wrapped LWPs are passed.
222
223 2014-09-04  Pedro Alves  <palves@redhat.com>
224
225         * value.c (value_ranges_copy_adjusted): New function, factored out
226         from ...
227         (value_contents_copy_raw): ... here.
228         (unpack_value_bits_as_long_1): Rename back to ...
229         (unpack_bits_as_long): ... this.  Remove 'original_value' and
230         'result' parameters.  Change return type to LONGEST.
231         (unpack_value_bits_as_long): Delete.
232         (unpack_value_field_as_long_1): Delete.
233         (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
234         (unpack_value_bitfield): New function.
235         (value_field_bitfield): Reimplement using unpack_value_bitfield.
236         (value_fetch_lazy): Use unpack_value_bitfield.
237         * value.h (unpack_value_bits_as_long): Delete declaration.
238
239 2014-09-03  Sasha Smundak  <asmundak@google.com>
240
241         * python/py-frame.c (frapy_read_register): New function.
242
243 2014-09-03  James Hogan  <james.hogan@imgtec.com>
244
245         * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
246         prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
247
248 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
249
250         PR python/16699
251         * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
252         function.
253         (add_cmd): Set "completer_handle_brkchars" to NULL.
254         * cli/cli-decode.h (struct cmd_list_element)
255         <completer_handle_brkchars>: New field.
256         * command.h (completer_ftype_void): New typedef.
257         (set_cmd_completer_handle_brkchars): New prototype.
258         * completer.c (set_gdb_completion_word_break_characters): New
259         function.
260         (complete_line_internal): Call "completer_handle_brkchars"
261         callback from command.
262         * completer.h: Include "command.h".
263         (set_gdb_completion_word_break_characters): New prototype.
264         * python/py-cmd.c (cmdpy_completer_helper): New function.
265         (cmdpy_completer_handle_brkchars): New function.
266         (cmdpy_completer): Adjust to use cmdpy_completer_helper.
267         (cmdpy_init): Set completer_handle_brkchars to
268         cmdpy_completer_handle_brkchars.
269
270 2014-09-03  Gary Benson  <gbenson@redhat.com>
271
272         * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
273         (ALL_DEBUG_ADDRESS_REGISTERS): New macro.  All uses updated.
274         Loop conditions changed to equivalent form.
275         (struct x86_debug_reg_state): Updated dr_ref_count comment.
276         * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
277         ALL_DEBUG_ADDRESS_REGISTERS.
278
279 2014-09-03  Joel Brobecker  <brobecker@adacore.com>
280
281         * dwarf2loc.h (dwarf2_evaluate_property): Minor function
282         description fix.
283
284 2014-09-02  Doug Evans  <dje@google.com>
285
286         * typeprint.c (find_global_typedef): Fix comment.
287
288 2014-09-02  Gary Benson  <gbenson@redhat.com>
289
290         * i386-nat.h: Renamed as...
291         * x86-nat.h: New file.  All type, function and variable name
292         prefixes changed from "i386_" to "x86_".  All references updated.
293         * i386-nat.c: Renamed as...
294         * x86-nat.c: New file.  All type, function and variable name
295         prefixes changed from "i386_" to "x86_".  All references updated.
296         * common/i386-xstate.h: Renamed as...
297         * common/x86-xstate.h: New file.  All type, function and variable
298         name prefixes changed from "i386_" to "x86_".  All references
299         updated.
300         * nat/i386-cpuid.h: Renamed as...
301         * nat/x86-cpuid.h: New file.  All type, function and variable name
302         prefixes changed from "i386_" to "x86_".  All references updated.
303         * nat/i386-gcc-cpuid.h: Renamed as...
304         * nat/x86-gcc-cpuid.h: New file.  All type, function and variable
305         name prefixes changed from "i386_" to "x86_".  All references
306         updated.
307         * nat/i386-dregs.h: Renamed as...
308         * nat/x86-dregs.h: New file.  All type, function and variable name
309         prefixes changed from "i386_" to "x86_".  All references updated.
310         * nat/i386-dregs.c: Renamed as...
311         * nat/x86-dregs.c: New file.  All type, function and variable name
312         prefixes changed from "i386_" to "x86_".  All references updated.
313
314 2014-09-01  Maciej W. Rozycki  <macro@codesourcery.com>
315
316         * varobj.c (_initialize_varobj): Move to the end of file.
317
318 2014-08-29  Gary Benson  <gbenson@redhat.com>
319
320         * common/common-exceptions.h: New file.
321         * common/common-exceptions.c: Likewise.
322         * Makefile.in (SFILES): Add common/common-exceptions.c.
323         (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
324         (COMMON_OBS): Add common-exceptions.o.
325         (common-exceptions.o): New rule.
326         * exceptions.h (common-exceptions.h): Include.
327         (gdb_setjmp.h): Do not include.
328         (return_reason): Moved to common-exceptions.h.
329         (enum return_reason): Likewise.
330         (RETURN_MASK): Likewise.
331         (typedef return_mask): Likewise.
332         (enum errors): Likewise.
333         (struct gdb_exception): Likewise.
334         (exceptions_state_mc_init): Likewise.
335         (exceptions_state_mc_action_iter): Likewise.
336         (exceptions_state_mc_action_iter_1): Likewise.
337         (TRY_CATCH): Likewise.
338         (throw_exception): Likewise.
339         (throw_verror): Likewise.
340         (throw_vquit): Likewise.
341         (throw_error): Likewise.
342         (throw_quit): Likewise.
343         * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
344         (enum catcher_action): Likewise.
345         (struct catcher): Likewise.
346         (current_catcher): Likewise.
347         (catcher_list_size): Likewise.
348         (exceptions_state_mc_init): Likewise.
349         (catcher_pop): Likewise.
350         (exceptions_state_mc): Likewise.
351         (exceptions_state_mc_action_iter): Likewise.
352         (exceptions_state_mc_action_iter_1): Likewise.
353         (throw_exception): Likewise.
354         (exception_messages): Likewise.
355         (exception_messages_size): Likewise.
356         (throw_it): Likewise.
357         (throw_verror): Likewise.
358         (throw_vquit): Likewise.
359         (throw_error): Likewise.
360         (throw_quit): Likewise.
361         (prepare_to_throw_exception): New function.
362
363 2014-08-29  Gary Benson  <gbenson@redhat.com>
364
365         * common/gdb_setjmp.h: New file.
366         * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
367         * configure.ac: Move sigsetjmp check...
368         * common/common.m4: ...here.
369         * configure: Regenerate.
370         * cp-support.c (SIGJMP_BUF): Delete.
371         (SIGSETJMP): Likewise.
372         (SIGLONGJMP): Likewise.
373         * exceptions.h (gdb_setjmp.h): Include.
374         (setjmp.h): Do not include.
375         (EXCEPTIONS_SIGJMP_BUF): Delete.
376         (EXCEPTIONS_SIGSETJMP): Likewise.
377         (EXCEPTIONS_SIGLONGJMP): Likewise.
378         Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
379         from gdb_setjmp.h.
380         * exceptions.c: Likewise.
381
382 2014-08-29  Gary Benson  <gbenson@redhat.com>
383
384         * cleanups.h: Moved to...
385         * common/cleanups.h: New file.
386         * cleanups.c: Moved to...
387         * common/cleanups.c: New file.  Include common-defs.h and
388         cleanups.h.  Do not include defs.h.
389         * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
390         (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
391         (cleanups.o): New rule.
392
393 2014-08-29  Gary Benson  <gbenson@redhat.com>
394
395         * common/errors.h (internal_warning): New declaration.
396         (internal_vwarning): Likewise.
397         * common/errors.c (internal_warning): New function.
398         * utils.h (internal_warning): Don't declare.
399         (internal_vwarning): Likewise.
400         * utils.c (internal_warning): Removed.
401
402 2014-08-29  Gary Benson  <gbenson@redhat.com>
403
404         * main.c (captured_main): Use warning during startup.
405         Prefix startup warning messages with command name.
406
407 2014-08-29  Gary Benson  <gbenson@redhat.com>
408
409         * main.c (captured_main): Handle usage errors with error.
410
411 2014-08-29  Gary Benson  <gbenson@redhat.com>
412
413         * go32-nat.c (go32_create_inferior): Replace a fprintf/
414         exit pair with a call to error.  Wrap the message with _().
415
416 2014-08-29  Gary Benson  <gbenson@redhat.com>
417
418         * main.c (captured_main): Replace a fprintf/exit
419         pair with a call to error.  Wrap the message with _().
420
421 2014-08-29  Gary Benson  <gbenson@redhat.com>
422
423         * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
424         pairs with calls to error.  Wrap the message with _().
425
426 2014-08-29  Gary Benson  <gbenson@redhat.com>
427
428         * utils.c (vwarning): Protect calls to target_terminal_ours
429         and wrap_here.
430
431 2014-08-29  Gary Benson  <gbenson@redhat.com>
432
433         * exceptions.c (print_flush): Protect calls to
434         target_terminal_ours and wrap_here.
435
436 2014-08-29  Gary Benson  <gbenson@redhat.com>
437
438         * utils.h (filtered_printing_initialized): New declaration.
439         * utils.c (abort_with_message): New function.
440         (internal_vproblem): Use abort_with_message for first level
441         recursive internal problems, and if gdb_stderr is not set up.
442         Protect calls to target_terminal_ours, begin_line and query.
443
444 2014-08-28  Doug Evans  <dje@google.com>
445
446         * symtab.c (in_prologue): Move definition to better spot.
447         (skip_prologue_using_sal): Ditto.
448
449 2014-08-28  Doug Evans  <dje@google.com>
450
451         * symtab.c (find_function_start_sal): Move definition to better spot.
452
453 2014-08-28  Yao Qi  <yao@codesourcery.com>
454
455         * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
456         found_stack_adjust in forward scan.  Remove condition check
457         on found_stack_adjust which is always true.  Indent the code.
458
459 2014-08-28  Yao Qi  <yao@codesourcery.com>
460
461         * dwarf2read.c (dwarf_decode_lines): Update declaration.
462         (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
463         (dwarf_decode_lines): Remove argument
464         want_line_info.  Remove condition check on want_line_info.
465         Callers update.
466
467 2014-08-27  Doug Evans  <dje@google.com>
468
469         * dwarf2read.c (dwarf_record_line): Fix typo.
470
471 2014-08-27  Patrick Palka  <patrick@parcs.ath.cx>
472
473         * target.h (struct target_ops::to_terminal_save_ours): Remove
474         declaration.
475         (target_terminal_save_ours): Remove macro.
476         * target-delegates.c: Regenerate.
477         * inf-child.c (inf_child_target): Don't set the nonexistent
478         field to_terminal_save_ours.
479         * inferior.h (child_terminal_save_ours): Remove declaration.
480         * terminal.h (gdb_save_tty_state): New declaration.
481         * inflow.c (child_terminal_save_ours): Rename to ...
482         (gdb_save_tty_state): ... this.
483         * tui/tui.c: Include terminal.h.
484         (tui_enable): Use gdb_save_tty_state instead of
485         target_terminal_save_ours.
486         (tui_disable): Likewise.
487
488 2014-08-25  Doug Evans  <dje@google.com>
489
490         * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
491         Pass NULL instead of 0 for context pointer.
492
493 2014-08-25  Yao Qi  <yao@codesourcery.com>
494
495         * dwarf2read.c: Fix grammatical error.
496
497 2014-08-24  Yao Qi  <yao@codesourcery.com>
498
499         * dwarf2read.c (scan_partial_symbols):  Update comments.
500         Rename argument 'need_pc' with 'set_addrmap'.
501         (add_partial_namespace): Rename argument 'need_pc' with
502         'set_addrmap'.
503         (add_partial_module): Likewise.
504         (add_partial_subprogram): Likewise.  Update comments.
505         (dwarf2_name): Fix typo.
506
507 2014-08-22  Doug Evans  <dje@google.com>
508
509         PR 17276
510         * dwarf2read.c (dwarf_record_line_p): New function.
511         (dwarf_decode_lines_1): Ignore subsequent line number entries
512         for the same line if any entry had a non-zero discriminator.
513
514 2014-08-22  Doug Evans  <dje@google.com>
515
516         * buildsym.h (record_line_ftype): New typedef.
517         (record_line): Use it.
518         * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
519         (dwarf_decode_lines_1): Call them.
520
521 2014-08-22  Yao Qi  <yao@codesourcery.com>
522
523         * ctf.c (CTF_FILE_MIN_SIZE): Remove.
524         (ctf_end): Remove code.
525
526 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
527
528         * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
529         (linux_make_corefile_notes): call update_thread_list, protected against
530         exceptions.
531
532 2014-08-21  Pedro Alves  <palves@redhat.com>
533
534         * infcmd.c (attach_command): Remove comment.
535
536 2014-08-21  Bin Cheng  <bin.cheng@arm.com>
537
538         * aarch64-linux-nat.c (dr_changed_t): Change the type from
539         unsigned LONGEST to ULONGEST.
540
541 2014-08-20  Pedro Alves  <palves@redhat.com>
542
543         * Makefile.in (check-read1): New rule.
544
545 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
546
547         * value.c (value_from_contents_and_address): Strip resolved_type's
548         typedef layers before checking its TYPE_DATA_LOCATION.
549
550 2014-08-20  Pedro Alves  <palves@redhat.com>
551
552         * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
553
554 2014-08-20  Yao Qi  <yao@codesourcery.com>
555
556         * amd64-tdep.c (amd64_classify): Add a blank line after the
557         example.  Move "*/" to a new line.
558         * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
559         * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
560         * dwarf2read.c (psymtab_include_file_name): Likewise.
561
562 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
563             Pedro Alves  <palves@redhat.com>
564
565         PR symtab/14604
566         PR symtab/14605
567         * ada-lang.c (coerce_unspec_val_to_type): Use
568         value_contents_copy_raw.
569         * ada-valprint.c (val_print_packed_array_elements): Adjust.
570         * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
571         * cp-valprint.c (cp_print_value_fields): Let the common printing
572         code handle optimized out values.
573         (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
574         * d-valprint.c (dynamic_array_type): Use
575         value_bits_any_optimized_out.
576         * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
577         check_any_valid fields.
578         (check_pieced_value_bits): Delete and inline ...
579         (check_pieced_synthetic_pointer): ... here.
580         (check_pieced_value_validity): Delete.
581         (check_pieced_value_invalid): Delete.
582         (pieced_value_funcs): Remove check_validity and check_any_valid
583         fields.
584         (read_pieced_value): Use mark_value_bits_optimized_out.
585         (write_pieced_value): Switch to use
586         mark_value_bytes_optimized_out.
587         (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
588         of assuming the whole value is optimized out.
589         * findvar.c (read_frame_register_value): Remove special handling
590         of optimized out registers.
591         (value_from_register): Use mark_value_bytes_optimized_out.
592         * frame-unwind.c (frame_unwind_got_optimized): Use
593         mark_value_bytes_optimized_out.
594         * jv-valprint.c (java_value_print): Adjust.
595         (java_print_value_fields): Let the common printing code handle
596         optimized out values.
597         * mips-tdep.c (mips_print_register): Remove special handling of
598         optimized out registers.
599         * opencl-lang.c (lval_func_check_validity): Delete.
600         (lval_func_check_any_valid): Delete.
601         (opencl_value_funcs): Remove check_validity and check_any_valid
602         fields.
603         * p-valprint.c (pascal_object_print_value_fields): Let the common
604         printing code handle optimized out values.
605         * stack.c (read_frame_arg): Remove special handling of optimized
606         out values.  Fetch both VAL and ENTRYVAL before comparing
607         contents.  Adjust to value_available_contents_eq rename.
608         * valprint.c (valprint_check_validity)
609         (val_print_scalar_formatted): Use value_bits_any_optimized_out.
610         (val_print_array_elements): Adjust.
611         * value.c (struct value) <optimized_out>: Now a VEC(range_s).
612         (value_bits_any_optimized_out): New function.
613         (value_entirely_covered_by_range_vector): New function, factored
614         out from value_entirely_unavailable.
615         (value_entirely_unavailable): Reimplement.
616         (value_entirely_optimized_out): New function.
617         (insert_into_bit_range_vector): New function, factored out from
618         mark_value_bits_unavailable.
619         (mark_value_bits_unavailable): Reimplement.
620         (struct ranges_and_idx): New struct.
621         (find_first_range_overlap_and_match): New function, factored out
622         from value_available_contents_bits_eq.
623         (value_available_contents_bits_eq): Rename to ...
624         (value_contents_bits_eq): ... this.  Check both unavailable
625         contents and optimized out contents.
626         (value_available_contents_eq): Rename to ...
627         (value_contents_eq): ... this.
628         (allocate_value_lazy): Remove reference to the old optimized_out
629         boolean.
630         (allocate_optimized_out_value): Use
631         mark_value_bytes_optimized_out.
632         (require_not_optimized_out): Adjust to check whether the
633         optimized_out vec is empty.
634         (ranges_copy_adjusted): New function, factored out from
635         value_contents_copy_raw.
636         (value_contents_copy_raw): Also copy the optimized out ranges.
637         Assert the destination ranges aren't optimized out.
638         (value_contents_copy): Update comment, remove call to
639         require_not_optimized_out.
640         (value_contents_equal): Adjust to check whether the optimized_out
641         vec is empty.
642         (set_value_optimized_out, value_optimized_out_const): Delete.
643         (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
644         New functions.
645         (value_entirely_optimized_out, value_bits_valid): Delete.
646         (value_copy): Take a VEC copy of the 'optimized_out' field.
647         (value_primitive_field): Remove special handling of optimized out.
648         (value_fetch_lazy): Assert that lazy values have no unavailable
649         regions.  Use value_bits_any_optimized_out.  Remove some special
650         handling for optimized out values.
651         * value.h: Add intro comment about <optimized out> and
652         <unavailable>.
653         (struct lval_funcs): Remove check_validity and check_any_valid
654         fields.
655         (set_value_optimized_out, value_optimized_out_const): Remove.
656         (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
657         New declarations.
658         (value_bits_any_optimized_out): New declaration.
659         (value_bits_valid): Delete declaration.
660         (value_available_contents_eq): Rename to ...
661         (value_contents_eq): ... this, and extend comments.
662
663 2014-08-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
664
665         Fix -fsanitize=address on unreadable inferior strings.
666         * valprint.c (val_print_string): Fix access before BUFFER.
667
668 2014-08-19  Simon Marchi  <simon.marchi@ericsson.com>
669
670         * target.c (target_struct_size): Remove.
671         (target_struct_allocsize): Remove.
672         (DEFAULT_ALLOCSIZE): Remove.
673         (target_ops_p): New typedef.
674         (DEF_VEC_P (target_ops_p)): New vector type.
675         (target_structs): Change type to VEC (target_ops_p).
676         (add_target_with_completer): Replace "push" code by VEC_safe_push.
677         (find_default_run_target): Rewrite for loop following changes to
678         target_structs.
679
680 2014-08-19  Joel Brobecker  <brobecker@adacore.com>
681
682         * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
683         Adjust code accordingly.  Adjust function description comment.
684
685 2014-08-19  Yao Qi  <yao@codesourcery.com>
686
687         * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
688         types.
689
690 2014-08-19  Alan Modra  <amodra@gmail.com>
691
692         * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
693         * config.in: Regenerate.
694         * configure: Regenerate.
695
696 2014-08-19  Tom Tromey  <tromey@redhat.com>
697             Gary Benson  <gbenson@redhat.com>
698
699         * common/common-debug.h: New file.
700         * common/common-debug.c: Likewise.
701         * debug.c: Likewise.
702         * Makefile.in (SFILES): Add common/common-debug.c.
703         (HFILES_NO_SRCDIR): Add common/common-debug.h.
704         (COMMON_OBS): Add common-debug.o and debug.o.
705         (common-debug.o): New rule.
706         * common/common-defs.h: Include common-debug.h.
707         * common/agent.c (debug_agent_printf): New function.
708         (DEBUG_AGENT): Redefine.
709         * nat/i386-dregs.c (debug_printf): Undefine.
710
711 2014-08-19  Gary Benson  <gbenson@redhat.com>
712
713         * common/common-defs.h: Include print-utils.h.
714         * utils.h: Do not include print-utils.h.
715
716 2014-08-19  Tom Tromey  <tromey@redhat.com>
717             Gary Benson  <gbenson@redhat.com>
718
719         * common/common-types.h: New file.
720         * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
721         * common/common-defs.h: Include common-types.h.
722         * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
723         (ULONGEST): Remove.
724
725 2014-08-19  Tom Tromey  <tromey@redhat.com>
726             Gary Benson  <gbenson@redhat.com>
727
728         * common/errors.h: New file.
729         * common/errors.c: Likewise.
730         * Makefile.in (SFILES): Add common/errors.c.
731         (HFILES_NO_SRCDIR): Add common/errors.h.
732         (COMMON_OBS): Add errors.o.
733         (errors.o): New rule.
734         * common/common-defs.h: Include errors.h.
735         * utils.h (perror_with_name, error, verror, warning, vwarning):
736         Don't declare.
737         * common/common-utils.h: (malloc_failure, internal_error):
738         Likewise.
739
740 2014-08-19  Gary Benson  <gbenson@redhat.com>
741
742         * utils.c (internal_vproblem): Always print the message.
743
744 2014-08-18  Doug Evans  <dje@google.com>
745
746         * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
747
748 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
749
750         * ada-typeprint.c (type_is_full_subrange_of_target_type):
751         Return 0 if TYPE is dynamic.
752         (print_range): Add handling of dynamic ranges.
753
754 2014-08-18  Keven Boell  <keven.boell@intel.com>
755             Joel Brobecker  <brobecker@adacore.com>
756
757         * gdbtypes.h (struct main_type): Add field "data_location".
758         (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
759         (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
760         * gdbtypes.c (is_dynamic_type): Return 1 if the type has
761         a dynamic data location.
762         (resolve_dynamic_type): Add DW_AT_data_location handling.
763         (copy_recursive, copy_type): Copy the data_location information
764         when present.
765         * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
766         * value.c (value_from_contents_and_address): Add
767         DW_AT_data_location handling.
768
769 2014-08-18  Keven Boell  <keven.boell@intel.com>
770             Joel Brobecker  <brobecker@adacore.com>
771
772         * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
773         field "get_object_address".
774         * dwarf2expr.c (execute_stack_op): Add handling for
775         DW_OP_push_object_address.
776         * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
777         * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
778         (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
779         (dwarf_expr_get_obj_addr): New function.
780         (dwarf_expr_ctx_funcs): Add get_object_address field.
781         (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
782         (dwarf2_locexpr_baton_eval): Add parameter "addr".  Use it.
783         (dwarf2_evaluate_property): Add parameter "address".  Use it.
784         (needs_get_obj_addr): New function.
785         (needs_frame_ctx_funcs): Add get_object_address field.
786         (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
787         * gdbtypes.c (resolve_dynamic_range): Add "addr" field.  Use it.
788         (resolve_dynamic_array): Likewise.
789
790 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
791
792         * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
793         When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
794         fixed value for records and unions for which some GNAT encodings
795         are present.
796
797 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
798
799         * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
800         rewrite to avoid "else if" and "else" constructs.  Should be
801         a no-op in practice.
802
803 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
804
805         * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
806         of lexical block.
807
808 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
809
810         PR c++/17132
811         * eval.c: Update all calls to find_overload_match.
812         * valarith.c: Likewise.
813         (value_user_defined_cpp_op, value_user_defined_op): New
814         argument NOSIDE.  Update all callers.
815         * valops.c (find_overload_match): New argument NOSIDE.
816         * value.h (find_overload_match): Update signature.
817
818 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
819
820         * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
821         'items' methods instead of 'iteritems' method on dictionaries.
822
823 2014-08-15  Doug Evans  <dje@google.com>
824
825         * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
826         closer to use.
827
828 2014-08-15  Doug Evans  <dje@google.com>
829
830         * dwarf2read.c (dwarf_decode_lines_1): Add comment.
831
832 2014-08-15  Doug Evans  <dje@google.com>
833
834         * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
835
836 2014-08-15  Doug Evans  <dje@google.com>
837
838         * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
839         unused.
840
841 2014-08-15  Eli Zaretskii  <eliz@gnu.org>
842
843         * dcache.h: Include target.h, to avoid compile time warnings.
844
845 2014-08-15  Joel Brobecker  <brobecker@adacore.com>
846
847         * gdbarch.sh: #include "frame.h" in gdbarch.h.  Delete "struct
848         frame_info" partial declaration.
849         * gdbarch.h: Regenerate.
850
851 2014-08-15  Yao Qi  <yao@codesourcery.com>
852
853         * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
854         Add parameter 'decode_for_pst_p'.  Callers update.
855
856 2014-08-13  Yao Qi  <yao@codesourcery.com>
857
858         PR build/17104
859         * configure.ac: Use local variable 'pos'.
860         * configure: Regenerated.
861
862 2014-08-11  Doug Evans  <dje@google.com>
863
864         * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
865         message, it is redundant with "Reading symbols from ..." message.
866
867 2014-08-10  Doug Evans  <xdje42@gmail.com>
868
869         * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
870
871 2014-08-09  Yao Qi  <yao@codesourcery.com>
872
873         PR remote/9053
874         * remote.c (remote_xfer_partial): Remove dead code.
875
876 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
877
878         * ia64-linux-tdep.c: Include "regset.h".
879         (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
880         (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
881         (ia64_linux_supply_fpregset): New function.
882         (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
883         (ia64_linux_regset_from_core_section): New function.
884         (ia64_linux_init_abi): Set regset_from_core_section gdbarch
885         method.
886
887 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
888
889         * m68klinux-tdep.c: Include "regset.h".
890         (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
891         (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
892         (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
893         (m68k_linux_regset_from_core_section): New function.
894         (m68k_linux_init_abi): Set regset_from_core_section gdbarch
895         method.
896
897 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
898
899         * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
900         function.  Move logic to...
901         (tilegx_linux_regmap): ... this new register map.
902         (tilegx_linux_regset): Refer to register map, replace supply
903         method by regcache_supply_regset, and add collect method.
904         * tilegx-tdep.h (enum tilegx_regnum): New enum value
905         TILEGX_FIRST_EASY_REGNUM.
906
907 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
908
909         * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
910         that calls regcache_supply_regset and handles the EPC register
911         separately.  Move main logic to...
912         (score7_linux_gregmap): ... this new register map.
913         (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
914         (score7_linux_gregset): Refer to register map.  Add collect method.
915         (score7_linux_regset_from_core_section): Replace
916         sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
917         * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
918         (struct regset): Delete unused forward declaraction.
919         (struct pt_regs): Delete structure definition.
920         (elf_gregset_t): Delete typedef.
921
922 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
923
924         * nios2-linux-tdep.c (nios2_collect_gregset): New function.
925         (nios2_core_regset): Add collect method.
926
927 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
928
929         * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
930         platform-independent and don't write to read-only input buffer.
931         (m32r_linux_collect_gregset): New function.
932         (m32r_linux_gregset): Add collect method.
933
934 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
935
936         * hppa-linux-tdep.c (greg_map): Rename to...
937         (hppa_linux_gregmap): ... this.  Also convert to
938         regcache_map_entry format.
939         (hppa_linux_supply_regset): Delete function.
940         (hppa_linux_supply_fpregset): Delete function.  Move logic to...
941         (hppa_linux_fpregmap): ... this new register map.
942         (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
943         register map, replace supply method by regcache_supply_regset, and
944         add collect method regcache_collect_regset.
945
946 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
947
948         * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
949         (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
950         (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
951         (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
952         (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
953         (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
954         (frv_linux_supply_gregset): Replace main logic by call to
955         regcache_supply_regset, but keep clearing gr32-gr63.
956         (frv_linux_supply_fpregset): Delete function.
957         (frv_linux_gregset): Refer to appropriate register map and add
958         regcache_collect_regset as the collect method.
959         (frv_linux_fpregset): Likewise.  Also exchange the supply method
960         by regcache_supply_regset.
961
962 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
963
964         * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
965         by call to alpha_supply_int_regs.
966         (alpha_linux_collect_gregset): New function.
967         (alpha_linux_supply_fpregset): Replace logic by call to
968         alpha_supply_fp_regs.
969         (alpha_linux_collect_fpregset): New function.
970         (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
971
972 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
973
974         * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
975         by call to regcache_collect_regset.
976         (supply_gregset, supply_fpregset): Call regcache_supply_regset
977         instead of aarch64_linux_supply_gregset/_fpregset.
978         * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
979         (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
980         header file instead.
981         (aarch64_linux_supply_gregset, supply_gregset_from_core)
982         (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
983         functions.  Move logic to ...
984         (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
985         register maps.
986         (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
987         refer to new register maps, replace *_regset_from_core by
988         regcache_supply_regset, and also use regcache_collect_regset.
989         * aarch64-linux-tdep.h: Include "regset.h".
990         (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
991         Delete prototypes.
992         (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
993         macros, moved from C source file.
994         (aarch64_linux_gregset, aarch64_linux_fpregset): New global
995         variable declarations.
996
997 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
998
999         * s390-linux-nat.c: Include "regset.h".
1000         (regmap_gregset): Delete macro.
1001         (s390_64_regmap_gregset): New register map for
1002         regcache_supply/_collect_regset.
1003         (s390_64_gregset): New regset.
1004         (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
1005         (regmap_fpregset): Delete macro.
1006         (s390_native_supply, s390_native_collect): Delete functions.
1007         (supply_gregset, fill_gregset): Replace s390-specific regmap
1008         handling by a call to regcache_supply/_collect_regset.
1009         (supply_fpregset, fill_fpregset): Call regcache_supply/
1010         _collect_regset instead of s390_native_supply/_collect.
1011         (fetch_regset, store_regset): Likewise.  Also change the last
1012         parameter to a regset instead of a regmap.
1013         (s390_linux_fetch_inferior_registers)
1014         (390_linux_store_inferior_registers): Adjust last parameter in
1015         calls to fetch_regset and store_regset.
1016         * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
1017         (s390_gregmap): ... this.  Also make static const and convert to
1018         regcache_map_entry format.
1019         (s390x_regmap_gregset): Delete.
1020         (s390_regmap_fpregset): Rename to...
1021         (s390_fpregmap): ... this.  Make static const and convert to
1022         regcache_map_entry format.
1023         (s390_regmap_upper, s390_regmap_last_break)
1024         (s390x_regmap_last_break, s390_regmap_system_call)
1025         (s390_regmap_tdb): Likewise.
1026         (s390_supply_regset, s390_collect_regset): Remove functions.
1027         (s390_supply_tdb_regset): Call regcache_supply_regset instead of
1028         s390_supply_regset.
1029         (s390_gregset, s390_fpregset, s390_upper_regset)
1030         (s390_last_break_regset, s390x_last_break_regset)
1031         (s390_system_call_regset, s390_tdb_regset): Make global and
1032         replace s390_supply/_collect_regset by regcache_supply/
1033         _collect_regset.
1034         (s390x_gregset): Delete.
1035         (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
1036         * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
1037         (s390_regmap_fpregset, s390_regmap_last_break)
1038         (s390x_regmap_last_break, s390_regmap_system_call)
1039         (s390_regmap_tdb): Delete global variable declarations.
1040         (s390_gregset, s390_fpregset, s390_last_break_regset)
1041         (s390x_last_break_regset, s390_system_call_regset)
1042         (s390_tdb_regset): New global variable declarations.
1043
1044 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1045
1046         * regcache.c: Include "regset.h".
1047         (regcache_transfer_regset): New local function.
1048         (regcache_supply_regset, regcache_collect_regset): New functions.
1049         * regcache.h (struct regcache_map_entry): New structure.
1050         (REGCACHE_MAP_SKIP): New enum value.
1051         (regcache_supply_regset, regcache_collect_regset): New prototypes.
1052
1053 2014-08-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1054
1055         * regset.h (struct regset): Rename 'descr' field to 'regmap'.
1056         * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1057         (ppc_linux_collect_gregset ): Likewise.
1058         * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
1059         (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
1060         (ppc_collect_vrregset): Likewise.
1061         * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
1062         Likewise.
1063
1064 2014-08-07  Yao Qi  <yao@codesourcery.com>
1065
1066         * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
1067         * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
1068         * remote.c (remote_read_bytes): Likewise.
1069
1070 2014-08-07  Yao Qi  <yao@codesourcery.com>
1071
1072         * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
1073
1074 2014-08-07  Yao Qi  <yao@codesourcery.com>
1075
1076         PR remote/17230
1077         * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
1078         TARGET_XFER_OK instead of 0.
1079
1080 2014-08-07  Gary Benson  <gbenson@redhat.com>
1081
1082         * common/common-defs.h: Include errno.h.
1083         * defs.h: Do not include errno.h.
1084         * ada-typeprint.c: Likewise.
1085         * c-typeprint.c: Likewise.
1086         * core-regset.c: Likewise.
1087         * corefile.c: Likewise.
1088         * corelow.c: Likewise.
1089         * event-loop.c: Likewise.
1090         * f-typeprint.c: Likewise.
1091         * gnu-nat.c: Likewise.
1092         * go32-nat.c: Likewise.
1093         * i386gnu-nat.c: Likewise.
1094         * m2-typeprint.c: Likewise.
1095         * nat/linux-btrace.c: Likewise.
1096         * p-typeprint.c: Likewise.
1097         * procfs.c: Likewise.
1098         * remote-sim.c: Likewise.
1099         * rs6000-nat.c: Likewise.
1100         * target.c: Likewise.
1101         * typeprint.c: Likewise.
1102         * ui-file.c: Likewise.
1103         * valops.c: Likewise.
1104         * valprint.c: Likewise.
1105
1106 2014-08-07  Gary Benson  <gbenson@redhat.com>
1107
1108         * common/common-defs.h: Include string.h.
1109         * aarch64-tdep.c: Do not include string.h.
1110         * ada-exp.y: Likewise.
1111         * ada-lang.c: Likewise.
1112         * ada-lex.l: Likewise.
1113         * ada-typeprint.c: Likewise.
1114         * ada-valprint.c: Likewise.
1115         * aix-thread.c: Likewise.
1116         * alpha-linux-tdep.c: Likewise.
1117         * alpha-mdebug-tdep.c: Likewise.
1118         * alpha-nat.c: Likewise.
1119         * alpha-osf1-tdep.c: Likewise.
1120         * alpha-tdep.c: Likewise.
1121         * alphanbsd-tdep.c: Likewise.
1122         * amd64-dicos-tdep.c: Likewise.
1123         * amd64-linux-tdep.c: Likewise.
1124         * amd64-nat.c: Likewise.
1125         * amd64-sol2-tdep.c: Likewise.
1126         * amd64fbsd-tdep.c: Likewise.
1127         * amd64obsd-tdep.c: Likewise.
1128         * arch-utils.c: Likewise.
1129         * arm-linux-nat.c: Likewise.
1130         * arm-linux-tdep.c: Likewise.
1131         * arm-tdep.c: Likewise.
1132         * arm-wince-tdep.c: Likewise.
1133         * armbsd-tdep.c: Likewise.
1134         * armnbsd-nat.c: Likewise.
1135         * armnbsd-tdep.c: Likewise.
1136         * armobsd-tdep.c: Likewise.
1137         * avr-tdep.c: Likewise.
1138         * ax-gdb.c: Likewise.
1139         * ax-general.c: Likewise.
1140         * bcache.c: Likewise.
1141         * bfin-tdep.c: Likewise.
1142         * breakpoint.c: Likewise.
1143         * build-id.c: Likewise.
1144         * buildsym.c: Likewise.
1145         * c-exp.y: Likewise.
1146         * c-lang.c: Likewise.
1147         * c-typeprint.c: Likewise.
1148         * c-valprint.c: Likewise.
1149         * charset.c: Likewise.
1150         * cli-out.c: Likewise.
1151         * cli/cli-cmds.c: Likewise.
1152         * cli/cli-decode.c: Likewise.
1153         * cli/cli-dump.c: Likewise.
1154         * cli/cli-interp.c: Likewise.
1155         * cli/cli-logging.c: Likewise.
1156         * cli/cli-script.c: Likewise.
1157         * cli/cli-setshow.c: Likewise.
1158         * cli/cli-utils.c: Likewise.
1159         * coffread.c: Likewise.
1160         * common/agent.c: Likewise.
1161         * common/buffer.c: Likewise.
1162         * common/buffer.h: Likewise.
1163         * common/common-utils.c: Likewise.
1164         * common/filestuff.c: Likewise.
1165         * common/filestuff.c: Likewise.
1166         * common/format.c: Likewise.
1167         * common/print-utils.c: Likewise.
1168         * common/rsp-low.c: Likewise.
1169         * common/signals.c: Likewise.
1170         * common/vec.h: Likewise.
1171         * common/xml-utils.c: Likewise.
1172         * core-regset.c: Likewise.
1173         * corefile.c: Likewise.
1174         * corelow.c: Likewise.
1175         * cp-abi.c: Likewise.
1176         * cp-name-parser.y: Likewise.
1177         * cp-support.c: Likewise.
1178         * cp-valprint.c: Likewise.
1179         * cris-tdep.c: Likewise.
1180         * d-exp.y: Likewise.
1181         * darwin-nat.c: Likewise.
1182         * dbxread.c: Likewise.
1183         * dcache.c: Likewise.
1184         * demangle.c: Likewise.
1185         * dicos-tdep.c: Likewise.
1186         * disasm.c: Likewise.
1187         * doublest.c: Likewise.
1188         * dsrec.c: Likewise.
1189         * dummy-frame.c: Likewise.
1190         * dwarf2-frame.c: Likewise.
1191         * dwarf2loc.c: Likewise.
1192         * dwarf2read.c: Likewise.
1193         * elfread.c: Likewise.
1194         * environ.c: Likewise.
1195         * eval.c: Likewise.
1196         * event-loop.c: Likewise.
1197         * exceptions.c: Likewise.
1198         * exec.c: Likewise.
1199         * expprint.c: Likewise.
1200         * f-exp.y: Likewise.
1201         * f-lang.c: Likewise.
1202         * f-typeprint.c: Likewise.
1203         * f-valprint.c: Likewise.
1204         * fbsd-nat.c: Likewise.
1205         * findcmd.c: Likewise.
1206         * findvar.c: Likewise.
1207         * fork-child.c: Likewise.
1208         * frame.c: Likewise.
1209         * frv-linux-tdep.c: Likewise.
1210         * frv-tdep.c: Likewise.
1211         * gdb.c: Likewise.
1212         * gdb_bfd.c: Likewise.
1213         * gdbarch.c: Likewise.
1214         * gdbarch.sh: Likewise.
1215         * gdbtypes.c: Likewise.
1216         * gnu-nat.c: Likewise.
1217         * gnu-v2-abi.c: Likewise.
1218         * gnu-v3-abi.c: Likewise.
1219         * go-exp.y: Likewise.
1220         * go-lang.c: Likewise.
1221         * go32-nat.c: Likewise.
1222         * guile/guile.c: Likewise.
1223         * guile/scm-auto-load.c: Likewise.
1224         * hppa-hpux-tdep.c: Likewise.
1225         * hppa-linux-nat.c: Likewise.
1226         * hppanbsd-tdep.c: Likewise.
1227         * hppaobsd-tdep.c: Likewise.
1228         * i386-cygwin-tdep.c: Likewise.
1229         * i386-dicos-tdep.c: Likewise.
1230         * i386-linux-tdep.c: Likewise.
1231         * i386-nto-tdep.c: Likewise.
1232         * i386-sol2-tdep.c: Likewise.
1233         * i386-tdep.c: Likewise.
1234         * i386bsd-tdep.c: Likewise.
1235         * i386gnu-nat.c: Likewise.
1236         * i386nbsd-tdep.c: Likewise.
1237         * i386obsd-tdep.c: Likewise.
1238         * i387-tdep.c: Likewise.
1239         * ia64-libunwind-tdep.c: Likewise.
1240         * ia64-linux-nat.c: Likewise.
1241         * inf-child.c: Likewise.
1242         * inf-ptrace.c: Likewise.
1243         * inf-ttrace.c: Likewise.
1244         * infcall.c: Likewise.
1245         * infcmd.c: Likewise.
1246         * inflow.c: Likewise.
1247         * infrun.c: Likewise.
1248         * interps.c: Likewise.
1249         * iq2000-tdep.c: Likewise.
1250         * irix5-nat.c: Likewise.
1251         * jv-exp.y: Likewise.
1252         * jv-lang.c: Likewise.
1253         * jv-typeprint.c: Likewise.
1254         * jv-valprint.c: Likewise.
1255         * language.c: Likewise.
1256         * linux-fork.c: Likewise.
1257         * linux-nat.c: Likewise.
1258         * lm32-tdep.c: Likewise.
1259         * m2-exp.y: Likewise.
1260         * m2-typeprint.c: Likewise.
1261         * m32c-tdep.c: Likewise.
1262         * m32r-linux-nat.c: Likewise.
1263         * m32r-linux-tdep.c: Likewise.
1264         * m32r-rom.c: Likewise.
1265         * m32r-tdep.c: Likewise.
1266         * m68hc11-tdep.c: Likewise.
1267         * m68k-tdep.c: Likewise.
1268         * m68kbsd-tdep.c: Likewise.
1269         * m68klinux-nat.c: Likewise.
1270         * m68klinux-tdep.c: Likewise.
1271         * m88k-tdep.c: Likewise.
1272         * machoread.c: Likewise.
1273         * macrocmd.c: Likewise.
1274         * main.c: Likewise.
1275         * mdebugread.c: Likewise.
1276         * mem-break.c: Likewise.
1277         * memattr.c: Likewise.
1278         * memory-map.c: Likewise.
1279         * mep-tdep.c: Likewise.
1280         * mi/mi-cmd-break.c: Likewise.
1281         * mi/mi-cmd-disas.c: Likewise.
1282         * mi/mi-cmd-env.c: Likewise.
1283         * mi/mi-cmd-stack.c: Likewise.
1284         * mi/mi-cmd-var.c: Likewise.
1285         * mi/mi-cmds.c: Likewise.
1286         * mi/mi-console.c: Likewise.
1287         * mi/mi-getopt.c: Likewise.
1288         * mi/mi-interp.c: Likewise.
1289         * mi/mi-main.c: Likewise.
1290         * mi/mi-parse.c: Likewise.
1291         * microblaze-rom.c: Likewise.
1292         * microblaze-tdep.c: Likewise.
1293         * mingw-hdep.c: Likewise.
1294         * minidebug.c: Likewise.
1295         * minsyms.c: Likewise.
1296         * mips-irix-tdep.c: Likewise.
1297         * mips-linux-tdep.c: Likewise.
1298         * mips-tdep.c: Likewise.
1299         * mips64obsd-tdep.c: Likewise.
1300         * mipsnbsd-tdep.c: Likewise.
1301         * mipsread.c: Likewise.
1302         * mn10300-linux-tdep.c: Likewise.
1303         * mn10300-tdep.c: Likewise.
1304         * monitor.c: Likewise.
1305         * moxie-tdep.c: Likewise.
1306         * mt-tdep.c: Likewise.
1307         * nat/linux-btrace.c: Likewise.
1308         * nat/linux-osdata.c: Likewise.
1309         * nat/linux-procfs.c: Likewise.
1310         * nat/linux-ptrace.c: Likewise.
1311         * nat/linux-waitpid.c: Likewise.
1312         * nbsd-tdep.c: Likewise.
1313         * nios2-linux-tdep.c: Likewise.
1314         * nto-procfs.c: Likewise.
1315         * nto-tdep.c: Likewise.
1316         * objc-lang.c: Likewise.
1317         * objfiles.c: Likewise.
1318         * opencl-lang.c: Likewise.
1319         * osabi.c: Likewise.
1320         * osdata.c: Likewise.
1321         * p-exp.y: Likewise.
1322         * p-lang.c: Likewise.
1323         * p-typeprint.c: Likewise.
1324         * parse.c: Likewise.
1325         * posix-hdep.c: Likewise.
1326         * ppc-linux-nat.c: Likewise.
1327         * ppc-sysv-tdep.c: Likewise.
1328         * ppcfbsd-tdep.c: Likewise.
1329         * ppcnbsd-tdep.c: Likewise.
1330         * ppcobsd-tdep.c: Likewise.
1331         * printcmd.c: Likewise.
1332         * procfs.c: Likewise.
1333         * prologue-value.c: Likewise.
1334         * python/py-auto-load.c: Likewise.
1335         * python/py-gdb-readline.c: Likewise.
1336         * ravenscar-thread.c: Likewise.
1337         * regcache.c: Likewise.
1338         * registry.c: Likewise.
1339         * remote-fileio.c: Likewise.
1340         * remote-m32r-sdi.c: Likewise.
1341         * remote-mips.c: Likewise.
1342         * remote-notif.c: Likewise.
1343         * remote-sim.c: Likewise.
1344         * remote.c: Likewise.
1345         * reverse.c: Likewise.
1346         * rs6000-aix-tdep.c: Likewise.
1347         * ser-base.c: Likewise.
1348         * ser-go32.c: Likewise.
1349         * ser-mingw.c: Likewise.
1350         * ser-pipe.c: Likewise.
1351         * ser-tcp.c: Likewise.
1352         * ser-unix.c: Likewise.
1353         * serial.c: Likewise.
1354         * sh-tdep.c: Likewise.
1355         * sh64-tdep.c: Likewise.
1356         * shnbsd-tdep.c: Likewise.
1357         * skip.c: Likewise.
1358         * sol-thread.c: Likewise.
1359         * solib-dsbt.c: Likewise.
1360         * solib-frv.c: Likewise.
1361         * solib-osf.c: Likewise.
1362         * solib-som.c: Likewise.
1363         * solib-spu.c: Likewise.
1364         * solib-target.c: Likewise.
1365         * solib.c: Likewise.
1366         * somread.c: Likewise.
1367         * source.c: Likewise.
1368         * sparc-nat.c: Likewise.
1369         * sparc-sol2-tdep.c: Likewise.
1370         * sparc-tdep.c: Likewise.
1371         * sparc64-tdep.c: Likewise.
1372         * sparc64fbsd-tdep.c: Likewise.
1373         * sparc64nbsd-tdep.c: Likewise.
1374         * sparcnbsd-tdep.c: Likewise.
1375         * spu-linux-nat.c: Likewise.
1376         * spu-multiarch.c: Likewise.
1377         * spu-tdep.c: Likewise.
1378         * stabsread.c: Likewise.
1379         * stack.c: Likewise.
1380         * std-regs.c: Likewise.
1381         * symfile.c: Likewise.
1382         * symmisc.c: Likewise.
1383         * symtab.c: Likewise.
1384         * target.c: Likewise.
1385         * thread.c: Likewise.
1386         * tilegx-linux-nat.c: Likewise.
1387         * tilegx-tdep.c: Likewise.
1388         * top.c: Likewise.
1389         * tracepoint.c: Likewise.
1390         * tui/tui-command.c: Likewise.
1391         * tui/tui-data.c: Likewise.
1392         * tui/tui-disasm.c: Likewise.
1393         * tui/tui-file.c: Likewise.
1394         * tui/tui-layout.c: Likewise.
1395         * tui/tui-out.c: Likewise.
1396         * tui/tui-regs.c: Likewise.
1397         * tui/tui-source.c: Likewise.
1398         * tui/tui-stack.c: Likewise.
1399         * tui/tui-win.c: Likewise.
1400         * tui/tui-windata.c: Likewise.
1401         * tui/tui-winsource.c: Likewise.
1402         * typeprint.c: Likewise.
1403         * ui-file.c: Likewise.
1404         * ui-out.c: Likewise.
1405         * user-regs.c: Likewise.
1406         * utils.c: Likewise.
1407         * v850-tdep.c: Likewise.
1408         * valarith.c: Likewise.
1409         * valops.c: Likewise.
1410         * valprint.c: Likewise.
1411         * value.c: Likewise.
1412         * varobj.c: Likewise.
1413         * vax-tdep.c: Likewise.
1414         * vaxnbsd-tdep.c: Likewise.
1415         * vaxobsd-tdep.c: Likewise.
1416         * windows-nat.c: Likewise.
1417         * xcoffread.c: Likewise.
1418         * xml-support.c: Likewise.
1419         * xstormy16-tdep.c: Likewise.
1420         * xtensa-linux-nat.c: Likewise.
1421
1422 2014-08-07  Gary Benson  <gbenson@redhat.com>
1423
1424         * common/common-defs.h: Include gdb_assert.h.
1425         * aarch64-tdep.c: Do not include gdb_assert.h.
1426         * addrmap.c: Likewise.
1427         * aix-thread.c: Likewise.
1428         * alpha-linux-tdep.c: Likewise.
1429         * alpha-mdebug-tdep.c: Likewise.
1430         * alphanbsd-tdep.c: Likewise.
1431         * amd64-nat.c: Likewise.
1432         * amd64-tdep.c: Likewise.
1433         * amd64bsd-nat.c: Likewise.
1434         * amd64fbsd-nat.c: Likewise.
1435         * amd64fbsd-tdep.c: Likewise.
1436         * amd64nbsd-nat.c: Likewise.
1437         * amd64nbsd-tdep.c: Likewise.
1438         * amd64obsd-nat.c: Likewise.
1439         * amd64obsd-tdep.c: Likewise.
1440         * arch-utils.c: Likewise.
1441         * arm-tdep.c: Likewise.
1442         * armbsd-tdep.c: Likewise.
1443         * auxv.c: Likewise.
1444         * bcache.c: Likewise.
1445         * bfin-tdep.c: Likewise.
1446         * blockframe.c: Likewise.
1447         * breakpoint.c: Likewise.
1448         * bsd-kvm.c: Likewise.
1449         * bsd-uthread.c: Likewise.
1450         * buildsym.c: Likewise.
1451         * c-exp.y: Likewise.
1452         * c-lang.c: Likewise.
1453         * charset.c: Likewise.
1454         * cleanups.c: Likewise.
1455         * cli-out.c: Likewise.
1456         * cli/cli-decode.c: Likewise.
1457         * cli/cli-dump.c: Likewise.
1458         * cli/cli-logging.c: Likewise.
1459         * cli/cli-script.c: Likewise.
1460         * cli/cli-utils.c: Likewise.
1461         * coffread.c: Likewise.
1462         * common/common-utils.c: Likewise.
1463         * common/queue.h: Likewise.
1464         * common/signals.c: Likewise.
1465         * common/vec.h: Likewise.
1466         * complaints.c: Likewise.
1467         * completer.c: Likewise.
1468         * corelow.c: Likewise.
1469         * cp-abi.c: Likewise.
1470         * cp-name-parser.y: Likewise.
1471         * cp-namespace.c: Likewise.
1472         * cp-support.c: Likewise.
1473         * cris-tdep.c: Likewise.
1474         * dbxread.c: Likewise.
1475         * dictionary.c: Likewise.
1476         * doublest.c: Likewise.
1477         * dsrec.c: Likewise.
1478         * dummy-frame.c: Likewise.
1479         * dwarf2-frame-tailcall.c: Likewise.
1480         * dwarf2-frame.c: Likewise.
1481         * dwarf2expr.c: Likewise.
1482         * dwarf2loc.c: Likewise.
1483         * dwarf2read.c: Likewise.
1484         * eval.c: Likewise.
1485         * event-loop.c: Likewise.
1486         * exceptions.c: Likewise.
1487         * expprint.c: Likewise.
1488         * f-valprint.c: Likewise.
1489         * fbsd-nat.c: Likewise.
1490         * findvar.c: Likewise.
1491         * frame-unwind.c: Likewise.
1492         * frame.c: Likewise.
1493         * frv-tdep.c: Likewise.
1494         * gcore.c: Likewise.
1495         * gdb-dlfcn.c: Likewise.
1496         * gdb_bfd.c: Likewise.
1497         * gdbarch.c: Likewise.
1498         * gdbarch.sh: Likewise.
1499         * gdbtypes.c: Likewise.
1500         * gnu-nat.c: Likewise.
1501         * gnu-v3-abi.c: Likewise.
1502         * go-lang.c: Likewise.
1503         * guile/scm-exception.c: Likewise.
1504         * guile/scm-gsmob.c: Likewise.
1505         * guile/scm-lazy-string.c: Likewise.
1506         * guile/scm-math.c: Likewise.
1507         * guile/scm-pretty-print.c: Likewise.
1508         * guile/scm-safe-call.c: Likewise.
1509         * guile/scm-utils.c: Likewise.
1510         * guile/scm-value.c: Likewise.
1511         * h8300-tdep.c: Likewise.
1512         * hppa-hpux-nat.c: Likewise.
1513         * hppa-tdep.c: Likewise.
1514         * hppanbsd-tdep.c: Likewise.
1515         * hppaobsd-tdep.c: Likewise.
1516         * i386-darwin-nat.c: Likewise.
1517         * i386-darwin-tdep.c: Likewise.
1518         * i386-nto-tdep.c: Likewise.
1519         * i386-tdep.c: Likewise.
1520         * i386bsd-nat.c: Likewise.
1521         * i386fbsd-tdep.c: Likewise.
1522         * i386gnu-nat.c: Likewise.
1523         * i386nbsd-tdep.c: Likewise.
1524         * i386obsd-tdep.c: Likewise.
1525         * i387-tdep.c: Likewise.
1526         * ia64-libunwind-tdep.c: Likewise.
1527         * ia64-tdep.c: Likewise.
1528         * inf-ptrace.c: Likewise.
1529         * inf-ttrace.c: Likewise.
1530         * infcall.c: Likewise.
1531         * infcmd.c: Likewise.
1532         * infrun.c: Likewise.
1533         * inline-frame.c: Likewise.
1534         * interps.c: Likewise.
1535         * jv-lang.c: Likewise.
1536         * jv-typeprint.c: Likewise.
1537         * linux-fork.c: Likewise.
1538         * linux-nat.c: Likewise.
1539         * linux-thread-db.c: Likewise.
1540         * m32c-tdep.c: Likewise.
1541         * m32r-linux-nat.c: Likewise.
1542         * m32r-tdep.c: Likewise.
1543         * m68k-tdep.c: Likewise.
1544         * m68kbsd-nat.c: Likewise.
1545         * m68kbsd-tdep.c: Likewise.
1546         * m88k-tdep.c: Likewise.
1547         * machoread.c: Likewise.
1548         * macroexp.c: Likewise.
1549         * macrotab.c: Likewise.
1550         * maint.c: Likewise.
1551         * mdebugread.c: Likewise.
1552         * memory-map.c: Likewise.
1553         * mep-tdep.c: Likewise.
1554         * mi/mi-common.c: Likewise.
1555         * microblaze-tdep.c: Likewise.
1556         * mingw-hdep.c: Likewise.
1557         * mips-linux-nat.c: Likewise.
1558         * mips-linux-tdep.c: Likewise.
1559         * mips-tdep.c: Likewise.
1560         * mips64obsd-tdep.c: Likewise.
1561         * mipsnbsd-tdep.c: Likewise.
1562         * mn10300-linux-tdep.c: Likewise.
1563         * mn10300-tdep.c: Likewise.
1564         * moxie-tdep.c: Likewise.
1565         * mt-tdep.c: Likewise.
1566         * nat/linux-btrace.c: Likewise.
1567         * nat/linux-osdata.c: Likewise.
1568         * nat/linux-ptrace.c: Likewise.
1569         * nat/mips-linux-watch.c: Likewise.
1570         * nios2-linux-tdep.c: Likewise.
1571         * nios2-tdep.c: Likewise.
1572         * objc-lang.c: Likewise.
1573         * objfiles.c: Likewise.
1574         * obsd-nat.c: Likewise.
1575         * opencl-lang.c: Likewise.
1576         * osabi.c: Likewise.
1577         * parse.c: Likewise.
1578         * ppc-linux-nat.c: Likewise.
1579         * ppc-sysv-tdep.c: Likewise.
1580         * ppcfbsd-nat.c: Likewise.
1581         * ppcfbsd-tdep.c: Likewise.
1582         * ppcnbsd-nat.c: Likewise.
1583         * ppcnbsd-tdep.c: Likewise.
1584         * ppcobsd-nat.c: Likewise.
1585         * ppcobsd-tdep.c: Likewise.
1586         * printcmd.c: Likewise.
1587         * procfs.c: Likewise.
1588         * prologue-value.c: Likewise.
1589         * psymtab.c: Likewise.
1590         * python/py-lazy-string.c: Likewise.
1591         * python/py-value.c: Likewise.
1592         * regcache.c: Likewise.
1593         * reggroups.c: Likewise.
1594         * registry.c: Likewise.
1595         * remote-sim.c: Likewise.
1596         * remote.c: Likewise.
1597         * rs6000-aix-tdep.c: Likewise.
1598         * rs6000-tdep.c: Likewise.
1599         * s390-linux-tdep.c: Likewise.
1600         * score-tdep.c: Likewise.
1601         * ser-base.c: Likewise.
1602         * ser-mingw.c: Likewise.
1603         * sh-tdep.c: Likewise.
1604         * sh64-tdep.c: Likewise.
1605         * solib-darwin.c: Likewise.
1606         * solib-spu.c: Likewise.
1607         * solib-svr4.c: Likewise.
1608         * source.c: Likewise.
1609         * sparc-nat.c: Likewise.
1610         * sparc-sol2-tdep.c: Likewise.
1611         * sparc-tdep.c: Likewise.
1612         * sparc64-sol2-tdep.c: Likewise.
1613         * sparc64-tdep.c: Likewise.
1614         * sparc64fbsd-tdep.c: Likewise.
1615         * sparc64nbsd-tdep.c: Likewise.
1616         * sparc64obsd-tdep.c: Likewise.
1617         * sparcnbsd-tdep.c: Likewise.
1618         * sparcobsd-tdep.c: Likewise.
1619         * spu-multiarch.c: Likewise.
1620         * spu-tdep.c: Likewise.
1621         * stabsread.c: Likewise.
1622         * stack.c: Likewise.
1623         * symfile.c: Likewise.
1624         * symtab.c: Likewise.
1625         * target-descriptions.c: Likewise.
1626         * target-memory.c: Likewise.
1627         * target.c: Likewise.
1628         * tic6x-linux-tdep.c: Likewise.
1629         * tic6x-tdep.c: Likewise.
1630         * tilegx-linux-nat.c: Likewise.
1631         * tilegx-tdep.c: Likewise.
1632         * top.c: Likewise.
1633         * tramp-frame.c: Likewise.
1634         * tui/tui-out.c: Likewise.
1635         * tui/tui-winsource.c: Likewise.
1636         * ui-out.c: Likewise.
1637         * user-regs.c: Likewise.
1638         * utils.c: Likewise.
1639         * v850-tdep.c: Likewise.
1640         * valops.c: Likewise.
1641         * value.c: Likewise.
1642         * varobj.c: Likewise.
1643         * vax-nat.c: Likewise.
1644         * xml-syscall.c: Likewise.
1645         * xml-tdesc.c: Likewise.
1646         * xstormy16-tdep.c: Likewise.
1647         * xtensa-linux-nat.c: Likewise.
1648         * xtensa-tdep.c: Likewise.
1649
1650 2014-08-07  Gary Benson  <gbenson@redhat.com>
1651
1652         * common/common-defs.h: Include common-utils.h.
1653         * defs.h: Do not include common-utils.h.
1654         * common/gdb_assert.h: Likewise.
1655         * darwin-nat.h: Likewise.
1656         * nat/linux-btrace.c: Likewise.
1657         * target/waitstatus.h: Likewise.
1658
1659 2014-08-07  Gary Benson  <gbenson@redhat.com>
1660
1661         * common/common-defs.h: Include ptid.h.
1662         * defs.h: Do not include ptid.h.
1663         * inferior.h: Likewise.
1664         * infrun.h: Likewise.
1665         * nat/linux-btrace.h: Likewise.
1666         * nat/linux-osdata.h: Likewise.
1667         * target/waitstatus.h: Likewise.
1668
1669 2014-08-07  Gary Benson  <gbenson@redhat.com>
1670
1671         * common/common-defs.h: Include gdb_locale.h.
1672         * defs.h: Do not include gdb_locale.h.
1673
1674 2014-08-07  Gary Benson  <gbenson@redhat.com>
1675
1676         * common/common-defs.h: Include gdb/signals.h.
1677         * defs.h: Do not include gdb/signals.h.
1678
1679 2014-08-07  Gary Benson  <gbenson@redhat.com>
1680
1681         * common/common-defs.h: Include pathmax.h.
1682         * defs.h: Do not include pathmax.h.
1683
1684 2014-08-07  Gary Benson  <gbenson@redhat.com>
1685
1686         * common/common-defs.h: Include libiberty.h.
1687         * defs.h: Do not include libiberty.h.
1688         * common/queue.h: Likewise.
1689         * cp-name-parser.y: Likewise.
1690         * mi/mi-cmd-catch.c: Likewise.
1691         * python/python.c: Likewise.
1692
1693 2014-08-07  Gary Benson  <gbenson@redhat.com>
1694
1695         * common/common-defs.h: Include ansidecl.h.
1696         * defs.h: Do not include ansidecl.h.
1697         * common/buffer.h: Likewise.
1698         * common/common-utils.h: Likewise.
1699
1700 2014-08-07  Gary Benson  <gbenson@redhat.com>
1701
1702         * common/common-defs.h: Include stddef.h.
1703         * defs.h: Do not include stddef.h.
1704         * common/common-utils.h: Likewise.
1705         * amd64fbsd-nat.c: Likewise.
1706         * bcache.c: Likewise.
1707         * charset.c: Likewise.
1708         * common/buffer.h: Likewise.
1709         * common/vec.h: Likewise.
1710         * i386bsd-nat.c: Likewise.
1711         * nat/linux-btrace.h: Likewise.
1712         * ppcfbsd-nat.c: Likewise.
1713         * ppcnbsd-tdep.h: Likewise.
1714         * ppcobsd-nat.c: Likewise.
1715         * ppcobsd-tdep.h: Likewise.
1716         * python/py-gdb-readline.c: Likewise.
1717
1718 2014-08-07  Gary Benson  <gbenson@redhat.com>
1719
1720         * common/common-defs.h: Include stdarg.h.
1721         * defs.h: Do not include stdarg.h.
1722         * ada-lang.c: Likewise.
1723         * common/common-utils.h: Likewise.
1724         * guile/scm-string.c: Likewise.
1725         * guile/scm-utils.c: Likewise.
1726         * m32c-tdep.c: Likewise.
1727
1728 2014-08-07  Gary Benson  <gbenson@redhat.com>
1729
1730         * common/common-defs.h: Include stdlib.h.
1731         * defs.h: Do not include stdlib.h.
1732         * addrmap.c: Likewise.
1733         * bcache.c: Likewise.
1734         * common/buffer.c: Likewise.
1735         * common/common-utils.c: Likewise.
1736         * cp-name-parser.y: Likewise.
1737         * go32-nat.c: Likewise.
1738         * mn10300-linux-tdep.c: Likewise.
1739         * nat/linux-osdata.c: Likewise.
1740         * tui/tui.c: Likewise.
1741         * windows-nat.c: Likewise.
1742
1743 2014-08-07  Gary Benson  <gbenson@redhat.com>
1744
1745         * common/common-defs.h: Include stdio.h.
1746         * defs.h: Do not include stdio.h.
1747         * ada-lang.c: Likewise.
1748         * common/buffer.c: Likewise.
1749         * common/common-utils.c: Likewise.
1750         * cp-name-parser.y: Likewise.
1751         * gnu-nat.c: Likewise.
1752         * go32-nat.c: Likewise.
1753         * i386gnu-nat.c: Likewise.
1754         * proc-api.c: Likewise.
1755         * proc-events.c: Likewise.
1756         * proc-flags.c: Likewise.
1757         * proc-why.c: Likewise.
1758         * python/python-internal.h: Likewise.
1759         * target-memory.c: Likewise.
1760         * tui/tui-io.c: Likewise.
1761         * tui/tui.c: Likewise.
1762
1763 2014-08-06  Simon Marchi  <simon.marchi@ericsson.com>
1764
1765         * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1766         (scan_dyntag_auxv): Same.
1767
1768 2014-08-06  Yao Qi  <yao@codesourcery.com>
1769
1770         * amd64-linux-nat.c: Remove duplicated include
1771         "x86-linux-nat.h".
1772         * i386-linux-nat.c: Likewise.
1773
1774 2014-08-06  Yao Qi  <yao@codesourcery.com>
1775
1776         * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1777         operand" with "Special opcode" in comments.
1778
1779 2014-08-05  Gary Benson  <gbenson@redhat.com>
1780
1781         * interps.c (initialize_interps): Remove prototype.
1782         (interpreter_initialized): Remove static global.
1783         (interp_add): Do not call initialize_interps.
1784         (initialize_interps): Remove function.
1785
1786 2014-08-05  Gary Benson  <gbenson@redhat.com>
1787
1788         * utils.c (vwarning): Remove spurious va_end.
1789
1790 2014-08-05  Alan Modra  <amodra@gmail.com>
1791
1792         * charset.c (convert_between_encodings): Cast result of obstack_base.
1793         * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1794         * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1795         (read_unwind_info): Use size_t for some locals.
1796         * jit.c (finalize_symtab): Likewise.
1797         * utils.c (hashtab_obstack_allocate): Likewise.
1798         * symmisc.c (print_objfile_statistics): Update format strings.
1799
1800 2014-08-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1801
1802         * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1803         (Changes in GDB 7.8): ... here.
1804
1805 2014-08-04  Tom Tromey  <tromey@redhat.com>
1806
1807         * target.c (set_targetdebug): New function.
1808         (initialize_targets): Pass set_targetdebug when creating "set
1809         debug target".
1810
1811 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
1812
1813         * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1814         if detecting a variable-sized field that is not the last field.
1815         Fix struct type length computation.
1816
1817 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
1818
1819         * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1820         Add debug trace.
1821
1822 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
1823
1824         * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1825         Remove "+ 8" offset in computation of CHAIN_VMA.
1826
1827 2014-07-31  Doug Evans  <dje@google.com>
1828
1829         * inflow.c (child_terminal_inferior): Add comment.
1830         (child_terminal_ours_for_output): Add comment.
1831         (child_terminal_ours): Add comment.
1832         * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1833         (linux_nat_terminal_ours): Add comment.
1834
1835 2014-07-31  Gary Benson  <gbenson@redhat.com>
1836
1837         * common/btrace-common.h: Do not include defs.h or server.h.
1838         * nat/mips-linux-watch.h: Likewise.
1839         * gdb-dlfcn.h: Do not include defs.h.
1840         * tracefile.h: Likewise.
1841
1842 2014-07-30  Roland McGrath  <mcgrathr@google.com>
1843
1844         * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1845
1846 2014-07-30  Tom Tromey  <tromey@redhat.com>
1847
1848         * bsd-kvm.c (bsd_kvm_open): Constify.
1849         * corelow.c (core_open): Constify.
1850         * ctf.c (ctf_open): Constify.
1851         * dbug-rom.c (dbug_open): Constify.
1852         * exec.c (exec_open): Constify.
1853         * m32r-rom.c (m32r_open, mon2000_open): Constify.
1854         * microblaze-rom.c (picobug_open): Constify.
1855         * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1856         Constify.
1857         * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1858         * record-btrace.c (record_btrace_open): Constify.
1859         * record-full.c (record_full_core_open_1, record_full_open_1)
1860         (record_full_open): Constify.
1861         * remote-m32r-sdi.c (m32r_open): Constify.
1862         * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1863         (rockhopper_open, lsi_open): Constify.
1864         * remote-sim.c (gdbsim_open): Constify.
1865         * remote.c (remote_open, extended_remote_open, remote_open_1):
1866         Constify.
1867         * target.h (struct target_ops) <to_open>: Make "arg" const.
1868         * tracefile-tfile.c (tfile_open): Constify.
1869
1870 2014-07-30  Tom Tromey  <tromey@redhat.com>
1871
1872         * breakpoint.c (map_breakpoint_numbers): Update.
1873         * cli/cli-utils.c (get_number_trailer): Make "pp" const.  Update.
1874         (get_number_const): New function.
1875         (get_number): Rewrite using get_number_const.
1876         (init_number_or_range): Make "string" const.
1877         (number_is_in_list): Make "list" const.
1878         * cli/cli-utils.h (get_number_const): Declare.
1879         (struct get_number_or_range_state) <string, end_ptr>: Now const.
1880         (init_number_or_range, number_is_in_list): Update.
1881         * printcmd.c (map_display_numbers): Update.
1882         * value.c (value_from_history_ref): Constify.
1883         * value.h (value_from_history_ref): Update.
1884
1885 2014-07-30  Tom Tromey  <tromey@redhat.com>
1886
1887         * corefile.c (hook_type, call_extra_exec_file_hooks)
1888         (specify_exec_file_hook): Constify.
1889         * exec.c (exec_file_attach): Make "filename" const.
1890         * gdbcore.h (deprecated_exec_file_display_hook)
1891         (specify_exec_file_hook, exec_file_attach): Constify.
1892         * main.c (captured_main): Use catch_command_errors_const.
1893
1894 2014-07-30  Tom Tromey  <tromey@redhat.com>
1895
1896         * target.c (open_target): New function.
1897         (add_target_with_completer, add_deprecated_target_alias): Use
1898         set_cmd_sfunc, set_cmd_context.
1899         (debug_to_open): Remove.
1900         (setup_target_debug): Update.
1901
1902 2014-07-30  Yao Qi  <yao@codesourcery.com>
1903
1904         * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1905         comments.
1906         * parse.c (exp_iterate): Update comments.
1907
1908 2014-07-30  Gary Benson  <gbenson@redhat.com>
1909
1910         * common/common-defs.h: New file.
1911         * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1912         * defs.h: Include common-defs.h.
1913         Do not include config.h or build-gnulib/config.h.
1914
1915 2014-07-30  Gary Benson  <gbenson@redhat.com>
1916
1917         * common/common-utils.h: Do not include config.h.
1918         * nat/linux-btrace.h: Likewise.
1919
1920 2014-07-30  Gary Benson  <gbenson@redhat.com>
1921
1922         * btrace.c: Include defs.h.
1923         * common/ptid.c: Include defs.h or server.h as appropriate.
1924         * nat/mips-linux-watch.c: Likewise.
1925
1926 2014-07-29  Tom Tromey  <tromey@redhat.com>
1927
1928         * target.c (target_is_pushed): Simplify.
1929
1930 2014-07-29  Joel Brobecker  <brobecker@adacore.com>
1931
1932         GDB 7.8 released.
1933
1934 2014-07-29  Yao Qi  <yao@codesourcery.com>
1935
1936         PR gdb/17206
1937         * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1938
1939 2014-07-28  Doug Evans  <xdje42@gmail.com>
1940
1941         PR guile/17203
1942         * guile/scm-param.c (pascm_parameter_defined_p): New function.
1943         (gdbscm_register_parameter_x): Call it.  Raise error for pre-existing
1944         parameters.
1945
1946 2014-07-28  Will Newton  <will.newton@linaro.org>
1947
1948         * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1949         (THUMB2_SET_R7_SIGRETURN2): Likewise.
1950         (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1951         (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1952         (THUMB2_EABI_SYSCALL): Likewise.
1953         (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1954         struct tramp_frame.
1955         (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1956         (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1957
1958 2014-07-27  Doug Evans  <xdje42@gmail.com>
1959
1960         * guile/scm-param.c (pascm_print_param_smob): Fix output.
1961
1962 2014-07-27  Doug Evans  <xdje42@gmail.com>
1963
1964         * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1965
1966 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
1967             Doug Evans  <xdje42@gmail.com>
1968
1969         PR guile/17146
1970         * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1971         (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1972         * configure.ac: Try to use guild to compile an scm file, if it fails
1973         then disable guile support.
1974         * configure: Regenerate.
1975         * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1976         GUILE_FILE_LIST.
1977         (GUILE_COMPILED_FILES): New variable.
1978         (GUILE_FILES) Update.
1979         (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1980         (stamp-guile): Compile scm files.
1981         * guile/guile.c (boot_guile_support): New function.
1982         (standard_throw_args_p): New function.
1983         (print_standard_throw_error, print_throw_error): New functions.
1984         (handle_boot_error): New function.
1985         (initialize_scheme_side): Rewrite to call boot_guile_support.
1986         * guile/lib/gdb/boot.scm: Update %load-compiled-path.  Load gdb.go.
1987         * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1988
1989 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
1990             Doug Evans  <xdje42@gmail.com>
1991
1992         PR guile/17146
1993         * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1994         * guile/lib/gdb/support.scm: New file.
1995         * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1996         * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1997         All uses updated.
1998         * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1999         All uses updated.
2000         (%assert-type): Ditto, and renamed to assert-type.
2001         (%exception-print-style): Delete.
2002
2003 2014-07-26  Doug Evans  <xdje42@gmail.com>
2004
2005         PR build/17105
2006         * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
2007         * configure: Regenerate.
2008         * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
2009         PYTHON_FILES.
2010         (PYTHON_FILES): New variable.
2011         (GUILE_FILE_LIST): Renamed from GUILE_FILES.
2012         (GUILE_FILES): New variable.
2013         (stamp-python, install-python, uninstall-python): Handle empty
2014         file list.
2015         (stamp-guile, install-guile, uninstall-guile): Ditto.
2016
2017 2014-07-26  Doug Evans  <xdje42@gmail.com>
2018
2019         PR guile/17177
2020         * guile/lib/gdb.scm (pretty-printers): Export.
2021         (set-pretty-printers!): Export.
2022         * guile/lib/gdb/printing.scm (gdb module): Update.
2023         (prepend-pretty-printer!, append-pretty-printer!): Update.
2024         * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
2025         (pretty_printer_list_var): Delete.
2026         (pretty_printer_list): New static global.
2027         (gdbscm_pretty_printers): New function.
2028         (gdbscm_set_pretty_printers_x): New function.
2029         (ppscm_find_pretty_printer_from_gdb): Update.
2030         (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
2031         (gdbscm_initialize_pretty_printers): Update.
2032
2033 2014-07-26  Doug Evans  <xdje42@gmail.com>
2034
2035         PR 17185
2036         * configure.ac: Add check for header gc/gc.h.
2037         Add check for function setenv.
2038         * configure: Regenerate.
2039         * config.in: Regenerate.
2040         * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2041
2042 2014-07-25  Maciej W. Rozycki  <macro@codesourcery.com>
2043
2044         * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
2045         variation in gdbarch matching.
2046
2047 2014-07-25  Tom Tromey  <tromey@redhat.com>
2048
2049         * exec.c (using_exec_ops): Remove.
2050         (exec_close_1): Update.  Remove extraneous block, reindent.
2051         (add_target_sections): Use target_is_pushed.
2052
2053 2014-07-25  Pedro Alves  <palves@redhat.com>
2054
2055         * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
2056         * monitor.c (monitor_create_inferior): Likewise.
2057         * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2058         * remote-sim.c (gdbsim_create_inferior): Likewise.
2059         * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
2060         * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
2061         * windows-nat.c (do_initial_windows_stuff): Likewise.
2062
2063 2014-07-25  Pedro Alves  <palves@redhat.com>
2064
2065         * NEWS: Mention signal passing and "signal" command changes.
2066         * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
2067         comment.
2068         * breakpoint.c (until_break_command): Adjust clear_proceed_status
2069         call.
2070         * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
2071         * infcmd.c (proceed_thread_callback, continue_1, step_once)
2072         (jump_command): Adjust clear_proceed_status call.
2073         (signal_command): Warn if other thread that are resumed have
2074         signals that will be delivered.  Adjust clear_proceed_status call.
2075         (until_next_command, finish_command)
2076         (proceed_after_attach_callback, attach_command_post_wait)
2077         (attach_command): Adjust clear_proceed_status call.
2078         * infrun.c (proceed_after_vfork_done): Likewise.
2079         (proceed_after_attach_callback): Adjust comment.
2080         (clear_proceed_status_thread): Clear stop_signal if not in pass
2081         state.
2082         (clear_proceed_status_callback): Delete.
2083         (clear_proceed_status): New 'step' parameter.  Only clear the
2084         proceed status of threads the command being prepared is about to
2085         resume.
2086         (proceed): If passed in an explicit signal, override stop_signal
2087         with it.  Don't pass the last stop signal to the thread we're
2088         resuming.
2089         (init_wait_for_inferior): Adjust clear_proceed_status call.
2090         (switch_back_to_stepped_thread): Clear the signal if it should not
2091         be passed.
2092         * infrun.h (clear_proceed_status): New 'step' parameter.
2093         (user_visible_resume_ptid): Add comment.
2094         * linux-nat.c (linux_nat_resume_callback): Don't check whether the
2095         signal is in pass state.
2096         * remote.c (append_pending_thread_resumptions): Likewise.
2097         * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
2098
2099 2014-07-25  Tom Tromey  <tromey@redhat.com>
2100
2101         * target.h (target_stopped_data_address)
2102         (target_watchpoint_addr_within_range): Use "->", not ".".  Fix
2103         parentheses.
2104
2105 2014-07-25  Pierre Langlois  <pierre.langlois@embecosm.com>
2106
2107         * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
2108         comments.
2109         (avr_pointer_to_address): Likewise.
2110
2111 2014-07-24  Tom Tromey  <tromey@redhat.com>
2112
2113         * monitor.c (compile_pattern): Update.
2114         * target.h (struct target_ops) <to_shortname, to_longname,
2115         to_doc>: Now const.
2116
2117 2014-07-24  Tom Tromey  <tromey@redhat.com>
2118
2119         * cli/cli-decode.c (add_cmd, add_prefix_cmd)
2120         (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
2121         (add_info_alias, add_com): Make "doc" const.
2122         (print_doc_line): Make "str" const.
2123         (delete_cmd): Update.
2124         * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
2125         (print_doc_line): Update.
2126         * cli/cli-script.c (document_command): Update.
2127         * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2128         (add_com, add_info, add_info_alias): Update.
2129         * guile/scm-cmd.c (cmdscm_destroyer): Update.
2130         * python/py-cmd.c (cmdpy_destroyer): Update.
2131
2132 2014-07-24  Tom Tromey  <tromey@redhat.com>
2133
2134         * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
2135         (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
2136         (help_cmd_list): Constify.
2137         (lookup_cmd): Update.
2138         * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
2139         const.
2140         (help_cmd_list, apropos_cmd): Update.
2141         * cli/cli-script.c (show_user): Update.
2142         * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
2143         * cli/cli-setshow.h (cmd_show_list): Update.
2144         * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
2145         (cmd_show_list): Update.
2146         * guile/scm-cmd.c (cmdscm_destroyer): Update.
2147         * python/py-cmd.c (cmdpy_destroyer): Update.
2148
2149 2014-07-24  Tom Tromey  <tromey@redhat.com>
2150
2151         * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
2152         * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
2153         const.
2154         * command.h (deprecate_cmd): Update.
2155         * maint.c (maintenance_do_deprecate): Add casts.
2156
2157 2014-07-24  Tom Tromey  <tromey@redhat.com>
2158
2159         * cli/cli-decode.c (help_cmd): Make parameter "const".
2160         * cli/cli-decode.h (help_cmd): Update.
2161
2162 2014-07-24  Tom Tromey  <tromey@redhat.com>
2163
2164         * stack.c (up_silently_base, down_silently_base): Make argument
2165         const.
2166
2167 2014-07-24  Tom Tromey  <tromey@redhat.com>
2168
2169         * solib.c (solib_add): Make "pattern" const.
2170         * solib.h (solib_add): Update.
2171
2172 2014-07-24  Tom Tromey  <tromey@redhat.com>
2173
2174         * remote.c (remote_serial_open, print_packet, putpkt)
2175         (putpkt_binary): Constify.
2176         * remote.h (putpkt): Update.
2177
2178 2014-07-24  Tom Tromey  <tromey@redhat.com>
2179
2180         * monitor.c (monitor_open): Make "args" const.
2181         * monitor.h (monitor_open): Update.
2182
2183 2014-07-24  Tom Tromey  <tromey@redhat.com>
2184
2185         * maint.c (match_bfd_flags): Make "string" const.
2186         (print_bfd_section_info): Remove casts.
2187         (print_objfile_section_info): Make "string" const.
2188
2189 2014-07-24  Tom Tromey  <tromey@redhat.com>
2190
2191         * inf-child.c (inf_child_open_target): Make "arg" const.
2192         * inf-child.h (inf_child_open_target): Update.
2193
2194 2014-07-24  Tom Tromey  <tromey@redhat.com>
2195
2196         * environ.c (unset_in_environ): Make "var" const.
2197         * environ.h (unset_in_environ): Update.
2198
2199 2014-07-24  Tom Tromey  <tromey@redhat.com>
2200
2201         * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
2202         Make "cmd" const.
2203         (scan_filename_with_cleanup): Likewise.
2204         (dump_memory_to_file, dump_value_to_file, restore_binary_file):
2205         Make arguments const.
2206         (restore_command): Update.
2207
2208 2014-07-24  Pedro Alves  <palves@redhat.com>
2209
2210         * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
2211
2212 2014-07-24  Tom Tromey  <tromey@redhat.com>
2213             Gary Benson  <gbenson@redhat.com>
2214
2215         * nat/linux-ptrace.c (additional_flags): New global.
2216         (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
2217         additional_flags; don't check GDBSERVER.
2218         (linux_ptrace_set_additional_flags): New function.
2219         * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
2220         Declare.
2221         * linux-nat.c (_initialize_linux_nat): Call
2222         linux_ptrace_set_additional_flags.
2223
2224 2014-07-24  Tom Tromey  <tromey@redhat.com>
2225
2226         * make-target-delegates (munge_type, write_debugmethod): New
2227         functions.
2228         (debug_names): New global.
2229         ($TARGET_DEBUG_PRINTER): New global.
2230         (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
2231         name.
2232         Write debug methods.  Generate init_debug_target.
2233         * target-debug.h: New file.
2234         * target-delegates.c: Rebuild.
2235         * target.c: Include target-debug.h.
2236         (debug_target): Hoist definition.
2237         (target_kill, target_get_section_table, target_memory_map)
2238         (target_flash_erase, target_flash_done, target_detach)
2239         (target_disconnect, target_wait, target_resume)
2240         (target_pass_signals, target_program_signals, target_follow_fork)
2241         (target_mourn_inferior, target_search_memory)
2242         (target_thread_address_space, target_close)
2243         (target_find_new_threads, target_core_of_thread)
2244         (target_verify_memory, target_insert_mask_watchpoint)
2245         (target_remove_mask_watchpoint): Remove targetdebug code.
2246         (debug_to_post_attach, debug_to_prepare_to_store)
2247         (debug_to_files_info, debug_to_insert_breakpoint)
2248         (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
2249         (debug_to_region_ok_for_hw_watchpoint)
2250         (debug_to_can_accel_watchpoint_condition)
2251         (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
2252         (debug_to_watchpoint_addr_within_range)
2253         (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
2254         (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
2255         (debug_to_terminal_init, debug_to_terminal_inferior)
2256         (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
2257         (debug_to_terminal_save_ours, debug_to_terminal_info)
2258         (debug_to_load, debug_to_post_startup_inferior)
2259         (debug_to_insert_fork_catchpoint)
2260         (debug_to_remove_fork_catchpoint)
2261         (debug_to_insert_vfork_catchpoint)
2262         (debug_to_remove_vfork_catchpoint)
2263         (debug_to_insert_exec_catchpoint)
2264         (debug_to_remove_exec_catchpoint, debug_to_has_exited)
2265         (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
2266         (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
2267         (setup_target_debug): Call init_debug_target.
2268         * target.h (TARGET_DEBUG_PRINTER): New macro.
2269         (struct target_ops) <to_resume, to_wait, to_pass_signals,
2270         to_program_signals>: Use TARGET_DEBUG_PRINTER.
2271
2272 2014-07-24  Gary Benson  <gbenson@redhat.com>
2273
2274         * exceptions.h (throw_vfatal): Renamed to...
2275         (throw_vquit): New declaration.
2276         (throw_quit): Likewise.
2277         * exceptions.c (throw_vfatal): Renamed to...
2278         (throw_vquit): New function.
2279         (throw_quit): Likewise.
2280         (throw_error): Call throw_verror rather than throw_it.
2281         * utils.h (vfatal): Removed.
2282         (fatal): Likewise.
2283         * utils.c (vfatal): Removed.
2284         (fatal): Likewise.
2285         (internal_verror): Replaced call to fatal with call to throw_quit.
2286         (quit): Replaced calls to fatal with calls to throw_quit.
2287
2288 2014-07-23  Ajit Agarwal <ajitkum@xilinx.com>
2289
2290         * microblaze-tdep.c (microblaze_fetch_instruction): Use of
2291         target_read_code.
2292
2293 2014-07-23  Chen Gang <gang.chen.5i5j@gmail.com>
2294
2295         * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
2296         less than zero in conditional expression.
2297
2298 2014-07-23  Tom Tromey  <tromey@redhat.com>
2299
2300         * make-target-delegates ($ARGS_PART): Match trailing close paren.
2301         ($INTRO_PART): Don't match whitespace.
2302         ($METHOD_TRAILER): Move earlier.  Remove trailing semicolon and
2303         argument matching.
2304         ($METHOD): Add $METHOD_TRAILER.
2305         (trim): Rewrite.
2306         (scan_target_h): New sub.
2307         Change main loop not to collect state.
2308         * target-delegates.c: Rebuild.
2309
2310 2014-07-23  Gary Benson  <gbenson@redhat.com>
2311
2312         * cp-support.c (gdb_demangle): Fix build on systems without
2313         sigaltstack.
2314
2315 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
2316
2317         * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2318         for reference entry value target data value.
2319
2320 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
2321
2322         * stack.c (read_frame_arg): Verify value_optimized_out before calling
2323         value_available_contents_eq.
2324
2325 2014-07-22  Pedro Alves  <palves@redhat.com>
2326
2327         * value.c (allocate_optimized_out_value): Don't mark value as
2328         non-lazy.
2329
2330 2014-07-22  Jiong Wang  <jiong.wang@arm.com>
2331
2332         * MAINTAINERS (Write After Approval): Update my email address.
2333
2334 2014-07-20  Doug Evans  <dje@google.com>
2335
2336         PR server/17147
2337         * remote.c (putpkt_binary): Add text to error message.
2338
2339 2014-07-20  Yao Qi  <yao@codesourcery.com>
2340
2341         * eval.c: Remove "Chill" from comments.
2342         * gdbtypes.h: Likewise.
2343         * symtab.h: Likewise.
2344
2345 2014-07-20  Yao Qi  <yao@codesourcery.com>
2346
2347         * std-operator.def: Update comments to TERNOP_SLICE.
2348
2349 2014-07-20  Yao Qi  <yao@codesourcery.com>
2350
2351         * std-operator.def: Remove BINOP_RANGE.
2352         * breakpoint.c (watchpoint_exp_is_const): Update.
2353         * expprint.c (dump_subexp_body_standard): Likewise.
2354         * eval.c (init_array_element): Remove dead code.
2355         (evaluate_subexp_standard): Likewise.
2356
2357 2014-07-20  Yao Qi  <yao@codesourcery.com>
2358
2359         * std-operator.def: Remove BINOP_IN.
2360         * breakpoint.c (watchpoint_exp_is_const): Update.
2361         * eval.c (evaluate_subexp_standard): Likewise.
2362         * expprint.c (dump_subexp_body_standard): Likewise.
2363
2364 2014-07-19  Ajit Agarwal  <ajitkum@xilinx.com>
2365
2366         * microblaze-tdep.c (microblaze_register_names): Add
2367         the rshr and rslr register names.
2368         (microblaze_gdbarch_init): Use of tdesc_has_registers.
2369         Use of tdesc_find_feature. Use of tdesc_data_alloc.
2370         Use of tdesc_numbered_register. Use of
2371         microblaze_register_g_packet_guesses. Use of
2372         tdesc_use_registers. Use of set_gdbarch_register_type.
2373         (microblaze_register_g_packet_guesses): New.
2374         * microblaze-tdep.h (microblaze_reg_num): Add
2375         field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2376         MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2377         (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2378         * features/microblaze-core.xml: New file.
2379         * features/microblaze-stack-protect.xml: New file.
2380         * features/microblaze-with-stack-protect.c: New file.
2381         * features/microblaze-with-stack-protect.xml: New file.
2382         * features/microblaze.xml: New file.
2383         * features/microblaze.c: New file.
2384         * features/Makefile (microblaze-with-stack-protect): Add
2385         microblaze-with-stack-protect microblaze and microblaze-expedite.
2386         * regformats/microblaze-with-stack-protect.dat: New file.
2387         * regformats/microblaze.dat: New file.
2388         * doc/gdb.texinfo (MicroBlaze Features): Added.
2389
2390 2014-07-18  Tom Tromey  <tromey@redhat.com>
2391
2392         * exec.c (exec_ops): Now static.
2393         * exec.h (exec_ops): Don't declare.
2394
2395 2014-07-18  Tom Tromey  <tromey@redhat.com>
2396
2397         * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2398         to find_target_beneath.
2399         * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2400         find_target_beneath.
2401         (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2402
2403 2014-07-18  Tom Tromey  <tromey@redhat.com>
2404
2405         PR gdb/17130:
2406         * utils.c (quit): Use target_supports_terminal_ours.
2407         * target.h (target_supports_terminal_ours): Declare.
2408         * target.c (target_supports_delete_record): Don't check
2409         to_delete_record against NULL.
2410         (target_supports_terminal_ours): New function.
2411
2412 2014-07-18  Tom Tromey  <tromey@redhat.com>
2413
2414         PR gdb/17130:
2415         * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2416         (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2417         (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2418         * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2419         * windows-nat.c (windows_xfer_partial): Always delegate.
2420         * record-btrace.c (record_btrace_xfer_partial): Simplify
2421         delegation.
2422         (record_btrace_fetch_registers, record_btrace_store_registers)
2423         (record_btrace_prepare_to_store, record_btrace_resume)
2424         (record_btrace_wait, record_btrace_find_new_threads)
2425         (record_btrace_thread_alive): Likewise.
2426         * procfs.c (procfs_xfer_partial): Always delegate.
2427         * corelow.c (core_xfer_partial): Always delegate.
2428         * sol-thread.c (sol_find_new_threads): Simplify delegation.
2429
2430 2014-07-18  Tom Tromey  <tromey@redhat.com>
2431
2432         * exec.c (exec_make_note_section): Move earlier.
2433
2434 2014-07-17  Doug Evans  <dje@google.com>
2435
2436         PR gdb/17170
2437         * maint.c (count_symtabs_and_blocks): Handle NULL
2438         current_program_space.
2439         (report_command_stats): Check global enabled flag in addition to
2440         recorded enabled flag.
2441         (make_command_stats_cleanup): Handle msg_type == 0, startup.
2442
2443 2014-07-16  Pedro Alves  <palves@redhat.com>
2444
2445         * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2446
2447 2014-07-16  Tom Tromey  <tromey@redhat.com>
2448
2449         * target.h (struct target_ops) <to_delete_record>: Reformat
2450         comment.
2451
2452 2014-07-16  Tom Tromey  <tromey@redhat.com>
2453
2454         * target-delegates.c: Rebuild.
2455
2456 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
2457
2458         * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2459         (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2460         (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2461         (avr_pointer_to_address): Likewise.
2462         (avr_address_class_type_flags): New function.
2463         (avr_address_class_type_flags_to_name): Likewise.
2464         (avr_address_class_name_to_type_flags): Likewise.
2465         (avr_gdbarch_init): Set address_class_type_flags,
2466         address_class_type_flags_to_name and
2467         address_class_name_to_type_flags.
2468
2469 2014-07-15  Pedro Alves  <palves@redhat.com>
2470
2471         * linux-nat.c (kill_callback): Save errno and work with saved
2472         copy.
2473
2474 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
2475
2476         * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2477
2478 2014-07-14  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2479
2480         * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2481         breakpoint support correctly.
2482
2483 2014-07-14  Pedro Alves  <palves@redhat.com>
2484
2485         * utils.c (prompt_for_continue): Call target_terminal_ours.
2486
2487 2014-07-14  Pedro Alves  <palves@redhat.com>
2488
2489         * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2490         catch_errors.  Don't re-enable stdin or notify observers where,
2491         and rethrow error.
2492         (fetch_inferior_event_wrapper): Delete.
2493
2494 2014-07-14  Pedro Alves  <palves@redhat.com>
2495
2496         PR gdb/17072
2497         * top.c: Include "inf-loop.h".
2498         (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2499         field.
2500         (gdb_readline_wrapper_cleanup): Make the target async again, if it
2501         was async before.
2502         (gdb_readline_wrapper): Store whether the target is async, and
2503         make it sync.
2504
2505 2014-07-14  Pedro Alves  <palves@redhat.com>
2506
2507         PR gdb/17072
2508         * top.c (gdb_readline_wrapper_line): Tweak comment.
2509         (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2510         the input handler callback.
2511
2512 2014-07-14  Pedro Alves  <palves@redhat.com>
2513
2514         PR gdb/17072
2515         * main.c: Include event-top.h.
2516         (handle_command_errors): New function.
2517         (catch_command_errors, catch_command_errors_const): Use it.
2518
2519 2014-07-14  Pedro Alves  <palves@redhat.com>
2520
2521         * exceptions.c (catch_command_errors, catch_command_errors_const):
2522         Moved to main.c.
2523         * exceptions.h (catch_command_errors_ftype)
2524         (catch_command_errors_const_ftype): Moved to main.c.
2525         (catch_command_errors, catch_command_errors_const): Delete
2526         declarations.
2527         * main.c (catch_command_errors_ftype)
2528         (catch_command_errors_const_ftype): Moved here from exceptions.h.
2529         (catch_command_errors, catch_command_errors_const)): Moved here
2530         from exceptions.c and make static.
2531
2532 2014-07-14  Pedro Alves  <palves@redhat.com>
2533
2534         * exceptions.c (print_any_exception): Delete.
2535         (catch_exceptions_with_msg): Use exception_print instead of
2536         print_any_exception.
2537         (catch_errors): Use exception_fprintf instead of
2538         print_any_exception.
2539         (catch_command_errors, catch_command_errors_const): Use
2540         exception_print instead of print_any_exception.
2541
2542 2014-07-14  Pedro Alves  <palves@redhat.com>
2543
2544         * infcall.c (run_inferior_call): Set 'sync_execution' while
2545         running the inferior call.
2546
2547 2014-07-14  Pedro Alves  <palves@redhat.com>
2548
2549         * value.c (value_contents_equal): Delete function.
2550         * value.h (value_contents_equal): Delete declaration.
2551
2552 2014-07-14  Tom Tromey  <tromey@redhat.com>
2553
2554         PR exp/17106:
2555         * gdbtypes.c (is_dynamic_type_internal): New function, from
2556         is_dynamic_type.
2557         (is_dynamic_type): Rewrite.
2558         (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2559         (resolve_dynamic_struct): Likewise.
2560         (resolve_dynamic_type_internal): New function, from
2561         resolve_dynamic_type.
2562         (resolve_dynamic_type): Rewrite.
2563
2564 2014-07-14  Tom Tromey  <tromey@redhat.com>
2565
2566         * target.c (target_require_runnable): Also check record_stratum.
2567         Update comment.
2568
2569 2014-07-11  Yao Qi  <yao@codesourcery.com>
2570
2571         * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2572         thumb_instruction_restores_sp return true.
2573
2574 2014-07-11  Yao Qi  <yao@codesourcery.com>
2575
2576         * arm-tdep.c (thumb_instruction_restores_sp): New function.
2577         (thumb_in_function_epilogue_p): Call
2578         thumb_instruction_restores_sp.
2579
2580 2014-07-11  Yao Qi  <yao@codesourcery.com>
2581
2582         * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2583         'add sp, #imm'.
2584         (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2585
2586 2014-07-11  Gary Benson  <gbenson@redhat.com>
2587
2588         * amd64-linux-nat.c (gdbcore.h): Remove include.
2589         (regset.h): Likewise.
2590         (nat/linux-btrace.h): Likewise.
2591         (btrace.h): Likewise.
2592         (gdb_assert.h): Likewise.
2593         (string.h): Likewise.
2594         (sys/uio.h): Likewise.
2595         (sys/debugreg.h): Likewise.
2596         (sys/syscall.h): Likewise.
2597         (sys/procfs.h): Likewise.
2598         (sys/user.h): Likewise.
2599         (asm/ptrace.h): Likewise.
2600         (i386-nat.h): Likewise.
2601         * i386-linux-nat.c (i386-nat.h): Likewise.
2602         (regset.h): Likewise.
2603         (target.h): Likewise.
2604         (linux-nat.h): Likewise.
2605         (nat/linux-btrace.h): Likewise.
2606         (btrace.h): Likewise.
2607         (gdb_assert.h): Likewise.
2608         (string.h): Likewise.
2609         (sys/uio.h): Likewise.
2610         (sys/user.h): Likewise.
2611         (sys/procfs.h): Likewise.
2612         (sys/reg.h): Likewise.
2613         (sys/debugreg.h): Likewise.
2614         (ORIG_EAX): Remove definition.
2615
2616 2014-07-11  Gary Benson  <gbenson@redhat.com>
2617
2618         * i386-linux-nat.h: New file.
2619         * x86-linux-nat.h: Likewise.
2620         * x86-linux-nat.c: Likewise.
2621         * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2622         * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2623         * config/i386/linux64.mh (NATDEPFILES): Likewise.
2624         * amd64-linux-nat.c (x86-linux-nat.h): New include.
2625         (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2626         (PTRACE_SETREGSET): Likewise.
2627         (arch_lwp_info): Now in x86-linux-nat.c.
2628         (have_ptrace_getregset): Now in x86-linux-nat.h.
2629         (x86_linux_dr_get): Now in x86-linux-nat.c.
2630         (x86_linux_dr_set): Likewise.
2631         (x86_linux_dr_get_addr): Likewise.
2632         (x86_linux_dr_get_control): Likewise.
2633         (x86_linux_dr_get_status): Likewise.
2634         (update_debug_registers_callback): Likewise.
2635         (x86_linux_dr_set_control): Likewise.
2636         (x86_linux_dr_set_addr): Likewise.
2637         (x86_linux_prepare_to_resume): Likewise.
2638         (x86_linux_new_thread): Likewise.
2639         (x86_linux_new_fork): Likewise.
2640         (x86_linux_get_thread_area): Likewise.
2641         (super_post_startup_inferior): Likewise.
2642         (x86_linux_child_post_startup_inferior): Likewise.
2643         (AMD64_LINUX_USER64_CS): Likewise.
2644         (AMD64_LINUX_X32_DS): Likewise.
2645         (x86_linux_read_description): Likewise.
2646         (x86_linux_enable_btrace): Likewise.
2647         (x86_linux_disable_btrace): Likewise.
2648         (x86_linux_teardown_btrace): Likewise.
2649         (x86_linux_read_btrace): Likewise.
2650         (x86_linux_create_target): Likewise.
2651         (x86_linux_add_target): Likewise.
2652         * i386-linux-nat.c (x86-linux-nat.h): New include.
2653         (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2654         (PTRACE_SETREGSET): Likewise.
2655         (arch_lwp_info): Now in x86-linux-nat.c.
2656         (have_ptrace_getregset): Now in x86-linux-nat.h.
2657         (x86_linux_dr_get): Now in x86-linux-nat.c.
2658         (x86_linux_dr_set): Likewise.
2659         (x86_linux_dr_get_addr): Likewise.
2660         (x86_linux_dr_get_control): Likewise.
2661         (x86_linux_dr_get_status): Likewise.
2662         (update_debug_registers_callback): Likewise.
2663         (x86_linux_dr_set_control): Likewise.
2664         (x86_linux_dr_set_addr): Likewise.
2665         (x86_linux_prepare_to_resume): Likewise.
2666         (x86_linux_new_thread): Likewise.
2667         (x86_linux_new_fork): Likewise.
2668         (x86_linux_get_thread_area): Likewise.
2669         (super_post_startup_inferior): Likewise.
2670         (x86_linux_child_post_startup_inferior): Likewise.
2671         (AMD64_LINUX_USER64_CS): Likewise.
2672         (AMD64_LINUX_X32_DS): Likewise.
2673         (x86_linux_read_description): Likewise.
2674         (x86_linux_enable_btrace): Likewise.
2675         (x86_linux_disable_btrace): Likewise.
2676         (x86_linux_teardown_btrace): Likewise.
2677         (x86_linux_read_btrace): Likewise.
2678         (x86_linux_create_target): Likewise.
2679         (x86_linux_add_target): Likewise.
2680
2681 2014-07-11  Gary Benson  <gbenson@redhat.com>
2682
2683         * amd64-linux-nat.c: Comment and whitespace changes.
2684         * i386-linux-nat.c: Comment and whitespace changes.
2685
2686 2014-07-11  Gary Benson  <gbenson@redhat.com>
2687
2688         * amd64-linux-nat.c (x86_linux_create_target): New function.
2689         (x86_linux_add_target): Likewise.
2690         (_initialize_amd64_linux_nat): Delegate to the above new functions.
2691         * i386-linux-nat.c (x86_linux_create_target): New function.
2692         (x86_linux_add_target): Likewise.
2693         (_initialize_i386_linux_nat): Delegate to the above new functions.
2694
2695 2014-07-11  Gary Benson  <gbenson@redhat.com>
2696
2697         * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2698         (ps_get_thread_area): Delegate to the above in 32-bit mode.
2699         * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2700         (ps_get_thread_area): Delegate to the above.
2701
2702 2014-07-11  Gary Benson  <gbenson@redhat.com>
2703
2704         * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2705         x86_linux_read_description.  All uses updated.  amd64-specific
2706         code conditionalized.  Conditionalized i386-specific code added.
2707         Redundant cast removed.
2708         * i386-linux-nat.c (i386_linux_read_description): Renamed to
2709         x86_linux_read_description.  All uses updated.  i386-specific
2710         code conditionalized.  Conditionalized amd64-specific code added.
2711         One sizeof replaced with the actual type it is describing.
2712
2713 2014-07-11  Gary Benson  <gbenson@redhat.com>
2714
2715         * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2716         x86_linux_dr_get.  All uses updated.
2717         (amd64_linux_dr_set): Renamed to
2718         x86_linux_dr_set.  All uses updated.
2719         (amd64_linux_dr_get_addr): Renamed to
2720         x86_linux_dr_get_addr.  All uses updated.
2721         (amd64_linux_dr_get_control): Renamed to
2722         x86_linux_dr_get_control.  All uses updated.
2723         (amd64_linux_dr_get_status): Renamed to
2724         x86_linux_dr_get_status.  All uses updated.
2725         (amd64_linux_dr_set_control): Renamed to
2726         x86_linux_dr_set_control.  All uses updated.
2727         (amd64_linux_dr_set_addr): Renamed to
2728         x86_linux_dr_set_addr.  All uses updated.
2729         (amd64_linux_prepare_to_resume): Renamed to
2730         x86_linux_prepare_to_resume.  All uses updated.
2731         (amd64_linux_new_thread): Renamed to
2732         x86_linux_new_thread.  All uses updated.
2733         (amd64_linux_new_fork): Renamed to
2734         x86_linux_new_fork.  All uses updated.
2735         (amd64_linux_child_post_startup_inferior): Renamed to
2736         x86_linux_child_post_startup_inferior.  All uses updated.
2737         (amd64_linux_enable_btrace): Renamed to
2738         x86_linux_enable_btrace.  All uses updated.
2739         (amd64_linux_disable_btrace): Renamed to
2740         x86_linux_disable_btrace.  All uses updated.
2741         (amd64_linux_teardown_btrace): Renamed to
2742         x86_linux_teardown_btrace.  All uses updated.
2743         (amd64_linux_read_btrace): Renamed to
2744         x86_linux_read_btrace.  All uses updated.
2745         * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2746         x86_linux_dr_get.  All uses updated.
2747         (i386_linux_dr_set): Renamed to
2748         x86_linux_dr_set.  All uses updated.
2749         (i386_linux_dr_get_addr): Renamed to
2750         x86_linux_dr_get_addr.  All uses updated.
2751         (i386_linux_dr_get_control): Renamed to
2752         x86_linux_dr_get_control.  All uses updated.
2753         (i386_linux_dr_get_status): Renamed to
2754         x86_linux_dr_get_status.  All uses updated.
2755         (i386_linux_dr_set_control): Renamed to
2756         x86_linux_dr_set_control.  All uses updated.
2757         (i386_linux_dr_set_addr): Renamed to
2758         x86_linux_dr_set_addr.  All uses updated.
2759         (i386_linux_prepare_to_resume): Renamed to
2760         x86_linux_prepare_to_resume.  All uses updated.
2761         (i386_linux_new_thread): Renamed to
2762         x86_linux_new_thread.  All uses updated.
2763         (i386_linux_new_fork): Renamed to
2764         x86_linux_new_fork.  All uses updated.
2765         (i386_linux_child_post_startup_inferior): Renamed to
2766         x86_linux_child_post_startup_inferior.  All uses updated.
2767         (i386_linux_enable_btrace): Renamed to
2768         x86_linux_enable_btrace.  All uses updated.
2769         (i386_linux_disable_btrace): Renamed to
2770         x86_linux_disable_btrace.  All uses updated.
2771         (i386_linux_teardown_btrace): Renamed to
2772         x86_linux_teardown_btrace.  All uses updated.
2773         (i386_linux_read_btrace): Renamed to
2774         x86_linux_read_btrace.  All uses updated.
2775
2776 2014-07-11  Adrian Sendroiu  <adrian.sendroiu@freescale.com>
2777
2778         * remote.c (extended_remote_post_attach): New function.
2779         (init_extended_remote_ops): Install it as to_post_attach method.
2780
2781 2014-07-09  Pedro Alves  <palves@redhat.com>
2782
2783         * infcmd.c (attach_command_post_wait): Don't call
2784         target_terminal_inferior here.
2785         (attach_command): Call it here instead.
2786
2787 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
2788
2789         * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2790         field.
2791         * c-varobj.c (c_is_path_expr_parent): New function, moved core
2792         from varobj.c, with additional checks.
2793         (c_varobj_ops): Fill in is_path_expr_parent field.
2794         (cplus_varobj_ops): Fill in is_path_expr_parent field.
2795         * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2796         field.
2797         * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2798         ops method.
2799         (varobj_default_is_path_expr_parent): New function.
2800         * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2801         (varobj_default_is_path_expr_parent): Declare new function.
2802
2803 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
2804
2805         * infcmd.c (finish_backward): Turn internal error into normal error.
2806
2807 2014-07-07  Pedro Alves  <palves@redhat.com>
2808
2809         PR gdb/17096
2810         * remote.c (async_handle_remote_sigint)
2811         (async_handle_remote_sigint_twice): Call
2812         gdb_call_async_signal_handler instead of
2813         mark_async_signal_handler.
2814
2815 2014-07-07  Tom Tromey  <tromey@redhat.com>
2816
2817         * target-delegates.c: Rebuild.
2818         * target.c (target_info_record): Remove.
2819         * record.c (info_record_command): Unconditionally call
2820         to_info_record.
2821         * target.h (struct target_ops) <to_info_record>: Use
2822         TARGET_DEFAULT_IGNORE.
2823         (target_info_record): Remove.
2824
2825 2014-07-07  Tom Tromey  <tromey@redhat.com>
2826
2827         * target.h (struct target_ops) <to_get_thread_local_address>: Use
2828         TARGET_DEFAULT_NORETURN.
2829         * target.c (generic_tls_error): New function.
2830         (target_translate_tls_address): Don't search target stack.
2831         * target-delegates.c: Rebuild.
2832         * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2833         stack.
2834         * linux-thread-db.c (thread_db_get_thread_local_address):
2835         Unconditionally call beneath target.
2836
2837 2014-07-03  Marc Khouzam  <marc.khouzam@ericsson.com>
2838
2839         * cli/cli-logging.c (pop_output_files): Assign targerr to
2840         gdb_stdtargerr.
2841
2842 2014-07-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2843
2844         * MAINTAINERS (Write After Approval): Update my email address.
2845
2846 2014-07-02  Gary Benson  <gbenson@redhat.com>
2847
2848         * proc-service.c (ps_xfer_memory): Update comment.
2849         (ps_pstop): Remove unused function.
2850         (ps_pcontinue): Likewise.
2851         (ps_lstop): Likewise.
2852         (ps_lcontinue): Likewise.
2853         (ps_lgetxregsize): Likewise.
2854         (ps_lgetxregs): Likewise.
2855         (ps_lsetxregs): Likewise.
2856         (ps_plog): Likewise.
2857         (ps_ptread): Likewise.
2858         (ps_ptwrite): Likewise.
2859
2860 2014-07-01  Mark Wielaard  <mjw@redhat.com>
2861
2862         * dwarf2read.c (add_array_cv_type): New function.
2863         (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2864         (read_tag_volatile_type): Likewise.
2865
2866 2014-07-01  Tom Tromey  <tromey@redhat.com>
2867
2868         * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2869         * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2870         * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2871         (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2872         * command.h (cmd_cfunc_ftype): Move earlier.
2873         (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2874         (add_com, add_info): Use cmd_cfunc_ftype.
2875
2876 2014-06-30  Tom Tromey  <tromey@redhat.com>
2877
2878         * symtab.c (operator_chars): Make parameters and return type
2879         const.
2880         (file_matches): Make "files" const.
2881         (struct search_symbols_data) <files>: Now const.
2882         (search_symbols): Make "regexp" and "files" parameters const.
2883         Update.
2884         (symtab_symbol_info): Remove cast.
2885         (rbreak_command): Update.
2886         * symtab.h (search_symbols): Update.
2887
2888 2014-06-27  Yao Qi  <yao@codesourcery.com>
2889
2890         * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2891         Change parameter type to 'struct thread_info *'.  Caller
2892         updated.
2893         * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2894         Update declaration.
2895         * dummy-frame.c (struct dummy_frame_id): New.
2896         (dummy_frame_id_eq): New function.
2897         (struct dummy_frame) <id>: Change its type to 'struct
2898         dummy_frame_id'.
2899         (dummy_frame_push): Add parameter ptid and save it in
2900         dummy_frame_id.
2901         (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2902         inferior_ptid.
2903         (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2904         to inferior_ptid.
2905         (lookup_dummy_frame): Change parameter type to 'struct
2906         dummy_frame_id *'.  Callers updated.  Call dummy_frame_id_eq
2907         instead of frame_id_eq.
2908         (dummy_frame_pop): Add parameter ptid.  Callers updated.
2909         Update comments.  Compose dummy_frame_id and pass it to
2910         lookup_dummy_frame.
2911         (dummy_frame_discard): Add parameter ptid.
2912         (dummy_frame_sniffer): Compose dummy_frame_id and call
2913         dummy_frame_id_eq instead of frame_id_eq.
2914         (fprint_dummy_frames): Print ptid.
2915         * dummy-frame.h: Remove comments.
2916         (dummy_frame_push): Add ptid in declaration.
2917         (dummy_frame_pop, dummy_frame_discard): Likewise.
2918
2919 2014-06-26  Tom Tromey  <tromey@redhat.com>
2920
2921         * cli/cli-cmds.c (error_no_arg): Make "why" const.
2922         * command.h (error_no_arg): Update.
2923
2924 2014-06-26  Tom Tromey  <tromey@redhat.com>
2925
2926         * cli/cli-setshow.c (do_set_command): Make "arg" const.
2927         (do_show_command): Make "arg" const.
2928         * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2929
2930 2014-06-26  Tom Tromey  <tromey@redhat.com>
2931
2932         * record-full.c (record_full_get_bookmark): Make "args" const.
2933         (record_full_goto_bookmark): Make "raw_bookmark" const.
2934         * record.c (record_goto): New function.
2935         (cmd_record_goto): Use it.  Now static.
2936         * record.h (record_goto): Declare.
2937         (cmd_record_goto): Remove declaration.
2938         * target-delegates.c: Rebuild.
2939         * target.h (struct target_ops) <to_get_bookmark,
2940         to_goto_bookmark>: Make parameter const.
2941
2942 2014-06-26  Tom Tromey  <tromey@redhat.com>
2943
2944         * defs.h (generic_load): Update.
2945         * m32r-rom.c (m32r_load_gen): Make "filename" const.
2946         * monitor.c (monitor_load): Make "args" const.
2947         * remote-m32r-sdi.c (m32r_load): Make "args" const.
2948         * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2949         const.
2950         (mips_load): Make "file" const.
2951         * remote-sim.c (gdbsim_load): Make "args" const.
2952         * remote.c (remote_load): Make "name" const.
2953         * symfile.c (generic_load): Make "args" const.
2954         * target-delegates.c: Rebuild.
2955         * target.c (target_load): Make "arg" const.
2956         (debug_to_load): Make "args" const.
2957         * target.h (struct target_ops) <to_load>: Make parameter const.
2958         (target_load): Update.
2959
2960 2014-06-26  Tom Tromey  <tromey@redhat.com>
2961
2962         PR symtab/16902:
2963         * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2964         (dwarf2_physname, read_partial_die)
2965         (guess_partial_die_structure_name, fixup_partial_die)
2966         (guess_full_die_structure_name, anonymous_struct_prefix)
2967         (dwarf2_name): Use per-BFD obstack.
2968
2969 2014-06-26  Yao Qi  <yao@codesourcery.com>
2970
2971         * dummy-frame.c (dummy_frame_sniffer): Move local variables
2972         dummyframe and this_id into inner block below.
2973
2974 2014-06-26  Yao Qi  <yao@codesourcery.com>
2975
2976         * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2977         with "signal_pass[0]" in the initialization of signal_pass.
2978
2979 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
2980
2981         * record-btrace.c (record_btrace_generating_corefile)
2982         (record_btrace_prepare_to_generate_core)
2983         (record_btrace_done_generating_core): New.
2984         (record_btrace_xfer_partial, record_btrace_fetch_registers)
2985         (record_btrace_store_registers, record_btrace_prepare_to_store):
2986         Forward request when generating a core file.
2987         (record_btrace_open): Set record_btrace_generating_corefile to zero.
2988         (init_record_btrace_ops): Set to_prepare_to_generate_core and
2989         to_done_generating_core.
2990
2991 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
2992
2993         * target.h (target_ops) <to_prepare_to_generate_core>
2994         <to_done_generating_core>: New.
2995         (target_prepare_to_generate_core, target_done_generating_core): New.
2996         * target.c (target_prepare_to_generate_core)
2997         (target_done_generating_core): New.
2998         * target-delegates.c: Regenerate.
2999         * gcore.c: (write_gcore_file): Rename to ...
3000         (write_gcore_file_1): ...this.
3001         (write_gcore_file): Call target_prepare_to_generate_core
3002         and target_done_generating_core.
3003
3004 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
3005
3006         * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
3007         * gcore.c (write_gcore_file): Free memory returned from
3008         make_corefile_notes.
3009         * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
3010         * procfs.c (procfs_make_note_section): Remove make_cleanup call.
3011
3012 2014-06-24  Yao Qi  <yao@codesourcery.com>
3013
3014         * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
3015         (arm_linux_init_abi): Set skip_trampoline_code with
3016         gdbarch_skip_trampoline_code instead of
3017         find_solib_trampoline_target.
3018
3019 2014-06-24  Yao Qi  <yao@codesourcery.com>
3020
3021         * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
3022         arm_skip_bx_reg returns non-zero.
3023
3024 2014-06-24  Yao Qi  <yao@codesourcery.com>
3025
3026         * arm-tdep.c (arm_skip_bx_reg): New function.
3027         (arm_skip_stub): Call arm_skip_bx_reg.
3028
3029 2014-06-23  Don Breazeal  <donb@codesourcery.com>
3030
3031         * MAINTAINERS: Add myself as write-after-approval maintainer.
3032
3033 2014-06-23  Pedro Alves  <palves@redhat.com>
3034
3035         * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
3036         DR_CONTROL before setting DR0..DR3.
3037         * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
3038         * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
3039         bits of DR_CONTROL related to the debug register slot being
3040         disabled.  If all slots are vacant, clear local slowdown as well,
3041         and assert DR_CONTROL is 0.
3042
3043 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
3044
3045         * python/lib/gdb/command/xmethods.py
3046         (get_method_matchers_in_loci):  Lookup xmethod matchers in the
3047         current progspace only if the string "progspace" matches LOCUS_RE.
3048
3049 2014-06-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3050
3051         Fix --with-system-readline with readline-6.3 patch 5.
3052         * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
3053         (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
3054         types.
3055
3056 2014-06-20  Tom Tromey  <tromey@redhat.com>
3057
3058         * dwarf2read.c (dw2_get_real_path): Use correct type in
3059         OBSTACK_CALLOC.
3060         * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
3061
3062 2014-06-20  Gary Benson  <gbenson@redhat.com>
3063
3064         * common/gdb_thread_db.h: Moved to nat.  All includes updated.
3065         * common/glibc_thread_db.h: Likewise.
3066         * common/i386-cpuid.h: Likewise.
3067         * common/i386-gcc-cpuid.h: Likewise.
3068         * common/linux-btrace.h: Likewise.
3069         * common/linux-osdata.h: Likewise.
3070         * common/linux-procfs.h: Likewise.
3071         * common/linux-ptrace.h: Likewise.
3072         * common/mips-linux-watch.h: Likewise.
3073         * common/linux-btrace.c: Moved to nat.
3074         * common/linux-osdata.c: Likewise.
3075         * common/linux-procfs.c: Likewise.
3076         * common/linux-ptrace.c: Likewise.
3077         * common/mips-linux-watch.c: Likewise.
3078         * nat/gdb_thread_db.h: Moved from common.
3079         * nat/glibc_thread_db.h: Likewise.
3080         * nat/i386-cpuid.h: Likewise.
3081         * nat/i386-gcc-cpuid.h: Likewise.
3082         * nat/linux-btrace.c: Likewise.
3083         * nat/linux-btrace.h: Likewise.
3084         * nat/linux-osdata.c: Likewise.
3085         * nat/linux-osdata.h: Likewise.
3086         * nat/linux-procfs.c: Likewise.
3087         * nat/linux-procfs.h: Likewise.
3088         * nat/linux-ptrace.c: Likewise.
3089         * nat/linux-ptrace.h: Likewise.
3090         * nat/mips-linux-watch.c: Likewise.
3091         * nat/mips-linux-watch.h: Likewise.
3092         * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
3093         (object file files): Reordered.
3094         * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
3095         of glibc_thread_db.h.
3096
3097 2014-06-20  Gary Benson  <gbenson@redhat.com>
3098
3099         * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
3100         (i386_dr_low_type): Moved to nat/i386-dregs.h.
3101         (i386_dr_low): Likewise.
3102         (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
3103         (i386_dr_low_set_addr): Likewise.
3104         (i386_dr_low_get_addr): Likewise.
3105         (i386_dr_low_can_set_control): Likewise.
3106         (i386_dr_low_set_control): Likewise.
3107         (i386_dr_low_get_control): Likewise.
3108         (i386_dr_low_get_status): Likewise.
3109         (i386_get_debug_register_length): Likewise.
3110         * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
3111         (i386_dr_low): Likewise.
3112         * nat/i386-dregs.c (i386-low.h): Remove include.
3113         (i386-nat.h): Likewise.
3114         (nat/i386-dregs.h): New include.
3115         (i386_dr_low_can_set_addr): Moved from i386-nat.h.
3116         (i386_dr_low_set_addr): Likewise.
3117         (i386_dr_low_get_addr): Likewise.
3118         (i386_dr_low_can_set_control): Likewise.
3119         (i386_dr_low_set_control): Likewise.
3120         (i386_dr_low_get_control): Likewise.
3121         (i386_dr_low_get_status): Likewise.
3122         (i386_get_debug_register_length): Likewise.
3123         (debug_hw_points): Likewise.
3124
3125 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
3126
3127         * Makefile.in (SFILES): Add d-exp.y.
3128         (YYFILES): Add d-exp.c.
3129         (YYOBJ): Add d-exp.o.
3130         (local-maintainer-clean): Delete d-exp.c.
3131         * d-exp.y: New file.
3132         * d-lang.h (d_parse): New declaration.
3133         (d_error): New declaration.
3134         * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
3135         Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
3136         PREC_ORDER operators.
3137         (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
3138
3139 2014-06-19  Yao Qi  <yao@codesourcery.com>
3140
3141         * gdbthread.h (any_running): Remove the declaration.
3142         * thread.c (any_running): Remove.
3143
3144 2014-06-19  Yao Qi  <yao@codesourcery.com>
3145
3146         * gdbthread.h (struct thread_info) <state>: Change its type to
3147         'enum thread_state'.  Update comments.
3148
3149 2014-06-19  Pedro Alves  <palves@redhat.com>
3150
3151         * gdbthread.h (ALL_THREADS): Delete.
3152         (ALL_NON_EXITED_THREADS): New macro.
3153         * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
3154         instead of ALL_THREADS.
3155         * infrun.c (find_thread_needs_step_over)
3156         (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
3157         instead of ALL_THREADS.
3158         * record-btrace.c (record_btrace_open)
3159         (record_btrace_stop_recording, record_btrace_close)
3160         (record_btrace_is_replaying, record_btrace_resume)
3161         (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
3162         * remote.c (append_pending_thread_resumptions): Likewise.
3163         * thread.c (thread_apply_all_command): Likewise.
3164
3165 2014-06-19  Gary Benson  <gbenson@redhat.com>
3166
3167         * i386-nat.c (i386_stopped_by_watchpoint):
3168         Use i386_dr_stopped_by_watchpoint.
3169         (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
3170         (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
3171
3172 2014-06-19  Gary Benson  <gbenson@redhat.com>
3173
3174         * nat/i386-dregs.c: New file.
3175         * Makefile.in (i386-dregs.o): New rule.
3176         * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
3177         * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
3178         * config/i386/darwin.mh (NATDEPFILES): Likewise.
3179         * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3180         * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
3181         * config/i386/go32.mh (NATDEPFILES): Likewise.
3182         * config/i386/linux.mh (NATDEPFILES): Likewise.
3183         * config/i386/linux64.mh (NATDEPFILES): Likewise.
3184         * config/i386/mingw.mh (NATDEPFILES): Likewise.
3185         * config/i386/mingw64.mh (NATDEPFILES): Likewise.
3186         * i386-nat.h (debug_hw_points): New declaration.
3187         * i386-nat.c (breakpoint.h): Remove include.
3188         (command.h): Likewise.
3189         (target.h): Likewise.
3190         (gdb_assert.h): Likewise.
3191         (debug_hw_points): Made nonstatic.
3192         (debug_printf): Now in i386-dregs.c.
3193         (TARGET_HAS_DR_LEN_8): Likewise.
3194         (DR_CONTROL_SHIFT): Likewise.
3195         (DR_CONTROL_SIZE): Likewise.
3196         (DR_RW_EXECUTE): Likewise.
3197         (DR_RW_WRITE): Likewise.
3198         (DR_RW_READ): Likewise.
3199         (DR_RW_IORW): Likewise.
3200         (DR_LEN_1): Likewise.
3201         (DR_LEN_2): Likewise.
3202         (DR_LEN_4): Likewise.
3203         (DR_LEN_8): Likewise.
3204         (DR_LOCAL_ENABLE_SHIFT): Likewise.
3205         (DR_GLOBAL_ENABLE_SHIFT): Likewise.
3206         (DR_ENABLE_SIZE): Likewise.
3207         (DR_LOCAL_SLOWDOWN): Likewise.
3208         (DR_GLOBAL_SLOWDOWN): Likewise.
3209         (DR_CONTROL_RESERVED): Likewise.
3210         (I386_DR_CONTROL_MASK): Likewise.
3211         (I386_DR_VACANT): Likewise.
3212         (I386_DR_LOCAL_ENABLE): Likewise.
3213         (I386_DR_GLOBAL_ENABLE): Likewise.
3214         (I386_DR_DISABLE): Likewise.
3215         (I386_DR_SET_RW_LEN): Likewise.
3216         (I386_DR_GET_RW_LEN): Likewise.
3217         (I386_DR_WATCH_HIT): Likewise.
3218         (i386_wp_op_t): Likewise.
3219         (i386_show_dr): Likewise.
3220         (i386_length_and_rw_bits): Likewise.
3221         (i386_insert_aligned_watchpoint): Likewise.
3222         (i386_remove_aligned_watchpoint): Likewise.
3223         (i386_handle_nonaligned_watchpoint): Likewise.
3224         (i386_update_inferior_debug_regs): Likewise.
3225         (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
3226         (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
3227         (i386_region_ok_for_watchpoint):
3228         Use i386_dr_region_ok_for_watchpoint.
3229         (i386_stopped_data_address): Use i386_dr_stopped_data_address.
3230
3231 2014-06-19  Gary Benson  <gbenson@redhat.com>
3232
3233         * i386-nat.c (i386_insert_hw_breakpoint): Use
3234         i386_insert_watchpoint.
3235         (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
3236
3237 2014-06-19  Gary Benson  <gbenson@redhat.com>
3238
3239         * i386-nat.c (i386_dr_show): Renamed to
3240         i386_show_dr and made static.  All uses updated.
3241         (i386_dr_length_and_rw_bits): Renamed to
3242         i386_length_and_rw_bits and made static.
3243         All uses updated.
3244         (i386_dr_insert_aligned_watchpoint): Renamed to
3245         i386_insert_aligned_watchpoint and made static.
3246         All uses updated.
3247         (i386_dr_remove_aligned_watchpoint): Renamed to
3248         i386_remove_aligned_watchpoint and made static.
3249         All uses updated.
3250         (i386_dr_update_inferior_debug_regs): Renamed to
3251         i386_update_inferior_debug_regs and made static.
3252         All uses updated.
3253         * nat/i386-dregs.h (i386_dr_show): Removed.
3254         (i386_dr_length_and_rw_bits): Likewise.
3255         (i386_dr_insert_aligned_watchpoint): Likewise.
3256         (i386_dr_remove_aligned_watchpoint): Likewise.
3257         (i386_dr_update_inferior_debug_regs): Likewise.
3258
3259 2014-06-19  Gary Benson  <gbenson@redhat.com>
3260
3261         * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
3262         * configure: Regenerate.
3263         * config.in: Likewise.
3264         * main.c (signal.h): New include.
3265         (setup_alternate_signal_stack): New function.
3266         (captured_main): Call the above.
3267         * cp-support.c (signal.h): New include.
3268         (catch_demangler_crashes): New flag.
3269         (SIGJMP_BUF): New define.
3270         (SIGSETJMP): Likewise.
3271         (SIGLONGJMP): Likewise.
3272         (gdb_demangle_jmp_buf): New static global.
3273         (gdb_demangle_attempt_core_dump): Likewise.
3274         (gdb_demangle_signal_handler): New function.
3275         (gdb_demangle): If catch_demangler_crashes is set, install the
3276         above signal handler before calling bfd_demangle, and restore
3277         the original signal handler afterwards.  Display the offending
3278         symbol and call demangler_warning the first time a segmentation
3279         fault is caught.
3280         (_initialize_cp_support): New maint set/show command.
3281
3282 2014-06-19  Gary Benson  <gbenson@redhat.com>
3283
3284         * utils.h (resource_limit_kind): New enum.
3285         (can_dump_core): New declaration.
3286         (warn_cant_dump_core): Likewise.
3287         (dump_core): Likewise.
3288         * utils.c (dump_core): Made nonstatic.  Added new
3289         parameter "limit_kind".
3290         (can_dump_core): Made nonstatic. Moved printing code to...
3291         (warn_cant_dump_core): New function.
3292         (can_dump_core_warn): Likewise.
3293         (internal_vproblem): Replace calls to can_dump_core with
3294         calls to can_dump_core_warn.  Supply new argument to each.
3295
3296 2014-06-19  Gary Benson  <gbenson@redhat.com>
3297
3298         * utils.h (demangler_vwarning): New declaration.
3299         (demangler_warning): Likewise.
3300         * utils.c (struct internal_problem)
3301         <user_settable_should_quit>: New field.
3302         <user_settable_should_dump_core>: Likewise
3303         (internal_error_problem): Add values for above new fields.
3304         (internal_warning_problem): Likewise.
3305         (demangler_warning_problem): New static global.
3306         (demangler_vwarning): New function.
3307         (demangler_warning): Likewise.
3308         (add_internal_problem_command): Selectively add commands.
3309         (_initialize_utils): New internal problem command.
3310         * maint.c (maintenance_demangler_warning): New function.
3311         (_initialize_maint_cmds): New command.
3312
3313 2014-06-18  Tom Tromey  <tromey@redhat.com>
3314
3315         * f-valprint.c (info_common_command_for_block): Update.
3316         * symtab.h (struct general_symbol_info) <common_block>: Now
3317         const.
3318
3319 2014-06-18  Tom Tromey  <tromey@redhat.com>
3320
3321         * symtab.h (struct symtab) <blockvector>: Now const.
3322         * ada-lang.c (ada_add_global_exceptions): Update.
3323         * buildsym.c (augment_type_symtab): Update.
3324         * dwarf2read.c (dw2_lookup_symbol): Update.
3325         * jit.c (finalize_symtab): Update.
3326         * jv-lang.c (add_class_symtab_symbol): Update.
3327         * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3328         Update.
3329         * objfiles.c (objfile_relocate1): Update.
3330         * psymtab.c (lookup_symbol_aux_psymtabs)
3331         (maintenance_check_psymtabs): Update.
3332         * python/py-symtab.c (stpy_global_block, stpy_static_block):
3333         Update.
3334         * spu-tdep.c (spu_catch_start): Update.
3335         * symmisc.c (dump_symtab_1): Update.
3336         * symtab.c (lookup_global_symbol_from_objfile)
3337         (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3338         (basic_lookup_transparent_type_quick)
3339         (basic_lookup_transparent_type, find_pc_sect_symtab)
3340         (find_pc_sect_line, search_symbols): Update.
3341         * block.c (find_block_in_blockvector): Make "bl" const.
3342         (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3343         const.
3344         (blockvector_contains_pc): Make "bv" const.
3345         (block_for_pc_sect): Update.
3346         * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3347         (blockvector_contains_pc): Update.
3348         * breakpoint.c (resolve_sal_pc): Update.
3349         * inline-frame.c (block_starting_point_at): Update.
3350
3351 2014-06-18  Tom Tromey  <tromey@redhat.com>
3352
3353         * completer.c (complete_line): Make "line_buffer" const.
3354         * completer.h (complete_line): Update.
3355
3356 2014-06-18  Tom Tromey  <tromey@redhat.com>
3357
3358         * symtab.c (add_macro_name): Remove unneeded cast.
3359
3360 2014-06-18  Tom Tromey  <tromey@redhat.com>
3361
3362         * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3363         * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3364
3365 2014-06-18  Tom Tromey  <tromey@redhat.com>
3366
3367         * probe.c (info_probes_for_ops): Make "arg" const.
3368         * probe.h (info_probes_for_ops): Update.
3369
3370 2014-06-18  Tom Tromey  <tromey@redhat.com>
3371
3372         * varobj.c (varobj_create): Update.
3373         * valops.c (value_of_this): Update.
3374         * tracepoint.c (add_local_symbols, scope_info): Update.
3375         * symtab.h (struct general_symbol_info) <block>: Now const.
3376         * symtab.c (skip_prologue_sal)
3377         (default_make_symbol_completion_list_break_on)
3378         (skip_prologue_using_sal): Update.
3379         * stack.h (iterate_over_block_locals)
3380         (iterate_over_block_local_vars): Update.
3381         * stack.c (print_frame_args): Update.
3382         (iterate_over_block_locals, iterate_over_block_local_vars): Make
3383         parameter const.
3384         (get_selected_block): Make return type const.
3385         * python/py-frame.c (frapy_block): Update.
3386         * python/py-block.c (gdbpy_block_for_pc): Update.
3387         * p-exp.y (%union) <bval>: Now const.
3388         * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3389         * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3390         * m2-exp.y (%union) <bval>: Now const.
3391         * linespec.c (get_current_search_block): Make return type const.
3392         (create_sals_line_offset, find_label_symbols): Update.
3393         * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3394         Update.
3395         (block_starting_point_at): Make "block" const.
3396         * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3397         (check_exception_resume): Update.
3398         * guile/scm-frame.c (gdbscm_frame_block): Update.
3399         * guile/scm-block.c (gdbscm_lookup_block): Update.
3400         * frame.h (get_frame_block): Update.
3401         (get_selected_block): Make return type const.
3402         * frame.c (frame_id_inner): Update.
3403         * f-valprint.c (info_common_command_for_block)
3404         (info_common_command): Update.
3405         * dwarf2loc.c (dwarf2_find_location_expression)
3406         (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3407         (locexpr_describe_location_piece): Update.
3408         * c-exp.y (%union) <bval>: Now const.
3409         * breakpoint.c (resolve_sal_pc): Update.
3410         * blockframe.c (get_frame_block):Make return type const.
3411         (get_pc_function_start, get_frame_function, find_pc_sect_function)
3412         (block_innermost_frame): Update.
3413         * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3414         (block_for_pc, block_for_pc_sect): Update.
3415         * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3416         'pblock' const.
3417         (block_for_pc_sect, block_for_pc): Make return type const.
3418         * ax-gdb.c (gen_expr): Update.
3419         * alpha-mdebug-tdep.c (find_proc_desc): Update.
3420         * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3421         (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3422         (ada_read_var_value): Update.
3423         * ada-exp.y (struct name_info) <block>: Now const.
3424         (%union): Likewise.
3425         (block_lookup): Constify.
3426
3427 2014-06-18  Gary Benson  <gbenson@redhat.com>
3428
3429         * nat/i386-dregs.h: New file.
3430         * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3431         * i386-nat.h (i386-dregs.h): New include.
3432         (DR_FIRSTADDR): Now in i386-dregs.h.
3433         (DR_LASTADDR): Likewise.
3434         (DR_NADDR): Likewise.
3435         (DR_STATUS): Likewise.
3436         (DR_CONTROL): Likewise.
3437         (i386_debug_reg_state): Likewise.
3438         * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3439
3440 2014-06-18  Don Breazeal  <donb@codesourcery.com>
3441
3442         * breakpoint.c (set_longjmp_breakpoint): Call
3443         momentary_breakpoint_from_master with additional argument.
3444         (set_longjmp_breakpoint_for_call_dummy): Call
3445         momentary_breakpoint_from_master with additional argument.
3446         (set_std_terminate_breakpoint): Call
3447         momentary_breakpoint_from_master with additional argument.
3448         (momentary_breakpoint_from_master): Add argument to function
3449         definition and use it to initialize structure member flag.
3450         (clone_momentary_breakpoint): Call
3451         momentary_breakpoint_from_master with additional argument.
3452         * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3453         member flags set in momentary_breakpoint_from_master.
3454
3455 2014-06-18  Gary Benson  <gbenson@redhat.com>
3456
3457         * i386-nat.c (i386_show_dr): Renamed to
3458         i386_dr_show and made nonstatic.  All uses updated.
3459         (i386_length_and_rw_bits): Renamed to
3460         i386_dr_length_and_rw_bits and made nonstatic.
3461         All uses updated.
3462         (i386_insert_aligned_watchpoint): Renamed to
3463         i386_dr_insert_aligned_watchpoint and made nonstatic.
3464         All uses updated.
3465         (i386_remove_aligned_watchpoint): Renamed to
3466         i386_dr_remove_aligned_watchpoint and made nonstatic.
3467         All uses updated.
3468         (i386_update_inferior_debug_regs): Renamed to
3469         i386_dr_update_inferior_debug_regs and made nonstatic.
3470         All uses updated.
3471
3472 2014-06-18  Gary Benson  <gbenson@redhat.com>
3473
3474         * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3475         (i386_dr_low_can_set_control): Likewise.
3476         (i386_dr_low_set_addr): Likewise.
3477         (i386_dr_low_set_control): Likewise.
3478         (i386_dr_low_get_addr): Likewise.
3479         (i386_dr_low_get_status): Likewise.
3480         (i386_dr_low_get_control): Likewise.
3481         (i386_insert_aligned_watchpoint): Use new macros.
3482         (i386_update_inferior_debug_regs): Likewise.
3483         (i386_stopped_data_address): Likewise.
3484
3485 2014-06-18  Gary Benson  <gbenson@redhat.com>
3486
3487         * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3488         New parameter.  All uses updated.
3489
3490 2014-06-18  Gary Benson  <gbenson@redhat.com>
3491
3492         * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3493         All uses updated.
3494
3495 2014-06-18  Gary Benson  <gbenson@redhat.com>
3496
3497         * i386-nat.c (debug_printf): New macro.
3498         (i386_get_debug_register_length): Likewise.
3499         (TARGET_HAS_DR_LEN_8): Use above macro.
3500         (i386_show_dr): Use debug_printf instead of puts_unfiltered
3501         and printf_unfiltered.  Use phex to format values.
3502
3503 2014-06-18  Gary Benson  <gbenson@redhat.com>
3504
3505         * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3506         Make const.
3507
3508 2014-06-18  Gary Benson  <gbenson@redhat.com>
3509
3510         * i386-nat.c: Comment changes.
3511
3512 2014-06-18  Gary Benson  <gbenson@redhat.com>
3513
3514         * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3515
3516 2014-06-18  Gary Benson  <gbenson@redhat.com>
3517
3518         * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3519         (i386_insert_aligned_watchpoint): Likewise.
3520         (i386_remove_aligned_watchpoint): Likewise.
3521         (i386_handle_nonaligned_watchpoint): Likewise.
3522
3523 2014-06-18  Gary Benson  <gbenson@redhat.com>
3524
3525         * i386-nat.c: Whitespace changes.
3526
3527 2014-06-17  Samuel Bronson  <naesten@gmail.com>
3528
3529         * MAINTAINERS: Update Roland McGrath's email address.
3530         Thanks to Sergio Durigan Junior for pointing out that he left
3531         Red Hat a while ago, and giving me a current address.
3532
3533 2014-06-17  Tom Tromey  <tromey@redhat.com>
3534
3535         * utils.h (savestring): Remove declaration.
3536
3537 2014-06-17  Tom Tromey  <tromey@redhat.com>
3538
3539         * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3540
3541 2014-06-16  Keith Seitz  <keiths@redhat.com>
3542
3543         PR mi/15863
3544         * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3545         to update the varobj if inferior_ptid is null_ptid.
3546
3547 2014-06-16  Tom Tromey  <tromey@redhat.com>
3548
3549         * target.h (struct target_ops) <to_info_proc>: Make parameter
3550         const.
3551         (target_info_proc): Update.
3552         * target.c (target_info_proc): Make "args" const.
3553         * procfs.c (procfs_info_proc): Update.
3554         * linux-tdep.c (linux_info_proc): Update.
3555         (linux_core_info_proc_mappings): Make "args" const.
3556         (linux_core_info_proc): Update.
3557         * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3558         * gdbarch.c: Rebuild.
3559         * gdbarch.h: Rebuild.
3560         * corelow.c (core_info_proc): Update.
3561
3562 2014-06-16  Tom Tromey  <tromey@redhat.com>
3563
3564         * target.h (struct target_ops) <to_disconnect>: Make parameter
3565         const.
3566         (target_disconnect): Update.
3567         * target.c (target_disconnect): Make "args" const.
3568         * target-delegates.c: Rebuild.
3569         * remote.c (remote_disconnect): Update.
3570         * record.h (record_disconnect): Update.
3571         * record.c (record_disconnect): Update.
3572         * inf-child.c (inf_child_disconnect): Update.
3573
3574 2014-06-16  Tom Tromey  <tromey@redhat.com>
3575
3576         * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3577         * target.c (debug_to_rcmd, default_rcmd): Update.
3578         * target-delegates.c: Rebuild.
3579         * remote.c (remote_rcmd): Update.
3580         * monitor.c (monitor_rcmd): Update.
3581
3582 2014-06-16  Pedro Alves  <palves@redhat.com>
3583
3584         * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3585         (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3586         have OBJF_SHARED set.
3587         * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3588         (shared_objfile_contains_address_p): ... this.  Check OBJF_SHARED
3589         instead of OBJF_USERLOADED.
3590         * objfiles.h (OBJF_SHARED): Update comment.
3591         (userloaded_objfile_contains_address_p): Rename to ...
3592         (shared_objfile_contains_address_p): ... this, and update
3593         comments.
3594         * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3595         new objfile.
3596         (remove_symbol_file_command): Skip objfiles that don't have
3597         OBJF_SHARED set.
3598
3599 2014-06-16  Tom Tromey  <tromey@redhat.com>
3600
3601         * minsyms.h (prim_record_minimal_symbol)
3602         (prim_record_minimal_symbol_and_info): Update comments.
3603
3604 2014-06-14  Eli Zaretskii  <eliz@gnu.org>
3605
3606         * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3607         or --without-guile, according to how GDB was built.
3608
3609 2014-06-13  Tom Tromey  <tromey@redhat.com>
3610
3611         * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3612         to help_list.
3613         * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3614         to help_list.
3615         * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3616         help_list.
3617         * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3618         help_list.Pass all_commands, not -1, to help_list.
3619         * cli/cli-dump.c (dump_command, append_command)
3620         (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3621         (binary_dump_command, binary_append_command): Pass all_commands,
3622         not -1, to help_list.
3623         * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3624         -1, to help_list.
3625         * valprint.c (set_print, set_print_raw): Pass all_commands, not
3626         -1, to help_list.
3627         * typeprint.c (set_print_type): Pass all_commands, not -1, to
3628         help_list.
3629         * top.c (set_history): Pass all_commands, not -1, to help_list.
3630         * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3631         all_commands, not -1, to help_list.
3632         * symfile.c (overlay_command): Pass all_commands, not -1, to
3633         help_list.
3634         * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3635         help_list.
3636         * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3637         help_list.
3638         * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3639         -1, to help_list.
3640         * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3641         not -1, to help_list.
3642         * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3643         not -1, to help_list.
3644         * maint.c (maintenance_command, maintenance_info_command)
3645         (maintenance_print_command, maintenance_set_cmd): Pass
3646         all_commands, not -1, to help_list.
3647         * macrocmd.c (macro_command): Pass all_commands, not -1, to
3648         help_list.
3649         * language.c (set_check): Pass all_commands, not -1, to help_list.
3650         * infcmd.c (unset_command): Pass all_commands, not -1, to
3651         help_list.
3652         * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3653         help_list.
3654         * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3655         help_list.
3656         * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3657         help_list.
3658         * breakpoint.c (save_command): Pass all_commands, not -1, to
3659         help_list.
3660         * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3661         all_commands, not -1, to help_list.
3662
3663 2014-06-12  Pierre Langlois  <pierre.langlois@embecosm.com>
3664
3665         * regcache.c (struct register_to_invalidate): New structure.
3666         (do_register_invalidate, make_cleanup_regcache_invalidate): New
3667         functions.
3668         (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3669
3670 2014-06-12  Yao Qi  <yao@codesourcery.com>
3671
3672         * varobj.c (varobj_get_num_children): Call
3673         varobj_is_dynamic_p.
3674         (varobj_list_children): Likewise.
3675         (varobj_update): Likewise.  Update comments.
3676
3677 2014-06-12  Yao Qi  <yao@codesourcery.com>
3678
3679         * varobj.c (varobj_pretty_printed_p): Rename to ...
3680         (varobj_is_dynamic_p): ... this.  New function.
3681         * varobj.h (varobj_pretty_printed_p): Remove declaration.
3682         (varobj_is_dynamic_p): Declare.
3683         * mi/mi-cmd-var.c (print_varobj): All callers updated.
3684         (mi_print_value_p, varobj_update_one): Likewise.
3685
3686 2014-06-12  Pedro Alves  <pedro@codesourcery.com>
3687             Yao Qi  <yao@codesourcery.com>
3688
3689         * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3690         (varobj_get_iterator): Wrap up code for pretty-printer by
3691         "#if HAVE_PYTHON" and "#endif".
3692         (update_dynamic_varobj_children): Likewise.
3693
3694 2014-06-12  Pedro Alves  <pedro@codesourcery.com>
3695             Yao Qi  <yao@codesourcery.com>
3696
3697         * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3698         gdb_python_initialized is false.  Move some code from varobj.c.
3699         * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3700         * varobj.c: Move "varobj-iter.h" inclusion earlier.
3701         (struct varobj_item): Moved to varobj-iter.h".
3702         (varobj_clear_saved_item): New function.
3703         (update_dynamic_varobj_children): Move python-related code to
3704         py-varobj.c.
3705         (free_variable): Call varobj_clear_saved_item and
3706         varobj_iter_delete.
3707
3708 2014-06-12  Pedro Alves  <pedro@codesourcery.com>
3709             Yao Qi  <yao@codesourcery.com>
3710
3711         * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3712         (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3713         (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3714         (py-varobj.o): New rule.
3715         * python/py-varobj.c: New file.
3716         * python/python-internal.h (py_varobj_get_iterator): Declare.
3717         * varobj-iter.h: New file.
3718         * varobj.c: Include "varobj-iter.h"
3719         (struct varobj) <child_iter>: Change its type from "PyObject *"
3720         to "struct varobj_iter *".
3721         <saved_item>: Likewise.
3722         [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3723         [HAVE_PYTHON] (varobj_get_iterator): New function.
3724         (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3725         python-specific code to python/py-varobj.c.
3726         (install_visualizer): Call varobj_iter_delete instead of
3727         Py_XDECREF.
3728         * varobj.h (varobj_ensure_python_env): Declare.
3729
3730 2014-06-12  Yao Qi  <yao@codesourcery.com>
3731
3732         * varobj.c (struct varobj_item): New structure.
3733         (create_child_with_value): Update declaration.
3734         (varobj_add_child): Replace arguments 'name' and 'value' with
3735         'item'.  All callers updated.
3736         (install_dynamic_child): Likewise.
3737         (update_dynamic_varobj_children): Likewise.
3738         (varobj_add_child): Likewise.
3739         (create_child_with_value): Likewise.
3740
3741 2014-06-11  Joel Brobecker  <brobecker@adacore.com>
3742
3743         * NEWS: Create a new section for the next release branch.
3744         Rename the section of the current branch, now that it has
3745         been cut.
3746
3747 2014-06-11  Joel Brobecker  <brobecker@adacore.com>
3748
3749         GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3750         * version.in: Bump version to 7.8.50.DATE-cvs.
3751
3752 2014-06-11  Pedro Alves  <palves@redhat.com>
3753
3754         PR remote/17028
3755         * ser-mingw.c (net_windows_socket_check_pending): New function.
3756         (net_windows_select_thread): Ignore spurious wakeups.  Use
3757         net_windows_socket_check_pending.
3758         (net_windows_wait_handle): Check for pending events with
3759         ioctlsocket, through net_windows_socket_check_pending, instead of
3760         checking the socket's event.
3761
3762 2014-06-10  Siva Chandra Reddy  <sivachandra@google.com>
3763
3764         * python/python-internal.h (gdb_PyObject_GetAttrString)
3765         (gdb_PyObject_HasAttrString): New inline function definitions.
3766         * py-value.c (get_field_flag): Remove the now unnecessary cast to
3767         char * of the second argument to PyObject_GetAttrString.
3768
3769 2014-06-10  Joel Brobecker  <brobecker@adacore.com>
3770
3771         * serial.c (serial_write): Fix index of character to be printed
3772         in call to serial_logchar when serial debug traces are enabled.
3773
3774 2014-06-10  Joel Brobecker  <brobecker@adacore.com>
3775
3776         * gdbtypes (resolve_dynamic_range): Add function description.
3777
3778 2014-06-09  Pedro Alves  <palves@redhat.com>
3779
3780         * linux-nat.c (linux_child_follow_fork): Initialize status with
3781         W_STOPCODE (0) instead of 0.  Remove shodowing 'status' local from
3782         inner block.  Only pass the signal to PTRACE_DETACH if in pass
3783         state.
3784
3785 2014-06-09  Gary Benson  <gbenson@redhat.com>
3786
3787         * common/signals.c (gdb_signal_from_host): Reorder to separate
3788         the always-available ANSI-standard signals from the signals that
3789         require checking.
3790         (do_gdb_signal_to_host): Likewise.
3791         * proc-events.c (signal_table): Likewise.
3792
3793 2014-06-08  Hui Zhu  <hui@codesourcery.com>
3794
3795         * common/linux-ptrace.c (linux_disable_event_reporting): New
3796         function.
3797         * common/linux-ptrace.h (linux_disable_event_reporting): New
3798         declaration.
3799         * linux-nat.c (linux_child_follow_fork): Do a single step before
3800         detach.
3801
3802 2014-06-07  Keith Seitz  <keiths@redhat.com>
3803
3804         Revert:
3805         PR c++/16253
3806         * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3807         from symbol_matches_domain in symtab.c. All local callers
3808         of symbol_matches_domain updated.
3809         (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3810         search STRUCT_DOMAIN.
3811         (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3812         independently.  standard_lookup will do that automatically.
3813         * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3814         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3815         (cp_lookup_symbol_in_namespace): Likewise.
3816         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3817         (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3818         may return a STRUCT_DOMAIN match.
3819         (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3820         * cp-support.c: Include language.h.
3821         (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3822         VAR_DOMAIN.
3823         * psymtab.c (match_partial_symbol): Compare the requested
3824         domain with the symbol's domain directly.
3825         (lookup_partial_symbol): Likewise.
3826         * symtab.c (lookup_symbol_in_language): Explain when/why
3827         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3828         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3829         appropriate languages.
3830         (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3831         and moved to ada-lang.c
3832         (lookup_block_symbol): Explain that this function only returns
3833         symbol matching the requested DOMAIN.
3834         Compare the requested domain with the symbol's domain directly.
3835         (iterate_over_symbols): Compare the requested domain with the
3836         symbol's domain directly.
3837         * symtab.h (symbol_matches_domain): Remove.
3838
3839 2014-06-06  Doug Evans  <xdje42@gmail.com>
3840
3841         * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3842         (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3843         (gdbscm_guile_version_is_at_least): Declare.
3844         (gdbscm_scm_string_to_int): Declare.
3845         * guile/guile.c (gdbscm_guile_major_version): New global.
3846         (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3847         (guile_datadir): New static global.
3848         (gdbscm_guile_data_directory): New function.
3849         (initialize_scheme_side): Update.
3850         (misc_guile_functions): Add guile-data-directory.
3851         (initialize_gdb_module): Fetch guile version number.
3852         * guile/lib/gdb.scm: Remove call to add-to-load-path.
3853         * guile/lib/gdb/init.scm (%initialize!): Ditto.
3854         * guile/lib/gdb/boot.scm: Use guile-data-directory.
3855         * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3856         comments.
3857         * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3858         * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3859         * guile/scm-value.c (gdbscm_value_to_string): Only call
3860         scm_port_conversion_strategy if Guile version >= 2.0.6.
3861
3862 2014-06-06  Mingjie Xing  <mingjie.xing@gmail.com>
3863
3864         * main.c (print_gdb_help): Add -q and --silent.
3865
3866 2014-06-06  Gary Benson  <gbenson@redhat.com>
3867
3868         * common/signals.c: Remove preprocessor conditionals for
3869         always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3870         SIGSEGV and SIGTERM.
3871         * proc-events.c: Likewise.
3872
3873 2014-06-06  Markus Metzger  <markus.t.metzger@intel.com>
3874
3875         * symfile.c (symfile_free_objfile): Remove restriction to
3876         OBJF_USERLOADED.
3877         * symfile-mem.c (symbol_file_add_from_memory): Call
3878         add_target_sections_of_objfile.
3879
3880 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
3881
3882         * guile/scm-value.c (gdbscm_history_append_x): Use
3883         'vlscm_get_value_smob_arg_unsafe' instead of
3884         'vlscm_scm_to_value'.
3885
3886 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
3887
3888         PR mi/15806
3889         * utils.c (printchar): Don't escape at all if quoter is NUL.
3890         Update function documentation to clarify effect of parameter
3891         QUOTER.
3892         * remote.c (escape_buffer): Pass '\\' as the quoter to
3893         fputstrn_unfiltered.
3894         * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3895         generate the output.
3896         (mi_solib_unloaded): Same.
3897
3898 2014-06-05  Joel Brobecker  <brobecker@adacore.com>
3899
3900         * development.sh: Delete.
3901         * Makefile.in (config.status): Adjust dependency on development.sh.
3902         * configure.ac: Adjust development.sh source call.
3903         * configure: Regenerate.
3904
3905 2014-06-04  Doug Evans  <xdje42@gmail.com>
3906
3907         * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3908         is_scheme_bkpt, spec.
3909         (bpscm_make_breakpoint_smob): Initialize new members.
3910         (gdbscm_create_breakpoint_x): Split into two ...
3911         (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3912         (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3913         (scheme_function breakpoint_functions): Update.
3914         * guile/lib/gdb.scm: Delete create-breakpoint!.  Rename
3915         breakpoint-delete! to delete-breakpoint!.  Add make-breakpoint,
3916         register-breakpoint!.
3917
3918 2014-06-04  Joel Brobecker  <brobecker@adacorer.com>
3919
3920         PR server/17023
3921         * mem-break.c (z_type_supported): Return zero if
3922         THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3923
3924 2014-06-04  Tom Tromey  <tromey@redhat.com>
3925
3926         * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3927         value_from_contents_and_address_unresolved.
3928         (ada_template_to_fixed_record_type_1): Likewise.
3929         (ada_which_variant_applies): Likewise.
3930         * value.h (value_from_contents_and_address_unresolved): Declare.
3931         * value.c (value_from_contents_and_address_unresolved): New
3932         function.
3933         * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3934         <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3935         (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3936
3937 2014-06-04  Tom Tromey  <tromey@redhat.com>
3938
3939         * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3940
3941 2014-06-04  Tom Tromey  <tromey@redhat.com>
3942
3943         * procfs.c (procfs_attach): Make "args" const.
3944         * windows-nat.c (windows_attach): Make "args" const.
3945         * nto-procfs.c (procfs_attach): Make "args" const.
3946         * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3947         * go32-nat.c (go32_attach): Make "args" const.
3948         * gnu-nat.c (gnu_attach): Make "args" const.
3949         * darwin-nat.c (darwin_attach): Make "args" const.
3950         * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3951         * linux-nat.c (linux_nat_attach): Make "args" const.
3952         * remote.c (extended_remote_attach_1, extended_remote_attach):
3953         Make "args" const.
3954         * target.h (struct target_ops) <to_attach>: Make "args" const.
3955         (find_default_attach): Likewise.
3956         * utils.c (parse_pid_to_attach): Make "args" const.
3957         * utils.h (parse_pid_to_attach): Update.
3958
3959 2014-06-04  Tom Tromey  <tromey@redhat.com>
3960
3961         * target-delegates.c: Rebuild.
3962         * target.c (default_thread_address_space): New function.
3963         (target_thread_address_space): Simplify.
3964         * target.h (struct target_ops) <to_thread_address_space>: Add
3965         TARGET_DEFAULT_FUNC.
3966
3967 2014-06-04  Doug Evans  <xdje42@gmail.com>
3968
3969         * guile/scm-type.c (type_smob): Remove duplicate typedef.
3970
3971 2014-06-04  Markus Metzger  <markus.t.metzger@intel.com>
3972
3973         * record-btrace.c: Include event-loop.h and inf-loop.h.
3974         (record_btrace_resume_exec_dir)
3975         (record_btrace_async_inferior_event_handler)
3976         (record_btrace_handle_async_inferior_event): New.
3977         (record_btrace_open): Create async event handler.
3978         (record_btrace_close): Delete async event handler.
3979         (record_btrace_resume): Set record_btrace_resume_exec_dir,
3980         Mark async event handler.
3981         (record_btrace_execution_direction): New.
3982         (init_record_btrace_ops): Initialize to_execution_direction.
3983
3984 2014-06-03  Doug Evans  <xdje42@gmail.com>
3985
3986         * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3987         (gdbscm_make_parameter): Ditto.
3988
3989 2014-06-03  Doug Evans  <dje@google.com>
3990
3991         * exec.c (exec_close_1): Call clear_section_table instead of
3992         resize_section_table.
3993         (clear_section_table): New function.
3994         (resize_section_table): Make static.  Rename arg num_added to
3995         adjustment.
3996         * exec.h (clear_section_table): Declare.
3997         (resize_section_table): Delete.
3998         * progspace.c (release_program_space): Call clear_section_table
3999         instead of resize_section_table.
4000
4001 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
4002
4003         * NEWS (Python Scripting): Add entry about the new xmethods
4004         feature.
4005
4006 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
4007
4008         * python/py-xmethods.c: New file.
4009         * python/py-objfile.c (objfile_object): New field 'xmethods'.
4010         (objfpy_dealloc): XDECREF on the new xmethods field.
4011         (objfpy_new, objfile_to_objfile_object): Initialize xmethods
4012         field.
4013         (objfpy_get_xmethods): New function.
4014         (objfile_getset): New entry 'xmethods'.
4015         * python/py-progspace.c (pspace_object): New field 'xmethods'.
4016         (pspy_dealloc): XDECREF on the new xmethods field.
4017         (pspy_new, pspace_to_pspace_object): Initialize xmethods
4018         field.
4019         (pspy_get_xmethods): New function.
4020         (pspace_getset): New entry 'xmethods'.
4021         * python/python-internal.h: Add declarations for new functions.
4022         * python/python.c (_initialize_python): Invoke
4023         gdbpy_initialize_xmethods.
4024         * python/lib/gdb/__init__.py (xmethods): New
4025         attribute.
4026         * python/lib/gdb/xmethod.py: New file.
4027         * python/lib/gdb/command/xmethods.py: New file.
4028
4029 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
4030
4031         * eval.c (evaluate_subexp_standard): Call the xmethod if the
4032         best match method returned by find_overload_match is an xmethod.
4033         * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
4034         the best matching operator returned by find_overload_match is an
4035         xmethod.
4036         * valops.c: #include "extension.h".
4037         (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
4038         Return void.  The list of matching source methods is returned in
4039         "fn_list" and a vector of matching debug method workers is
4040         returned in "xm_worker_vec".  Update all callers.
4041         (value_find_oload_method_list): Likewise.
4042         (find_oload_champ): Add "xm_worker_vec" parameter.  If it is
4043         non-NULL, then the index of the best matching method in this
4044         vector is returned.  Update all callers.
4045         (find_overload_match): Include xmethods while performing overload
4046         resolution.
4047
4048 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
4049
4050         * defs.h (enum lval_type): New enumerator "lval_xcallable".
4051         * extension-priv.h (struct extension_language_ops): Add the
4052         xmethod interface.
4053         * extension.c (new_xmethod_worker, clone_xmethod_worker,
4054         get_matching_xmethod_workers, get_xmethod_argtypes,
4055         invoke_xmethod, free_xmethod_worker,
4056         free_xmethod_worker_vec): New functions.
4057         * extension.h: #include "common/vec.h".
4058         New function declarations.
4059         (struct xmethod_worker): New struct.
4060         (VEC (xmethod_worker_ptr)): New vector type.
4061         (xmethod_worker_ptr): New typedef.
4062         (xmethod_worker_vec): Likewise.
4063         * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
4064         builtin_type.
4065         * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
4066         (struct builtin_type): New field "xmethod".
4067         * valarith.c (value_ptradd): Assert that the value argument is not
4068         lval_xcallable.
4069         * valops.c (value_must_coerce_to_target): Return 0 for
4070         lval_xcallable values.
4071         * value.c (struct value): New field XM_WORKER in the field
4072         LOCATION.
4073         (value_address, value_raw_address): Return 0 for lval_xcallable
4074         values.
4075         (set_value_address): Assert that the value is not an
4076         lval_xcallable.
4077         (value_free): Free the associated xmethod worker when freeing
4078         lval_xcallable values.
4079         (set_value_component_location): Assert that the WHOLE value is not
4080         lval_xcallable.
4081         (value_of_xmethod, call_xmethod): New functions.
4082         * value.h: Declare "struct xmethod_worker".
4083         Declare new functions value_of_xmethod, call_xmethod.
4084
4085 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
4086             Pedro Alves  <palves@redhat.com>
4087
4088         PR breakpoints/17000
4089         * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
4090         New function, extracted from software_breakpoint_inserted_here_p.
4091         (software_breakpoint_inserted_here_p): Replace factored out code
4092         by call to find_non_raw_software_breakpoint_inserted_here.
4093         (bp_target_info_copy_insertion_state): New function.
4094         (bkpt_insert_location): Handle the case of a single-step
4095         breakpoint already inserted at the same address.
4096         (bkpt_remove_location): Handle the case of a single-step
4097         breakpoint still inserted at the same address.
4098         (deprecated_insert_raw_breakpoint): Handle the case of non-raw
4099         breakpoint already inserted at the same address.
4100         (deprecated_remove_raw_breakpoint): Handle the case of a
4101         non-raw breakpoint still inserted at the same address.
4102         (find_single_step_breakpoint): New function, extracted from
4103         single_step_breakpoint_inserted_here_p.
4104         (find_single_step_breakpoint): New function,
4105         factored out from single_step_breakpoint_inserted_here_p.
4106         (single_step_breakpoint_inserted_here_p): Reimplement.
4107
4108 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
4109
4110         Pushed by Joel Brobecker  <brobecker@adacore.com>
4111         * source.c (show_substitute_path_command): Fix display of matching
4112         substitution rules.
4113
4114 2014-06-03  Gary Benson  <gbenson@redhat.com>
4115
4116         * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
4117
4118 2014-06-02  Doug Evans  <xdje42@gmail.com>
4119
4120         Add parameter support for Guile.
4121         * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
4122         (SUBDIR_GUILE_SRCS): Add scm-param.c.
4123         (scm-param.o): New rule.
4124         * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
4125         (gdbscm_misc_error): Declare.
4126         (gdbscm_canonicalize_command_name): Declare.
4127         (gdbscm_scm_to_host_string): Declare.
4128         (gdbscm_scm_from_host_string): Declare.
4129         (gdbscm_initialize_parameters): Declare.
4130         * guile/guile.c (initialize_gdb_module): Call
4131         gdbscm_initialize_parameters.
4132         * guile/lib/gdb.scm: Export parameter symbols.
4133         * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
4134         cmdscm_canonicalize_name and made public.  All callers updated.
4135         * guile/scm-exception.c (gdbscm_misc_error): New function.
4136         * guile/scm-param.c: New file.
4137         * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
4138         (gdbscm_scm_to_host_string): New function.
4139         (gdbscm_scm_from_host_string): New function.
4140         * scm-utils.c (gdbscm_gc_dup_argv): New function.
4141
4142 2014-06-02  Doug Evans  <xdje42@gmail.com>
4143
4144         Add command support for Guile.
4145         * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
4146         (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
4147         (scm-cmd.o): New rule.
4148         * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
4149         (gdbscm_user_error_p): Declare.
4150         (gdbscm_parse_command_name): Declare.
4151         (gdbscm_valid_command_class_p): Declare.
4152         (gdbscm_initialize_commands): Declare.
4153         * guile/guile.c (initialize_gdb_module): Call
4154         gdbscm_initialize_commands.
4155         * guile/lib/gdb.scm: Export command symbols.
4156         * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
4157         (throw-user-error): New function.
4158         * guile/scm-cmd.c: New file.
4159         * guile/scm-exception.c (user_error_symbol): New static global.
4160         (gdbscm_user_error_p): New function.
4161         (gdbscm_initialize_exceptions): Set user_error_symbol.
4162         * scm-utils.c (gdbscm_gc_xstrdup): New function.
4163
4164 2014-06-02  Phil Muldoon  <pmuldoon@redhat.com>
4165
4166         * top.c (command_loop): Handle comments here...
4167         (command_line_input): ... not here.
4168
4169 2014-06-02  Doug Evans  <xdje42@gmail.com>
4170
4171         Add progspace support for Guile.
4172         * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
4173         (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
4174         (scm-progspace.o): New rule.
4175         * guile/guile-internal.h (pspace_smob): New typedef.
4176         (psscm_pspace_smob_pretty_printers): Declare.
4177         (psscm_pspace_smob_from_pspace): Declare.
4178         (psscm_scm_from_pspace): Declare.
4179         * guile/guile.c (initialize_gdb_module): Call
4180         gdbscm_initialize_pspaces.
4181         * guile/lib/gdb.scm: Export progspace symbols.
4182         * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
4183         support.
4184         (append-pretty-printer!): Ditto.
4185         * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
4186         Implement.
4187         * guile/scm-progspace.c: New file.
4188
4189 2014-06-03  Alan Modra  <amodra@gmail.com>
4190
4191         * ppc64-tdep.c (ppc64_standard_linkage8): New.
4192         (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
4193
4194 2014-06-02  Doug Evans  <dje@google.com>
4195
4196         Add support for skeletonless type units.
4197         * dwarf2read.c (struct dwarf2_per_objfile): New member
4198         n_allocated_type_units.
4199         (struct dwarf2_per_objfile) <tu_stats>: New member
4200         nr_all_type_units_reallocs.
4201         (create_signatured_type_table_from_index): Initialize
4202         n_allocated_type_units
4203         (create_all_type_units): Ditto.
4204         (add_type_unit): Move up in file.  New arg slot.
4205         All callers updated.  Increase space for all_type_units more
4206         efficiently.
4207         (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
4208         (lookup_dwo_signatured_type): Handle skeletonless TUs.
4209         (lookup_dwp_signatured_type): Ditto.
4210         (init_tu_and_read_dwo_dies): New arg use_existing_cu.
4211         All callers updated.
4212         (build_type_psymtabs_1): Leave type_unit_groups as
4213         NULL if no TUs present.
4214         (print_tu_stats): New function.
4215         (process_skeletonless_type_unit): New function.
4216         (process_dwo_file_for_skeletonless_type_units): New
4217         function.
4218         (process_skeletonless_type_units): New function.
4219         (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
4220         Call print tu_stats if debugging enabled.
4221
4222 2014-06-02  Pedro Alves  <palves@redhat.com>
4223
4224         * breakpoint.c (build_target_command_list): Don't build a command
4225         list if we have any duplicate location that isn't a dprintf.
4226
4227 2014-06-02  Pedro Alves  <palves@redhat.com>
4228
4229         * breakpoint.c (dprintf_breakpoint_hit): New function.
4230         (initialize_breakpoint_ops): Install it as dprintf's
4231         breakpoint_hit method.
4232
4233 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
4234
4235         * source.c (substitute_path_rule_matches): Simplify using
4236         filename_ncmp instead of FILENAME_CMP.
4237
4238 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
4239
4240         * source.c (substitute_path_rule_matches): Remove trailing spaces.
4241
4242 2014-06-01  Ludovic Courtès  <ludo@gnu.org>
4243
4244         * configure.ac: When Guile is available, check for the
4245         availability of 'scm_new_smob'.
4246         * configure, config.h.in: Regenerate.
4247         * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
4248         function.
4249
4250 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
4251
4252         * frame.c (struct frame_info): Add stop_string field.
4253         (get_prev_frame_always_1): Renamed from get_prev_frame_always.
4254         (get_prev_frame_always): Old content moved into
4255         get_prev_frame_always_1.  Call get_prev_frame_always_1 inside
4256         TRY_CATCH, handle MEMORY_ERROR exceptions.
4257         (frame_stop_reason_string): New function definition.
4258         * frame.h (unwind_stop_reason_to_string): Extend comment to
4259         mention frame_stop_reason_string.
4260         (frame_stop_reason_string): New function declaration.
4261         * stack.c (frame_info): Switch to frame_stop_reason_string.
4262         (backtrace_command_1): Switch to frame_stop_reason_string.
4263         * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
4264         (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
4265         * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
4266
4267 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
4268
4269         * frame.c (frame_stop_reason_string): Rename to ...
4270         (unwind_stop_reason_to_string): this.
4271         * frame.h (frame_stop_reason_string): Rename to ...
4272         (unwind_stop_reason_to_string): this.
4273         * stack.c (frame_info): Update call to frame_stop_reason_string.
4274         (backtrace_command_1): Likewise.
4275         * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
4276         * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
4277
4278 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
4279
4280         * frame.c (remove_prev_frame): New function.
4281         (get_prev_frame_if_no_cycle): Create / discard cleanup using
4282         remove_prev_frame.
4283
4284 2014-05-29  Pedro Alves  <palves@redhat.com>
4285
4286         * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
4287         and make it const.  When a single-step decays to a continue,
4288         clear 'step', not 'hw_step'.  Pass whether the caller wanted
4289         to step to user_visible_resume_ptid, not what we ask the
4290         target to do.
4291
4292 2014-05-29  Pedro Alves  <palves@redhat.com>
4293
4294         * infrun.c (process_event_stop_test, handle_step_into_function)
4295         (handle_step_into_function_backward): Adjust.
4296         Don't set the even thread's stop_step and call stop_waiting before
4297         calling end_stepping_range.  Instead do that ...
4298         (end_stepping_range): ... here.  Take an ecs pointer parameter.
4299
4300 2014-05-29  Pedro Alves  <palves@redhat.com>
4301
4302         * infrun.c (stop_stepping): Rename to ...
4303         (stop_waiting): ... this.
4304         (proceed): Update comment.
4305         (process_event_stop_test, handle_inferior_event)
4306         (handle_signal_stop, handle_step_into_function)
4307         (handle_step_into_function_backward): Update.
4308
4309 2014-05-29  Pedro Alves  <palves@redhat.com>
4310
4311         * infcall.c (run_inferior_call): Don't check whether the current
4312         thread is running after the proceed call.
4313
4314 2014-05-29  Pedro Alves  <palves@redhat.com>
4315             Tom Tromey  <tromey@redhat.com>
4316
4317         * NEWS: Mention "maint set target-async", "set mi-async", and that
4318         background execution commands are now always available.
4319         * target.h (target_async_permitted): Update comment.
4320         * target.c (target_async_permitted, target_async_permitted_1):
4321         Default to 1.
4322         (set_target_async_command): Rename to ...
4323         (maint_set_target_async_command): ... this.
4324         (show_target_async_command): Rename to ...
4325         (maint_show_target_async_command): ... this.
4326         (_initialize_target): Adjust.
4327         * infcmd.c (prepare_execution_command): Make extern.
4328         * inferior.h (prepare_execution_command): Declare.
4329         * infrun.c (set_observer_mode): Leave target async alone.
4330         * mi/mi-interp.c (mi_interpreter_init): Install
4331         mi_on_sync_execution_done as sync_execution_done observer.
4332         (mi_on_sync_execution_done): New function.
4333         (mi_execute_command_input_handler): Don't print the prompt if we
4334         just started a synchronous command with an async target.
4335         (mi_on_resume): Check sync_execution before printing prompt.
4336         * mi/mi-main.h (mi_async_p): Declare.
4337         * mi/mi-main.c: Include gdbcmd.h.
4338         (mi_async_p): New function.
4339         (mi_async, mi_async_1): New globals.
4340         (set_mi_async_command, show_mi_async_command, mi_async): New
4341         functions.
4342         (exec_continue): Call prepare_execution_command.
4343         (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4344         (mi_execute_async_cli_command): Use mi_async_p.
4345         (_initialize_mi_main): Install "set mi-async".  Make
4346         "target-async" a deprecated alias.
4347
4348 2014-05-29  Pedro Alves  <palves@redhat.com>
4349
4350         * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4351         (_initialize_cli_interp): Adjust.
4352         * event-loop.c: Include "observer.h".
4353         (start_event_loop): Notify 'command_error' observers instead of
4354         calling display_gdb_prompt.  Remove FIXME comment.
4355         * event-top.c (display_gdb_prompt): Remove call into the
4356         interpreters.
4357         * inf-loop.c: Include "observer.h".
4358         (inferior_event_handler): Notify 'command_error' observers instead
4359         of calling display_gdb_prompt.
4360         * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4361         observers instead of calling display_gdb_prompt.
4362         * interps.c (interp_set): Don't call display_gdb_prompt.
4363         (current_interp_display_prompt_p): Delete.
4364         * interps.h (interp_prompt_p): Delete declaration.
4365         (interp_prompt_p_ftype): Delete.
4366         (struct interp_procs) <prompt_proc_p>: Delete field.
4367         (current_interp_display_prompt_p): Delete declaration.
4368         * mi-interp.c (mi_interpreter_prompt_p): Delete.
4369         (_initialize_mi_interp): Adjust.
4370         * tui-interp.c (tui_init): Install 'sync_execution_done' and
4371         'command_error' observers.
4372         (tui_on_sync_execution_done, tui_on_command_error): New
4373         functions.
4374         (tui_display_prompt_p): Delete.
4375         (_initialize_tui_interp): Adjust.
4376
4377 2014-05-29  Pedro Alves  <palves@redhat.com>
4378
4379         PR gdb/13860
4380         * cli/cli-interp.c: Include infrun.h and observer.h.
4381         (cli_uiout, cli_interp): New globals.
4382         (cli_on_signal_received, cli_on_end_stepping_range)
4383         (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4384         functions.
4385         (cli_interpreter_init): Install them as 'end_stepping_range',
4386         'signal_received' 'signal_exited', 'exited' and 'no_history'
4387         observers.
4388         (_initialize_cli_interp): Remove cli_interp local.
4389         * infrun.c (handle_inferior_event): Call the several stop reason
4390         observers instead of printing the stop reason directly.
4391         (end_stepping_range): New function.
4392         (print_end_stepping_range_reason, print_signal_exited_reason)
4393         (print_exited_reason, print_signal_received_reason)
4394         (print_no_history_reason): Make static, and add an uiout
4395         parameter.  Print to that instead of to CURRENT_UIOUT.
4396         * infrun.h (print_end_stepping_range_reason)
4397         (print_signal_exited_reason, print_exited_reason)
4398         (print_signal_received_reason print_no_history_reason): New
4399         declarations.
4400         * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4401         'mi_uiout'.
4402         <cli_uiout>: New field.
4403         * mi/mi-interp.c (mi_interpreter_init): Adjust.  Create the new
4404         uiout for CLI output.  Install 'signal_received',
4405         'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4406         observers.
4407         (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4408         (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4409         (mi_on_no_history): New functions.
4410         (ui_out_free_cleanup): Delete function.
4411         (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4412         instead use the one already stored in the MI interpreter data.
4413         (mi_ui_out): Adjust.
4414         * tui/tui-interp.c: Include infrun.h and observer.h.
4415         (tui_interp): New global.
4416         (tui_on_signal_received, tui_on_end_stepping_range)
4417         (tui_on_signal_exited, tui_on_exited)
4418         (tui_on_no_history): New functions.
4419         (tui_init): Install them as 'end_stepping_range',
4420         'signal_received' 'signal_exited', 'exited' and 'no_history'
4421         observers.
4422         (_initialize_tui_interp): Delete tui_interp local.
4423
4424 2014-05-29  Pedro Alves  <palves@redhat.com>
4425
4426         PR gdb/15713
4427         * linux-nat.c (linux_nat_resume_callback): Rename the second
4428         parameter to 'except'.  Skip LP if it points to EXCEPT.
4429         (linux_nat_resume): Don't mark the event lwp as not stopped
4430         before resuming sibling lwps.  Instead ask
4431         linux_nat_resume_callback to skip the event lwp.  Mark it as not
4432         stopped after actually resuming it.
4433         (linux_handle_syscall_trap): Mark the lwp as not stopped after
4434         resuming it.
4435         (wait_lwp): Mark the lwp as stopped here.
4436         (stop_wait_callback): Mark the lwp as not stopped right after
4437         resuming it.  Don't mark lwps as stopped here.
4438         (linux_nat_filter_event): Mark the lwp as stopped earlier.
4439         (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4440
4441 2014-05-29  Pedro Alves  <palves@redhat.com>
4442
4443         PR PR15693
4444         * infrun.c (resume): Determine how much to resume depending on
4445         whether the caller wanted a step, not whether we can hardware step
4446         the target.  Mark all threads that we intend to run as running,
4447         unless we're calling an inferior function.
4448         (normal_stop): If the thread is running an infcall, don't finish
4449         thread state.
4450         * target.c (target_resume): Don't mark threads as running here.
4451
4452 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
4453
4454         * serial.c (_initialize_serial): Remove support for
4455         the "set remotebaud" and "show remotebaud" commands.
4456         * NEWS: Add entry documenting the removal of that command.
4457
4458 2014-05-28  Yao Qi  <yao@codesourcery.com>
4459
4460         * charset.c: Fix typo in comments.
4461
4462 2014-05-27  Gary Benson  <gbenson@redhat.com>
4463
4464         * utils.c (internal_vproblem): Prompt for a bug report.
4465
4466 2014-05-26  Andy Wingo  <wingo@igalia.com>
4467
4468         * guile/scm-arch.c (arscm_mark_arch_smob):
4469         * guile/scm-block.c (bkscm_mark_block_smob)
4470         (bkscm_mark_block_syms_progress_smob):
4471         * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4472         * guile/scm-exception.c (exscm_mark_exception_smob):
4473         * guile/scm-frame.c (frscm_mark_frame_smob):
4474         * guile/scm-iterator.c (itscm_mark_iterator_smob):
4475         * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4476         * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4477         * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4478         (ppscm_mark_pretty_printer_worker_smob):
4479         * guile/scm-symbol.c (syscm_mark_symbol_smob):
4480         * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4481         * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4482         * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4483         mark functions.
4484         * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4485         function.
4486
4487 2014-05-26  Andy Wingo  <wingo@igalia.com>
4488             Doug Evans  <xdje42@gmail.com>
4489
4490         * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4491         empty_base_class.  All uses updated.
4492         (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4493         (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4494         Adapt all callers.
4495         * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4496         (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4497         (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4498         (gdbscm_gsmob_has_property_p, add_property_name)
4499         (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4500         * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4501         (gdb-object-has-property?, gdb-object-properties): Remove.
4502         (gdb-object-kind): Renamed from gsmob-kind.
4503
4504 2014-05-26  Andy Wingo  <wingo@igalia.com>
4505
4506         * configure.ac (try_guile_versions): Allow building with guile 2.2.
4507         * configure: Regenerate.
4508
4509 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
4510
4511         * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4512
4513 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
4514
4515         * record-btrace.c (record_btrace_allow_memory_access): Remove.
4516         (replay_memory_access_read_only, replay_memory_access_read_write)
4517         (replay_memory_access_types, replay_memory_access)
4518         (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4519         (cmd_set_record_btrace, cmd_show_record_btrace)
4520         (cmd_show_replay_memory_access): New.
4521         (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4522         (record_btrace_remove_breakpoint): Replace
4523         record_btrace_allow_memory_access with replay_memory_access.
4524         (_initialize_record_btrace): Add commands.
4525         * NEWS: Announce it.
4526
4527 2014-05-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4528
4529         * aarch64-linux-nat.c (asm/ptrace.h): Include.
4530
4531 2014-05-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4532
4533         * MAINTAINERS (Write After Approval): Move self back from
4534         paper trail.
4535
4536 2014-05-22  Pedro Alves  <palves@redhat.com>
4537
4538         * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4539         (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4540         (disable_randomization, enum exec_direction_kind)
4541         (execution_direction, stop_registers, start_remote)
4542         (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4543         (wait_for_inferior, normal_stop, get_last_target_status)
4544         (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4545         (insert_step_resume_breakpoint_at_sal)
4546         (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4547         (set_step_info, print_stop_event, signal_stop_state)
4548         (signal_print_state, signal_pass_state, signal_stop_update)
4549         (signal_print_update, signal_pass_update)
4550         (update_signals_program_target, clear_exit_convenience_vars)
4551         (displaced_step_dump_bytes, update_observer_mode)
4552         (signal_catch_update, gdb_signal_from_command): Move
4553         declarations ...
4554         * infrun.h: ... to this new file.
4555         * amd64-tdep.c: Include infrun.h.
4556         * annotate.c: Include infrun.h.
4557         * arch-utils.c: Include infrun.h.
4558         * arm-linux-tdep.c: Include infrun.h.
4559         * arm-tdep.c: Include infrun.h.
4560         * break-catch-sig.c: Include infrun.h.
4561         * breakpoint.c: Include infrun.h.
4562         * common/agent.c: Include infrun.h instead of inferior.h.
4563         * corelow.c: Include infrun.h.
4564         * event-top.c: Include infrun.h.
4565         * go32-nat.c: Include infrun.h.
4566         * i386-tdep.c: Include infrun.h.
4567         * inf-loop.c: Include infrun.h.
4568         * infcall.c: Include infrun.h.
4569         * infcmd.c: Include infrun.h.
4570         * infrun.c: Include infrun.h.
4571         * linux-fork.c: Include infrun.h.
4572         * linux-nat.c: Include infrun.h.
4573         * linux-thread-db.c: Include infrun.h.
4574         * monitor.c: Include infrun.h.
4575         * nto-tdep.c: Include infrun.h.
4576         * procfs.c: Include infrun.h.
4577         * record-btrace.c: Include infrun.h.
4578         * record-full.c: Include infrun.h.
4579         * remote-m32r-sdi.c: Include infrun.h.
4580         * remote-mips.c: Include infrun.h.
4581         * remote-notif.c: Include infrun.h.
4582         * remote-sim.c: Include infrun.h.
4583         * remote.c: Include infrun.h.
4584         * reverse.c: Include infrun.h.
4585         * rs6000-tdep.c: Include infrun.h.
4586         * s390-linux-tdep.c: Include infrun.h.
4587         * solib-irix.c: Include infrun.h.
4588         * solib-osf.c: Include infrun.h.
4589         * solib-svr4.c: Include infrun.h.
4590         * target.c: Include infrun.h.
4591         * top.c: Include infrun.h.
4592         * windows-nat.c: Include infrun.h.
4593         * mi/mi-interp.c: Include infrun.h.
4594         * mi/mi-main.c: Include infrun.h.
4595         * python/py-threadevent.c: Include infrun.h.
4596
4597 2014-05-22  Pedro Alves  <palves@redhat.com>
4598
4599         * infrun.c (handle_inferior_event): Store the exit code for
4600         --return-child-result here, instead of ...
4601         (print_exited_reason): ... here.
4602
4603 2014-05-21  Pedro Alves  <palves@redhat.com>
4604
4605         PR gdb/13860
4606         * gdbthread.h (struct thread_control_state): New field
4607         `command_interp'.
4608         * infrun.c (follow_fork): Copy the new thread control field to the
4609         child fork thread.
4610         (clear_proceed_status_thread): Clear the new thread control field.
4611         (proceed): Set the new thread control field.
4612         * interps.h (command_interp): Declare.
4613         * interps.c (command_interpreter): New global.
4614         (command_interp): New function.
4615         (interp_exec): Set `command_interpreter' while here.
4616         * cli-out.c (cli_uiout_dtor): New function.
4617         (cli_ui_out_impl): Install it.
4618         * mi/mi-interp.c: Include cli-out.h.
4619         (mi_cmd_interpreter_exec): Add comment.
4620         (restore_current_uiout_cleanup): New function.
4621         (ui_out_free_cleanup): New function.
4622         (mi_on_normal_stop): If finishing an execution command started by
4623         a CLI command, or any kind of breakpoint-like event triggered,
4624         print the stop event to the output (CLI) stream.
4625         * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4626
4627 2014-05-21  Pedro Alves  <palves@redhat.com>
4628
4629         * cli/cli-cmds.c (list_command): Handle the first "list" after the
4630         current source line having changed.
4631         * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4632         * infrun.c (normal_stop): Adjust call to
4633         set_current_sal_from_frame.
4634         * source.c (clear_lines_listed_range): New function.
4635         (set_current_source_symtab_and_line, identify_source_line): Clear
4636         the lines listed range.
4637         (line_info): Handle the first "info line" after the current source
4638         line having changed.
4639         * stack.c (print_stack_frame): Remove center handling.
4640         (set_current_sal_from_frame): Remove 'center' parameter.  Don't
4641         center sal.line.
4642
4643 2014-05-21  Pedro Alves  <palves@redhat.com>
4644
4645         * inf-child.c (inf_child_mourn_inferior): New function.
4646         * inf-child.h (inf_child_mourn_inferior): New declaration.
4647         * darwin-nat.c (darwin_mourn_inferior): Use
4648         inf_child_mourn_inferior.
4649         * gnu-nat.c (gnu_mourn_inferior): Likewise.
4650         * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4651         * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4652         * nto-procfs.c (procfs_mourn_inferior): Likewise.
4653         * windows-nat.c (windows_mourn_inferior): Likewise.
4654
4655 2014-05-21  Doug Evans  <xdje42@gmail.com>
4656
4657         * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
4658
4659 2014-05-21  Doug Evans  <xdje42@gmail.com>
4660
4661         * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4662         (gdbscm_out_of_range_error): Ditto.
4663         (gdbscm_memory_error): Ditto.
4664         * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4665         * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4666         (gdbscm_out_of_range_error): Update.
4667         (gdbscm_memory_error): Update.
4668         (gdbscm_scm_to_target_string_unsafe): Delete.
4669
4670 2014-05-21  Pedro Alves  <palves@redhat.com>
4671
4672         * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4673         globals.
4674         (inf_child_open_target): New function.
4675         (inf_child_open): Use inf_child_open_target to push the target
4676         instead of erroring out.
4677         (inf_child_disconnect, inf_child_close)
4678         (inf_child_maybe_unpush_target): New functions.
4679         (inf_child_target): Install inf_child_disconnect and
4680         inf_child_close.  Store a pointer to the returned object.
4681         * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4682         declarations.
4683         * target.c (auto_connect_native_target): New global.
4684         (show_default_run_target): New function.
4685         (find_default_run_target): Return NULL if automatically connecting
4686         to the native target is disabled.
4687         (_initialize_target): Install set/show auto-connect-native-target.
4688         * NEWS: Mention "set auto-connect-native-target", and "target
4689         native".
4690         * linux-nat.c (super_close): New global.
4691         (linux_nat_close): Call super_close.
4692         (linux_nat_add_target): Store a pointer to the base class's
4693         to_close method.
4694         * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4695         inf_child_maybe_unpush.
4696         * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4697         already pushed.
4698         (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4699         the inferior.  Use inf_child_maybe_unpush_target.
4700         (inf_ttrace_attach): Don't push the target if it is already
4701         pushed.
4702         (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4703         * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4704         after mourning the inferior.  Use inf_child_maybe_unpush_target.
4705         (darwin_attach_pid): Don't push the target if it is already
4706         pushed.
4707         * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4708         mourning the inferior.  Use inf_child_maybe_unpush_target.
4709         (gnu_detach): Use inf_child_maybe_unpush_target.
4710         * go32-nat.c (go32_create_inferior): Don't push the target if it
4711         is already pushed.
4712         (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4713         * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4714         (procfs_open): Rename to ...
4715         (procfs_open_1): ... this.  Add target_ops parameter.  Adjust
4716         comments.  Can target_preopen before changing node.  Call
4717         inf_child_open_target to push the target explicitly.
4718         (procfs_attach): Don't push the target if it is already pushed.
4719         (procfs_detach): Use inf_child_maybe_unpush_target.
4720         (procfs_create_inferior): Don't push the target if it is already
4721         pushed.
4722         (nto_native_ops): New global.
4723         (procfs_open): Reimplement.
4724         (procfs_native_open): New function.
4725         (init_procfs_targets): Install procfs_native_open as to_open of
4726         "target native".  Store a pointer to the "native" target in
4727         nto_native_ops.
4728         * procfs.c (procfs_attach): Don't push the target if it is already
4729         pushed.
4730         (procfs_detach): Use inf_child_maybe_unpush_target.
4731         (procfs_mourn_inferior): Only unpush the target after mourning the
4732         inferior.  Use inf_child_maybe_unpush_target.
4733         (procfs_init_inferior): Don't push the target if it is already
4734         pushed.
4735         * windows-nat.c (do_initial_windows_stuff): Don't push the target
4736         if it is already pushed.
4737
4738 2014-05-21  Pedro Alves  <palves@redhat.com>
4739
4740         * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4741         and "procfs" targets are now called "native" instead.
4742
4743 2014-05-21  Pedro Alves  <palves@redhat.com>
4744
4745         * go32-nat.c (go32_open): Delete.
4746         (go32_target): Don't override the to_open method.
4747
4748 2014-05-21  Pedro Alves  <palves@redhat.com>
4749
4750         * nto-procfs.c (procfs_can_run): New function.
4751         (nto_procfs_ops): New global.
4752         (init_procfs_targets): New, based on procfs_target.  Install
4753         "target native" in addition to "target procfs".
4754         (_initialize_procfs): Call init_procfs_targets instead of adding
4755         the target here.
4756
4757 2014-05-21  Pedro Alves  <palves@redhat.com>
4758
4759         * windows-nat.c (windows_target): Don't override to_shortname,
4760         to_longname or to_doc.
4761
4762 2014-05-21  Pedro Alves  <palves@redhat.com>
4763
4764         * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4765         to_doc.
4766
4767 2014-05-21  Pedro Alves  <palves@redhat.com>
4768
4769         * darwin-nat.c (_initialize_darwin_inferior): Don't override
4770         to_shortname, to_longname or to_doc.
4771
4772 2014-05-21  Pedro Alves  <palves@redhat.com>
4773
4774         * go32-nat.c (go32_target): Don't override to_shortname,
4775         to_longname or to_doc.
4776
4777 2014-05-21  Pedro Alves  <palves@redhat.com>
4778
4779         * inf-child.c (inf_child_open): Remove mention of "child".
4780         (inf_child_target): Rename target to "native" instead of "child".
4781
4782 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4783
4784         * Makefile.in (SFILES): Delete "regset.c".
4785         (COMMON_OBS): Delete "regset.o".
4786         * regset.c: Remove.
4787         * regset.h (regset_alloc): Delete prototype.
4788
4789 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4790
4791         * sparc-linux-tdep.c (sparc32_linux_gregset)
4792         (sparc32_linux_fpregset): New static regset structures.
4793         (sparc32_linux_init_abi): Drop dynamic regset allocations.
4794         * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4795         'fpregset' fields.
4796         * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4797         (sparc64_linux_fpregset): New static regset structures.
4798         (sparc64_linux_init_abi): Drop dynamic regset allocations.
4799         * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4800         New static regset structures.
4801         (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4802         * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4803         New static regset structures.
4804         (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4805         * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4806         New static regset structures.
4807         (sparc64obsd_init_abi): Drop dynamic regset allocations.
4808         * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4809         New static regset structures.
4810         (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4811
4812 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4813
4814         * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4815         (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4816         register maps ("regmaps") from "*regset" to "*regmap".  Do this
4817         for all regmap types and variables.
4818         * sparc-linux-tdep.c (sparc32_linux_step_trap)
4819         (sparc32_linux_supply_core_gregset)
4820         (sparc32_linux_collect_core_gregset)
4821         (sparc32_linux_supply_core_fpregset)
4822         (sparc32_linux_collect_core_fpregset): Likewise.
4823         * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4824         (sparc_gregmap, sparc_fpregmap): ... these.
4825         (sparc_supply_gregset, sparc_collect_gregset)
4826         (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4827         (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4828         (_initialize_sparc_nat): Rename regmaps.
4829         * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4830         (sparc_gregmap, sparc_fpregmap): ... these.
4831         (sparc_supply_gregset, sparc_collect_gregset)
4832         (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4833         * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4834         Rename macros to...
4835         (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4836         (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4837         Likewise.
4838         * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4839         Rename to...
4840         (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4841         * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4842         (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4843         regmaps.
4844         (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4845         (sparc32_bsd_fpregset): Rename to...
4846         (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4847         (sparc32_bsd_fpregmap): ... these.
4848         * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4849         (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4850         (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4851         (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4852         (struct sparc_gregmap, struct sparc_fpregmap)
4853         (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4854         (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4855         (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4856         (sparc32_supply_regset, sparc32_collect_gregset)
4857         (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4858         prototypes.
4859         * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4860         (sparc64_linux_ptrace_gregmap): ... this.
4861         (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4862         (_initialize_sparc64_linux_nat): Rename regmaps.
4863         * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4864         (sparc64_linux_core_gregmap): ... this.
4865         (sparc64_linux_supply_core_gregset)
4866         (sparc64_linux_collect_core_gregset)
4867         (sparc64_linux_supply_core_fpregset)
4868         (sparc64_linux_collect_core_fpregset): Rename regmaps.
4869         * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4870         (sparc64_sol2_fpregset): Rename to...
4871         (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4872         * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4873         (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4874         regmaps.
4875         * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4876         (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4877         (sparc64_bsd_fpregset): Rename to...
4878         (struct sparc_gregmap, sparc64_sol2_gregmap)
4879         (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4880         (sparc64_bsd_fpregmap): ... these.
4881         (sparc64_supply_gregset, sparc64_collect_gregset)
4882         (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4883         prototypes.
4884         * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4885         * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4886         (sparc64fbsd_gregmap): ... this.
4887         (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4888         (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4889         Rename regmaps.
4890         * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4891         (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4892         (sparc64nbsd_collect_fpregset): Likewise.
4893         * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4894         (sparc64nbsd_gregmap): ... this.
4895         (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4896         regmaps.
4897         * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4898         * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4899         (sparc64obsd_gregmap): ... this.
4900         (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4901         regmaps.
4902         * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4903         * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4904         (sparc32nbsd_gregmap): ... this.
4905         (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4906         regmaps.
4907
4908 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4909
4910         * score-tdep.c (score7_linux_gregset): New static regset
4911         structure.
4912         (score7_linux_regset_from_core_section): Remove dynamic regset
4913         allocation.
4914         (score_gdbarch_init): Drop allocation of tdep structure.
4915         * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4916
4917 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4918
4919         * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4920         regset structures.
4921         (am33_regset_from_core_section): Remove dynamic regset
4922         allocations.
4923
4924 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4925
4926         * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4927         (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4928         structures.
4929         (mips_linux_regset_from_core_section): Remove dynamic regset
4930         allocations.
4931         * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4932         'gregset64', 'fpregset', and 'fpregset64'.
4933         * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4934         deleted tdep fields.
4935
4936 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4937
4938         * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4939         regset structures.
4940         (amd64_regset_from_core_section): Remove dynamic regset
4941         allocations.
4942         * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4943         structure.
4944         (amd64obsd_regset_from_core_section): Remove dynamic regset
4945         allocation.
4946         * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4947         Likewise.
4948         * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4949         x86-common regset supply function.
4950         * i386-tdep.c (i386_collect_gregset): Make static.
4951         (i386_gregset): New global regset structure.
4952         (i386_fpregset, i386_xstateregset): New static regset structures.
4953         (i386_regset_from_core_section): Remove dynamic regset
4954         allocations.
4955         (i386_gdbarch_init): Remove initialization of tdep fields
4956         'gregset', 'fpregset', and 'xstateregset'.
4957         * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4958         'fpregset', and 'xstateregset'.
4959         (i386_collect_gregset): Remove prototype.
4960         (i386_gregset): New declaration.
4961         * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4962         structure.
4963         (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4964         allocation.
4965
4966 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4967
4968         * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4969         (arm_linux_vfpregset): New static regset structures.
4970         (arm_linux_regset_from_core_section): Remove dynamic allocation of
4971         regset structures.
4972         * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4973         and 'vfpregset' fields.
4974
4975 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4976
4977         * aarch64-linux-tdep.c (aarch64_linux_gregset)
4978         (aarch64_linux_fpregset): New static regset structures.
4979         (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4980         of regset structures.
4981         * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4982         'fpregset' fields.
4983
4984 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4985
4986         * regset.h (struct regset): Remove gdbarch field.
4987         * regset.c (regset_alloc): Drop initialization of gdbarch field.
4988         * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4989         * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4990         Likewise.
4991         * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4992         (ppc32_linux_fpregset, ppc32_linux_vrregset)
4993         (ppc32_linux_vsxregset): Likewise.
4994         * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4995         via the regcache instead of the regset.
4996         * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4997         (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4998         * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4999         * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
5000         Likewise.
5001
5002 2014-05-21  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5003
5004         * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
5005         Constify structures.
5006         * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
5007         (alphanbsd_aout_gregset): Likewise.
5008         * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
5009         * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
5010         Likewise.
5011         * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
5012         * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
5013         Likewise.
5014         * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
5015         * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
5016         * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
5017         * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
5018         * m88k-tdep.c (m88k_gregset): Likewise.
5019         * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
5020         * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
5021         * nios2-linux-tdep.c (nios2_core_regset): Likewise.
5022         * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
5023         * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5024         * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
5025         * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5026         * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
5027         * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
5028         Likewise.
5029         * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
5030         * sh-tdep.h (sh_corefile_gregset): Likewise.
5031         * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
5032         * vax-tdep.c (vax_gregset): Likewise.
5033
5034 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
5035
5036         Fix TLS access for -static -pthread.
5037         * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
5038         (try_thread_db_load_1): Initialize it.
5039         (thread_db_get_thread_local_address): Call it if LM is zero.
5040         * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
5041         * target.h (struct target_ops) (to_get_thread_local_address): Add
5042         load_module_addr comment.
5043
5044 2014-05-21  Pedro Alves  <palves@redhat.com>
5045
5046         * dcache.c (dcache_read_memory_partial): If reading the cache line
5047         fails, fallback to reading just the memory the caller wanted.
5048
5049 2014-05-20  Doug Evans  <dje@google.com>
5050
5051         * python/py-progspace.c (py_free_pspace): Call target_gdbarch
5052         instead of get_current_arch.
5053
5054 2014-05-20  Pedro Alves  <palves@redhat.com>
5055
5056         * NEWS: Mention that compare-sections now works with all targets.
5057
5058         * remote.c (PACKET_qCRC): New enum value.
5059         (remote_verify_memory): Don't send qCRC if the target has no
5060         execution.  Use packet_support/packet_ok.  If the target doesn't
5061         support the qCRC packet, fallback to a deep memory copy.
5062         (compare_sections_command): Say "target image" instead of "remote
5063         executable".
5064         (_initialize_remote): Add PACKET_qCRC to the list of config
5065         packets that have no associated command.  Extend comment.
5066         * target.c (simple_verify_memory, default_verify_memory): New
5067         function.
5068         * target.h (struct target_ops) <to_verify_memory>: Default to
5069         default_verify_memory.
5070         (simple_verify_memory): New declaration.
5071         * target-delegates.c: Regenerate.
5072
5073 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
5074
5075         * record-btrace.c (record_btrace_step_thread): Check for empty history.
5076
5077 2014-05-20  Hui Zhu  <hui@codesourcery.com>
5078             Yao Qi  <yao@codesourcery.com>
5079
5080         PR backtrace/16558
5081         * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
5082         and change address of sp and pc.
5083
5084 2014-05-19  Tom Tromey  <tromey@redhat.com>
5085
5086         * gdbtypes.c (rank_function): Use XNEWVEC.
5087         * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5088
5089 2014-05-19  Doug Evans  <dje@google.com>
5090
5091         * dwarf2read.c (build_type_psymtabs_1): Renamed from
5092         build_type_unit_groups and moved closer to only caller.  Remove
5093         arguments.  All references updated.  Remove outdated .gdb_index
5094         comment.
5095         (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
5096         build_type_psymtabs_1.
5097
5098 2014-05-19  Doug Evans  <dje@google.com>
5099
5100         * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
5101         n_type_unit_groups, all_type_unit_groups.  All uses removed.
5102         (get_type_unit_group, build_type_unit_groups): Delete forward decls.
5103         (dw2_get_cutu): Renamed from dw2_get_cu.  All callers updated.
5104         (dw2_get_cu): Renamed from dw2_get_primary_cu.  All callers updated.
5105         (add_type_unit_group_to_table): Delete.
5106
5107 2014-05-19  Doug Evans  <dje@google.com>
5108
5109         * eval.c (evaluate_subexp_standard): Add some comments.
5110
5111 2014-05-17  Doug Evans  <xdje42@gmail.com>
5112
5113         * progspace.c (remove_program_space): Delete, unused.
5114         * progspace.h (remove_program_space): Ditto.
5115
5116 2014-05-17  Doug Evans  <xdje42@gmail.com>
5117
5118         * inferior.c (prune_inferiors): Fix comment.
5119         (remove_inferior_command): Call prune_program_spaces.
5120
5121 2014-05-16  Doug Evans  <dje@google.com>
5122
5123         New command line option -D.
5124         * NEWS: Mention it.
5125         * main.c (set_gdb_data_directory): New function.
5126         (captured_main): Recognize -D.  Flag error for --data-directory "".
5127         Call set_gdb_data_directory.
5128         (print_gdb_help): Print --data-directory, -D.
5129         * main.h (set_gdb_data_directory): Declare.
5130         * top.c (staged_gdb_datadir): New static global.
5131         (set_gdb_datadir): Call set_gdb_data_directory
5132         (show_gdb_datadir): New function.
5133         (init_main): Update init of data-directory parameter.
5134
5135 2014-05-16  Gregory Fong  <gregory.0xf0@gmail.com>
5136
5137         Import the "dirfd" gnulib module.
5138         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
5139         * gnulib/aclocal.m4: Update.
5140         * gnulib/config.in: Update.
5141         * gnulib/configure: Update.
5142         * gnulib/import/Makefile.am: Update.
5143         * gnulib/import/Makefile.in: Update.
5144         * gnulib/import/dirfd.c: New.
5145         * gnulib/import/m4/dirfd.m4: New.
5146         * gnulib/import/m4/gnulib-cache.m4: Update.
5147         * gnulib/import/m4/gnulib-comp.m4: Update.
5148
5149 2014-05-16  Pierre Muller  <muller@sourceware.org>
5150             Yao Qi  <yao@codesourcery.com>
5151
5152         * valprint.c (print_wchar): Move the code on checking whether
5153         W is a printable wide char to the default branch of switch
5154         statement below.  Call wchar_printable instead of gdb_iswprint.
5155
5156 2014-05-16  Taimoor Mirza  <tmirza@codesourcery.com>
5157
5158         * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
5159         ldr.w and ldrd instructions.
5160
5161 2014-05-15  Doug Evans  <dje@google.com>
5162
5163         * dwarf2read.c (read_structure_type): Delete outdated comments.
5164
5165 2014-05-14  Tom Tromey  <tromey@redhat.com>
5166
5167         * macrocmd.c (print_macro_definition): Reindent.
5168
5169 2014-05-13  Doug Evans  <xdje42@gmail.com>
5170
5171         * python/py-cmd.c (cmdpy_completer): Add comment.
5172         (completers): Make const.
5173
5174 2014-05-13  Simon Marchi  <simon.marchi@ericsson.com>
5175
5176         * infrun.c (resume): Remove should_resume (unused).  Move up
5177         declaration of resume_ptid.
5178
5179 2014-05-13  Tom Tromey  <tromey@redhat.com>
5180
5181         * language.h (unop_type_check): Remove.
5182         (binop_type_check): Don't declare.
5183
5184 2014-05-13  Andreas Arnez  <arnez@vnet.linux.ibm.com>
5185
5186         * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
5187         call to regcache_raw_collect.
5188
5189 2014-05-12  Simon Marchi  <simon.marchi@ericsson.com>
5190
5191         * mi/mi-console.c (mi_console_raw_packet): Use the value from
5192         mi_console->quote as the quoting character.
5193
5194 2014-05-12  Simon Marchi  <simon.marchi@ericsson.com>
5195
5196         * MAINTAINERS (Write After Approval): Add "Simon Marchi".
5197
5198 2014-04-29  Tom Tromey  <tromey@redhat.com>
5199
5200         * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
5201         "show debug varobj".
5202
5203 2014-05-07  Kyle McMartin  <kyle@redhat.com>
5204
5205         Pushed by Joel Brobecker  <brobecker@adacore.com>.
5206         * aarch64-tdep.c (aarch64_software_single_step): New function.
5207         (aarch64_gdbarch_init): Handle single stepping of atomic sequences
5208         with aarch64_software_single_step.
5209
5210 2014-05-05  Joel Brobecker  <brobecker@adacore.com>
5211
5212         GDB 7.7.1 released.
5213
5214 2014-05-05  Keith Seitz  <keiths@redhat.com>
5215
5216         * linespec.c (linespec_parse_basic): Run cleanups if a convenience
5217         variable or history value is successfully parsed.
5218
5219 2014-05-05  Yao Qi  <yao@codesourcery.com>
5220             Pedro Alves  <palves@redhat.com>
5221
5222         * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
5223         address of blocks that intersects the requested range.  Trim
5224         LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
5225         sections.
5226         * ctf.c (ctf_xfer_partial): Likewise.
5227
5228 2014-05-05  Yao Qi  <yao@codesourcery.com>
5229
5230         * printcmd.c (display_command): Remove the check to
5231         target_has_execution.
5232
5233 2014-05-03  Mark Kettenis  <kettenis@gnu.org>
5234
5235         * ppcobsd-nat.c: Include "obsd-nat.h".
5236         (_initialize_ppcobsd_nat): Call obsd_add_target instead of
5237         add_target.
5238         * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5239
5240 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
5241
5242         * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
5243         and 16-bit signed and unsigned arguments.  Update comment.
5244         (stap_parse_probe_arguments): Extend code to handle such
5245         arguments.  Use warning instead of complaint to notify about
5246         unrecognized bitness.
5247
5248 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
5249
5250         PR breakpoints/16889
5251         * stap-probe.c (stap_parse_probe_arguments): Simplify
5252         check for non-prefixed probes (i.e., probes whose
5253         arguments do not start with "N@").  Always set the
5254         argument type to a sane value.
5255
5256 2014-05-01  David Taylor  <dtaylor@emc.com>
5257
5258         * remote.c (compare_sections_command): Add -r option to compare
5259         all loadable read-only sections.
5260
5261 2014-04-30  Siva Chandra Reddy  <sivachandra@google.com>
5262
5263         * dwarf2loc.c (dwarf2_locexpr_baton_eval,
5264         dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
5265         Update all callers.
5266         * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
5267         * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
5268         Remove unused CORE_ADDR argument.  Update all callers.
5269
5270 2014-04-29  Pedro Alves  <palves@redhat.com>
5271
5272         * remote.c (struct packet_config) <detect>: Extend comment.
5273         (add_packet_config_cmd): Don't set the config's detect or support
5274         fields here.
5275         (init_all_packet_configs): Also initialize the config's 'detect'
5276         field.
5277         (reset_all_packet_configs_support): New function.
5278         (remote_open_1): Call reset_all_packet_configs_support instead of
5279         init_all_packet_configs.
5280         (_initialize_remote): Initialize all packet configs.  Assert that
5281         all packets have an associated command, except a few known
5282         outliers.
5283
5284 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
5285
5286         * dwarf2read.c (read_subrange_type): Handle dynamic
5287         DW_AT_lower_bound attributes.
5288
5289 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
5290
5291         * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
5292         dynamic bounds before computing its upper bound.
5293         (ada_discrete_type_low_bound): Same as above with the lower bound.
5294
5295 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
5296
5297         * dwarf2read.c (is_dynamic_type): Return true for dynamic
5298         range types.  Adjust the array handling implementation to
5299         take advantage of this change.
5300         (resolve_dynamic_range): New function, mostly extracted from
5301         resolve_dynamic_bounds.
5302         (resolve_dynamic_array): New function, mostly extracted from
5303         resolve_dynamic_bounds.
5304         (resolve_dynamic_bounds): Delete.
5305         (resolve_dynamic_type): Reimplement.  Add handling of
5306         TYPE_CODE_RANGE types.
5307
5308 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
5309
5310         * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
5311         handling of parallel ___XA types.
5312
5313 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
5314
5315         * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5316         unnecessary second call to static_unwrap_type.
5317
5318 2014-04-27  Hui Zhu  <hui@codesourcery.com>
5319
5320         * stack.c (print_frame_info): Call do_gdb_disassembly with
5321         DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5322
5323 2014-04-26  Doug Evans  <xdje42@gmail.com>
5324
5325         * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5326
5327 2014-04-25  Pedro Alves  <palves@redhat.com>
5328
5329         PR server/16255
5330         * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5331         (linux_ptrace_attach_fail_reason): ... this.  Remove "warning: "
5332         and newline from built string.
5333         * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5334         (linux_ptrace_attach_fail_reason): ... this.
5335         * linux-nat.c (linux_nat_attach): Adjust to use
5336         linux_ptrace_attach_fail_reason.
5337
5338 2014-04-25  Pedro Alves  <palves@redhat.com>
5339
5340         * remote.c (struct remote_state): Remove multi_process_aware,
5341         non_stop_aware, cond_tracepoints, cond_breakpoints,
5342         breakpoint_commands, fast_tracepoints, static_tracepoints,
5343         install_in_trace, disconnected_tracing,
5344         enable_disable_tracepoints, string_tracing, and
5345         augmented_libraries_svr4_read fields.
5346         (remote_multi_process_p): Move further below in the file.
5347         (struct packet_config): Add comments.
5348         (update_packet_config): Delete function.
5349         (show_packet_config_cmd): Use packet_config_support.
5350         (add_packet_config_cmd): Use NULL as set callback.
5351         (packet_ok): "set remote foo-packet"-style commands no longer
5352         change config->supported -- adjust.
5353         (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5354         (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5355         (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5356         (PACKET_QNonStop, PACKET_multiprocess_feature)
5357         (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5358         (PACKET_DisconnectedTracing_feature)
5359         (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5360         (set_remote_protocol_packet_cmd): Delete function.
5361         (packet_config_support, packet_support): New functions.
5362         (set_remote_protocol_Z_packet_cmd): Don't call
5363         update_packet_config.
5364         (remote_query_attached, remote_pass_signals)
5365         (remote_program_signals, remote_threads_info)
5366         (remote_threads_extra_info, remote_start_remote): Use
5367         packet_support.
5368         (remote_start_remote): Use packet_config_support and
5369         packet_support.
5370         (init_all_packet_configs): Set all packets to unknown support,
5371         instead of calling update_packet_config.
5372         (remote_check_symbols): Use packet_support.
5373         (remote_supported_packet): Unconditionally set the packet config's
5374         support status.
5375         (remote_multi_process_feature, remote_non_stop_feature)
5376         (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5377         (remote_breakpoint_commands_feature)
5378         (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5379         (remote_install_in_trace_feature)
5380         (remote_disconnected_tracing_feature)
5381         (remote_enable_disable_tracepoint_feature)
5382         (remote_string_tracing_feature)
5383         (remote_augmented_libraries_svr4_read_feature): Delete functions.
5384         (remote_protocol_features): Adjust to use remote_supported_packet
5385         for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5386         "ConditionalTracepoints", "ConditionalBreakpoints",
5387         "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5388         "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5389         "EnableDisableTracepoints", and "tracenz".
5390         (remote_query_supported): Use packet_support.
5391         (remote_open_1): Adjust.
5392         (extended_remote_attach_1): Use packet_support.  Switch on the
5393         result of packet_ok instead of checking whether the packet ended
5394         up disabled.
5395         (remote_vcont_resume): Use packet_support.
5396         (remote_resume, remote_stop_ns, fetch_register_using_p)
5397         (remote_prepare_to_store, store_register_using_P)
5398         (check_binary_download, remote_write_bytes): Use packet_support.
5399         (remote_vkill): Use packet_support.  Switch on the result of
5400         packet_ok instead of checking whether the packet ended up
5401         disabled.
5402         (extended_remote_supports_disable_randomization): Use
5403         packet_support.
5404         (extended_remote_run): Switch on the result of packet_ok instead
5405         of checking whether the packet ended up disabled.
5406         (remote_insert_breakpoint, remote_remove_breakpoint)
5407         (remote_insert_watchpoint, remote_remove_watchpoint)
5408         (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5409         packet_support.
5410         (remote_search_memory): Use packet_config_support.
5411         (remote_get_thread_local_address, remote_get_tib_address)
5412         (remote_hostio_send_command, remote_can_execute_reverse): Use
5413         packet_support.
5414         (remote_supports_cond_tracepoints)
5415         (remote_supports_cond_breakpoints)
5416         (remote_supports_fast_tracepoints)
5417         (remote_supports_static_tracepoints)
5418         (remote_supports_install_in_trace)
5419         (remote_supports_enable_disable_tracepoint)
5420         (remote_supports_string_tracing)
5421         (remote_can_run_breakpoint_commands): Rewrite, checking whether
5422         the packet config says the feature is enabled or disabled.
5423         (remote_download_tracepoint, remote_trace_set_readonly_regions)
5424         (remote_get_trace_status): Use packet_support.
5425         (remote_set_disconnected_tracing): Adjust to check whether the
5426         feature is enabled with packet_support.
5427         (remote_set_trace_buffer_size, remote_use_agent)
5428         (remote_can_use_agent, remote_supports_btrace): Use
5429         packet_support.
5430         (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5431         Use packet_config_support.
5432         (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5433         the packet config says the feature is enabled or disabled.
5434         (set_range_stepping): Use packet_support.
5435
5436 2014-04-25  Tom Tromey  <tromey@redhat.com>
5437
5438         * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5439         argument.
5440
5441 2014-04-24  Sanimir Agovic  <sanimir.agovic@intel.com>
5442
5443         * NEWS: Mention support for C99 variable length arrays.
5444
5445 2014-04-24  Joel Brobecker  <brobecker@adacore.com>
5446
5447         * ada-lang.c (standard_exc): Expand introductory comment.
5448
5449 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
5450             Walfred Tedeschi  <walfred.tedeschi@intel.com>
5451
5452         * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5453         AVX512 registers.
5454         (amd64_linux_read_description): Add code to handle AVX512 xstate
5455         mask and return respective tdesc.
5456         * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5457         and features/i386/x32-avx512-linux.c.
5458         (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5459         (amd64_linux_core_read_description): Add code to handle AVX512
5460         xstate mask and return respective tdesc.
5461         (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5462         * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5463         calculation.
5464         (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5465         (tdesc_amd64_avx512_linux): New prototype.
5466         (tdesc_x32_avx512_linux): Likewise.
5467         * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5468         features/i386/x32-avx512.c.
5469         (amd64_ymm_avx512_names): New register names for pseudo
5470         registers YMM16-31.
5471         (amd64_ymmh_avx512_names): New register names for raw registers
5472         YMMH16-31.
5473         (amd64_k_names): New register names for K registers.
5474         (amd64_zmmh_names): New register names for ZMM raw registers.
5475         (amd64_zmm_names): New registers names for ZMM pseudo registers.
5476         (amd64_xmm_avx512_names): New register names for XMM16-31
5477         registers.
5478         (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5479         registers.
5480         (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5481         if feature is present.
5482         (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5483         * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5484         (AMD64_NUM_REGS): Adjust to new number of registers.
5485         * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5486         registers supplied via XSTATE by AVX512 registers.
5487         (i386_linux_read_description): Add case for AVX512.
5488         * i386-linux-tdep.c: Include i386-avx512-linux.c.
5489         (i386_linux_gregset_reg_offset): Add AVX512 registers.
5490         (i386_linux_core_read_description): Add case for AVX512.
5491         (i386_linux_init_abi): Install supported register note section
5492         for AVX512.
5493         (_initialize_i386_linux_tdep): Add call to tdesc init function for
5494         AVX512.
5495         * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5496         registers to be number of zmm7h + 1.
5497         (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5498         * i386-tdep.c: Include features/i386/i386-avx512.c.
5499         (i386_zmm_names): Add ZMM pseudo register names array.
5500         (i386_zmmh_names): Add ZMM raw register names array.
5501         (i386_k_names): Add K raw register names array.
5502         (num_lower_zmm_regs): Add constant for the number of lower ZMM
5503         registers. AVX512 has 16 more ZMM registers than there are YMM
5504         registers.
5505         (i386_zmmh_regnum_p): Add function to look up register number of
5506         ZMM raw registers.
5507         (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5508         (i386_k_regnum_p): Likewise for K raw registers.
5509         (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5510         registers added by AVX512.
5511         (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5512         registers added by AVX512.
5513         (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5514         added by AVX512.
5515         (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5516         (i386_pseudo_register_name): Add ZMM pseudo registers.
5517         (i386_zmm_type): Construct and return vector registers type for ZMM
5518         registers.
5519         (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5520         ZMM0-31 pseudo registers and K registers.
5521         (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5522         and YMM16-31 registers from register cache.
5523         (i386_pseudo_register_write): Add code to write  K, ZMM and
5524         YMM16-31 registers.
5525         (i386_register_reggroup_p): Add code to include/exclude AVX512
5526         registers in/from respective register groups.
5527         (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5528         registers if feature is present in xcr0.
5529         (i386_gdbarch_init): Add code to initialize AVX512 feature
5530         variables in tdep structure, wire in pseudo registers and call
5531         initialize_tdesc_i386_avx512.
5532         * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5533         variables.
5534         (i386_regnum): Add AVX512 registers.
5535         (I386_SSE_NUM_REGS): New define for number of SSE registers.
5536         (I386_AVX_NUM_REGS): Likewise for AVX registers.
5537         (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5538         (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5539         512 bits wide.
5540         (i386_xmm_avx512_regnum_p): New prototype for register look up.
5541         (i386_ymm_avx512_regnum_p): Likewise.
5542         (i386_k_regnum_p): Likewise.
5543         (i386_zmm_regnum_p): Likewise.
5544         (i386_zmmh_regnum_p): Likewise.
5545         * i387-tdep.c : Update year in copyright notice.
5546         (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5547         XSAVE buffer.
5548         (XSAVE_YMM_AVX512_ADDR): New macro.
5549         (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5550         XSAVE buffer.
5551         (XSAVE_XMM_AVX512_ADDR): New macro.
5552         (xsave_avx512_k_offset): New table for K register offsets in
5553         XSAVE buffer.
5554         (XSAVE_AVX512_K_ADDR): New macro.
5555         (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5556         in XSAVE buffer.
5557         (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5558         (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5559         buffer.
5560         (i387_collect_xsave): Add code to collect AVX512 registers from
5561         XSAVE buffer.
5562         * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5563         of XMM16-31 registers.
5564         (I387_NUM_K_REGS): New define for number of K registers.
5565         (I387_K0_REGNUM): New define for K0 register number.
5566         (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5567         (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5568         (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5569         registers.
5570         (I387_YMM16H_REGNUM): New define for YMM16H register number.
5571         (I387_XMM16_REGNUM): New define for XMM16 register number.
5572         (I387_YMM0_REGNUM): New define for YMM0 register number.
5573         (I387_KEND_REGNUM): New define for last K register number.
5574         (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5575         (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5576         number.
5577         (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5578         number.
5579         * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5580         size.
5581         * features/Makefile: Add AVX512 related files.
5582         * features/i386/32bit-avx512.xml: New file.
5583         * features/i386/64bit-avx512.xml: Likewise.
5584         * features/i386/amd64-avx512-linux.c: Likewise.
5585         * features/i386/amd64-avx512-linux.xml: Likewise.
5586         * features/i386/amd64-avx512.c: Likewise.
5587         * features/i386/amd64-avx512.xml: Likewise.
5588         * features/i386/i386-avx512-linux.c: Likewise.
5589         * features/i386/i386-avx512-linux.xml: Likewise.
5590         * features/i386/i386-avx512.c: Likewise.
5591         * features/i386/i386-avx512.xml: Likewise.
5592         * features/i386/x32-avx512-linux.c: Likewise.
5593         * features/i386/x32-avx512-linux.xml: Likewise.
5594         * features/i386/x32-avx512.c: Likewise.
5595         * features/i386/x32-avx512.xml: Likewise.
5596         * regformats/i386/amd64-avx512-linux.dat: New file.
5597         * regformats/i386/amd64-avx512.dat: Likewise.
5598         * regformats/i386/i386-avx512-linux.dat: Likewise.
5599         * regformats/i386/i386-avx512.dat: Likewise.
5600         * regformats/i386/x32-avx512-linux.dat: Likewise.
5601         * regformats/i386/x32-avx512.dat: Likewise.
5602         * NEWS: Add note about new support for AVX512.
5603
5604
5605 2014-04-23  Pedro Alves  <palves@redhat.com>
5606
5607         * breakpoint.c (insert_bp_location): Tolerate errors if the
5608         breakpoint is set in a user-loaded objfile.
5609         (remove_breakpoint_1): Likewise.  Also tolerate errors if the
5610         location is marked shlib_disabled.  If the breakpoint is set in a
5611         user-loaded objfile is a GDB-side memory breakpoint, validate it
5612         before uninsertion.  (disable_breakpoints_in_freed_objfile): Skip
5613         non-OBJF_USERLOADED objfiles.  Don't clear the location's inserted
5614         flag.
5615         * mem-break.c (memory_validate_breakpoint): New function.
5616         * objfiles.c (userloaded_objfile_contains_address_p): New
5617         function.
5618         * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5619         * target.h (memory_validate_breakpoint): New declaration.
5620
5621 2014-04-23  Pedro Alves  <palves@redhat.com>
5622
5623         * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5624         the breakpoint is set in a shared library, only suppress
5625         errors for software breakpoints, not hardware breakpoints.
5626
5627 2014-04-22  Pedro Alves  <palves@redhat.com>
5628
5629         * infrun.c (schedlock_applies): New function, factored out from
5630         find_thread_needs_step_over.
5631         (find_thread_needs_step_over): Use it.
5632         (switch_back_to_stepped_thread): Always clear trap_expected if the
5633         step over is finished.  Return early if scheduler locking applies.
5634         Look for the stepping thread and a potential step-over thread with
5635         a single loop.
5636         (currently_stepping_or_nexting_callback): Delete.
5637
5638 2014-04-22  Nick Clifton  <nickc@redhat.com>
5639
5640         * NEWS: Mention that ARM sim now supports tracing.
5641
5642 2014-04-22  Yao Qi  <yao@codesourcery.com>
5643
5644         * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5645         to ...
5646         * tracefile.c (tracefile_fetch_registers): ... it.  New
5647         function.
5648         * tracefile.h (tracefile_fetch_registers): Declare.
5649         * ctf.c (ctf_fetch_registers): Remove the bottom.  Call
5650         tracefile_fetch_registers.
5651
5652 2014-04-19  Eli Zaretskii  <eliz@gnu.org>
5653
5654         PR gdb/14018
5655         * windows-nat.c (thread_rec): Don't display a warning when
5656         SuspendThread fails with ERROR_ACCESS_DENIED.  If SuspendThread
5657         fails for any reason, set th->suspended to -1, so that we don't
5658         try to resume such a thread.  Also, don't return NULL in these
5659         cases, to avoid completely ruin the session due to "PC register is
5660         not available" error.
5661         (do_windows_fetch_inferior_registers): Check errors in
5662         GetThreadContext call.
5663         (windows_continue): Accept an additional argument KILLED; if not
5664         zero, ignore errors in the SetThreadContext call, since the
5665         inferior was killed and is shutting down.
5666         (windows_resume, get_windows_debug_event)
5667         (windows_create_inferior, windows_mourn_inferior)
5668         (windows_kill_inferior): All callers of windows_continue changed
5669         to adjust to its new calling sequence.
5670
5671 2014-04-19  Yao Qi  <yao@codesourcery.com>
5672
5673         * ctf.c (ctf_open): Call post_create_inferior.
5674
5675 2014-04-19  Yao Qi  <yao@codesourcery.com>
5676
5677         * ctf.c (handle_id): New static variable.
5678         (ctf_open_dir): Get handle_id from bt_context_add_trace return
5679         value.  Get the declaration of event "register" and get length
5680         of field "contents".
5681
5682 2014-04-19  Yao Qi  <yao@codesourcery.com>
5683
5684         * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5685
5686 2014-04-18  Siva Chandra Reddy  <sivachandra@google.com>
5687
5688         * valops.c (oload_method_static): Remove unnecessary argument
5689         METHOD.  Update all callers.
5690
5691 2014-04-18  Pedro alves  <palves@redhat.com>
5692             Tom Tromey  <tromey@redhat.com>
5693
5694         PR backtrace/15558
5695         * frame.c (get_prev_frame_1): Rename to ...
5696         (get_prev_frame_always): ... this, and make extern.  Adjust.
5697         (skip_artificial_frames): Use get_prev_frame_always.
5698         (frame_unwind_caller_id, frame_pop, get_prev_frame)
5699         (get_frame_unwind_stop_reason): Adjust to rename.
5700         * frame.h (get_prev_frame_always): Declare.
5701         * inline-frame.c: Include frame.h.
5702         (inline_frame_this_id): Use get_prev_frame_always.
5703
5704 2014-04-18  Tristan Gingold  <gingold@adacore.com>
5705
5706         * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5707         code by using bfd_mach_o_get_base_address.
5708
5709 2014-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
5710
5711         * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5712         (spu_ax_pseudo_register_collect): New function.
5713         (spu_ax_pseudo_register_push_stack): Likewise.
5714         (spu_dwarf_reg_to_regnum): Likewise.
5715         (spu_gdbarch_init): Install them.  Append DWARF unwinders.
5716
5717 2014-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
5718
5719         * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5720         Replace FRAME argument with FRAME_ID.
5721         * gdbarch.c, gdbarch.h: Regenerate.
5722         * findvar.c (default_value_from_register): Add GDBARCH argument;
5723         replace FRAME by FRAME_ID.  No longer call get_frame_id.
5724         (value_from_register): Update call to gdbarch_value_from_register.
5725         * value.h (default_value_from_register): Update prototype.
5726         * s390-linux-tdep.c (s390_value_from_register): Update interface
5727         and call to default_value_from_register.
5728         * spu-tdep.c (spu_value_from_register): Likewise.
5729
5730         * findvar.c (address_from_register): Remove TYPE argument.
5731         Do not call value_from_register; use gdbarch_value_from_register
5732         with null_frame_id instead.
5733         * value.h (address_from_register): Update prototype.
5734         * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5735         * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5736         address_from_register interface change.
5737
5738 2014-04-17  Yao Qi  <yao@codesourcery.com>
5739
5740         * gdbtypes.h: Update comments to link to types and macros'
5741         definitions.
5742
5743 2014-04-16  Siva Chandra Reddy  <sivachandra@google.com>
5744
5745         * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5746
5747 2014-04-16  Keith Seitz  <keiths@redhat.com>
5748
5749         PR gdb/15827
5750         * dwarf2read.c (skip_one_die): Check that all relative-offset
5751         sibling DIEs fall within range of the current reader's buffer.
5752         (read_partial_die): Likewise.
5753
5754 2014-04-16  Keith Seitz  <keiths@redhat.com>
5755
5756         PR c++/16597
5757         * cp-namespace.c (lookup_symbol_file): If the type name of
5758         `this' is NULL, return immediately.
5759
5760 2014-04-14  Keith Seitz  <keiths@redhat.com>
5761
5762         PR c++/16253
5763         * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5764         from symbol_matches_domain in symtab.c. All local callers
5765         of symbol_matches_domain updated.
5766         (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5767         search STRUCT_DOMAIN.
5768         (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5769         independently.  standard_lookup will do that automatically.
5770         * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5771         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5772         (cp_lookup_symbol_in_namespace): Likewise.
5773         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5774         (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5775         may return a STRUCT_DOMAIN match.
5776         (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5777         * cp-support.c: Include language.h.
5778         (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5779         VAR_DOMAIN.
5780         * psymtab.c (match_partial_symbol): Compare the requested
5781         domain with the symbol's domain directly.
5782         (lookup_partial_symbol): Likewise.
5783         * symtab.c (lookup_symbol_in_language): Explain when/why
5784         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5785         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5786         appropriate languages.
5787         (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5788         and moved to ada-lang.c
5789         (lookup_block_symbol): Explain that this function only returns
5790         symbol matching the requested DOMAIN.
5791         Compare the requested domain with the symbol's domain directly.
5792         (iterate_over_symbols): Compare the requested domain with the
5793         symbol's domain directly.
5794         * symtab.h (symbol_matches_domain): Remove.
5795
5796 2014-04-14  Tom Tromey  <tromey@redhat.com>
5797
5798         PR c++/15246:
5799         * c-exp.y (type_aggregate_p): New function.
5800         (qualified_name, classify_inner_name): Use it.
5801         * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5802         and TYPE_TARGET_TYPE of an enum type.
5803         * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5804         an enum type.
5805         (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5806         handle TYPE_DECLARED_CLASS.
5807         * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5808         types.
5809         * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5810         * valops.c (enum_constant_from_type): New function.
5811         (value_aggregate_elt): Use it.
5812         * cp-namespace.c (cp_lookup_nested_symbol): Handle
5813         TYPE_CODE_ENUM.
5814
5815 2014-04-14  Tom Tromey  <tromey@redhat.com>
5816
5817         * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5818         (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5819         const.
5820         * value.h (value_aggregate_elt): Update.
5821
5822 2014-04-14  Tom Tromey  <tromey@redhat.com>
5823
5824         * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5825
5826 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
5827
5828         * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5829         (evaluate_subexp_standard): Pass noside argument.
5830         (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5831         if noside equals EVAL_NORMAL. If the subscript yields a vla type
5832         re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5833         * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5834         * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5835
5836 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
5837
5838         * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5839         points to a constant blob.
5840
5841 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
5842
5843         * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5844         property and store it as the high bound and flag the range accordingly.
5845         * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5846         RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5847         * gdbtypes.h (enum range_flags): New enum.
5848         (struct range_bounds): Add flags member.
5849
5850 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
5851
5852         * c-typeprint.c (c_type_print_varspec_suffix): Added
5853         check for not yet resolved high bound. If unresolved, print
5854         "variable length" string to the console instead of random
5855         length.
5856
5857 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
5858
5859         * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5860         value.
5861         (ada_template_to_fixed_record_type_1): Likewise.
5862         (ada_to_fixed_type_1): Likewise.
5863         * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5864         (cp_print_value): Likewise.
5865         * d-valprint.c (dynamic_array_type): Likewise.
5866         * findvar.c (address_of_variable): Likewise.
5867         * jv-valprint.c (java_value_print): Likewise.
5868         * valops.c (value_ind): Likewise.
5869         * value.c (coerce_ref): Likewise.
5870
5871 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
5872
5873         * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5874         value and retrieve the dynamic type size.
5875
5876 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
5877
5878         * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5879         passed to sizeof is dynamic evaluate the argument to compute the length.
5880
5881 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
5882             Joel Brobecker  <brobecker@adacore.com>
5883
5884         * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5885         (dwarf2_evaluate_property): New function.
5886         * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5887         * dwarf2read.c (attr_to_dynamic_prop): New function.
5888         (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5889         attribute.
5890         * gdbtypes.c: Include dwarf2loc.h.
5891         (is_dynamic_type): New function.
5892         (resolve_dynamic_type): New function.
5893         (resolve_dynamic_bounds): New function.
5894         (get_type_length): New function.
5895         (check_typedef): Use get_type_length to compute type length.
5896         * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5897         (TYPE_LOW_BOUND_KIND): New macro.
5898         (is_dynamic_type): New function prototype.
5899         * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5900         to resolve dynamic properties of the type. Update comment.
5901         * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5902
5903 2014-04-14  Richard Henderson  <rth@redhat.com>
5904
5905         * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5906
5907 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
5908             Doug Evans  <xdje42@gmail.com>
5909
5910         * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5911         dereference TYPE_CODE_REF values.
5912
5913 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
5914
5915         Revert the following changes due to regressions:
5916
5917         * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5918         (dwarf2_evaluate_property): New function.
5919         * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5920         * dwarf2read.c (attr_to_dynamic_prop): New function.
5921         (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5922         attribute.
5923         * gdbtypes.c: Include dwarf2loc.h.
5924         (is_dynamic_type): New function.
5925         (resolve_dynamic_type): New function.
5926         (resolve_dynamic_bounds): New function.
5927         (get_type_length): New function.
5928         (check_typedef): Use get_type_length to compute type length.
5929         * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5930         (TYPE_LOW_BOUND_KIND): New macro.
5931         (is_dynamic_type): New function prototype.
5932         * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5933         to resolve dynamic properties of the type. Update comment.
5934         * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5935
5936         * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5937         passed to sizeof is dynamic evaluate the argument to compute the length.
5938
5939         * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5940         value and retrieve the dynamic type size.
5941
5942         * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5943         (ada_template_to_fixed_record_type_1): Likewise.
5944         (ada_to_fixed_type_1): Likewise.
5945         * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5946         (cp_print_value): Likewise.
5947         * d-valprint.c (dynamic_array_type): Likewise.
5948         * eval.c (evaluate_subexp_with_coercion): Likewise.
5949         * findvar.c (address_of_variable): Likewise.
5950         * jv-valprint.c (java_value_print): Likewise.
5951         * valops.c (value_ind): Likewise.
5952         * value.c (coerce_ref): Likewise.
5953
5954         * c-typeprint.c (c_type_print_varspec_suffix): Added
5955         check for not yet resolved high bound. If unresolved, print
5956         "variable length" string to the console instead of random
5957         length.
5958
5959         * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5960         property and store it as the high bound and flag the range accordingly.
5961         * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5962         RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5963         * gdbtypes.h (enum range_flags): New enum.
5964         (struct range_bounds): Add flags member.
5965
5966         * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5967         points to a constant blob.
5968
5969         * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5970         (evaluate_subexp_standard): Pass noside argument.
5971         (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5972         if noside equals EVAL_NORMAL. If the subscript yields a vla type
5973         re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5974         * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5975         * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5976
5977 2014-04-11  Keith Seitz  <keiths@redhat.com>
5978
5979         PR c++/16675
5980         * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5981         * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5982         reference types.
5983
5984 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
5985
5986         * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5987         (evaluate_subexp_standard): Pass noside argument.
5988         (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5989         if noside equals EVAL_NORMAL. If the subscript yields a vla type
5990         re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5991         * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5992         * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5993
5994 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
5995
5996         * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5997         points to a constant blob.
5998
5999 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6000
6001         * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6002         property and store it as the high bound and flag the range accordingly.
6003         * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6004         RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6005         * gdbtypes.h (enum range_flags): New enum.
6006         (struct range_bounds): Add flags member.
6007
6008 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6009
6010         * c-typeprint.c (c_type_print_varspec_suffix): Added
6011         check for not yet resolved high bound. If unresolved, print
6012         "variable length" string to the console instead of random
6013         length.
6014
6015 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6016
6017         * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
6018         (ada_template_to_fixed_record_type_1): Likewise.
6019         (ada_to_fixed_type_1): Likewise.
6020         * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6021         (cp_print_value): Likewise.
6022         * d-valprint.c (dynamic_array_type): Likewise.
6023         * eval.c (evaluate_subexp_with_coercion): Likewise.
6024         * findvar.c (address_of_variable): Likewise.
6025         * jv-valprint.c (java_value_print): Likewise.
6026         * valops.c (value_ind): Likewise.
6027         * value.c (coerce_ref): Likewise.
6028
6029 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6030
6031         * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6032         value and retrieve the dynamic type size.
6033
6034 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6035
6036         * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6037         passed to sizeof is dynamic evaluate the argument to compute the length.
6038
6039 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6040
6041         * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6042         (dwarf2_evaluate_property): New function.
6043         * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6044         * dwarf2read.c (attr_to_dynamic_prop): New function.
6045         (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6046         attribute.
6047         * gdbtypes.c: Include dwarf2loc.h.
6048         (is_dynamic_type): New function.
6049         (resolve_dynamic_type): New function.
6050         (resolve_dynamic_bounds): New function.
6051         (get_type_length): New function.
6052         (check_typedef): Use get_type_length to compute type length.
6053         * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6054         (TYPE_LOW_BOUND_KIND): New macro.
6055         (is_dynamic_type): New function prototype.
6056         * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6057         to resolve dynamic properties of the type. Update comment.
6058         * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6059
6060 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6061
6062         * dwarf2read.c (read_subrange_type): Use struct bound_prop for
6063         declaring high/low bounds and change uses accordingly. Call
6064         create_range_type instead of create_static_range_type.
6065         * gdbtypes.c (create_range_type): New function.
6066         (create_range_type): Convert bounds into struct bound_prop and pass
6067         them to create_range_type.
6068         * gdbtypes.h (struct bound_prop): New struct.
6069         (create_range_type): New function prototype.
6070         (struct range_bounds): Use struct bound_prop instead of LONGEST for
6071         high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
6072         (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
6073         part of the bound.
6074         * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
6075
6076 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
6077
6078         * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
6079         * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
6080         * ada-lang.c: All uses of create_range_type updated.
6081         * coffread.c: All uses of create_range_type updated.
6082         * dwarf2read.c: All uses of create_range_type updated.
6083         * f-exp.y: All uses of create_range_type updated.
6084         * m2-valprint.c: All uses of create_range_type updated.
6085         * mdebugread.c: All uses of create_range_type updated.
6086         * stabsread.c: All uses of create_range_type updated.
6087         * valops.c: All uses of create_range_type updated.
6088         * valprint.c: All uses of create_range_type updated.
6089
6090 2014-04-10  Pedro Alves  <palves@redhat.com>
6091
6092         * breakpoint.c (single_step_breakpoints)
6093         (single_step_gdbarch): Move up in the file.
6094         (one_breakpoint_xfer_memory): New function, factored out from ...
6095         (breakpoint_xfer_memory): ... here.  Also process single-step
6096         breakpoints.
6097
6098 2014-04-09  Tristan Gingold  <gingold@adacore.com>
6099
6100         * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
6101         comments.
6102         (darwin_decode_exception_message): Free port only after use.
6103
6104 2014-04-08  Pierre Langlois  <pierre.langlois@embecosm.com>
6105
6106         * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
6107         (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
6108         when setting the size of call_length.
6109
6110 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
6111
6112         * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
6113         dereference TYPE_CODE_REF values.
6114
6115 2014-04-07  Joel Brobecker  <brobecker@adacore.com>
6116
6117         * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
6118         end of warning message.
6119
6120 2014-04-03  Doug Evans  <dje@google.com>
6121
6122         * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
6123         of stub_comp_unit_die, stub_comp_dir is non-NULL.
6124
6125 2014-04-02  Alan Modra  <amodra@gmail.com>
6126
6127         * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
6128         Pass to bfd_elf_bfd_from_remote_memory.  Adjust all callers.
6129         (struct symbol_file_add_from_memory_args): Add size field.
6130         (find_vdso_size): New function.
6131         (add_vsyscall_page): Attempt to find vdso size.
6132
6133 2014-04-01  Doug Evans  <dje@google.com>
6134
6135         * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
6136
6137 2014-04-01  Tristan Gingold  <gingold@adacore.com>
6138
6139         * darwin-nat.c (darwin_encode_reply): Add prototype.
6140         (darwin_decode_exception_message): Reply to unknown inferiors.
6141         (darwin_decode_message): Handle message by id.  Ignore message
6142         to unknown inferior.
6143         (darwin_wait): Discard unknown messages, add debug trace.
6144
6145 2014-03-31  Doug Evans  <dje@google.com>
6146
6147         * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
6148         comp_dir_string.
6149
6150 2014-03-31  Doug Evans  <dje@google.com>
6151
6152         New option "set print symbol-loading".
6153         * NEWS: Mention it.
6154         * solib.c (solib_read_symbols): Only print symbol loading messages
6155         if requested.
6156         (solib_add): If symbol loading is in "brief" mode, notify user
6157         symbols are being loaded.
6158         (reload_shared_libraries_1): Ditto.
6159         * symfile.c (print_symbol_loading_off): New static global.
6160         (print_symbol_loading_brief): New static global.
6161         (print_symbol_loading_full): New static global.
6162         (print_symbol_loading_enums): New static global.
6163         (print_symbol_loading): New static global.
6164         (print_symbol_loading_p): New function.
6165         (symbol_file_add_with_addrs): Only print symbol loading messages
6166         if requested.
6167         (_initialize_symfile): Register "print symbol-loading" set/show
6168         command.
6169         * symfile.h (print_symbol_loading_p): Declare.
6170
6171 2014-03-30  Doug Evans  <xdje42@gmail.com>
6172
6173         * infrun.c (set_last_target_status): New function.
6174         (handle_inferior_event): Call it.
6175
6176 2014-03-30  Doug Evans  <xdje42@gmail.com>
6177
6178         * inferior.h (enum stop_kind): Improve comment.
6179
6180 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
6181
6182         * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
6183         a reference, strip the reference layer before calling
6184         the lang_ops value_has_mutated callback.
6185
6186 2014-03-27  Sergio Durigan Junior  <sergiodj@redhat.com>
6187
6188         Remove some globals from our parser.
6189         * language.c (unk_lang_parser): Add "struct parser_state"
6190         argument.
6191         * language.h (struct language_defn) <la_parser>: Likewise.
6192         * parse.c (expout, expout_size, expout_ptr): Remove variables.
6193         (initialize_expout): Add "struct parser_state" argument.
6194         Rewrite function to use the parser state.
6195         (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
6196         write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
6197         write_exp_elt_longcst, write_exp_elt_dblcst,
6198         write_exp_elt_decfloatcst, write_exp_elt_type,
6199         write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6200         write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
6201         write_dollar_variable): Likewise.
6202         (parse_exp_in_context_1): Use parser state.
6203         (insert_type_address_space): Add "struct parser_state" argument.
6204         Use parser state.
6205         (increase_expout_size): New function.
6206         * parser-defs.h: Forward declare "struct language_defn" and
6207         "struct parser_state".
6208         (expout, expout_size, expout_ptr): Remove extern declarations.
6209         (parse_gdbarch, parse_language): Rewrite macro declarations to
6210         accept the parser state.
6211         (struct parser_state): New struct.
6212         (initialize_expout, reallocate_expout, write_exp_elt_opcode,
6213         write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
6214         write_exp_elt_decfloatcst, write_exp_elt_type,
6215         write_exp_elt_intern, write_exp_string, write_exp_string_vector,
6216         write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
6217         write_exp_msymbol, write_dollar_variable,
6218         mark_struct_expression, insert_type_address_space): Add "struct
6219         parser_state" argument.
6220         (increase_expout_size): New function.
6221         * utils.c (do_clear_parser_state): New function.
6222         (make_cleanup_clear_parser_state): Likewise.
6223         * utils.h (make_cleanup_clear_parser_state): New function
6224         prototype.
6225         * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
6226         Update calls to write_exp* in order to pass the parser state.
6227         * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
6228         * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
6229         (i386_stap_parse_special_token_three_arg_disp): Likewise.
6230         * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
6231         * stap-probe.c (stap_parse_register_operand): Likewise.
6232         (stap_parse_single_operand): Likewise.
6233         (stap_parse_argument_1): Likewise.
6234         (stap_parse_argument): Use parser state.
6235         * stap-probe.h: Include "parser-defs.h".
6236         (struct stap_parse_info) <pstate>: New field.
6237         * c-exp.y (parse_type): Rewrite to use parser state.
6238         (yyparse): Redefine to c_parse_internal.
6239         (pstate): New global variable.
6240         (parse_number): Add "struct parser_state" argument.
6241         (write_destructor_name): Likewise.
6242         (type_exp): Update calls to write_exp* and similars in order to
6243         use parser state.
6244         (exp1, exp, variable, qualified_name, space_identifier,
6245         typename, typebase): Likewise.
6246         (write_destructor_name, parse_number, lex_one_token,
6247         classify_name, classify_inner_name, c_parse): Add "struct
6248         parser_state" argument.  Update function to use parser state.
6249         * c-lang.h: Forward declare "struct parser_state".
6250         (c_parse): Add "struct parser_state" argument.
6251         * ada-exp.y (parse_type): Rewrite macro to use parser state.
6252         (yyparse): Redefine macro to ada_parse_internal.
6253         (pstate): New variable.
6254         (write_int, write_object_renaming, write_var_or_type,
6255         write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
6256         type_int, type_long, type_long_long, type_float, type_double,
6257         type_long_double, type_char, type_boolean, type_system_address):
6258         Add "struct parser_state" argument.
6259         (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
6260         or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
6261         var_or_type, aggregate, aggregate_component_list,
6262         positional_list, others, component_group,
6263         component_associations): Update calls to write_exp* and similar
6264         functions in order to use parser state.
6265         (ada_parse, write_var_from_sym, write_int,
6266         write_exp_op_with_string, write_object_renaming,
6267         find_primitive_type, write_selectors, write_ambiguous_var,
6268         write_var_or_type, write_name_assoc, type_int, type_long,
6269         type_long_long, type_float, type_double, type_long_double,
6270         type_char, type_boolean, type_system_address): Add "struct
6271         parser_state" argument.  Adjust function to use parser state.
6272         * ada-lang.c (parse): Likewise.
6273         * ada-lang.h: Forward declare "struct parser_state".
6274         (ada_parse): Add "struct parser_state" argument.
6275         * ada-lex.l (processInt, processReal): Likewise.  Adjust all
6276         calls to both functions.
6277         * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
6278         parser state.
6279         (yyparse): Redefine macro to f_parse_internal.
6280         (pstate): New variable.
6281         (parse_number): Add "struct parser_state" argument.
6282         (type_exp, exp, subrange, typebase): Update calls to write_exp*
6283         and similars in order to use parser state.
6284         (parse_number): Adjust code to use parser state.
6285         (yylex): Likewise.
6286         (f_parse): New function.
6287         * f-lang.h: Forward declare "struct parser_state".
6288         (f_parse): Add "struct parser_state" argument.
6289         * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
6290         parser state.
6291         (yyparse): Redefine macro for java_parse_internal.
6292         (pstate): New variable.
6293         (push_expression_name, push_expression_name, insert_exp): Add
6294         "struct parser_state" argument.
6295         (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
6296         FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
6297         FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
6298         PostIncrementExpression, PostDecrementExpression,
6299         UnaryExpression, PreIncrementExpression, PreDecrementExpression,
6300         UnaryExpressionNotPlusMinus, CastExpression,
6301         MultiplicativeExpression, AdditiveExpression, ShiftExpression,
6302         RelationalExpression, EqualityExpression, AndExpression,
6303         ExclusiveOrExpression, InclusiveOrExpression,
6304         ConditionalAndExpression, ConditionalOrExpression,
6305         ConditionalExpression, Assignment, LeftHandSide): Update
6306         calls to write_exp* and similars in order to use parser state.
6307         (parse_number): Ajust code to use parser state.
6308         (yylex): Likewise.
6309         (java_parse): New function.
6310         (push_variable): Add "struct parser_state" argument.  Adjust
6311         code to user parser state.
6312         (push_fieldnames, push_qualified_expression_name,
6313         push_expression_name, insert_exp): Likewise.
6314         * jv-lang.h: Forward declare "struct parser_state".
6315         (java_parse): Add "struct parser_state" argument.
6316         * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6317         parser state.
6318         (yyparse): Redefine macro to m2_parse_internal.
6319         (pstate): New variable.
6320         (type_exp, exp, fblock, variable, type): Update calls to
6321         write_exp* and similars to use parser state.
6322         (yylex): Likewise.
6323         (m2_parse): New function.
6324         * m2-lang.h: Forward declare "struct parser_state".
6325         (m2_parse): Add "struct parser_state" argument.
6326         * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6327         * objc-lang.h: Forward declare "struct parser_state".
6328         (end_msglist): Add "struct parser_state" argument.
6329         * p-exp.y (parse_type): Rewrite macro to use parser state.
6330         (yyparse): Redefine macro to pascal_parse_internal.
6331         (pstate): New variable.
6332         (parse_number): Add "struct parser_state" argument.
6333         (type_exp, exp1, exp, qualified_name, variable): Update calls to
6334         write_exp* and similars in order to use parser state.
6335         (parse_number, yylex): Adjust code to use parser state.
6336         (pascal_parse): New function.
6337         * p-lang.h: Forward declare "struct parser_state".
6338         (pascal_parse): Add "struct parser_state" argument.
6339         * go-exp.y (parse_type): Rewrite macro to use parser state.
6340         (yyparse): Redefine macro to go_parse_internal.
6341         (pstate): New variable.
6342         (parse_number): Add "struct parser_state" argument.
6343         (type_exp, exp1, exp, variable, type): Update calls to
6344         write_exp* and similars in order to use parser state.
6345         (parse_number, lex_one_token, classify_name, yylex): Adjust code
6346         to use parser state.
6347         (go_parse): Likewise.
6348         * go-lang.h: Forward declare "struct parser_state".
6349         (go_parse): Add "struct parser_state" argument.
6350
6351 2014-03-27  Doug Evans  <dje@google.com>
6352
6353         * dwarf2read.c (read_str_index): Delete arg cu.  All callers updated.
6354
6355 2014-03-27  Doug Evans  <dje@google.com>
6356
6357         * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6358         Remove argument abbrev_section.  All callers updated.
6359
6360 2014-03-27  Doug Evans  <dje@google.com>
6361
6362         * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6363         addr_base, ranges_base.
6364
6365 2014-03-26  Keith Seitz  <keiths@redhat.com>
6366
6367         * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6368         types, not VAR_DOMAIN.
6369
6370 2014-03-25  Sandra Loosemore  <sandra@codesourcery.com>
6371
6372         * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6373         "ra" registers.
6374         * features/nios2-linux.c: Regenerated.
6375         * features/nios2.c: Regenerated.
6376
6377 2014-03-25  Pedro Alves  <palves@redhat.com>
6378
6379         * cli/cli-script.c (script_from_file): Force the interpreter to
6380         sync mode.
6381
6382 2014-03-24  Pierre Langlois  <pierre.langlois@embecosm.com>
6383
6384         * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6385         small stack allocation.
6386
6387 2014-03-24  Tristan Gingold  <gingold@adacore.com>
6388
6389         * darwin-nat.c (exc_server): Remove unused prototype.
6390         (darwin_dump_message): Correctly display data on x86_64.
6391         (darwin_encode_reply): Fix style.
6392         Add comments and fix indentation.
6393
6394 2014-03-24  Pierre Langlois  <pierre.langlois@embecosm.com>
6395
6396         * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6397
6398 2014-03-22  Doug Evans  <xdje42@gmail.com>
6399
6400         * infcmd.c: Whitespace fixes.
6401         (interrupt_command): Merge two function comments into one.
6402
6403 2014-03-22  Doug Evans  <xdje42@gmail.com>
6404
6405         * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6406         All uses updated.
6407
6408 2014-03-22  Yao Qi  <yao@codesourcery.com>
6409
6410         * remote.c (target_read_live_memory): Remove.
6411         (memory_xfer_live_readonly_partial): Rename it to
6412         remote_xfer_live_readonly_partial.  Remove argument 'object'.
6413         All callers updated.  Call remote_read_bytes_1
6414         instead of target_read_live_memory.
6415         * tracepoint.c (set_traceframe_number): Remove.
6416         (make_cleanup_restore_traceframe_number): Likewise .
6417         * tracepoint.h (set_traceframe_number): Remove declaration.
6418         (make_cleanup_restore_traceframe_number): Likewise.
6419
6420 2014-03-22  Yao Qi  <yao@codesourcery.com>
6421
6422         * remote.c (remote_read_bytes): Move code on reading from the
6423         remote stub to ...
6424         (remote_read_bytes_1): ... here.  New function.
6425
6426 2014-03-22  Yao Qi  <yao@codesourcery.com>
6427
6428         * ctf.c (ctf_xfer_partial): Check the return value of
6429         exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6430         return TARGET_XFER_UNAVAILABLE.
6431         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6432         * target.c (target_read_live_memory): Move it to remote.c.
6433         (memory_xfer_live_readonly_partial): Likewise.
6434         (memory_xfer_partial_1): Move some code to remote_read_bytes.
6435         * remote.c (target_read_live_memory): Moved from target.c.
6436         (memory_xfer_live_readonly_partial): Likewise.
6437         (remote_read_bytes): Factored out from
6438         memory_xfer_partial_1.
6439
6440 2014-03-21  Daniel Gutson  <daniel.gutson@tallertechnologies.com>
6441
6442         * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6443         NULL pointer.
6444
6445 2014-03-21  Pedro Alves  <palves@redhat.com>
6446
6447         * infrun.c (normal_stop): Extend comment.
6448
6449 2014-03-21  Hui Zhu  <hui@codesourcery.com>
6450             Pedro Alves  <palves@redhat.com>
6451
6452         * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6453         static buffer.
6454         * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6455         * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6456         * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6457
6458 2014-03-20  Maciej W. Rozycki  <macro@codesourcery.com>
6459
6460         * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6461         `z' formatted output modifier.
6462
6463 2014-03-20  Tom Tromey  <tromey@redhat.com>
6464             Sergio Durigan Junior  <sergiodj@redhat.com>
6465
6466         * probe.c (parse_probes): Turn assert into an ordinary error.
6467         * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6468         exceptions when parsing probes.  Rearrange the code for clarity.
6469
6470 2014-03-20  Tom Tromey  <tromey@redhat.com>
6471
6472         PR gdb/14135
6473         * top.c (execute_command): Only dispatch events if the command
6474         started the target.
6475
6476 2014-03-20  Tom Tromey  <tromey@redhat.com>
6477
6478         PR cli/15718
6479         * infcall.c: Include event-top.h.
6480         (run_inferior_call): Call async_disable_stdin if needed.
6481
6482 2014-03-20  Pedro Alves  <palves@redhat.com>
6483
6484         * infrun.c (prepare_to_proceed): Delete.
6485         (thread_still_needs_step_over): New function.
6486         (find_thread_needs_step_over): New function.
6487         (proceed): If the current thread needs a step-over, set its
6488         steping_over_breakpoint flag.  Adjust to use
6489         find_thread_needs_step_over instead of prepare_to_proceed.
6490         (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6491         BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6492         breakpoint.
6493         (switch_back_to_stepped_thread): Step over breakpoints of all
6494         threads not the stepping thread, before switching back to the
6495         stepping thread.
6496
6497 2014-03-20  Pedro Alves  <palves@redhat.com>
6498
6499         * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6500         extern.
6501         * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6502         * infrun.c (saved_singlestep_ptid)
6503         (stepping_past_singlestep_breakpoint): Delete.
6504         (resume): Remove stepping_past_singlestep_breakpoint handling.
6505         (proceed): Store the prev_pc of the stepping thread too.
6506         (init_wait_for_inferior): Adjust.  Clear singlestep_ptid and
6507         singlestep_pc.
6508         (enum infwait_states): Delete infwait_thread_hop_state.
6509         (struct execution_control_state) <hit_singlestep_breakpoint>: New
6510         field.
6511         (handle_inferior_event): Adjust.
6512         (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6513         handling and the thread-hop code.  Before removing single-step
6514         breakpoints, check whether the thread hit a single-step breakpoint
6515         of another thread.  If it did, the trap is not a random signal.
6516         (switch_back_to_stepped_thread): If the event thread hit a
6517         single-step breakpoint, unblock it before switching to the
6518         stepping thread.  Handle the case of the stepped thread having
6519         advanced already.
6520         (keep_going): Handle the case of the current thread moving past a
6521         single-step breakpoint.
6522
6523 2014-03-20  Pedro Alves  <palves@redhat.com>
6524
6525         PR breakpoints/7143
6526         * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6527         are being stepped over.
6528         (breakpoint_address_match): Make extern.
6529         * breakpoint.h (breakpoint_address_match): New declaration.
6530         * inferior.h (stepping_past_instruction_at): New declaration.
6531         * infrun.c (struct step_over_info): New type.
6532         (step_over_info): New global.
6533         (set_step_over_info, clear_step_over_info)
6534         (stepping_past_instruction_at): New functions.
6535         (handle_inferior_event): Clear the step-over info when
6536         trap_expected is cleared.
6537         (resume): Remove now stale comment.
6538         (clear_proceed_status): Clear step-over info.
6539         (proceed): Adjust step-over handling to set or clear the step-over
6540         info instead of removing all breakpoints.
6541         (handle_signal_stop): When setting up a thread-hop, don't remove
6542         breakpoints here.
6543         (stop_stepping): Clear step-over info.
6544         (keep_going): Adjust step-over handling to set or clear step-over
6545         info and then always inserting breakpoints, instead of removing
6546         all breakpoints when stepping over one.
6547
6548 2014-03-20  Pedro Alves  <palves@redhat.com>
6549
6550         * infrun.c (previous_inferior_ptid): Adjust comment.
6551         (deferred_step_ptid): Delete.
6552         (infrun_thread_ptid_changed, prepare_to_proceed)
6553         (init_wait_for_inferior): Adjust.
6554         (handle_signal_stop): Delete deferred_step_ptid handling.
6555
6556 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
6557
6558         PR gdb/15358
6559         * defs.h (sync_quit_force_run): New declaration.
6560         (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6561         * event-top.c (async_sigterm_handler): New declaration.
6562         (async_sigterm_token): New variable.
6563         (async_init_signals): Create also async_sigterm_token.
6564         (async_sigterm_handler): New function.
6565         (sync_quit_force_run): New variable.
6566         (handle_sigterm): Replace quit_force call by other calls.
6567         * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6568
6569 2014-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
6570
6571         * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6572         offset into SPE pseudo registers.
6573
6574 2014-03-18  Pedro Alves  <palves@redhat.com>
6575
6576         PR gdb/13860
6577         * inferior.h (print_stop_event): Declare.
6578         * infrun.c (print_stop_event): New, factored out from ...
6579         (normal_stop): ... this.
6580         * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6581         of bpstat_print/print_stack_frame.
6582
6583 2014-03-17  Tom Tromey  <tromey@redhat.com>
6584
6585         * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6586
6587 2014-03-17  Pierre-Marie de Rodat  <derodat@adacore.com>
6588
6589         * ada-lang.c (decode_constrained_packed_array): Perform a
6590         minimal coercion for reference with coerce_ref instead of
6591         ada_coerce_ref.
6592
6593 2014-03-17  Tristan Gingold  <gingold@adacore.com>
6594
6595         * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6596         (darwin_solib_create_inferior_hook): Emit a warning if version
6597         is unhandled.
6598
6599 2014-03-16  Ulrich Weigand  <uweigand@de.ibm.com>
6600
6601         * python/py-value.c (get_field_flag): Cast flag_name argument to
6602         PyObject_GetAttrString to support Python 2.4.
6603
6604 2014-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
6605
6606         * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6607         (Global Maintainers): Remove Jan Kratochvil.
6608
6609 2014-03-14  Pedro Alves  <palves@redhat.com>
6610
6611         * inferior.h (terminal_ours_for_output): Rename to ...
6612         (child_terminal_ours_for_output): ... this.
6613         (terminal_save_ours): Rename to ...
6614         (child_terminal_save_ours): ... this.
6615         (terminal_ours): Rename to ...
6616         (child_terminal_ours): ... this.
6617         (terminal_inferior): Rename to ...
6618         (child_terminal_inferior): ... this.
6619         (terminal_init_inferior): Rename to ...
6620         (child_terminal_init_inferior): ... this.
6621         (terminal_init_inferior_with_pgrp): Rename to ...
6622         (child_terminal_init_inferior_with_pgrp): ... this.
6623         * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6624         (child_terminal_init_with_pgrp): ... this.
6625         (terminal_save_ours): Rename to ...
6626         (child_terminal_save_ours): ... this.
6627         (terminal_init_inferior): Rename to ...
6628         (child_terminal_init): ... this.  Adjust.
6629         (terminal_inferior): Rename to ...
6630         (child_terminal_inferior): ... this.
6631         (terminal_ours_for_output): Rename to ...
6632         (child_terminal_ours_for_output): ... this.  Adjust.
6633         (terminal_ours): Rename to ...
6634         (child_terminal_ours): ... this.
6635         (terminal_ours_1): Rename to ...
6636         (child_terminal_ours_1): ... this.  Adjust.
6637         * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6638         * windows-nat.c (do_initial_windows_stuff): Adjust.
6639         * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6640         (gnu_terminal_init): ... this.  Adjust.
6641         (gnu_target): Adjust.
6642         * inf-child.c (inf_child_target): Adjust.
6643
6644 2014-03-13  Doug Evans  <xdje42@gmail.com>
6645
6646         PR guile/16612
6647         * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6648         new eq?-hashtab.
6649
6650 2014-03-13  Doug Evans  <xdje42@gmail.com>
6651
6652         * value.c (record_latest_value): Call release_value_or_incref
6653         instead of release_value.
6654
6655 2014-03-13  Pedro Alves  <palves@redhat.com>
6656
6657         * procfs.c (procfs_target): Don't override to_shortname,
6658         to_longname or to_doc.
6659
6660 2014-03-13  Pedro Alves  <palves@redhat.com>
6661
6662         * inf-child.c (inf_child_open, inf_child_target): Don't mention
6663         Unix in user visible strings.
6664
6665 2014-03-12  Stan Shebs  <stan@codesourcery.com>
6666
6667         * gdbtypes.h: Annotate comments for Doxygen, add a page
6668         block comment with some general info.
6669
6670 2014-03-12  Pedro Alves  <palves@redhat.com>
6671
6672         * infcmd.c (prepare_execution_command): New function, factored out
6673         from several execution commands.
6674         (run_command_1, continue_command, step_1, jump_command)
6675         (signal_command, until_command, advance_command, finish_command)
6676         (attach_command): Use prepare_execution_command.
6677
6678 2014-03-12  Omair Javaid  <omair.javaid@linaro.org>
6679
6680         * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6681         (MAX_BPTS): Define.
6682         (MAX_WPTS): Define.
6683         (struct arm_linux_thread_points): Removed.
6684         (struct arm_linux_process_info): New.
6685         (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6686         (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6687         (arm_linux_find_breakpoints_by_tid): Removed.
6688         (struct arch_lwp_info): New.
6689         (arm_linux_find_process_pid): New functions.
6690         (arm_linux_add_process): New functions.
6691         (arm_linux_process_info_get): New functions.
6692         (arm_linux_forget_process): New function.
6693         (arm_linux_get_debug_reg_state): New function.
6694         (struct update_registers_data): New.
6695         (update_registers_callback): New function.
6696         (arm_linux_insert_hw_breakpoint1): Updated.
6697         (arm_linux_remove_hw_breakpoint1): Updated.
6698         (arm_linux_insert_hw_breakpoint): Updated.
6699         (arm_linux_remove_hw_breakpoint): Updated.
6700         (arm_linux_insert_watchpoint): Updated.
6701         (arm_linux_remove_watchpoint): Updated.
6702         (arm_linux_new_thread): Updated.
6703         (arm_linux_prepare_to_resume): New function.
6704         (arm_linux_new_fork): New function.
6705         (_initialize_arm_linux_nat): Updated.
6706
6707 2014-03-12  Pedro Alves  <palves@redhat.com>
6708
6709         * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6710
6711 2014-03-12  Tom Tromey  <tromey@redhat.com>
6712
6713         * inf-child.c (return_zero): New function.
6714         (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6715         * aix-thread.c (aix_thread_inferior_created): New function.
6716         (aix_thread_attach): Remove.
6717         (init_aix_thread_ops): Don't set to_attach.
6718         (_initialize_aix_thread): Register inferior_created observer.
6719         * corelow.c (init_core_ops): Don't set to_attach or
6720         to_create_inferior.
6721         * exec.c (init_exec_ops): Don't set to_attach or
6722         to_create_inferior.
6723         * infcmd.c (run_command_1): Use find_run_target.  Make direct
6724         target calls.
6725         (attach_command): Use find_attach_target.  Make direct target
6726         calls.
6727         * record-btrace.c (init_record_btrace_ops): Don't set
6728         to_create_inferior.
6729         * record-full.c (record_full_can_async_p, record_full_is_async_p):
6730         Remove.
6731         (init_record_full_ops, init_record_full_core_ops): Update.  Don't
6732         set to_create_inferior.
6733         * target.c (complete_target_initialization): Add assertion.
6734         (target_create_inferior): Remove.
6735         (find_default_attach, find_default_create_inferior): Remove.
6736         (find_attach_target, find_run_target): New functions.
6737         (find_default_is_async_p, find_default_can_async_p)
6738         (target_supports_non_stop, target_attach): Remove.
6739         (init_dummy_target): Don't set to_create_inferior or
6740         to_supports_non_stop.
6741         * target.h (struct target_ops) <to_attach>: Add comment.  Remove
6742         TARGET_DEFAULT_FUNC.
6743         <to_create_inferior>: Add comment.
6744         <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6745         TARGET_DEFAULT_RETURN.
6746         <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6747         (find_attach_target, find_run_target): Declare.
6748         (target_create_inferior): Remove.
6749         (target_has_execution_1): Update comment.
6750         (target_supports_non_stop): Remove.
6751         * target-delegates.c: Rebuild.
6752
6753 2014-03-12  Pedro Alves  <palves@redhat.com>
6754
6755         * inf-child.h: Update comment to not mention Unix.
6756
6757 2014-03-12  Pedro Alves  <palves@redhat.com>
6758
6759         * inf-child.c: Update top comment to not mention Unix.  Add
6760         generic comment describing how this target is meant to be used.
6761         (inf_child_post_attach, inf_child_post_startup_inferior)
6762         (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6763         Unix in comment.
6764
6765 2014-03-12  Pedro Alves  <palves@redhat.com>
6766
6767         * nto-procfs.c: Include inf-child.h.
6768         (procfs_ops): Delete global.
6769         (procfs_can_run): Delete method.
6770         (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6771         target pointer instead of referencing procfs_ops.
6772         (procfs_prepare_to_store): Delete.
6773         (init_procfs_ops): Delete function.
6774         (procfs_target): New function, based on init_procfs_ops, but
6775         inherit inf_child_target.
6776         (_initialize_procfs): Use procfs_target.
6777
6778 2014-03-12  Pedro Alves  <palves@redhat.com>
6779
6780         * windows-nat.c: Include inf-child.h.
6781         (windows_ops): Delete global.
6782         (windows_open, windows_prepare_to_store, windows_can_run): Delete
6783         methods.
6784         (init_windows_ops): Delete function.
6785         (windows_target): New function, based on init_windows_ops, but
6786         inherit inf_child_target.
6787         (_initialize_windows_nat): Use windows_target.  Install x86
6788         specific target methods here.
6789
6790 2014-03-10  Doug Evans  <xdje42@gmail.com>
6791
6792         * guile/guile.c (call_initialize_gdb_module): New function.
6793         (initialize_guile): Replace call to scm_init_guile with call to
6794         scm_with_guile.
6795
6796 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
6797
6798         * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6799         in call to TYPE_CODE macro.
6800
6801 2014-03-10  Jerome Guitton  <guitton@adacore.com>
6802
6803         * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6804         Resolve tagged types to full view.
6805
6806 2014-03-10  Hui Zhu  <hui@codesourcery.com>
6807
6808         * target.h (target_insert_breakpoint): Remove "hardware" from its
6809         comments.
6810
6811 2014-03-07  Doug Evans  <dje@google.com>
6812
6813         * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6814
6815 2014-03-07  Doug Evans  <dje@google.com>
6816
6817         * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6818         Remove unused local comp_dir_attr.  Assert exactly one of
6819         stub_comp_unit_die, stub_comp_dir is non-NULL.
6820
6821 2014-03-07  Joel Brobecker  <brobecker@adacore.com>
6822
6823         * target.h (complete_target_initialization, add_target):
6824         Add comment.
6825
6826 2014-03-07  Pedro Alves  <palves@redhat.com>
6827
6828         * go32-nat.c: Include inf-child.h.
6829         (go32_ops): Delete global.
6830         (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6831         Delete methods.
6832         (go32_create_inferior): Push the passed in target pointer instead
6833         of referencing go32_ops.
6834         (init_go32_ops): Delete function.  Moved parts to _initialize_go32_nat.
6835         (go32_target): New function, based on init_go32_ops, but inherit
6836         inf_child_target.
6837         (_initialize_go32_nat): Use go32_target.  Move parts of
6838         init_go32_ops here.
6839
6840 2014-03-06  Joel Brobecker  <brobecker@adacore.com>
6841
6842         * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6843         (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6844         SYMBOL_VALUE_ADDRESS.
6845         (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6846
6847 2014-03-06  Yao Qi  <yao@codesourcery.com>
6848
6849         * breakpoint.c (get_tracepoint_by_number): Remove argument
6850         optional_p.  All callers updated.  Adjust comments.  Update
6851         output message.
6852         * breakpoint.h (get_tracepoint_by_number): Update declaration.
6853
6854 2014-03-06  Yao Qi  <yao@codesourcery.com>
6855
6856         * reverse.c (goto_bookmark_command): Add local 'p'.  Emit error
6857         early if get_number returns zero.  Use 'p' instead of 'args'.
6858
6859 2014-03-06  Yao Qi  <yao@codesourcery.com>
6860
6861         * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6862         message.
6863
6864 2014-03-06  Yao Qi  <yao@codesourcery.com>
6865
6866         PR breakpoints/16508
6867         * tracepoint.c (check_trace_running): New function.
6868         (trace_find_command): Move code to check_trace_running and
6869         call check_trace_running.
6870         (trace_find_pc_command): Likewise.
6871         (trace_find_tracepoint_command): Likewise.
6872         (trace_find_line_command): Likewise.
6873         (trace_find_range_command): Likewise.
6874         * tracepoint.h (check_trace_running): Likewise.
6875         * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6876
6877 2014-03-06  Yao Qi  <yao@codesourcery.com>
6878
6879         * target.h (struct target_ops) <to_traceframe_info>: Use
6880         TARGET_DEFAULT_NORETURN (tcomplain ()).
6881         * target-delegates.c: Regenerated.
6882
6883 2014-03-05  Pedro Alves  <palves@redhat.com>
6884
6885         PR gdb/16575
6886         * dcache.c (dcache_poke_byte): Constify ptr parameter.  Return
6887         void.  Update comment.
6888         (dcache_xfer_memory): Delete.
6889         (dcache_read_memory_partial): New, based on the read bits of
6890         dcache_xfer_memory.
6891         (dcache_update): Add status parameter.  Use ULONGEST for len, and
6892         adjust.  Discard cache lines if the reason for the update was
6893         error.
6894         * dcache.h (dcache_xfer_memory): Delete declaration.
6895         (dcache_read_memory_partial): New declaration.
6896         (dcache_update): Update prototype.
6897         * target.c (raw_memory_xfer_partial): Update the dcache here.
6898         (memory_xfer_partial_1): Don't handle dcache writes here.
6899
6900 2014-03-05  Mike Frysinger  <vapier@gentoo.org>
6901
6902         * remote-sim.c (gdbsim_load): Add const to prog.
6903
6904 2014-03-03  Tom Tromey  <tromey@redhat.com>
6905
6906         * elfread.c (probe_key): Change to bfd_data.
6907         (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6908         now per-BFD, not per-objfile.
6909         * stap-probe.c (stap_probe_destroy): Update comment.
6910         (handle_stap_probe): Allocate on the per-BFD obstack.
6911
6912 2014-03-03  Tom Tromey  <tromey@redhat.com>
6913
6914         * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6915         * breakpoint.c (create_longjmp_master_breakpoint): Use
6916         get_probe_address.
6917         (add_location_to_breakpoint, bkpt_probe_insert_location)
6918         (bkpt_probe_remove_location): Update.
6919         * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6920         * elfread.c (elf_symfile_relocate_probe): Remove.
6921         (elf_probe_fns): Update.
6922         (insert_exception_resume_breakpoint): Change type of "probe"
6923         parameter to bound_probe.
6924         (check_exception_resume): Update.
6925         * objfiles.c (objfile_relocate1): Don't relocate probes.
6926         * probe.c (bound_probe_s): New typedef.
6927         (parse_probes): Use get_probe_address.  Set sal's objfile.
6928         (find_probe_by_pc): Return a bound_probe.
6929         (collect_probes): Return a VEC(bound_probe_s).
6930         (compare_probes): Update.
6931         (gen_ui_out_table_header_info): Change type of "probes"
6932         parameter.  Update.
6933         (info_probes_for_ops): Update.
6934         (get_probe_address): New function.
6935         (probe_safe_evaluate_at_pc): Update.
6936         * probe.h (struct probe_ops) <get_probe_address>: New field.
6937         <set_semaphore, clear_semaphore>: Add objfile parameter.
6938         (struct probe) <objfile>: Remove field.
6939         <arch>: New field.
6940         <address>: Update comment.
6941         (struct bound_probe): New.
6942         (find_probe_by_pc): Return a bound_probe.
6943         (get_probe_address): Declare.
6944         * solib-svr4.c (struct probe_and_action) <address>: New field.
6945         (hash_probe_and_action, equal_probe_and_action): Update.
6946         (register_solib_event_probe): Add address parameter.
6947         (solib_event_probe_at): Update.
6948         (svr4_create_probe_breakpoints): Add objfile parameter.  Use
6949         get_probe_address.
6950         * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6951         (stap_get_probe_address): New function.
6952         (stap_can_evaluate_probe_arguments, compute_probe_arg)
6953         (compile_probe_arg): Update.
6954         (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6955         address.
6956         (handle_stap_probe): Don't relocate the probe.
6957         (stap_relocate): Remove.
6958         (stap_gen_info_probes_table_values): Update.
6959         (stap_probe_ops): Remove stap_relocate.
6960         * symfile-debug.c (debug_sym_relocate_probe): Remove.
6961         (debug_sym_probe_fns): Update.
6962         * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6963         * symtab.c (init_sal): Use memset.
6964         * symtab.h (struct symtab_and_line) <objfile>: New field.
6965         * tracepoint.c (start_tracing, stop_tracing): Update.
6966
6967 2014-03-03  Tom Tromey  <tromey@redhat.com>
6968
6969         * probe.h (parse_probes, find_probe_by_pc)
6970         (find_probes_in_objfile): Fix comments.
6971
6972 2014-03-02  Doug Evans  <xdje42@gmail.com>
6973
6974         * infrun.c (handle_signal_stop): Replace test for
6975         TARGET_WAITKIND_STOPPED with an assert.
6976
6977 2014-03-02  Doug Evans  <xdje42@gmail.com>
6978
6979         * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6980
6981 2014-03-02  Doug Evans  <xdje42@gmail.com>
6982
6983         * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6984
6985 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
6986
6987         * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6988
6989 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
6990
6991         * i386obsd-nat.c: Include "obsd-nat.h".
6992         (_initialize_i386obsd_nat): Call obsd_add_target instead of
6993         add_target.
6994         * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6995
6996 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
6997
6998         * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6999
7000 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
7001
7002         * mips64obsd-nat.c: Include "obsd-nath".
7003         (_initialize_mips64obsd_nat): Call obsd_add_target instead of
7004         add_target
7005         * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7006
7007 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
7008
7009         * amd64obsd-nat.c: Include "obsd-nat,h.
7010         (_initialize_amd64obsd_nat): Call obsd_add_target instead of
7011         add_target.
7012         * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
7013
7014 2014-02-28  Siva Chandra Reddy  <sivachandra@google.com>
7015
7016         * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
7017         (find_overload_match): Update call to find_oload_champ.
7018         (find_oload_champ_namespace_loop): Likewise
7019
7020 2014-02-28  Mark Kettenis  <kettenis@gnu.org>
7021
7022         * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
7023
7024         * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
7025         * config/sparc/obsd64.mh: New file.
7026         * sparc64obsd-nat.c: New file.
7027
7028         * obsd-nat.h: New file.
7029         * obsd-nat.c: New file.
7030         * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
7031         (ALLDEPFILES): Add obsd-nat.c.
7032
7033 2014-02-28  Tom Tromey  <tromey@redhat.com>
7034
7035         * cli-out.c (cli_ui_out_impl): Now const.  Remove comment.
7036         * cli-out.h (cli_ui_out_impl): Now const.
7037         * mi/mi-out.c (mi_ui_out_impl): Now const.  Remove comment.
7038         * ui-out.c (struct ui_out) <impl>: Now const.
7039         (default_ui_out_impl): Now const.
7040         (ui_out_new): Make 'impl' parameter const.
7041         * ui-out.h (ui_out_new): Update.
7042
7043 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
7044
7045         * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
7046
7047 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
7048
7049         * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
7050
7051 2014-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7052
7053         Additional PR 8882 fix.
7054         * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
7055
7056 2014-02-27  Pedro Alves  <palves@redhat.com>
7057
7058         * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
7059         isn't set.
7060
7061 2014-02-27  Pedro Alves  <palves@redhat.com>
7062
7063         PR 12702
7064         * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
7065         * nat/linux-waitpid.c: Include string.h.
7066         (status_to_str): Moved here and made extern.
7067         * nat/linux-waitpid.h (status_to_str): New declaration.
7068
7069 2014-02-27  Hui Zhu  <hui@codesourcery.com>
7070
7071         PR 12702
7072         * infrun.c (ptid_match): Move ...
7073         * common/ptid.c (ptid_match): ... here.
7074         * inferior.h (ptid_match): Move ...
7075         * common/ptid.h (ptid_match): ... here.
7076
7077 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
7078
7079         * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
7080         * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
7081         gdb_target_obs.
7082
7083 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
7084
7085         * obsd-tdep.c (obsd_auxv_parse): New function.
7086         (obsd_init_abi): Set auxv_parse.
7087
7088         * gdbarch.sh (auxv_parse): New.
7089         * gdbarch.h: Regenerated.
7090         * gdbarch.c: Regenerated.
7091         * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
7092
7093 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
7094
7095         * guile/scm-value.c (gdbscm_history_append_x): New function.
7096         (value_functions): Add it.
7097
7098 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
7099
7100         * dwarf2read.c (attr_value_as_address): New function.
7101         (dwarf2_find_base_address, read_call_site_scope): Use
7102         attr_value_as_address in place of DW_ADDR.
7103         (dwarf2_get_pc_bounds): Use attr_value_as_address to get
7104         the low and high addresses.  Slight rework of the handling
7105         of the high pc being a constant form, and limit it to
7106         DWARF verson 4 or higher.
7107         (dwarf2_record_block_ranges): Likewise.
7108         (read_partial_die): Likewise.
7109         (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
7110
7111 2014-02-26  Tom Tromey  <tromey@redhat.com>
7112
7113         * exec.c (exec_file_attach): Hold a reference to exec_bfd.
7114
7115 2014-02-26  Tom Tromey  <tromey@redhat.com>
7116
7117         * elfread.c (elf_read_minimal_symbols): Return early if
7118         minimal symbols have already been read.  Add "ei" parameter.
7119         (elf_symfile_read): Call elf_read_minimal_symbols earlier.
7120         * minsyms.c (prim_record_minimal_symbol_full): Update.
7121         * objfiles.h (struct objstats) <n_minsyms>: Move...
7122         (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
7123         * symmisc.c (print_objfile_statistics): Update.
7124
7125 2014-02-26  Tom Tromey  <tromey@redhat.com>
7126
7127         * elfread.c (elf_read_minimal_symbols): New function, from
7128         elf_symfile_read.
7129         (elf_symfile_read): Call it.
7130
7131 2014-02-26  Tom Tromey  <tromey@redhat.com>
7132
7133         * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
7134         (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
7135         (lookup_minimal_symbol_solib_trampoline)
7136         (lookup_minimal_symbol_by_pc_section_1)
7137         (lookup_minimal_symbol_and_objfile): Update.
7138         (prim_record_minimal_symbol_full): Use the per-BFD obstack.
7139         Don't allocate a minimal symbol if minsyms have already been read.
7140         (build_minimal_symbol_hash_tables): Update.
7141         (install_minimal_symbols): Do nothing if minsyms already read.
7142         Use the per-BFD obstack.
7143         (terminate_minimal_symbol_table): Use the per-BFD obstack.
7144         * objfiles.c (allocate_objfile): Call
7145         terminate_minimal_symbol_table later.
7146         (have_minimal_symbols): Update.
7147         * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
7148         minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
7149         Move from struct objfile.
7150         <minsyms_read>: New field.
7151         (struct objfile) <msymbols, minimal_symbol_count,
7152         msymbol_hash, msymbol_demangled_hash>: Move.
7153         (ALL_OBJFILE_MSYMBOLS): Update.
7154         * symfile.c (read_symbols): Set minsyms_read.
7155         (reread_symbols): Update.
7156         * symmisc.c (dump_objfile, dump_msymbols): Update.
7157
7158 2014-02-26  Tom Tromey  <tromey@redhat.com>
7159
7160         * minsyms.c (msymbols_sort): Remove.
7161         * minsyms.h (msymbols_sort): Remove.
7162         * objfiles.c (objfile_relocate1): Don't relocate minsyms.
7163         * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
7164         * elfread.c (elf_symtab_read): Don't add section offsets.
7165         * xcoffread.c (record_minimal_symbol): Don't add section offset
7166         to minimal symbol address.
7167         * somread.c (text_offset, data_offset): Remove.
7168         (som_symtab_read): Don't add section offsets to minimal symbol
7169         addresses.
7170         * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
7171         Don't add section offsets to minimal symbols.
7172         * coffread.c (coff_symtab_read): Don't add section offsets
7173         to minimal symbol addresses.
7174         * machoread.c (macho_symtab_add_minsym): Don't add section offset
7175         to minimal symbol addresses.
7176         * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
7177         section offset to minimal symbol addresses.
7178         * mdebugread.c (parse_partial_symbols): Don't add section
7179         offset to minimal symbol addresses.
7180         * dbxread.c (read_dbx_dynamic_symtab): Don't add section
7181         offset to minimal symbol addresses.
7182
7183 2014-02-26  Tom Tromey  <tromey@redhat.com>
7184
7185         * ada-lang.c (ada_main_name): Update.
7186         (ada_add_standard_exceptions): Update.
7187         * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7188         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7189         * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
7190         * auxv.c (ld_so_xfer_auxv): Update.
7191         * avr-tdep.c (avr_scan_prologue): Update.
7192         * ax-gdb.c (gen_var_ref): Update.
7193         * blockframe.c (get_pc_function_start)
7194         (find_pc_partial_function_gnu_ifunc): Update.
7195         * breakpoint.c (create_overlay_event_breakpoint)
7196         (create_longjmp_master_breakpoint)
7197         (create_std_terminate_master_breakpoint)
7198         (create_exception_master_breakpoint): Update.
7199         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7200         * c-valprint.c (c_val_print): Update.
7201         * coff-pe-read.c (add_pe_forwarded_sym): Update.
7202         * common/agent.c (agent_look_up_symbols): Update.
7203         * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7204         * dwarf2loc.c (call_site_to_target_addr): Update.
7205         * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
7206         * elfread.c (elf_gnu_ifunc_record_cache)
7207         (elf_gnu_ifunc_resolve_by_got): Update.
7208         * findvar.c (default_read_var_value): Update.
7209         * frame.c (inside_main_func): Update.
7210         * frv-tdep.c (frv_frame_this_id): Update.
7211         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7212         * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7213         Update.
7214         * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
7215         (hppa_hpux_find_dummy_bpaddr): Update.
7216         * hppa-tdep.c (hppa_symbol_address): Update.
7217         * infcmd.c (until_next_command): Update.
7218         * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
7219         Update.
7220         * linespec.c (minsym_found, add_minsym): Update.
7221         * linux-nat.c (get_signo): Update.
7222         * linux-thread-db.c (inferior_has_bug): Update.
7223         * m32c-tdep.c (m32c_return_value)
7224         (m32c_m16c_address_to_pointer): Update.
7225         * m32r-tdep.c (m32r_frame_this_id): Update.
7226         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7227         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7228         * maint.c (maintenance_translate_address): Update.
7229         * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
7230         (frob_address): New function.
7231         (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
7232         frob_address.  Rename parameter to "pc_in".
7233         (compare_minimal_symbols, compact_minimal_symbols): Use raw
7234         addresses.
7235         (find_solib_trampoline_target, minimal_symbol_upper_bound):
7236         Update.
7237         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7238         * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
7239         * objc-lang.c (find_objc_msgsend): Update.
7240         * objfiles.c (objfile_relocate1): Update.
7241         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7242         * p-valprint.c (pascal_val_print): Update.
7243         * parse.c (write_exp_msymbol): Update.
7244         * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
7245         (ppc_elfv2_skip_entrypoint): Update.
7246         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7247         * printcmd.c (build_address_symbolic, msym_info)
7248         (address_info): Update.
7249         * proc-service.c (ps_pglobal_lookup): Update.
7250         * psymtab.c (find_pc_sect_psymtab_closer)
7251         (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
7252         Change msymbol parameter to bound_minimal_symbol.
7253         * ravenscar-thread.c (get_running_thread_id): Update.
7254         * remote.c (remote_check_symbols): Update.
7255         * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
7256         address.
7257         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7258         * solib-dsbt.c (lm_base): Update.
7259         * solib-frv.c (lm_base, main_got): Update.
7260         * solib-irix.c (locate_base): Update.
7261         * solib-som.c (som_solib_create_inferior_hook)
7262         (link_map_start): Update.
7263         * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
7264         * solib-svr4.c (elf_locate_base, enable_break): Update.
7265         * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7266         (flush_ea_cache): Update.
7267         * stabsread.c (define_symbol, scan_file_globals): Update.
7268         * stack.c (find_frame_funname): Update.
7269         * symfile-debug.c (debug_qf_expand_symtabs_matching)
7270         (debug_qf_find_pc_sect_symtab): Update.
7271         * symfile.c (simple_read_overlay_table)
7272         (simple_overlay_update): Update.
7273         * symfile.h (struct quick_symbol_functions)
7274         <find_pc_sect_symtab>: Change type of msymbol to
7275         bound_minimal_symbol.
7276         * symmisc.c (dump_msymbols): Update.
7277         * symtab.c (find_pc_sect_symtab_via_partial)
7278         (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
7279         (search_symbols, print_msymbol_info): Update.
7280         * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
7281         (MSYMBOL_VALUE_ADDRESS): Redefine.
7282         (BMSYMBOL_VALUE_ADDRESS): New macro.
7283         * tracepoint.c (scope_info): Update.
7284         * tui/tui-disasm.c (tui_find_disassembly_address)
7285         (tui_get_begin_asm_address): Update.
7286         * valops.c (find_function_in_inferior): Update.
7287         * value.c (value_static_field, value_fn_field): Update.
7288
7289 2014-02-26  Tom Tromey  <tromey@redhat.com>
7290
7291         * ada-lang.c (ada_update_initial_language): Update.
7292         (ada_main_name, ada_has_this_exception_support): Update.
7293         * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
7294         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7295         * arm-tdep.c (arm_skip_stub): Update.
7296         * auxv.c (ld_so_xfer_auxv): Update.
7297         * avr-tdep.c (avr_scan_prologue): Update.
7298         * ax-gdb.c (gen_var_ref): Update.
7299         * breakpoint.c (struct breakpoint_objfile_data)
7300         <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
7301         type to bound_minimal_symbol.
7302         (create_overlay_event_breakpoint)
7303         (create_longjmp_master_breakpoint)
7304         (create_std_terminate_master_breakpoint)
7305         (create_exception_master_breakpoint): Update.
7306         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7307         * c-exp.y (classify_name): Update.
7308         * coffread.c (coff_symfile_read): Update.
7309         * common/agent.c (agent_look_up_symbols): Update.
7310         * d-lang.c (d_main_name): Update.
7311         * dbxread.c (find_stab_function_addr, end_psymtab): Update.
7312         * dec-thread.c (enable_dec_thread): Update.
7313         * dwarf2loc.c (call_site_to_target_addr): Update.
7314         * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7315         * eval.c (evaluate_subexp_standard): Update.
7316         * findvar.c (struct minsym_lookup_data) <result>: Change type
7317         to bound_minimal_symbol.
7318         <objfile>: Remove.
7319         (minsym_lookup_iterator_cb, default_read_var_value): Update.
7320         * frame.c (inside_main_func): Update.
7321         * frv-tdep.c (frv_frame_this_id): Update.
7322         * gcore.c (call_target_sbrk): Update.
7323         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7324         * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7325         Update.
7326         * go-lang.c (go_main_name): Update.
7327         * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7328         (hppa_hpux_find_import_stub_for_addr): Update.
7329         * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7330         Update.  Change return type.
7331         * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7332         type.
7333         * jit.c (jit_breakpoint_re_set_internal): Update.
7334         * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7335         Update.
7336         * linux-nat.c (get_signo): Update.
7337         * linux-thread-db.c (inferior_has_bug): Update
7338         * m32c-tdep.c (m32c_return_value)
7339         (m32c_m16c_address_to_pointer): Update.
7340         * m32r-tdep.c (m32r_frame_this_id): Update.
7341         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7342         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7343         * minsyms.c (lookup_minimal_symbol_internal): Rename to
7344         lookup_minimal_symbol.  Change return type.
7345         (lookup_minimal_symbol): Remove.
7346         (lookup_bound_minimal_symbol): Update.
7347         (lookup_minimal_symbol_text): Change return type.
7348         (lookup_minimal_symbol_solib_trampoline): Change return type.
7349         * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7350         (lookup_minimal_symbol_solib_trampoline): Change return type.
7351         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7352         * objc-lang.c (lookup_objc_class, lookup_child_selector)
7353         (value_nsstring, find_imps): Update.
7354         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7355         * p-lang.c (pascal_main_name): Update.
7356         * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7357         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7358         * proc-service.c (ps_pglobal_lookup): Update.
7359         * ravenscar-thread.c (get_running_thread_msymbol): Change
7360         return type.
7361         (has_ravenscar_runtime, get_running_thread_id): Update.
7362         * remote.c (remote_check_symbols): Update.
7363         * sol-thread.c (ps_pglobal_lookup): Update.
7364         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7365         * solib-dsbt.c (lm_base): Update.
7366         * solib-frv.c (lm_base, frv_relocate_section_addresses):
7367         Update.
7368         * solib-irix.c (locate_base): Update.
7369         * solib-som.c (som_solib_create_inferior_hook)
7370         (som_solib_desire_dynamic_linker_symbols, link_map_start):
7371         Update.
7372         * solib-spu.c (spu_enable_break): Update.
7373         * solib-svr4.c (elf_locate_base, enable_break): Update.
7374         * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7375         (flush_ea_cache): Update.
7376         * stabsread.c (define_symbol): Update.
7377         * symfile.c (simple_read_overlay_table): Update.
7378         * symtab.c (find_pc_sect_line): Update.
7379         * tracepoint.c (scope_info): Update.
7380         * tui-disasm.c (tui_get_begin_asm_address): Update.
7381         * value.c (value_static_field): Update.
7382
7383 2014-02-26  Tom Tromey  <tromey@redhat.com>
7384
7385         * minsyms.c (prim_record_minimal_symbol_full): Use
7386         SET_MSYMBOL_VALUE_ADDRESS.
7387         * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7388         * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7389         SET_MSYMBOL_VALUE_ADDRESS.
7390         * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7391         (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7392
7393 2014-02-26  Tom Tromey  <tromey@redhat.com>
7394
7395         * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7396         (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7397         (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7398         (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7399         (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7400         (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7401         (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7402         * ada-lang.c (ada_main_name): Update.
7403         (ada_lookup_simple_minsym): Update.
7404         (ada_make_symbol_completion_list): Update.
7405         (ada_add_standard_exceptions): Update.
7406         * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7407         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7408         * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7409         * arm-tdep.c (skip_prologue_function): Update.
7410         (arm_skip_stack_protector, arm_skip_stub): Update.
7411         * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7412         (arm_wince_skip_main_prologue): Update.
7413         * auxv.c (ld_so_xfer_auxv): Update.
7414         * avr-tdep.c (avr_scan_prologue): Update.
7415         * ax-gdb.c (gen_var_ref): Update.
7416         * block.c (call_site_for_pc): Update.
7417         * blockframe.c (get_pc_function_start): Update.
7418         (find_pc_partial_function_gnu_ifunc): Update.
7419         * breakpoint.c (create_overlay_event_breakpoint): Update.
7420         (create_longjmp_master_breakpoint): Update.
7421         (create_std_terminate_master_breakpoint): Update.
7422         (create_exception_master_breakpoint): Update.
7423         (resolve_sal_pc): Update.
7424         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7425         * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7426         Update.
7427         * c-valprint.c (c_val_print): Update.
7428         * coff-pe-read.c (add_pe_forwarded_sym): Update.
7429         * coffread.c (coff_symfile_read): Update.
7430         * common/agent.c (agent_look_up_symbols): Update.
7431         * dbxread.c (find_stab_function_addr): Update.
7432         (end_psymtab): Update.
7433         * dwarf2loc.c (call_site_to_target_addr): Update.
7434         (func_verify_no_selftailcall): Update.
7435         (tailcall_dump): Update.
7436         (call_site_find_chain_1): Update.
7437         (dwarf_expr_reg_to_entry_parameter): Update.
7438         * elfread.c (elf_gnu_ifunc_record_cache): Update.
7439         (elf_gnu_ifunc_resolve_by_got): Update.
7440         * f-valprint.c (info_common_command): Update.
7441         * findvar.c (read_var_value): Update.
7442         * frame.c (get_prev_frame_1): Update.
7443         (inside_main_func): Update.
7444         * frv-tdep.c (frv_skip_main_prologue): Update.
7445         (frv_frame_this_id): Update.
7446         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7447         * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7448         * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7449         (gnuv3_skip_trampoline): Update.
7450         * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7451         (hppa64_hpux_in_solib_call_trampoline): Update.
7452         (hppa_hpux_skip_trampoline_code): Update.
7453         (hppa64_hpux_search_dummy_call_sequence): Update.
7454         (hppa_hpux_find_import_stub_for_addr): Update.
7455         (hppa_hpux_find_dummy_bpaddr): Update.
7456         * hppa-tdep.c (hppa_symbol_address)
7457         (hppa_lookup_stub_minimal_symbol): Update.
7458         * i386-tdep.c (i386_skip_main_prologue): Update.
7459         (i386_pe_skip_trampoline_code): Update.
7460         * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7461         * infcall.c (get_function_name): Update.
7462         * infcmd.c (until_next_command): Update.
7463         * jit.c (jit_breakpoint_re_set_internal): Update.
7464         (jit_inferior_init): Update.
7465         * linespec.c (minsym_found): Update.
7466         (add_minsym): Update.
7467         * linux-fork.c (info_checkpoints_command): Update.
7468         * linux-nat.c (get_signo): Update.
7469         * linux-thread-db.c (inferior_has_bug): Update.
7470         * m32c-tdep.c (m32c_return_value): Update.
7471         (m32c_m16c_address_to_pointer): Update.
7472         (m32c_m16c_pointer_to_address): Update.
7473         * m32r-tdep.c (m32r_frame_this_id): Update.
7474         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7475         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7476         * maint.c (maintenance_translate_address): Update.
7477         * minsyms.c (add_minsym_to_hash_table): Update.
7478         (add_minsym_to_demangled_hash_table): Update.
7479         (msymbol_objfile): Update.
7480         (lookup_minimal_symbol): Update.
7481         (iterate_over_minimal_symbols): Update.
7482         (lookup_minimal_symbol_text): Update.
7483         (lookup_minimal_symbol_by_pc_name): Update.
7484         (lookup_minimal_symbol_solib_trampoline): Update.
7485         (lookup_minimal_symbol_by_pc_section_1): Update.
7486         (lookup_minimal_symbol_and_objfile): Update.
7487         (prim_record_minimal_symbol_full): Update.
7488         (compare_minimal_symbols): Update.
7489         (compact_minimal_symbols): Update.
7490         (build_minimal_symbol_hash_tables): Update.
7491         (install_minimal_symbols): Update.
7492         (terminate_minimal_symbol_table): Update.
7493         (find_solib_trampoline_target): Update.
7494         (minimal_symbol_upper_bound): Update.
7495         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7496         * mips-tdep.c (mips_stub_frame_sniffer): Update.
7497         (mips_skip_pic_trampoline_code): Update.
7498         * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7499         * objc-lang.c (selectors_info): Update.
7500         (classes_info): Update.
7501         (find_methods): Update.
7502         (find_imps): Update.
7503         (find_objc_msgsend): Update.
7504         * objfiles.c (objfile_relocate1): Update.
7505         * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7506         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7507         * p-valprint.c (pascal_val_print): Update.
7508         * parse.c (write_exp_msymbol): Update.
7509         * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7510         (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7511         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7512         * printcmd.c (build_address_symbolic): Update.
7513         (sym_info): Update.
7514         (address_info): Update.
7515         * proc-service.c (ps_pglobal_lookup): Update.
7516         * psymtab.c (find_pc_sect_psymtab_closer): Update.
7517         (find_pc_sect_psymtab): Update.
7518         * python/py-framefilter.c (py_print_frame): Update.
7519         * ravenscar-thread.c (get_running_thread_id): Update.
7520         * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7521         Update.
7522         * remote.c (remote_check_symbols): Update.
7523         * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7524         (rs6000_skip_trampoline_code): Update.
7525         * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7526         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7527         * solib-dsbt.c (lm_base): Update.
7528         * solib-frv.c (lm_base): Update.
7529         (main_got): Update.
7530         * solib-irix.c (locate_base): Update.
7531         * solib-som.c (som_solib_create_inferior_hook): Update.
7532         (som_solib_desire_dynamic_linker_symbols): Update.
7533         (link_map_start): Update.
7534         * solib-spu.c (spu_enable_break): Update.
7535         (ocl_enable_break): Update.
7536         * solib-svr4.c (elf_locate_base): Update.
7537         (enable_break): Update.
7538         * spu-tdep.c (spu_get_overlay_table): Update.
7539         (spu_catch_start): Update.
7540         (flush_ea_cache): Update.
7541         * stabsread.c (define_symbol): Update.
7542         (scan_file_globals): Update.
7543         * stack.c (find_frame_funname): Update.
7544         (frame_info): Update.
7545         * symfile.c (simple_read_overlay_table): Update.
7546         (simple_overlay_update): Update.
7547         * symmisc.c (dump_msymbols): Update.
7548         * symtab.c (fixup_section): Update.
7549         (find_pc_sect_line): Update.
7550         (skip_prologue_sal): Update.
7551         (search_symbols): Update.
7552         (print_msymbol_info): Update.
7553         (rbreak_command): Update.
7554         (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7555         (completion_list_objc_symbol): Update.
7556         (default_make_symbol_completion_list_break_on): Update.
7557         * tracepoint.c (scope_info): Update.
7558         * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7559         (tui_get_begin_asm_address): Update.
7560         * valops.c (find_function_in_inferior): Update.
7561         * value.c (value_static_field): Update.
7562         (value_fn_field): Update.
7563
7564 2014-02-26  Tom Tromey  <tromey@redhat.com>
7565
7566         * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7567         bound minimal symbols.  Move code that knows about minsym
7568         table layout...
7569         * minsyms.c (minimal_symbol_upper_bound): ... here.  New
7570         function.
7571         * minsyms.h (minimal_symbol_upper_bound): Declare.
7572         * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7573         minimal_symbol_upper_bound.
7574
7575 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
7576
7577         * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7578         Use the type's name if its basic type does not have a tag.
7579
7580 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
7581
7582         * dwarf2read.c (read_subrange_type): Add comment.
7583
7584 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
7585
7586         * dwarf2read.c (update_enumeration_type_from_children): New
7587         function, mostly extracted from process_structure_scope.
7588         (read_enumeration_type): Call update_enumeration_type_from_children.
7589         (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7590         and flag_flag_enum fields.
7591
7592 2014-02-26  Pedro Alves  <palves@redhat.com>
7593
7594         * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7595         (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7596         to_xfer_partial method.
7597
7598 2014-02-26  Pedro Alves  <palves@redhat.com>
7599
7600         * target.c (complete_target_initialization): Don't install
7601         default_xfer_partial as to_xfer_partial hook.
7602         (nomemory): Delete.
7603         (update_current_target): Don't INHERIT nor de_fault
7604         deprecated_xfer_memory.  Delete de_fault macro.
7605         (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7606         (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7607         * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7608         field.
7609
7610 2014-02-26  Pedro Alves  <palves@redhat.com>
7611
7612         * go32-nat.c (my_write_child): New function.
7613         (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7614         (go32_xfer_partial): New function.
7615         (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7616         Instead install a to_xfer_partial hook.
7617
7618 2014-02-26  Pedro Alves  <palves@redhat.com>
7619
7620         * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7621         to_xfer_partial helper.  Rewrite.
7622         (procfs_xfer_partial): New function.
7623         (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7624         Install a to_xfer_partial hook.
7625
7626 2014-02-26  Pedro Alves  <palves@redhat.com>
7627
7628         * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7629         (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7630         (m32r_xfer_partial): New function.
7631         (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7632         Install a to_xfer_partial hook.
7633
7634 2014-02-26  Pedro Alves  <palves@redhat.com>
7635
7636         * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7637         helper.
7638         (mips_xfer_partial): New function.
7639         (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7640         hook.  Install a to_xfer_partial hook.
7641
7642 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
7643
7644         * gdbtypes.h (create_array_type_with_stride): Add declaration.
7645         * gdbtypes.c (create_array_type_with_stride): New function,
7646         renaming create_array_type, but with an added parameter
7647         called "bit_stride".
7648         (create_array_type): Re-implement using
7649         create_array_type_with_stride.
7650         * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7651         and DW_AT_bit_stride attributes.
7652
7653 2014-02-26  Pedro Alves  <palves@redhat.com>
7654
7655         * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7656         task-specific breakpoints.
7657
7658 2014-02-25  Pedro Alves  <palves@redhat.com>
7659
7660         * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7661         handling of object == TARGET_OBJECT_UNWIND_TABLE.
7662
7663 2014-02-25  Stan Shebs  <stan@codesourcery.com>
7664
7665         * defs.h: Annotate comments for Doxygen.
7666
7667 2014-02-25  Tom Tromey  <tromey@redhat.com>
7668
7669         * target.h (target_ignore): Don't declare.
7670         * target.c (target_ignore): Remove.
7671
7672 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
7673
7674         PR gdb/16626
7675         * auto-load.c (auto_load_objfile_script_1): Change filename to
7676         debugfile.
7677
7678 2014-02-25  Joel Brobecker  <brobecker@adacore.com>
7679
7680         * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7681         documentation.  Adjust prototype to match the target_ops
7682         to_xfer_partial method.  Adjust implementation accordingly.
7683
7684 2014-02-25  Hui Zhu  <hui@codesourcery.com>
7685
7686         * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7687         to_traceframe_info.
7688
7689 2014-02-25  Kevin Buettner  <kevinb@redhat.com>
7690
7691         * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
7692         (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7693         (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7694         (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7695         (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7696         (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7697         (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7698         (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7699         New constants.
7700         (rl78_register_type): Use a data pointer type for SP and
7701         new pseudo registers mentioned above.  Use a 16 bit integer
7702         type for all other register pairs.
7703         (rl78_register_name, rl78_g10_register_name): Update for
7704         new pseudo registers.
7705         (rl78_pseudo_register_read): Likewise.
7706         (rl78_pseudo_register_write): Likewise.
7707         (rl78_dwarf_reg_to_regnum): Return register numbers representing
7708         to the newly added pseudo registers.
7709
7710 2014-02-24  Doug Evans  <dje@google.com>
7711
7712         * value.c (record_latest_value): Fix comment.
7713         * printcmd.c (print_command_1): Remove code to handle -1 return from
7714         record_latest_value.
7715
7716 2014-02-24  Pedro Alves  <palves@redhat.com>
7717
7718         * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7719         deprecated_xfer_memory hook.
7720         (procfs_xfer_partial): Call procfs_xfer_memory instead
7721         of the deprecated_xfer_memory target hook.
7722         (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7723         helper.
7724
7725 2014-02-24  Yuanhui Zhang  <asmwarrior@gmail.com>
7726
7727         * windows-nat.c (windows_xfer_shared_libraries): Return
7728         TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7729         requested object is TARGET_OBJECT_LIBRARIES.
7730
7731 2014-02-24  Yao Qi  <yao@codesourcery.com>
7732
7733         * target.h (enum target_xfer_status)
7734         <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7735         <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7736         explicitly.  New.
7737         * corefile.c (memory_error_message): User updated.
7738         * exec.c (section_table_read_available_memory): Likewise.
7739         * record-btrace.c (record_btrace_xfer_partial): Likewise.
7740         * target.c (target_xfer_status_to_string): Likewise.
7741         (raw_memory_xfer_partial): Likewise.
7742         (memory_xfer_partial_1, target_xfer_partial): Likewise.
7743         * valops.c (read_value_memory): Likewise.
7744         * exec.h: Update comments.
7745
7746 2014-02-24  Yao Qi  <yao@codesourcery.com>
7747
7748         * target.c (target_xfer_status_to_string): Rename argument err
7749         to status.
7750         * target.h (target_xfer_status_to_string): Update declaration.
7751         Replace target_xfer_error_to_string with
7752         target_xfer_status_to_string in comment.
7753
7754 2014-02-24  Yao Qi  <yao@codesourcery.com>
7755
7756         * mips-linux-nat.c (super_close): Update its type.
7757         (mips_linux_close): Pass 'self' to super_close.
7758
7759 2014-02-24  Yao Qi  <yao@codesourcery.com>
7760
7761         * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7762         * corefile.c (read_memory): Adjusted.
7763         * target.c (target_write_with_progress): Adjusted.
7764
7765 2014-02-23  Yao Qi  <yao@codesourcery.com>
7766
7767         Revert two patches:
7768
7769         2013-10-25  Yao Qi  <yao@codesourcery.com>
7770
7771         * remote.c (remote_traceframe_info): Return early if
7772         traceframe is not selected.
7773
7774         2013-07-19  Yao Qi  <yao@codesourcery.com>
7775
7776         * target.c (update_current_target): Change the default action
7777         of 'to_traceframe_info' from tcomplain to return_zero.
7778         * target.h (struct target_ops) <to_traceframe_info>: Add more
7779         comments.
7780
7781 2014-02-23  Yao Qi  <yao@codesourcery.com>
7782
7783         * valops.c (read_value_memory): Rewrite it.  Call
7784         target_xfer_partial in a loop.
7785         * exec.h (section_table_available_memory): Remove declaration.
7786         Move comments to ...
7787         * exec.c (section_table_available_memory): ... here.  Make it
7788         static.
7789
7790 2014-02-23  Yao Qi  <yao@codesourcery.com>
7791
7792         * exec.c (section_table_read_available_memory): New function.
7793         * exec.h (section_table_read_available_memory): Declare.
7794         * ctf.c (ctf_xfer_partial): Call
7795         section_table_read_available_memory.
7796         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7797
7798 2014-02-23  Yao Qi  <yao@codesourcery.com>
7799
7800         * ctf.c (ctf_xfer_partial): Move code to ...
7801         * exec.c (exec_read_partial_read_only): ... it.  New function.
7802         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7803         * tracefile.c: Include "exec.h".
7804         * exec.h (exec_read_partial_read_only): Declare.
7805
7806 2014-02-23  Yao Qi  <yao@codesourcery.com>
7807
7808         * tracefile-tfile.c (tfile_has_all_memory): Remove.
7809         (tfile_has_memory): Remove.
7810         (init_tfile_ops): Don't set fields to_has_all_memory and
7811         to_has_memory of tfile_ops.
7812         * tracefile.c (tracefile_has_all_memory): New function.
7813         (tracefile_has_memory): New function.
7814         (init_tracefile_ops): Initialize fields to_has_all_memory and
7815         to_has_memory of 'ops'.
7816
7817 2014-02-23  Yao Qi  <yao@codesourcery.com>
7818
7819         * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7820         (ctf_thread_alive, ctf_get_trace_status): Remove.
7821         (init_ctf_ops): Don't set some fields of ctf_ops.  Call
7822         init_tracefile_ops.
7823         * tracefile-tfile.c (tfile_get_trace_status): Remove.
7824         (tfile_has_stack, tfile_has_registers): Remove.
7825         (tfile_thread_alive): Remove.
7826         (init_tfile_ops): Don't set some fields of tfile_ops.  Call
7827         init_tracefile_ops.
7828         * tracefile.c (tracefile_has_stack): New function.
7829         (tracefile_has_registers): New function.
7830         (tracefile_thread_alive): New function.
7831         (tracefile_get_trace_status): New function.
7832         (init_tracefile_ops): New function.
7833         * tracefile.h (init_tracefile_ops): Declare.
7834
7835 2014-02-23  Yao Qi  <yao@codesourcery.com>
7836
7837         * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7838         (O_LARGEFILE): Likewise.
7839         (tfile_ops): Likewise.
7840         (TRACE_HEADER_SIZE): Likewise.
7841         (trace_fd, trace_frames_offset, cur_offset): Likewise.
7842         (cur_data_size): Likewise.
7843         (tfile_read, tfile_open, tfile_interp_line): Likewise.
7844         (tfile_close, tfile_files_info): Likewise.
7845         (tfile_get_trace_status): Likewise.
7846         (tfile_get_tracepoint_status): Likewise.
7847         (tfile_get_traceframe_address): Likewise.
7848         (tfile_trace_find, match_blocktype): Likewise.
7849         (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7850         (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7851         (tfile_get_trace_state_variable_value): Likewise.
7852         (tfile_has_all_memory, tfile_has_memory): Likewise.
7853         (tfile_has_stack, tfile_has_registers): Likewise.
7854         (tfile_thread_alive, build_traceframe_info): Likewise.
7855         (tfile_traceframe_info, init_tfile_ops): Likewise.
7856         (_initialize_tracepoint): Don't call init_tfile_ops
7857         and add_target_with_completer.
7858         * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7859         exec.h, completer.h and filenames.h.
7860         (_initialize_tracefile_tfile): New function.
7861
7862 2014-02-23  Yao Qi  <yao@codesourcery.com>
7863
7864         * Makefile.in (REMOTE_OBS): Append tracefile.o and
7865         tracefile-tfile.o.
7866         (HFILES_NO_SRCDIR): Add tracefile.h.
7867         * ctf.c: Include "tracefile.h".
7868         * tracefile.h: New file.
7869         * tracefile.c: New file
7870         * tracefile-tfile.c: New file.
7871         * tracepoint.c: Include "tracefile.h".
7872         (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7873         (stop_reason_names): Add const.
7874         (trace_file_writer_xfree): Move it to tracefile.c.
7875         (trace_save, trace_save_command, trace_save_tfile): Likewise.
7876         (trace_save_ctf): Likewise.
7877         (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7878         (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7879         (tfile_write_header, tfile_write_regblock_type): Likewise.
7880         (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7881         (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7882         (tfile_write_raw_data, tfile_end): Likewise.
7883         (tfile_trace_file_writer_new): Likewise.
7884         (free_uploaded_tp): Make it extern.
7885         (free_uploaded_tsv): Make it extern.
7886         (_initialize_tracepoint): Move code to register command 'tsave'
7887         to tracefile.c.
7888         * tracepoint.h (stop_reason_names): Declare.
7889         (struct trace_frame_write_ops): Move it to tracefile.h.
7890         (struct trace_file_write_ops): Likewise.
7891         (struct trace_file_writer): Likewise.
7892         (free_uploaded_tsvs, free_uploaded_tps): Declare.
7893
7894 2014-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
7895
7896         PR gdb/16594
7897         * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7898         process name.
7899         (get_cores_used_by_process): New parameter num_cores, use it.
7900         (linux_xfer_osdata_processes): Pass num_cores to it.
7901         * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7902         process name.
7903
7904 2014-02-21  Andreas Arnez  <arnez@vnet.linux.ibm.com>
7905
7906         * target.c (memory_xfer_partial): Fix length arg in call to
7907         breakpoint_xfer_memory.
7908
7909 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
7910
7911         PR tdep/16397
7912         * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7913         number comes after the + or - signs.  Adjust length of register
7914         name to be extracted.
7915
7916 2014-02-20  Tom Tromey  <tromey@redhat.com>
7917
7918         * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7919         (ada_varobj_ops): Mark "extern".
7920
7921 2014-02-20  Tom Tromey  <tromey@redhat.com>
7922
7923         * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7924
7925 2014-02-20  Doug Evans  <xdje42@gmail.com>
7926
7927         * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7928         All callers updated.
7929         (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7930         All callers updated.
7931         * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7932         (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7933
7934 2014-02-20  lin zuojian  <manjian2006@gmail.com>
7935             Joel Brobecker  <brobecker@adacore.com>
7936             Doug Evans  <xdje42@gmail.com>
7937
7938         PR symtab/16581
7939         * dwarf2read.c (struct die_info): New member in_process.
7940         (reset_die_in_process): New function.
7941         (process_die): Set it at the start, reset when returning.
7942         (inherit_abstract_dies): Only call process_die if origin_child_die
7943         not already being processed.
7944
7945 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
7946
7947         * windows-nat.c (handle_unload_dll): Add function documentation.
7948         (do_initial_windows_stuff): Add comment explaining why we wait
7949         until after inferior initialization has finished before
7950         processing all DLLs.
7951
7952 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
7953
7954         * windows-nat.c (get_module_name): Delete.
7955         (windows_get_exec_module_filename): New function, mostly
7956         inspired from get_module_name.
7957         (windows_pid_to_exec_file): Replace call to get_module_name
7958         by call to windows_get_exec_module_filename.
7959
7960 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
7961
7962         * windows-nat.c (handle_load_dll): Rewrite this function's
7963         introductory comment.  Remove code using get_module_name
7964         to get the DLL's name.
7965
7966 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
7967
7968         * windows-nat.c (get_windows_debug_event): Ignore
7969         LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7970         if windows_initialization_done == 0.
7971         (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7972         Adjust implementation to always load all DLLs.
7973         (do_initial_windows_stuff): Replace call to
7974         windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7975
7976 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
7977
7978         * windows-nat.c (_initialize_windows_nat): Deprecate the
7979         "dll-symbols" command.  Turn the "add-shared-symbol-files"
7980         and "assf" aliases into commands, and deprecate them as well.
7981         * NEWS: Add entry explaining that "dll-symbols" and its two
7982         aliases are now deprecated.
7983
7984 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
7985
7986         * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7987         new-line in debug string.  Remove trailing spaces.
7988
7989 2014-02-19  Stan Shebs  <stan@codesourcery.com>
7990
7991         * darwin-nat.c (darwin_xfer_partial): Fix return type.
7992
7993 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
7994
7995         * NEWS: Add entry for the new feature
7996         * python/py-value.c (valpy_binop): Call value_x_binop for struct
7997         and class values.
7998
7999 2014-02-19  Stan Shebs  <stan@codesourcery.com>
8000
8001         * MAINTAINERS: List Yao Qi as nios2 maintainer.
8002
8003 2014-02-19  Pedro Alves  <palves@redhat.com>
8004
8005         * common/ptid.h (struct ptid): Mention that process_stratum
8006         targets should prefer ptid.lwp.
8007
8008 2014-02-19  Pedro Alves  <palves@redhat.com>
8009
8010         * remote.c (remote_thread_alive, write_ptid, read_ptid)
8011         (read_ptid, remote_newthread_step, remote_threads_extra_info)
8012         (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
8013         (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
8014         store remote thread ids rather than ptid.tid.
8015         (_initialize_remote): Adjust.
8016
8017 2014-02-19  Tom Tromey  <tromey@redhat.com>
8018
8019         * target.c (target_get_unwinder): Rewrite.
8020         (target_get_tailcall_unwinder): Rewrite.
8021         * record-btrace.c (record_btrace_to_get_unwinder): New function.
8022         (record_btrace_to_get_tailcall_unwinder): New function.
8023         (init_record_btrace_ops): Update.
8024         * target.h (struct target_ops) <to_get_unwinder,
8025         to_get_tailcall_unwinder>: Now function pointers.  Use
8026         TARGET_DEFAULT_RETURN.
8027
8028 2014-02-19  Tom Tromey  <tromey@redhat.com>
8029
8030         * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
8031         argument.
8032         (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
8033
8034 2014-02-19  Tom Tromey  <tromey@redhat.com>
8035
8036         * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
8037         directly.
8038         * target-delegates.c: Rebuild.
8039         * target.h (struct target_ops) <to_decr_pc_after_break>: Use
8040         TARGET_DEFAULT_FUNC.
8041         * target.c (default_target_decr_pc_after_break): Rename from
8042         forward_target_decr_pc_after_break.  Simplify.
8043         (target_decr_pc_after_break): Rely on delegation.
8044
8045 2014-02-19  Tom Tromey  <tromey@redhat.com>
8046
8047         * target.c (update_current_target): Do not INHERIT to_doc or
8048         to_magic.  Do not de_fault to_open or to_close.
8049
8050 2014-02-19  Tom Tromey  <tromey@redhat.com>
8051
8052         * gcore.h (objfile_find_memory_regions): Declare.
8053         * gcore.c (objfile_find_memory_regions): No longer static.  Add
8054         "self" argument.
8055         (_initialize_gcore): Don't call exec_set_find_memory_regions.
8056         * exec.c: Include gcore.h.
8057         (exec_set_find_memory_regions): Remove.
8058         (exec_find_memory_regions): Remove.
8059         (exec_do_find_memory_regions): Remove.
8060         (init_exec_ops): Update.
8061         * defs.h (exec_set_find_memory_regions): Remove.
8062
8063 2014-02-19  Tom Tromey  <tromey@redhat.com>
8064
8065         * target-delegates.c: Rebuild.
8066         * target.h (struct target_ops) <to_extra_thread_info,
8067         to_thread_name, to_pid_to_exec_file, to_get_section_table,
8068         to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
8069         not 0, in TARGET_DEFAULT_RETURN.
8070
8071 2014-02-19  Tom Tromey  <tromey@redhat.com>
8072
8073         * target.c (complete_target_initialization): Remove casts.  Use
8074         return_zero_has_execution.
8075         (return_zero): Add "ignore" argument.
8076         (return_zero_has_execution): New function.
8077         (init_dummy_target): Remove casts.  Use
8078         return_zero_has_execution.
8079
8080 2014-02-19  Tom Tromey  <tromey@redhat.com>
8081
8082         * target.c (update_current_target): Update comments.  Do not
8083         INHERIT to_stratum.
8084
8085 2014-02-19  Tom Tromey  <tromey@redhat.com>
8086
8087         * arm-linux-nat.c (arm_linux_read_description): Delegate when
8088         needed.
8089         * corelow.c (core_read_description): Delegate when needed.
8090         * remote.c (remote_read_description): Delegate when needed.
8091         * target-delegates.c: Rebuild.
8092         * target.c (target_read_description): Rewrite.
8093         * target.h (struct target_ops) <to_read_description>: Update
8094         comment.  Use TARGET_DEFAULT_RETURN.
8095
8096 2014-02-19  Tom Tromey  <tromey@redhat.com>
8097
8098         * target-delegates.c: Rebuild.
8099         * target.c (update_current_target): Don't inherit or default
8100         to_can_run.
8101         (find_default_run_target): Check against delegate_can_run.
8102         * target.h (struct target_ops) <to_can_run>: Use
8103         TARGET_DEFAULT_RETURN.
8104
8105 2014-02-19  Tom Tromey  <tromey@redhat.com>
8106
8107         * target-delegates.c: Rebuild.
8108         * target.c (target_disconnect): Unconditionally delegate.
8109         * target.h (struct target_ops) <to_disconnect>: Use
8110         TARGET_DEFAULT_NORETURN.
8111
8112 2014-02-19  Tom Tromey  <tromey@redhat.com>
8113
8114         * record.c (record_stop): Unconditionally delegate.
8115         * target-delegates.c: Rebuild.
8116         * target.c (target_stop_recording): Unconditionally delegate.
8117         * target.h (struct target_ops) <to_stop_recording>: Use
8118         TARGET_DEFAULT_IGNORE.
8119
8120 2014-02-19  Tom Tromey  <tromey@redhat.com>
8121
8122         * target-delegates.c: Rebuild.
8123         * target.c (target_enable_btrace): Unconditionally delegate.
8124         * target.h (struct target_ops) <to_enable_btrace>: Use
8125         TARGET_DEFAULT_NORETURN.
8126
8127 2014-02-19  Tom Tromey  <tromey@redhat.com>
8128
8129         * target-delegates.c: Rebuild.
8130         * target.c (target_read_btrace): Unconditionally delegate.
8131         * target.h (struct target_ops) <to_read_btrace>: Use
8132         TARGET_DEFAULT_NORETURN.
8133
8134 2014-02-19  Tom Tromey  <tromey@redhat.com>
8135
8136         * target-delegates.c: Rebuild.
8137         * target.c (target_teardown_btrace): Unconditionally delegate.
8138         * target.h (struct target_ops) <to_teardown_btrace>: Use
8139         TARGET_DEFAULT_NORETURN.
8140
8141 2014-02-19  Tom Tromey  <tromey@redhat.com>
8142
8143         * target-delegates.c: Rebuild.
8144         * target.c (target_disable_btrace): Unconditionally delegate.
8145         * target.h (struct target_ops) <to_disable_btrace>: Use
8146         TARGET_DEFAULT_NORETURN.
8147
8148 2014-02-19  Tom Tromey  <tromey@redhat.com>
8149
8150         * target-delegates.c: Rebuild.
8151         * target.c (default_search_memory): New function.
8152         (simple_search_memory): Update comment.
8153         (target_search_memory): Unconditionally delegate.
8154         * target.h (struct target_ops) <to_search_memory>: Use
8155         TARGET_DEFAULT_FUNC.
8156
8157 2014-02-19  Tom Tromey  <tromey@redhat.com>
8158
8159         * auxv.c (default_auxv_parse): No longer static.
8160         (target_auxv_parse): Unconditionally delegate.
8161         * auxv.h (default_auxv_parse): Declare.
8162         * target-delegates.c: Rebuild.
8163         * target.c: Include auxv.h.
8164         * target.h (struct target_ops) <to_auxv_parse>: Use
8165         TARGET_DEFAULT_FUNC.
8166
8167 2014-02-19  Tom Tromey  <tromey@redhat.com>
8168
8169         * target-delegates.c: Rebuild.
8170         * target.c (target_memory_map): Unconditionally delegate.
8171         * target.h (struct target_ops) <to_memory_map>: Use
8172         TARGET_DEFAULT_RETURN.
8173
8174 2014-02-19  Tom Tromey  <tromey@redhat.com>
8175
8176         * target-delegates.c: Rebuild.
8177         * target.c (target_thread_alive): Unconditionally delegate.
8178         * target.h (struct target_ops) <to_thread_alive>: Use
8179         TARGET_DEFAULT_RETURN.
8180
8181 2014-02-19  Tom Tromey  <tromey@redhat.com>
8182
8183         * target-delegates.c: Rebuild.
8184         * target.c (target_save_record): Unconditionally delegate.
8185         * target.h (struct target_ops) <to_save_record>: Use
8186         TARGET_DEFAULT_NORETURN.
8187
8188 2014-02-19  Tom Tromey  <tromey@redhat.com>
8189
8190         * target-delegates.c: Rebuild.
8191         * target.c (target_delete_record): Unconditionally delegate.
8192         * target.h (struct target_ops) <to_delete_record>: Use
8193         TARGET_DEFAULT_NORETURN.
8194
8195 2014-02-19  Tom Tromey  <tromey@redhat.com>
8196
8197         * target-delegates.c: Rebuild.
8198         * target.c (target_record_is_replaying): Unconditionally
8199         delegate.
8200         * target.h (struct target_ops) <to_record_is_replaying>: Use
8201         TARGET_DEFAULT_RETURN.
8202
8203 2014-02-19  Tom Tromey  <tromey@redhat.com>
8204
8205         * target-delegates.c: Rebuild.
8206         * target.c (target_goto_record_begin): Unconditionally delegate.
8207         * target.h (struct target_ops) <to_goto_record_begin>: Use
8208         TARGET_DEFAULT_NORETURN.
8209
8210 2014-02-19  Tom Tromey  <tromey@redhat.com>
8211
8212         * target-delegates.c: Rebuild.
8213         * target.c (target_goto_record_end): Unconditionally delegate.
8214         * target.h (struct target_ops) <to_goto_record_end>: Use
8215         TARGET_DEFAULT_NORETURN.
8216
8217 2014-02-19  Tom Tromey  <tromey@redhat.com>
8218
8219         * target-delegates.c: Rebuild.
8220         * target.c (target_goto_record): Unconditionally delegate.
8221         * target.h (struct target_ops) <to_goto_record>: Use
8222         TARGET_DEFAULT_NORETURN.
8223
8224 2014-02-19  Tom Tromey  <tromey@redhat.com>
8225
8226         * target-delegates.c: Rebuild.
8227         * target.c (target_insn_history): Unconditionally delegate.
8228         * target.h (struct target_ops) <to_insn_history>: Use
8229         TARGET_DEFAULT_NORETURN.
8230
8231 2014-02-19  Tom Tromey  <tromey@redhat.com>
8232
8233         * target-delegates.c: Rebuild.
8234         * target.c (target_insn_history_from): Unconditionally delegate.
8235         * target.h (struct target_ops) <to_insn_history_from>: Use
8236         TARGET_DEFAULT_NORETURN.
8237
8238 2014-02-19  Tom Tromey  <tromey@redhat.com>
8239
8240         * target-delegates.c: Rebuild.
8241         * target.c (target_insn_history_range): Unconditionally delegate.
8242         * target.h (struct target_ops) <to_insn_history_range>: Use
8243         TARGET_DEFAULT_NORETURN.
8244
8245 2014-02-19  Tom Tromey  <tromey@redhat.com>
8246
8247         * target-delegates.c: Rebuild.
8248         * target.c (target_call_history): Unconditionally delegate.
8249         * target.h (struct target_ops) <to_call_history>: Use
8250         TARGET_DEFAULT_NORETURN.
8251
8252 2014-02-19  Tom Tromey  <tromey@redhat.com>
8253
8254         * target-delegates.c: Rebuild.
8255         * target.c (target_call_history_from): Unconditionally delegate.
8256         * target.h (struct target_ops) <to_call_history_from>: Use
8257         TARGET_DEFAULT_NORETURN.
8258
8259 2014-02-19  Tom Tromey  <tromey@redhat.com>
8260
8261         * target-delegates.c: Rebuild.
8262         * target.c (target_call_history_range): Unconditionally delegate.
8263         * target.h (struct target_ops) <to_call_history_range>: Use
8264         TARGET_DEFAULT_NORETURN.
8265
8266 2014-02-19  Tom Tromey  <tromey@redhat.com>
8267
8268         * target-delegates.c: Rebuild.
8269         * target.c (target_verify_memory): Unconditionally delegate.
8270         * target.h (struct target_ops) <to_verify_memory>: Use
8271         TARGET_DEFAULT_NORETURN.
8272
8273 2014-02-19  Tom Tromey  <tromey@redhat.com>
8274
8275         * target-delegates.c: Rebuild.
8276         * target.c (target_core_of_thread): Unconditionally delegate.
8277         * target.h (struct target_ops) <to_core_of_thread>: Use
8278         TARGET_DEFAULT_RETURN.
8279
8280 2014-02-19  Tom Tromey  <tromey@redhat.com>
8281
8282         * target-delegates.c: Rebuild.
8283         * target.c (target_flash_done): Unconditionally delegate.
8284         * target.h (struct target_ops) <to_flash_done>: Use
8285         TARGET_DEFAULT_NORETURN.
8286
8287 2014-02-19  Tom Tromey  <tromey@redhat.com>
8288
8289         * target-delegates.c: Rebuild.
8290         * target.c (target_flash_erase): Unconditionally delegate.
8291         * target.h (struct target_ops) <to_flash_erase>: Use
8292         TARGET_DEFAULT_NORETURN.
8293
8294 2014-02-19  Tom Tromey  <tromey@redhat.com>
8295
8296         * target-delegates.c: Rebuild.
8297         * target.c (target_get_section_table): Unconditionally delegate.
8298         * target.h (struct target_ops) <to_get_section_table>: Use
8299         TARGET_DEFAULT_RETURN.
8300
8301 2014-02-19  Tom Tromey  <tromey@redhat.com>
8302
8303         * target-delegates.c: Rebuild.
8304         * target.c (target_pid_to_str): Unconditionally delegate.
8305         (init_dummy_target): Don't initialize to_pid_to_str.
8306         (default_pid_to_str): Rename from dummy_pid_to_str.
8307         * target.h (struct target_ops) <to_pid_to_str>: Use
8308         TARGET_DEFAULT_FUNC.
8309
8310 2014-02-19  Tom Tromey  <tromey@redhat.com>
8311
8312         * target-delegates.c: Rebuild.
8313         * target.c (target_find_new_threads): Unconditionally delegate.
8314         * target.h (struct target_ops) <to_find_new_threads>: Use
8315         TARGET_DEFAULT_RETURN.
8316
8317 2014-02-19  Tom Tromey  <tromey@redhat.com>
8318
8319         * target-delegates.c: Rebuild.
8320         * target.c (target_program_signals): Unconditionally delegate.
8321         * target.h (struct target_ops) <to_program_signals>: Use
8322         TARGET_DEFAULT_IGNORE.
8323
8324 2014-02-19  Tom Tromey  <tromey@redhat.com>
8325
8326         * target-delegates.c: Rebuild.
8327         * target.c (target_pass_signals): Unconditionally delegate.
8328         * target.h (struct target_ops) <to_pass_signals>: Use
8329         TARGET_DEFAULT_IGNORE.
8330
8331 2014-02-19  Tom Tromey  <tromey@redhat.com>
8332
8333         * target-delegates.c: Rebuild.
8334         * target.c (default_mourn_inferior): New function.
8335         (target_mourn_inferior): Unconditionally delegate.
8336         * target.h (struct target_ops) <to_mourn_inferior>: Use
8337         TARGET_DEFAULT_FUNC.
8338
8339 2014-02-19  Tom Tromey  <tromey@redhat.com>
8340
8341         * target-delegates.c: Rebuild.
8342         * target.c (default_follow_fork): New function.
8343         (target_follow_fork): Unconditionally delegate.
8344         * target.h (struct target_ops) <to_follow_fork>: Use
8345         TARGET_DEFAULT_FUNC.
8346
8347 2014-02-19  Tom Tromey  <tromey@redhat.com>
8348
8349         * target-delegates.c: Rebuild.
8350         * target.c (target_kill): Unconditionally delegate.
8351         * target.h (struct target_ops) <to_kill>: Use
8352         TARGET_DEFAULT_NORETURN.
8353
8354 2014-02-19  Tom Tromey  <tromey@redhat.com>
8355
8356         * target-delegates.c: Rebuild.
8357         * target.c (target_masked_watch_num_registers): Unconditionally
8358         delegate.
8359         * target.h (struct target_ops) <to_masked_watch_num_registers>:
8360         Use TARGET_DEFAULT_RETURN.
8361
8362 2014-02-19  Tom Tromey  <tromey@redhat.com>
8363
8364         * target-delegates.c: Rebuild.
8365         * target.c (target_remove_mask_watchpoint): Unconditionally
8366         delegate.
8367         * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8368         TARGET_DEFAULT_RETURN.
8369
8370 2014-02-19  Tom Tromey  <tromey@redhat.com>
8371
8372         * target-delegates.c: Rebuild.
8373         * target.c (target_insert_mask_watchpoint): Unconditionally
8374         delegate.
8375         * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8376         TARGET_DEFAULT_RETURN.
8377
8378 2014-02-19  Tom Tromey  <tromey@redhat.com>
8379
8380         * target-delegates.c: Rebuild.
8381         * target.c (target_ranged_break_num_registers): Unconditionally
8382         delegate.
8383         * target.h (struct target_ops) <to_ranged_break_num_registers>:
8384         Use TARGET_DEFAULT_RETURN.
8385
8386 2014-02-19  Tom Tromey  <tromey@redhat.com>
8387
8388         * target-delegates.c: Rebuild.
8389         * target.c (target_fetch_registers): Unconditionally delegate.
8390         * target.h (struct target_ops) <to_fetch_registers>: Use
8391         TARGET_DEFAULT_NORETURN.
8392
8393 2014-02-19  Tom Tromey  <tromey@redhat.com>
8394
8395         * target-delegates.c: Rebuild.
8396         * target.c (update_current_target): Don't inherit or default
8397         to_stop.
8398         * target.h (struct target_ops) <to_stop>: Use
8399         TARGET_DEFAULT_IGNORE.
8400
8401 2014-02-19  Tom Tromey  <tromey@redhat.com>
8402
8403         * target-delegates.c: Rebuild.
8404         * target.c (update_current_target): Don't inherit or default
8405         to_can_run_breakpoint_commands.
8406         * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8407         Use TARGET_DEFAULT_RETURN.
8408
8409 2014-02-19  Tom Tromey  <tromey@redhat.com>
8410
8411         * target-delegates.c: Rebuild.
8412         * target.c (update_current_target): Don't inherit or default
8413         to_supports_evaluation_of_breakpoint_conditions.
8414         * target.h (struct target_ops)
8415         <to_supports_evaluation_of_breakpoint_conditions>: Use
8416         TARGET_DEFAULT_RETURN.
8417
8418 2014-02-19  Tom Tromey  <tromey@redhat.com>
8419
8420         * target-delegates.c: Rebuild.
8421         * target.c (update_current_target): Don't inherit or default
8422         to_augmented_libraries_svr4_read.
8423         * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8424         Use TARGET_DEFAULT_RETURN.
8425
8426 2014-02-19  Tom Tromey  <tromey@redhat.com>
8427
8428         * target-delegates.c: Rebuild.
8429         * target.c (update_current_target): Don't inherit or default
8430         to_can_use_agent.
8431         * target.h (struct target_ops) <to_can_use_agent>: Use
8432         TARGET_DEFAULT_RETURN.
8433
8434 2014-02-19  Tom Tromey  <tromey@redhat.com>
8435
8436         * target-delegates.c: Rebuild.
8437         * target.c (update_current_target): Don't inherit or default
8438         to_use_agent.
8439         * target.h (struct target_ops) <to_use_agent>: Use
8440         TARGET_DEFAULT_NORETURN.
8441
8442 2014-02-19  Tom Tromey  <tromey@redhat.com>
8443
8444         * target-delegates.c: Rebuild.
8445         * target.c (update_current_target): Don't inherit or default
8446         to_traceframe_info.
8447         (return_null): Remove.
8448         * target.h (struct target_ops) <to_traceframe_info>: Use
8449         TARGET_DEFAULT_RETURN.
8450
8451 2014-02-19  Tom Tromey  <tromey@redhat.com>
8452
8453         * target-delegates.c: Rebuild.
8454         * target.c (update_current_target): Don't inherit or default
8455         to_static_tracepoint_markers_by_strid.
8456         * target.h (struct target_ops)
8457         <to_static_tracepoint_markers_by_strid>: Use
8458         TARGET_DEFAULT_NORETURN.
8459
8460 2014-02-19  Tom Tromey  <tromey@redhat.com>
8461
8462         * target-delegates.c: Rebuild.
8463         * target.c (update_current_target): Don't inherit or default
8464         to_static_tracepoint_marker_at.
8465         * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8466         Use TARGET_DEFAULT_RETURN.
8467
8468 2014-02-19  Tom Tromey  <tromey@redhat.com>
8469
8470         * target-delegates.c: Rebuild.
8471         * target.c (update_current_target): Don't inherit or default
8472         to_set_permissions.
8473         * target.h (struct target_ops) <to_set_permissions>: Use
8474         TARGET_DEFAULT_IGNORE.
8475
8476 2014-02-19  Tom Tromey  <tromey@redhat.com>
8477
8478         * target-delegates.c: Rebuild.
8479         * target.c (update_current_target): Don't inherit or default
8480         to_get_tib_address.
8481         * target.h (struct target_ops) <to_get_tib_address>: Use
8482         TARGET_DEFAULT_NORETURN.
8483
8484 2014-02-19  Tom Tromey  <tromey@redhat.com>
8485
8486         * target-delegates.c: Rebuild.
8487         * target.c (update_current_target): Don't inherit or default
8488         to_set_trace_notes.
8489         * target.h (struct target_ops) <to_set_trace_notes>: Use
8490         TARGET_DEFAULT_RETURN.
8491
8492 2014-02-19  Tom Tromey  <tromey@redhat.com>
8493
8494         * target-delegates.c: Rebuild.
8495         * target.c (update_current_target): Don't initialize
8496         to_set_trace_buffer_size.
8497         * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8498         TARGET_DEFAULT_IGNORE.
8499
8500 2014-02-19  Tom Tromey  <tromey@redhat.com>
8501
8502         * target-delegates.c: Rebuild.
8503         * target.c (update_current_target): Don't inherit or default
8504         to_set_circular_trace_buffer.
8505         * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8506         TARGET_DEFAULT_IGNORE.
8507
8508 2014-02-19  Tom Tromey  <tromey@redhat.com>
8509
8510         * target-delegates.c: Rebuild.
8511         * target.c (update_current_target): Don't inherit or default
8512         to_set_disconnected_tracing.
8513         * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8514         TARGET_DEFAULT_IGNORE.
8515
8516 2014-02-19  Tom Tromey  <tromey@redhat.com>
8517
8518         * target-delegates.c: Rebuild.
8519         * target.c (update_current_target): Don't inherit or default
8520         to_get_min_fast_tracepoint_insn_len.
8521         (return_minus_one): Remove.
8522         * target.h (struct target_ops)
8523         <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8524
8525 2014-02-19  Tom Tromey  <tromey@redhat.com>
8526
8527         * target-delegates.c: Rebuild.
8528         * target.c (update_current_target): Don't inherit or default
8529         to_get_raw_trace_data.
8530         * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8531         TARGET_DEFAULT_NORETURN.
8532
8533 2014-02-19  Tom Tromey  <tromey@redhat.com>
8534
8535         * target-delegates.c: Rebuild.
8536         * target.c (update_current_target): Don't inherit or default
8537         to_upload_trace_state_variables.
8538         * target.h (struct target_ops) <to_upload_trace_state_variables>:
8539         Use TARGET_DEFAULT_RETURN.
8540
8541 2014-02-19  Tom Tromey  <tromey@redhat.com>
8542
8543         * target-delegates.c: Rebuild.
8544         * target.c (update_current_target): Don't inherit or default
8545         to_upload_tracepoints.
8546         * target.h (struct target_ops) <to_upload_tracepoints>: Use
8547         TARGET_DEFAULT_RETURN.
8548
8549 2014-02-19  Tom Tromey  <tromey@redhat.com>
8550
8551         * target-delegates.c: Rebuild.
8552         * target.c (update_current_target): Don't inherit or default
8553         to_save_trace_data.
8554         * target.h (struct target_ops) <to_save_trace_data>: Use
8555         TARGET_DEFAULT_NORETURN.
8556
8557 2014-02-19  Tom Tromey  <tromey@redhat.com>
8558
8559         * target-delegates.c: Rebuild.
8560         * target.c (update_current_target): Don't inherit or default
8561         to_get_trace_state_variable_value.
8562         * target.h (struct target_ops)
8563         <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8564
8565 2014-02-19  Tom Tromey  <tromey@redhat.com>
8566
8567         * target-delegates.c: Rebuild.
8568         * target.c (update_current_target): Don't inherit or default
8569         to_trace_find.
8570         * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8571
8572 2014-02-19  Tom Tromey  <tromey@redhat.com>
8573
8574         * target-delegates.c: Rebuild.
8575         * target.c (update_current_target): Don't inherit or default
8576         to_trace_stop.
8577         * target.h (struct target_ops) <to_trace_stop>: Use
8578         TARGET_DEFAULT_NORETURN.
8579
8580 2014-02-19  Tom Tromey  <tromey@redhat.com>
8581
8582         * target-delegates.c: Rebuild.
8583         * target.c (update_current_target): Don't inherit or default
8584         to_get_tracepoint_status.
8585         * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8586         TARGET_DEFAULT_NORETURN.
8587
8588 2014-02-19  Tom Tromey  <tromey@redhat.com>
8589
8590         * target-delegates.c: Rebuild.
8591         * target.c (update_current_target): Don't inherit or default
8592         to_get_trace_status.
8593         * target.h (struct target_ops) <to_get_trace_status>: Use
8594         TARGET_DEFAULT_RETURN.
8595
8596 2014-02-19  Tom Tromey  <tromey@redhat.com>
8597
8598         * target-delegates.c: Rebuild.
8599         * target.c (update_current_target): Don't inherit or default
8600         to_trace_start.
8601         * target.h (struct target_ops) <to_trace_start>: Use
8602         TARGET_DEFAULT_NORETURN.
8603
8604 2014-02-19  Tom Tromey  <tromey@redhat.com>
8605
8606         * target-delegates.c: Rebuild.
8607         * target.c (update_current_target): Don't inherit or default
8608         to_trace_set_readonly_regions.
8609         * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8610         Use TARGET_DEFAULT_NORETURN.
8611
8612 2014-02-19  Tom Tromey  <tromey@redhat.com>
8613
8614         * target-delegates.c: Rebuild.
8615         * target.c (update_current_target): Don't inherit or default
8616         to_disable_tracepoint.
8617         * target.h (struct target_ops) <to_disable_tracepoint>: Use
8618         TARGET_DEFAULT_NORETURN.
8619
8620 2014-02-19  Tom Tromey  <tromey@redhat.com>
8621
8622         * target-delegates.c: Rebuild.
8623         * target.c (update_current_target): Don't inherit or default
8624         to_enable_tracepoint.
8625         * target.h (struct target_ops) <to_enable_tracepoint>: Use
8626         TARGET_DEFAULT_NORETURN.
8627
8628 2014-02-19  Tom Tromey  <tromey@redhat.com>
8629
8630         * target-delegates.c: Rebuild.
8631         * target.c (update_current_target): Don't inherit or default
8632         to_download_trace_state_variable.
8633         * target.h (struct target_ops) <to_download_trace_state_variable>:
8634         Use TARGET_DEFAULT_NORETURN.
8635
8636 2014-02-19  Tom Tromey  <tromey@redhat.com>
8637
8638         * target-delegates.c: Rebuild.
8639         * target.c (update_current_target): Don't inherit or default
8640         to_can_download_tracepoint.
8641         * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8642         TARGET_DEFAULT_RETURN.
8643
8644 2014-02-19  Tom Tromey  <tromey@redhat.com>
8645
8646         * target-delegates.c: Rebuild.
8647         * target.c (update_current_target): Don't inherit or default
8648         to_download_tracepoint.
8649         * target.h (struct target_ops) <to_download_tracepoint>: Use
8650         TARGET_DEFAULT_NORETURN.
8651
8652 2014-02-19  Tom Tromey  <tromey@redhat.com>
8653
8654         * target-delegates.c: Rebuild.
8655         * target.c (update_current_target): Don't inherit or default
8656         to_trace_init.
8657         * target.h (struct target_ops) <to_trace_init>: Use
8658         TARGET_DEFAULT_RETURN.
8659
8660 2014-02-19  Tom Tromey  <tromey@redhat.com>
8661
8662         * target-delegates.c: Rebuild.
8663         * target.c (update_current_target): Don't inherit or default
8664         to_supports_string_tracing.
8665         * target.h (struct target_ops) <to_supports_string_tracing>: Use
8666         TARGET_DEFAULT_RETURN.
8667
8668 2014-02-19  Tom Tromey  <tromey@redhat.com>
8669
8670         * target-delegates.c: Rebuild.
8671         * target.c (update_current_target): Don't inherit or default
8672         to_supports_enable_disable_tracepoint.
8673         * target.h (struct target_ops)
8674         <to_supports_enable_disable_tracepoint>: Use
8675         TARGET_DEFAULT_RETURN.
8676
8677 2014-02-19  Tom Tromey  <tromey@redhat.com>
8678
8679         * target-delegates.c: Rebuild.
8680         * target.c (update_current_target): Don't inherit or default
8681         to_supports_multi_process.
8682         * target.h (struct target_ops) <to_supports_multi_process>: Use
8683         TARGET_DEFAULT_RETURN.
8684
8685 2014-02-19  Tom Tromey  <tromey@redhat.com>
8686
8687         * target-delegates.c: Rebuild.
8688         * target.c (update_current_target): Don't inherit or default
8689         to_get_ada_task_ptid.
8690         * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8691         TARGET_DEFAULT_FUNC.
8692
8693 2014-02-19  Tom Tromey  <tromey@redhat.com>
8694
8695         * target-delegates.c: Rebuild.
8696         * target.c (update_current_target): Don't inherit or default
8697         to_thread_architecture.
8698         * target.h (struct target_ops) <to_thread_architecture>: Use
8699         TARGET_DEFAULT_FUNC.
8700
8701 2014-02-19  Tom Tromey  <tromey@redhat.com>
8702
8703         * target-delegates.c: Rebuild.
8704         * target.c (update_current_target): Don't inherit or default
8705         to_execution_direction.
8706         * target.h (struct target_ops) <to_execution_direction>: Use
8707         TARGET_DEFAULT_FUNC.
8708
8709 2014-02-19  Tom Tromey  <tromey@redhat.com>
8710
8711         * target-delegates.c: Rebuild.
8712         * target.c (update_current_target): Don't inherit or default
8713         to_can_execute_reverse.
8714         * target.h (struct target_ops) <to_can_execute_reverse>: Use
8715         TARGET_DEFAULT_RETURN.
8716         (target_can_execute_reverse): Unconditionally delegate.
8717
8718 2014-02-19  Tom Tromey  <tromey@redhat.com>
8719
8720         * target-delegates.c: Rebuild.
8721         * target.c (update_current_target): Don't inherit or default
8722         to_goto_bookmark.
8723         (dummy_goto_bookmark): Remove.
8724         (init_dummy_target): Don't inherit or default to_goto_bookmark.
8725         * target.h (struct target_ops) <to_goto_bookmark>: Use
8726         TARGET_DEFAULT_NORETURN.
8727
8728 2014-02-19  Tom Tromey  <tromey@redhat.com>
8729
8730         * target-delegates.c: Rebuild.
8731         * target.c (update_current_target): Don't inherit or default
8732         to_get_bookmark.
8733         (dummy_get_bookmark): Remove.
8734         (init_dummy_target): Don't inherit or default to_get_bookmark.
8735         * target.h (struct target_ops) <to_get_bookmark>: Use
8736         TARGET_DEFAULT_NORETURN
8737
8738 2014-02-19  Tom Tromey  <tromey@redhat.com>
8739
8740         * target-delegates.c: Rebuild.
8741         * target.c (update_current_target): Don't inherit or default
8742         to_make_corefile_notes.
8743         (init_dummy_target): Don't initialize to_make_corefile_notes.
8744         * target.h (struct target_ops) <to_make_corefile_notes>: Use
8745         TARGET_DEFAULT_FUNC.
8746
8747 2014-02-19  Tom Tromey  <tromey@redhat.com>
8748
8749         * target-delegates.c: Rebuild.
8750         * target.c (update_current_target): Don't inherit or default
8751         to_find_memory_regions.
8752         (init_dummy_target): Don't initialize to_find_memory_regions.
8753         * target.h (struct target_ops) <to_find_memory_regions>: Use
8754         TARGET_DEFAULT_FUNC.
8755
8756 2014-02-19  Tom Tromey  <tromey@redhat.com>
8757
8758         * target-delegates.c: Rebuild.
8759         * target.c (update_current_target): Don't inherit or default
8760         to_log_command.
8761         * target.h (struct target_ops) <to_log_command>: Use
8762         TARGET_DEFAULT_IGNORE.
8763         (target_log_command): Unconditionally delegate.
8764
8765 2014-02-19  Tom Tromey  <tromey@redhat.com>
8766
8767         * target-delegates.c: Rebuild.
8768         * target.c (update_current_target): Don't inherit or default
8769         to_pid_to_exec_file.
8770         * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8771         TARGET_DEFAULT_RETURN.
8772
8773 2014-02-19  Tom Tromey  <tromey@redhat.com>
8774
8775         * target-delegates.c: Rebuild.
8776         * target.c (update_current_target): Don't inherit or default
8777         to_thread_name.
8778         (target_thread_name): Unconditionally delegate.
8779         * target.h (struct target_ops) <to_thread_name>: Use
8780         TARGET_DEFAULT_RETURN.
8781
8782 2014-02-19  Tom Tromey  <tromey@redhat.com>
8783
8784         * target-delegates.c: Rebuild.
8785         * target.c (update_current_target): Don't inherit or default
8786         to_extra_thread_info.
8787         * target.h (struct target_ops) <to_extra_thread_info>: Use
8788         TARGET_DEFAULT_RETURN.
8789
8790 2014-02-19  Tom Tromey  <tromey@redhat.com>
8791
8792         * target-delegates.c: Rebuild.
8793         * target.c (update_current_target): Don't inherit or default
8794         to_has_exited.
8795         * target.h (struct target_ops) <to_has_exited>: Use
8796         TARGET_DEFAULT_RETURN..
8797
8798 2014-02-19  Tom Tromey  <tromey@redhat.com>
8799
8800         * target-delegates.c: Rebuild.
8801         * target.c (update_current_target): Don't inherit or default
8802         to_set_syscall_catchpoint.
8803         (return_one): Remove.
8804         * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8805         TARGET_DEFAULT_RETURN.
8806
8807 2014-02-19  Tom Tromey  <tromey@redhat.com>
8808
8809         * target-delegates.c: Rebuild.
8810         * target.c (update_current_target): Don't inherit or default
8811         to_insert_exec_catchpoint.
8812         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8813         TARGET_DEFAULT_RETURN.
8814
8815 2014-01-08  Tom Tromey  <tromey@redhat.com>
8816
8817         * target-delegates.c: Rebuild.
8818         * target.c (update_current_target): Don't inherit or default
8819         to_insert_exec_catchpoint.
8820         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8821         TARGET_DEFAULT_RETURN.
8822
8823 2014-02-19  Tom Tromey  <tromey@redhat.com>
8824
8825         * target-delegates.c: Rebuild.
8826         * target.c (update_current_target): Don't inherit or default
8827         to_remove_vfork_catchpoint.
8828         * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8829         TARGET_DEFAULT_RETURN.
8830
8831 2014-02-19  Tom Tromey  <tromey@redhat.com>
8832
8833         * target-delegates.c: Rebuild.
8834         * target.c (update_current_target): Don't inherit or default
8835         to_insert_vfork_catchpoint.
8836         * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8837         TARGET_DEFAULT_RETURN.
8838
8839 2014-02-19  Tom Tromey  <tromey@redhat.com>
8840
8841         * target-delegates.c: Rebuild.
8842         * target.c (update_current_target): Don't inherit or default
8843         to_remove_fork_catchpoint.
8844         * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8845         TARGET_DEFAULT_RETURN.
8846
8847 2014-02-19  Tom Tromey  <tromey@redhat.com>
8848
8849         * target-delegates.c: Rebuild.
8850         * target.c (update_current_target): Don't inherit or default
8851         to_insert_fork_catchpoint.
8852         * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8853         TARGET_DEFAULT_RETURN.
8854
8855 2014-02-19  Tom Tromey  <tromey@redhat.com>
8856
8857         * target-delegates.c: Rebuild.
8858         * target.c (update_current_target): Don't inherit or default
8859         to_post_startup_inferior.
8860         * target.h (struct target_ops) <to_post_startup_inferior>: Use
8861         TARGET_DEFAULT_IGNORE.
8862
8863 2014-02-19  Tom Tromey  <tromey@redhat.com>
8864
8865         * target-delegates.c: Rebuild.
8866         * target.c (update_current_target): Don't inherit or default
8867         to_load.
8868         * target.h (struct target_ops) <to_load>: Use
8869         TARGET_DEFAULT_NORETURN.
8870
8871 2014-02-19  Tom Tromey  <tromey@redhat.com>
8872
8873         * target-delegates.c: Rebuild.
8874         * target.c (update_current_target): Don't inherit or default
8875         to_terminal_info.
8876         * target.h (struct target_ops) <to_terminal_info>: Use
8877         TARGET_DEFAULT_FUNC.
8878
8879 2014-02-19  Tom Tromey  <tromey@redhat.com>
8880
8881         * target-delegates.c: Rebuild.
8882         * target.c (update_current_target): Don't inherit or default
8883         to_terminal_save_ours.
8884         * target.h (struct target_ops) <to_terminal_save_ours>: Use
8885         TARGET_DEFAULT_IGNORE.
8886
8887 2014-02-19  Tom Tromey  <tromey@redhat.com>
8888
8889         * target-delegates.c: Rebuild.
8890         * target.c (update_current_target): Don't inherit or default
8891         to_terminal_ours.
8892         * target.h (struct target_ops) <to_terminal_ours>: Use
8893         TARGET_DEFAULT_IGNORE.
8894
8895 2014-02-19  Tom Tromey  <tromey@redhat.com>
8896
8897         * target-delegates.c: Rebuild.
8898         * target.c (update_current_target): Don't inherit or default
8899         to_terminal_ours_for_output.
8900         * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8901         TARGET_DEFAULT_IGNORE.
8902
8903 2014-02-19  Tom Tromey  <tromey@redhat.com>
8904
8905         * target-delegates.c: Rebuild.
8906         * target.c (update_current_target): Don't inherit or default
8907         to_terminal_inferior.
8908         * target.h (struct target_ops) <to_terminal_inferior>: Use
8909         TARGET_DEFAULT_IGNORE.
8910
8911 2014-02-19  Tom Tromey  <tromey@redhat.com>
8912
8913         * target-delegates.c: Rebuild.
8914         * target.c (update_current_target): Don't inherit or default
8915         to_terminal_init.
8916         * target.h (struct target_ops) <to_terminal_init>: Use
8917         TARGET_DEFAULT_IGNORE.
8918
8919 2014-02-19  Tom Tromey  <tromey@redhat.com>
8920
8921         * target-delegates.c: Rebuild.
8922         * target.c (update_current_target): Don't inherit or default
8923         to_can_accel_watchpoint_condition.
8924         * target.h (struct target_ops)
8925         <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8926
8927 2014-02-19  Tom Tromey  <tromey@redhat.com>
8928
8929         * target-delegates.c: Rebuild.
8930         * target.c (update_current_target): Don't inherit or default
8931         to_region_ok_for_hw_watchpoint.
8932         * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8933         Use TARGET_DEFAULT_FUNC.
8934
8935 2014-02-19  Tom Tromey  <tromey@redhat.com>
8936
8937         * target-delegates.c: Rebuild.
8938         * target.c (update_current_target): Don't inherit or default
8939         to_watchpoint_addr_within_range.
8940         * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8941         Use TARGET_DEFAULT_FUNC.
8942
8943 2014-02-19  Tom Tromey  <tromey@redhat.com>
8944
8945         * target-delegates.c: Rebuild.
8946         * target.c (update_current_target): Don't inherit or default
8947         to_remove_watchpoint.
8948         * target.h (struct target_ops) <to_remove_watchpoint>: Use
8949         TARGET_DEFAULT_NORETURN.
8950
8951 2014-02-19  Tom Tromey  <tromey@redhat.com>
8952
8953         * target-delegates.c: Rebuild.
8954         * target.c (update_current_target): Don't inherit or default
8955         to_insert_watchpoint.
8956         * target.h (struct target_ops) <to_insert_watchpoint>: Use
8957         TARGET_DEFAULT_RETURN.
8958
8959 2014-02-19  Tom Tromey  <tromey@redhat.com>
8960
8961         * target-delegates.c: Rebuild.
8962         * target.c (update_current_target): Don't inherit or default
8963         to_remove_hw_breakpoint.
8964         * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8965         TARGET_DEFAULT_RETURN.
8966
8967 2014-02-19  Tom Tromey  <tromey@redhat.com>
8968
8969         * target-delegates.c: Rebuild.
8970         * target.c (update_current_target): Don't inherit or default
8971         to_insert_hw_breakpoint.
8972         * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8973         TARGET_DEFAULT_RETURN.
8974
8975 2014-02-19  Tom Tromey  <tromey@redhat.com>
8976
8977         * target-delegates.c: Rebuild.
8978         * target.c (update_current_target): Don't inherit or default
8979         to_can_use_hw_breakpoint.
8980         * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8981         TARGET_DEFAULT_RETURN.
8982
8983 2014-02-19  Tom Tromey  <tromey@redhat.com>
8984
8985         * target-delegates.c: Rebuild.
8986         * target.c (update_current_target): Don't inherit or default
8987         to_files_info.
8988         * target.h (struct target_ops) <to_files_info>: Use
8989         TARGET_DEFAULT_IGNORE.
8990
8991 2014-02-19  Tom Tromey  <tromey@redhat.com>
8992
8993         * target-delegates.c: Rebuild.
8994         * target.c (update_current_target): Don't inherit or default
8995         to_store.
8996         * target.h (struct target_ops) <to_store>: Use
8997         TARGET_DEFAULT_NORETURN.
8998
8999 2014-02-19  Tom Tromey  <tromey@redhat.com>
9000
9001         * target-delegates.c: Rebuild.
9002         * target.c (update_current_target): Don't inherit or default
9003         to_post_attach.
9004         * target.h (struct target_ops) <to_post_attach>: Use
9005         TARGET_DEFAULT_IGNORE.
9006
9007 2014-02-19  Tom Tromey  <tromey@redhat.com>
9008
9009         * target-delegates.c: Rebuild.
9010         * target.c (update_current_target): Don't inherit or default
9011         to_rcmd.
9012         (default_rcmd): New function.
9013         (do_monitor_command): Unconditionally delegate.
9014         * target.h (struct target_ops) <to_rmcd>: Use
9015         TARGET_DEFAULT_FUNC.
9016
9017 2014-02-19  Tom Tromey  <tromey@redhat.com>
9018
9019         * target-delegates.c: Rebuild.
9020         * target.c (init_dummy_target): Don't initialize to_attach.
9021         (target_attach): Unconditionally delegate.
9022         * target.h (struct target_ops) <to_attach>: Use
9023         TARGET_DEFAULT_FUNC.
9024
9025 2014-02-19  Tom Tromey  <tromey@redhat.com>
9026
9027         * target-delegates.c: Rebuild.
9028         * target.c (target_detach): Unconditionally delegate.
9029         (init_dummy_target): Don't initialize to_detach.
9030         * target.h (struct target_ops) <to_detach>: Use
9031         TARGET_DEFAULT_IGNORE.
9032
9033 2014-02-19  Tom Tromey  <tromey@redhat.com>
9034
9035         * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9036         Add argument.
9037         (target_augmented_libraries_svr4_read): Add argument.
9038         * target.c (update_current_target): Update.
9039         * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
9040         argument.
9041
9042 2014-02-19  Tom Tromey  <tromey@redhat.com>
9043
9044         * target.h (struct target_ops) <to_call_history_range>: Add
9045         argument.
9046         * target.c (target_call_history_range): Add argument.
9047         * record-btrace.c (record_btrace_call_history_range): Add 'self'
9048         argument.
9049         (record_btrace_call_history_from): Update.
9050
9051 2014-02-19  Tom Tromey  <tromey@redhat.com>
9052
9053         * target.h (struct target_ops) <to_call_history_from>: Add
9054         argument.
9055         * target.c (target_call_history_from): Add argument.
9056         * record-btrace.c (record_btrace_call_history_from): Add 'self'
9057         argument.
9058
9059 2014-02-19  Tom Tromey  <tromey@redhat.com>
9060
9061         * target.h (struct target_ops) <to_call_history>: Add argument.
9062         * target.c (target_call_history): Add argument.
9063         * record-btrace.c (record_btrace_call_history): Add 'self'
9064         argument.
9065
9066 2014-02-19  Tom Tromey  <tromey@redhat.com>
9067
9068         * target.h (struct target_ops) <to_insn_history_range>: Add
9069         argument.
9070         * target.c (target_insn_history_range): Add argument.
9071         * record-btrace.c (record_btrace_insn_history_range): Add 'self'
9072         argument.
9073         (record_btrace_insn_history_from): Update.
9074
9075 2014-02-19  Tom Tromey  <tromey@redhat.com>
9076
9077         * target.h (struct target_ops) <to_insn_history_from>: Add
9078         argument.
9079         * target.c (target_insn_history_from): Add argument.
9080         * record-btrace.c (record_btrace_insn_history_from): Add 'self'
9081         argument.
9082
9083 2014-02-19  Tom Tromey  <tromey@redhat.com>
9084
9085         * target.h (struct target_ops) <to_insn_history>: Add argument.
9086         * target.c (target_insn_history): Add argument.
9087         * record-btrace.c (record_btrace_insn_history): Add 'self'
9088         argument.
9089
9090 2014-02-19  Tom Tromey  <tromey@redhat.com>
9091
9092         * target.h (struct target_ops) <to_goto_record>: Add argument.
9093         * target.c (target_goto_record): Add argument.
9094         * record-full.c (record_full_goto): Add 'self' argument.
9095         * record-btrace.c (record_btrace_goto): Add 'self' argument.
9096
9097 2014-02-19  Tom Tromey  <tromey@redhat.com>
9098
9099         * target.h (struct target_ops) <to_goto_record_end>: Add argument.
9100         * target.c (target_goto_record_end): Add argument.
9101         * record-full.c (record_full_goto_end): Add 'self' argument.
9102         * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
9103
9104 2014-02-19  Tom Tromey  <tromey@redhat.com>
9105
9106         * target.h (struct target_ops) <to_goto_record_begin>: Add
9107         argument.
9108         * target.c (target_goto_record_begin): Add argument.
9109         * record-full.c (record_full_goto_begin): Add 'self' argument.
9110         * record-btrace.c (record_btrace_goto_begin): Add 'self'
9111         argument.
9112
9113 2014-02-19  Tom Tromey  <tromey@redhat.com>
9114
9115         * target.h (struct target_ops) <to_record_is_replaying>: Add
9116         argument.
9117         * target.c (target_record_is_replaying): Add argument.
9118         * record-full.c (record_full_is_replaying): Add 'self' argument.
9119         * record-btrace.c (record_btrace_is_replaying): Add 'self'
9120         argument.
9121         (record_btrace_xfer_partial, record_btrace_store_registers)
9122         (record_btrace_prepare_to_store, record_btrace_resume)
9123         (record_btrace_wait, record_btrace_decr_pc_after_break)
9124         (record_btrace_find_new_threads, record_btrace_thread_alive):
9125         Update.
9126
9127 2014-02-19  Tom Tromey  <tromey@redhat.com>
9128
9129         * target.h (struct target_ops) <to_delete_record>: Add argument.
9130         * target.c (target_delete_record): Add argument.
9131         * record-full.c (record_full_delete): Add 'self' argument.
9132
9133 2014-02-19  Tom Tromey  <tromey@redhat.com>
9134
9135         * target.h (struct target_ops) <to_save_record>: Add argument.
9136         * target.c (target_save_record): Add argument.
9137         * record-full.c (record_full_save): Add 'self' argument.
9138         (record_full_save): Add 'self' argument.
9139
9140 2014-02-19  Tom Tromey  <tromey@redhat.com>
9141
9142         * target.h (struct target_ops) <to_info_record>: Add argument.
9143         * target.c (target_info_record): Add argument.
9144         * record.c (info_record_command): Add argument.
9145         * record-full.c (record_full_info): Add 'self' argument.
9146         * record-btrace.c (record_btrace_info): Add 'self' argument.
9147
9148 2014-02-19  Tom Tromey  <tromey@redhat.com>
9149
9150         * target.h (struct target_ops) <to_stop_recording>: Add argument.
9151         * target.c (target_stop_recording): Add argument.
9152         * record.c (record_stop): Add argument.
9153         * record-btrace.c (record_btrace_stop_recording): Add 'self'
9154         argument.
9155
9156 2014-02-19  Tom Tromey  <tromey@redhat.com>
9157
9158         * target.h (struct target_ops) <to_read_btrace>: Add argument.
9159         * target.c (struct target_ops) <to_read_btrace>: Add argument.
9160         * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
9161         argument.
9162         * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
9163         (_initialize_amd64_linux_nat): Use it.
9164         * i386-linux-nat.c (i386_linux_read_btrace): New function.
9165         (_initialize_i386_linux_nat): Use it.
9166
9167 2014-02-19  Tom Tromey  <tromey@redhat.com>
9168
9169         * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
9170         * target.c (target_teardown_btrace): Add argument.
9171         * remote.c (remote_teardown_btrace): Add 'self' argument.
9172         * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
9173         argument.
9174         * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
9175         argument.
9176
9177 2014-02-19  Tom Tromey  <tromey@redhat.com>
9178
9179         * target.h (struct target_ops) <to_disable_btrace>: Add argument.
9180         * target.c (target_disable_btrace): Add argument.
9181         * remote.c (remote_disable_btrace): Add 'self' argument.
9182         * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
9183         argument.
9184         * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
9185         argument.
9186
9187 2014-02-19  Tom Tromey  <tromey@redhat.com>
9188
9189         * target.h (struct target_ops) <to_enable_btrace>: Add argument.
9190         * target.c (target_enable_btrace): Add argument.
9191         * remote.c (remote_enable_btrace): Add 'self' argument.
9192         * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
9193         argument.
9194         * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
9195         argument.
9196
9197 2014-02-19  Tom Tromey  <tromey@redhat.com>
9198
9199         * target.h (struct target_ops) <to_can_use_agent>: Add argument.
9200         (target_can_use_agent): Add argument.
9201         * target.c (update_current_target): Update.
9202         * remote.c (remote_can_use_agent): Add 'self' argument.
9203         * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
9204
9205 2014-02-19  Tom Tromey  <tromey@redhat.com>
9206
9207         * target.h (struct target_ops) <to_use_agent>: Add argument.
9208         (target_use_agent): Add argument.
9209         * target.c (update_current_target): Update.
9210         * remote.c (remote_use_agent): Add 'self' argument.
9211         * inf-child.c (inf_child_use_agent): Add 'self' argument.
9212
9213 2014-02-19  Tom Tromey  <tromey@redhat.com>
9214
9215         * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
9216         * target.h (struct target_ops) <to_traceframe_info>: Add argument.
9217         (target_traceframe_info): Add argument.
9218         * target.c (update_current_target): Update.
9219         * remote.c (remote_traceframe_info): Add 'self' argument.
9220         * ctf.c (ctf_traceframe_info): Add 'self' argument.
9221
9222 2014-02-19  Tom Tromey  <tromey@redhat.com>
9223
9224         * target.h (target_static_tracepoint_markers_by_strid): Add
9225         argument.
9226         (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
9227         'self' argument.
9228         * target.c (update_current_target): Update.
9229         * remote.c (struct target_ops)
9230         <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9231         * linux-nat.c (struct target_ops)
9232         <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
9233
9234 2014-02-19  Tom Tromey  <tromey@redhat.com>
9235
9236         * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9237         Add argument.
9238         (target_static_tracepoint_marker_at): Add argument.
9239         * target.c (update_current_target): Update.
9240         * remote.c (remote_static_tracepoint_marker_at): Add 'self'
9241         argument.
9242
9243 2014-02-19  Tom Tromey  <tromey@redhat.com>
9244
9245         * target.h (struct target_ops) <to_set_permissions>: Add argument.
9246         (target_set_permissions): Add argument.
9247         * target.c (update_current_target): Update.
9248         * remote.c (remote_set_permissions): Add 'self' argument.
9249         (remote_start_remote): Update.
9250
9251 2014-02-19  Tom Tromey  <tromey@redhat.com>
9252
9253         * windows-nat.c (windows_get_tib_address): Add 'self' argument.
9254         * target.h (struct target_ops) <to_get_tib_address>: Add argument.
9255         (target_get_tib_address): Add argument.
9256         * target.c (update_current_target): Update.
9257         * remote.c (remote_get_tib_address): Add 'self' argument.
9258
9259 2014-02-19  Tom Tromey  <tromey@redhat.com>
9260
9261         * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
9262         (target_set_trace_notes): Add argument.
9263         * target.c (update_current_target): Update.
9264         * remote.c (remote_set_trace_notes): Add 'self' argument.
9265
9266 2014-02-19  Tom Tromey  <tromey@redhat.com>
9267
9268         * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
9269         argument.
9270         (target_set_trace_buffer_size): Add argument.
9271         * target.c (update_current_target): Update.
9272         * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
9273
9274 2014-02-19  Tom Tromey  <tromey@redhat.com>
9275
9276         * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
9277         argument.
9278         (target_set_circular_trace_buffer): Add argument.
9279         * target.c (update_current_target): Update.
9280         * remote.c (remote_set_circular_trace_buffer): Add 'self'
9281         argument.
9282
9283 2014-02-19  Tom Tromey  <tromey@redhat.com>
9284
9285         * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
9286         argument.
9287         (target_set_disconnected_tracing): Add argument.
9288         * target.c (update_current_target): Update.
9289         * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
9290
9291 2014-02-19  Tom Tromey  <tromey@redhat.com>
9292
9293         * target.h (struct target_ops)
9294         <to_get_min_fast_tracepoint_insn_len>: Add argument.
9295         (target_get_min_fast_tracepoint_insn_len): Add argument.
9296         * target.c (update_current_target): Update.
9297         * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
9298         argument.
9299
9300 2014-02-19  Tom Tromey  <tromey@redhat.com>
9301
9302         * target.h (struct target_ops) <to_get_raw_trace_data>: Add
9303         argument.
9304         (target_get_raw_trace_data): Add argument.
9305         * target.c (update_current_target): Update.
9306         * remote.c (remote_get_raw_trace_data): Add 'self' argument.
9307
9308 2014-02-19  Tom Tromey  <tromey@redhat.com>
9309
9310         * target.h (struct target_ops) <to_upload_trace_state_variables>:
9311         Add argument.
9312         (target_upload_trace_state_variables): Add argument.
9313         * target.c (update_current_target): Update.
9314         * remote.c (remote_upload_trace_state_variables): Add 'self'
9315         argument.
9316         (remote_start_remote): Update.
9317
9318 2014-02-19  Tom Tromey  <tromey@redhat.com>
9319
9320         * target.h (struct target_ops) <to_upload_tracepoints>: Add
9321         argument.
9322         (target_upload_tracepoints): Add argument.
9323         * target.c (update_current_target): Update.
9324         * remote.c (remote_upload_tracepoints): Add 'self' argument.
9325         (remote_start_remote): Update.
9326
9327 2014-02-19  Tom Tromey  <tromey@redhat.com>
9328
9329         * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9330         (target_save_trace_data): Add argument.
9331         * target.c (update_current_target): Update.
9332         * remote.c (remote_save_trace_data): Add 'self' argument.
9333
9334 2014-02-19  Tom Tromey  <tromey@redhat.com>
9335
9336         * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9337         argument.
9338         * target.h (struct target_ops)
9339         <to_get_trace_state_variable_value>: Add argument.
9340         (target_get_trace_state_variable_value): Add argument.
9341         * target.c (update_current_target): Update.
9342         * remote.c (remote_get_trace_state_variable_value): Add 'self'
9343         argument.
9344         * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9345
9346 2014-02-19  Tom Tromey  <tromey@redhat.com>
9347
9348         * tracepoint.c (tfile_trace_find): Add 'self' argument.
9349         * target.h (struct target_ops) <to_trace_find>: Add argument.
9350         (target_trace_find): Add argument.
9351         * target.c (update_current_target): Update.
9352         * remote.c (remote_trace_find): Add 'self' argument.
9353         * ctf.c (ctf_trace_find): Add 'self' argument.
9354
9355 2014-02-19  Tom Tromey  <tromey@redhat.com>
9356
9357         * target.h (struct target_ops) <to_trace_stop>: Add argument.
9358         (target_trace_stop): Add argument.
9359         * target.c (update_current_target): Update.
9360         * remote.c (remote_trace_stop): Add 'self' argument.
9361
9362 2014-02-19  Tom Tromey  <tromey@redhat.com>
9363
9364         * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9365         * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9366         argument.
9367         (target_get_tracepoint_status): Add argument.
9368         * target.c (update_current_target): Update.
9369         * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9370
9371 2014-02-19  Tom Tromey  <tromey@redhat.com>
9372
9373         * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9374         * target.h (struct target_ops) <to_get_trace_status>: Add
9375         argument.
9376         (target_get_trace_status): Add argument.
9377         * target.c (update_current_target): Update.
9378         * remote.c (remote_get_trace_status): Add 'self' argument.
9379         (remote_start_remote, remote_can_download_tracepoint): Update.
9380         * ctf.c (ctf_get_trace_status): Add 'self' argument.
9381
9382 2014-02-19  Tom Tromey  <tromey@redhat.com>
9383
9384         * target.h (struct target_ops) <to_trace_start>: Add argument.
9385         (target_trace_start): Add argument.
9386         * target.c (update_current_target): Update.
9387         * remote.c (remote_trace_start): Add 'self' argument.
9388
9389 2014-02-19  Tom Tromey  <tromey@redhat.com>
9390
9391         * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9392         Add argument.
9393         (target_trace_set_readonly_regions): Add argument.
9394         * target.c (update_current_target): Update.
9395         * remote.c (remote_trace_set_readonly_regions): Add 'self'
9396         argument.
9397
9398 2014-02-19  Tom Tromey  <tromey@redhat.com>
9399
9400         * target.h (struct target_ops) <to_disable_tracepoint>: Add
9401         argument.
9402         (target_disable_tracepoint): Add argument.
9403         * target.c (update_current_target): Update.
9404         * remote.c (remote_disable_tracepoint): Add 'self' argument.
9405
9406 2014-02-19  Tom Tromey  <tromey@redhat.com>
9407
9408         * target.h (struct target_ops) <to_enable_tracepoint>: Add
9409         argument.
9410         (target_enable_tracepoint): Add argument.
9411         * target.c (update_current_target): Update.
9412         * remote.c (remote_enable_tracepoint): Add 'self' argument.
9413
9414 2014-02-19  Tom Tromey  <tromey@redhat.com>
9415
9416         * target.h (struct target_ops) <to_download_trace_state_variable>:
9417         Add argument.
9418         (target_download_trace_state_variable): Add argument.
9419         * target.c (update_current_target): Update.
9420         * remote.c (remote_download_trace_state_variable): Add 'self'
9421         argument.
9422
9423 2014-02-19  Tom Tromey  <tromey@redhat.com>
9424
9425         * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9426         argument.
9427         (target_can_download_tracepoint): Add argument.
9428         * target.c (update_current_target): Update.
9429         * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9430
9431 2014-02-19  Tom Tromey  <tromey@redhat.com>
9432
9433         * target.h (struct target_ops) <to_download_tracepoint>: Add
9434         argument.
9435         (target_download_tracepoint): Add argument.
9436         * target.c (update_current_target): Update.
9437         * remote.c (remote_download_tracepoint): Add 'self' argument.
9438
9439 2014-02-19  Tom Tromey  <tromey@redhat.com>
9440
9441         * target.h (struct target_ops) <to_trace_init>: Add argument.
9442         (target_trace_init): Add argument.
9443         * target.c (update_current_target): Update.
9444         * remote.c (remote_trace_init): Add 'self' argument.
9445
9446 2014-02-19  Tom Tromey  <tromey@redhat.com>
9447
9448         * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9449         * target.c (target_fileio_readlink): Add argument.
9450         * remote.c (remote_hostio_readlink): Add 'self' argument.
9451         * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9452
9453 2014-02-19  Tom Tromey  <tromey@redhat.com>
9454
9455         * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9456         * target.c (target_fileio_unlink): Add argument.
9457         * remote.c (remote_hostio_unlink): Add 'self' argument.
9458         (remote_file_delete): Update.
9459         * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9460
9461 2014-02-19  Tom Tromey  <tromey@redhat.com>
9462
9463         * target.h (struct target_ops) <to_fileio_close>: Add argument.
9464         * target.c (target_fileio_close): Add argument.
9465         * remote.c (remote_hostio_close): Add 'self' argument.
9466         (remote_hostio_close_cleanup): Update.
9467         (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9468         Update.
9469         * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9470
9471 2014-02-19  Tom Tromey  <tromey@redhat.com>
9472
9473         * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9474         * target.c (target_fileio_pread): Add argument.
9475         * remote.c (remote_hostio_pread): Add 'self' argument.
9476         (remote_bfd_iovec_pread, remote_file_get): Update.
9477         * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9478
9479 2014-02-19  Tom Tromey  <tromey@redhat.com>
9480
9481         * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9482         * target.c (target_fileio_pwrite): Add argument.
9483         * remote.c (remote_hostio_pwrite): Add 'self' argument.
9484         (remote_file_put): Update.
9485         * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9486
9487 2014-02-19  Tom Tromey  <tromey@redhat.com>
9488
9489         * target.h (struct target_ops) <to_fileio_open>: Add argument.
9490         * target.c (target_fileio_open): Add argument.
9491         * remote.c (remote_hostio_open): Add 'self' argument.
9492         (remote_bfd_iovec_open): Add 'self' argument.
9493         (remote_file_put): Add 'self' argument.
9494         (remote_file_get): Add 'self' argument.
9495         * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9496
9497 2014-02-19  Tom Tromey  <tromey@redhat.com>
9498
9499         * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9500         Add argument.
9501         (target_can_run_breakpoint_commands): Add argument.
9502         * target.c (update_current_target): Update.
9503         * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9504         argument.
9505         (remote_insert_breakpoint): Add 'self' argument.
9506         (remote_insert_hw_breakpoint): Add 'self' argument.
9507         (remote_can_run_breakpoint_commands): Add 'self' argument.
9508
9509 2014-02-19  Tom Tromey  <tromey@redhat.com>
9510
9511         * target.h (struct target_ops)
9512         <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9513         (target_supports_evaluation_of_breakpoint_conditions): Add
9514         argument.
9515         * target.c (update_current_target): Update.
9516         * remote.c (remote_supports_cond_breakpoints): Add 'self'
9517         argument.
9518         (remote_insert_breakpoint): Add 'self' argument.
9519         (remote_insert_hw_breakpoint): Add 'self' argument.
9520         (remote_supports_cond_breakpoints): Add 'self' argument.
9521
9522 2014-02-19  Tom Tromey  <tromey@redhat.com>
9523
9524         * target.h (struct target_ops) <to_supports_string_tracing>: Add
9525         argument.
9526         (target_supports_string_tracing): Add argument.
9527         * target.c (update_current_target): Update.
9528         * remote.c (remote_supports_string_tracing): Add 'self' argument.
9529
9530 2014-02-19  Tom Tromey  <tromey@redhat.com>
9531
9532         * target.h (struct target_ops)
9533         <to_supports_disable_randomization>: Add argument.
9534         * target.c (find_default_supports_disable_randomization): Add
9535         argument.
9536         (target_supports_disable_randomization): Add argument.
9537         (find_default_supports_disable_randomization): Add 'self'
9538         argument.
9539         * remote.c (extended_remote_supports_disable_randomization): Add
9540         'self' argument.
9541         (remote_supports_disable_randomization): Add 'self' argument.
9542         (extended_remote_create_inferior): Update.
9543         * linux-nat.c (linux_nat_supports_disable_randomization): Add
9544         'self' argument.
9545
9546 2014-02-19  Tom Tromey  <tromey@redhat.com>
9547
9548         * target.h (struct target_ops)
9549         <to_supports_enable_disable_tracepoint>: Add argument.
9550         (target_supports_enable_disable_tracepoint): Add argument.
9551         * target.c (update_current_target): Update.
9552         * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9553         argument.
9554
9555 2014-02-19  Tom Tromey  <tromey@redhat.com>
9556
9557         * target.h (struct target_ops) <to_supports_multi_process>: Add
9558         argument.
9559         (target_supports_multi_process): Add argument.
9560         * target.c (update_current_target): Update.
9561         * remote.c (remote_supports_multi_process): Add 'self' argument.
9562         * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9563         argument.
9564         * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9565         argument.
9566
9567 2014-02-19  Tom Tromey  <tromey@redhat.com>
9568
9569         * target.h (struct target_ops) <to_execution_direction>: Add
9570         argument.
9571         (target_execution_direction): Add argument.
9572         * target.c (default_execution_direction): Add 'self' argument.
9573         * record-full.c (record_full_execution_direction): Add 'self'
9574         argument.
9575
9576 2014-02-19  Tom Tromey  <tromey@redhat.com>
9577
9578         * target.h (struct target_ops) <to_can_execute_reverse>: Add
9579         argument.
9580         (target_can_execute_reverse): Add argument.
9581         * remote.c (remote_can_execute_reverse): Add 'self' argument.
9582         * record-full.c (record_full_can_execute_reverse): Add 'self'
9583         argument.
9584         * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9585         argument.
9586
9587 2014-02-19  Tom Tromey  <tromey@redhat.com>
9588
9589         * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9590         * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9591         argument.
9592         (target_get_ada_task_ptid): Add argument.
9593         * target.c (update_current_target): Update.
9594         (default_get_ada_task_ptid): Add 'self' argument.
9595         * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9596         * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9597         * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9598         argument.
9599         * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9600         argument.
9601         * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9602         argument.
9603         * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9604         argument.
9605         * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9606         * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9607         argument.
9608
9609 2014-02-19  Tom Tromey  <tromey@redhat.com>
9610
9611         * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9612         (target_goto_bookmark): Add argument.
9613         * target.c (dummy_goto_bookmark): Add 'self' argument.
9614         * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9615
9616 2014-02-19  Tom Tromey  <tromey@redhat.com>
9617
9618         * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9619         (target_get_bookmark): Add argument.
9620         * target.c (dummy_get_bookmark): Add 'self' argument.
9621         * record-full.c (record_full_get_bookmark): Add 'self' argument.
9622
9623 2014-02-19  Tom Tromey  <tromey@redhat.com>
9624
9625         * target.h (struct target_ops) <to_make_corefile_notes>: Add
9626         argument.
9627         (target_make_corefile_notes): Add argument.
9628         * target.c (dummy_make_corefile_notes): Add 'self' argument.
9629         * procfs.c (procfs_make_note_section): Add 'self' argument.
9630         (procfs_make_note_section): Add 'self' argument.
9631         (procfs_make_note_section): Add 'self' argument.
9632         * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9633         argument.
9634         * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9635         * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9636         * exec.c (exec_make_note_section): Add 'self' argument.
9637         (exec_make_note_section): Add 'self' argument.
9638
9639 2014-02-19  Tom Tromey  <tromey@redhat.com>
9640
9641         * target.h (struct target_ops) <to_find_memory_regions>: Add
9642         argument.
9643         (target_find_memory_regions): Add argument.
9644         * target.c (dummy_find_memory_regions): Add 'self' argument.
9645         * procfs.c (proc_find_memory_regions): Add 'self' argument.
9646         * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9647         * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9648         * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9649         * exec. (exec_do_find_memory_regions): New global.
9650         (exec_set_find_memory_regions): Rewrite.
9651         (exec_find_memory_regions): New function.
9652         (init_exec_ops): Use exec_find_memory_regions.
9653
9654 2014-02-19  Tom Tromey  <tromey@redhat.com>
9655
9656         * target.h (struct target_ops) <to_supports_non_stop>: Add
9657         argument.
9658         * target.c (find_default_supports_non_stop): Add argument.
9659         (target_supports_non_stop): Add argument.
9660         (find_default_supports_non_stop): Add 'self' argument.
9661         * remote.c (remote_supports_non_stop): Add 'self' argument.
9662         * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9663
9664 2014-02-19  Tom Tromey  <tromey@redhat.com>
9665
9666         * target.h (struct target_ops) <to_log_command>: Add argument.
9667         (target_log_command): Add argument.
9668         * serial.h (serial_log_command): Add 'self' argument.
9669         * serial.c (serial_log_command): Add 'self' argument.
9670
9671 2014-02-19  Tom Tromey  <tromey@redhat.com>
9672
9673         * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9674         * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9675         argument.
9676         (target_pid_to_exec_file): Add argument.
9677         * target.c (debug_to_pid_to_exec_file): Add argument.
9678         (update_current_target): Update.
9679         * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9680         * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9681         * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9682         (linux_handle_extended_wait): Update.
9683         * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9684         * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9685         * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9686         * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9687
9688 2014-02-19  Tom Tromey  <tromey@redhat.com>
9689
9690         * target.h (struct target_ops) <to_rcmd>: Add argument.
9691         (target_rcmd): Add argument.
9692         * target.c (debug_to_rcmd): Add argument.
9693         (update_current_target, do_monitor_command): Update.
9694         * remote.c (remote_rcmd): Add 'self' argument.
9695         * monitor.c (monitor_rcmd): Add 'self' argument.
9696
9697 2014-02-19  Tom Tromey  <tromey@redhat.com>
9698
9699         * windows-nat.c (windows_stop): Add 'self' argument.
9700         * target.h (struct target_ops) <to_stop>: Add argument.
9701         * target.c (target_stop): Add argument.
9702         (debug_to_stop): Add argument.
9703         (update_current_target): Update.
9704         * remote.c (remote_stop): Add 'self' argument.
9705         * remote-sim.c (gdbsim_stop): Add 'self' argument.
9706         (gdbsim_cntrl_c): Update.
9707         * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9708         * procfs.c (procfs_stop): Add 'self' argument.
9709         * nto-procfs.c (procfs_stop): Add 'self' argument.
9710         * monitor.c (monitor_stop): Add 'self' argument.
9711         (monitor_open): Update.
9712         * linux-nat.c (linux_nat_stop): Add argument.
9713         * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9714         * gnu-nat.c (gnu_stop): Add 'self' argument.
9715         * darwin-nat.c (darwin_stop): Add 'self' argument.
9716
9717 2014-02-19  Tom Tromey  <tromey@redhat.com>
9718
9719         * target.h (struct target_ops) <to_thread_name>: Add argument.
9720         * target.c (target_thread_name): Add argument.
9721         (update_current_target): Update.
9722         * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9723
9724 2014-02-19  Tom Tromey  <tromey@redhat.com>
9725
9726         * target.h (struct target_ops) <to_extra_thread_info>: Add
9727         argument.
9728         (target_extra_thread_info): Add argument.
9729         * target.c (update_current_target): Update.
9730         * remote.c (remote_threads_extra_info): Add 'self' argument.
9731         * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9732         argument.
9733         * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9734         * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9735         * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9736         argument.
9737         * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9738         argument.
9739         * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9740         argument.
9741         * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9742         argument.
9743
9744 2014-02-19  Tom Tromey  <tromey@redhat.com>
9745
9746         * target.h (struct target_ops) <to_program_signals>: Add argument.
9747         * target.c (target_program_signals): Add argument.
9748         * remote.c (remote_program_signals): Add 'self' argument.
9749
9750 2014-02-19  Tom Tromey  <tromey@redhat.com>
9751
9752         * target.h (struct target_ops) <to_pass_signals>: Add argument.
9753         * target.c (target_pass_signals): Add argument.
9754         * remote.c (remote_pass_signals): Add 'self' argument.
9755         (remote_start_remote): Update.
9756         * procfs.c (procfs_pass_signals): Add 'self' argument.
9757         * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9758         * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9759         (linux_nat_create_inferior, linux_nat_attach): Update.
9760
9761 2014-02-19  Tom Tromey  <tromey@redhat.com>
9762
9763         * windows-nat.c (windows_can_run): Add 'self' argument.
9764         * target.h (struct target_ops) <to_can_run>: Add argument.
9765         (target_can_run): Add argument.
9766         * target.c (debug_to_can_run): Add argument.
9767         (update_current_target): Update.
9768         * nto-procfs.c (procfs_can_run): Add 'self' argument.
9769         * inf-child.c (inf_child_can_run): Add 'self' argument.
9770         * go32-nat.c (go32_can_run): Add 'self' argument.
9771
9772 2014-02-19  Tom Tromey  <tromey@redhat.com>
9773
9774         * target.h (struct target_ops) <to_has_exited>: Add argument.
9775         (target_has_exited): Add argument.
9776         * target.c (debug_to_has_exited): Add argument.
9777         (update_current_target): Update.
9778
9779 2014-02-19  Tom Tromey  <tromey@redhat.com>
9780
9781         * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9782         argument.
9783         (target_set_syscall_catchpoint): Add argument.
9784         * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9785         argument.
9786         * target.c (update_current_target): Update.
9787
9788 2014-02-19  Tom Tromey  <tromey@redhat.com>
9789
9790         * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9791         argument.
9792         (target_remove_exec_catchpoint): Add argument.
9793         * target.c (debug_to_remove_exec_catchpoint): Add argument.
9794         (update_current_target): Update.
9795         * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9796         argument.
9797
9798 2014-02-19  Tom Tromey  <tromey@redhat.com>
9799
9800         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9801         argument.
9802         (target_insert_exec_catchpoint): Add argument.
9803         * target.c (debug_to_insert_exec_catchpoint): Add argument.
9804         (update_current_target): Update.
9805         * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9806         argument.
9807
9808 2014-02-19  Tom Tromey  <tromey@redhat.com>
9809
9810         * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9811         argument.
9812         (target_remove_vfork_catchpoint): Add argument.
9813         * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9814         (update_current_target): Update.
9815         * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9816         argument.
9817
9818 2014-02-19  Tom Tromey  <tromey@redhat.com>
9819
9820         * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9821         argument.
9822         (target_insert_vfork_catchpoint): Add argument.
9823         * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9824         (update_current_target): Update.
9825         * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9826         argument.
9827
9828 2014-02-19  Tom Tromey  <tromey@redhat.com>
9829
9830         * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9831         argument.
9832         (target_remove_fork_catchpoint): Add argument.
9833         * target.c (debug_to_remove_fork_catchpoint): Add argument.
9834         (update_current_target): Update.
9835         * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9836         argument.
9837
9838 2014-02-19  Tom Tromey  <tromey@redhat.com>
9839
9840         * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9841         argument.
9842         (target_insert_fork_catchpoint): Add argument.
9843         * target.c (debug_to_insert_fork_catchpoint): Add argument.
9844         (update_current_target): Update.
9845         * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9846         argument.
9847
9848 2014-02-19  Tom Tromey  <tromey@redhat.com>
9849
9850         * target.h (struct target_ops) <to_post_startup_inferior>: Add
9851         argument.
9852         (target_post_startup_inferior): Add argument.
9853         * target.c (debug_to_post_startup_inferior): Add argument.
9854         (update_current_target): Update.
9855         * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9856         argument.
9857         * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9858         argument.
9859         * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9860         argument.
9861         * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9862         argument.
9863         * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9864         'self' argument.
9865         (super_post_startup_inferior): Likewise.
9866         * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9867         'self' argument.
9868         (super_post_startup_inferior): Likewise.
9869         * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9870         Add 'self' argument.
9871         (super_post_startup_inferior): Likewise.
9872
9873 2014-02-19  Tom Tromey  <tromey@redhat.com>
9874
9875         * target.h (struct target_ops) <to_load>: Add argument.
9876         * target.c (target_load): Add argument.
9877         (debug_to_load): Add argument.
9878         (update_current_target): Update.
9879         * remote.c (remote_load): Add 'self' argument.
9880         * remote-sim.c (gdbsim_load): Add 'self' argument.
9881         * remote-mips.c (mips_load): Add 'self' argument.
9882         * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9883         * monitor.c (monitor_load): Add 'self' argument.
9884         * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9885
9886 2014-02-19  Tom Tromey  <tromey@redhat.com>
9887
9888         * target.h (struct target_ops) <to_terminal_info>: Add argument.
9889         (target_terminal_info): Add argument.
9890         * target.c (debug_to_terminal_info): Add argument.
9891         (default_terminal_info): Likewise.
9892         * inflow.c (child_terminal_info): Add 'self' argument.
9893         * inferior.h (child_terminal_info): Add 'self' argument.
9894         * go32-nat.c (go32_terminal_info): Add 'self' argument.
9895
9896 2014-02-19  Tom Tromey  <tromey@redhat.com>
9897
9898         * target.h (struct target_ops) <to_terminal_save_ours>: Add
9899         argument.
9900         (target_terminal_save_ours): Add argument.
9901         * target.c (debug_to_terminal_save_ours): Add argument.
9902         (update_current_target): Update.
9903         * inflow.c (terminal_save_ours): Add 'self' argument.
9904         * inferior.h (terminal_save_ours): Add 'self' argument.
9905
9906 2014-02-19  Tom Tromey  <tromey@redhat.com>
9907
9908         * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9909         (target_terminal_ours): Add argument.
9910         * target.c (debug_to_terminal_ours): Add argument.
9911         (update_current_target): Update.
9912         * remote.c (remote_terminal_ours): Add 'self' argument.
9913         (remote_close): Update.
9914         * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9915         * inflow.c (terminal_ours): Add 'self' argument.
9916         * inferior.h (terminal_ours): Add 'self' argument.
9917         * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9918
9919 2014-02-19  Pedro Alves  <palves@redhat.com>
9920             Tom Tromey  <tromey@redhat.com>
9921
9922         * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9923         argument.
9924         (target_terminal_ours_for_output): Add argument.
9925         * target.c (debug_to_terminal_ours_for_output): Add argument.
9926         (update_current_target): Update.
9927         * inflow.c (terminal_ours_for_output): Add 'self' argument.
9928         * inferior.h (terminal_ours_for_output): Add 'self' argument.
9929         * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9930
9931 2014-02-19  Tom Tromey  <tromey@redhat.com>
9932
9933         * target.h (struct target_ops) <to_terminal_inferior>: Add
9934         argument.
9935         * target.c (target_terminal_inferior): Add argument.
9936         (update_current_target): Update.
9937         * remote.c (remote_terminal_inferior): Add 'self' argument.
9938         * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9939         * inflow.c (terminal_inferior): Add 'self' argument.
9940         * inferior.h (terminal_inferior): Add 'self' argument.
9941         * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9942         (go32_terminal_inferior): Add 'self' argument.
9943
9944 2014-02-19  Tom Tromey  <tromey@redhat.com>
9945
9946         * target.h (struct target_ops) <to_terminal_init>: Add argument.
9947         (target_terminal_init): Add argument.
9948         * target.c (debug_to_terminal_init): Add argument.
9949         (update_current_target): Update.
9950         * inflow.c (terminal_init_inferior): Add 'self' argument.
9951         * inferior.h (terminal_init_inferior): Add 'self' argument.
9952         * go32-nat.c (go32_terminal_init): Add 'self' argument.
9953         * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9954
9955 2014-02-19  Tom Tromey  <tromey@redhat.com>
9956
9957         * target.h (struct target_ops)
9958         <to_can_accel_watchpoint_condition>: Add argument.
9959         (target_can_accel_watchpoint_condition): Add argument.
9960         * target.c (debug_to_can_accel_watchpoint_condition): Add
9961         argument.
9962         (update_current_target): Update.
9963         * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9964         'self' argument.
9965
9966 2014-02-19  Tom Tromey  <tromey@redhat.com>
9967
9968         * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9969         Add argument.
9970         (target_region_ok_for_hw_watchpoint): Add argument.
9971         * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9972         (default_region_ok_for_hw_watchpoint): Add argument.
9973         * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9974         * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9975         argument.
9976         * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9977         argument.
9978         * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9979         argument.
9980         * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9981         'self' argument.
9982         * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9983         'self' argument.
9984         * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9985         'self' argument.
9986         * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9987         * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9988         'self' argument.
9989         * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9990         Add 'self' argument.
9991
9992 2014-02-19  Tom Tromey  <tromey@redhat.com>
9993
9994         * target.h (struct target_ops) <to_insert_watchpoint>: Add
9995         argument.
9996         (target_insert_watchpoint): Add argument.
9997         * target.c (debug_to_insert_watchpoint): Add argument.
9998         (update_current_target): Update.
9999         * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
10000         * remote.c (remote_insert_watchpoint): Add 'self' argument.
10001         * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
10002         * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
10003         * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
10004         * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
10005         argument.
10006         * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
10007         (procfs_insert_hw_watchpoint): Add 'self' argument.
10008         * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
10009         argument.
10010         * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
10011         argument.
10012         * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
10013         argument.
10014         * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
10015         * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
10016         argument.
10017         * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
10018         'self' argument.
10019
10020 2014-02-19  Tom Tromey  <tromey@redhat.com>
10021
10022         * target.h (struct target_ops) <to_remove_watchpoint>: Add
10023         argument.
10024         (target_remove_watchpoint): Add argument.
10025         * target.c (debug_to_remove_watchpoint): Add argument.
10026         (update_current_target): Update.
10027         * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
10028         * remote.c (remote_remove_watchpoint): Add 'self' argument.
10029         * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
10030         * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
10031         * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
10032         * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
10033         argument.
10034         * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
10035         * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
10036         argument.
10037         * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
10038         argument.
10039         * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
10040         argument.
10041         * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
10042         * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
10043         argument.
10044         * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
10045         'self' argument.
10046
10047 2014-02-19  Tom Tromey  <tromey@redhat.com>
10048
10049         * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
10050         argument.
10051         (target_remove_hw_breakpoint): Add argument.
10052         * target.c (debug_to_remove_hw_breakpoint): Add argument.
10053         (update_current_target): Update.
10054         * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
10055         * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
10056         argument.
10057         * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
10058         * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
10059         argument.
10060         * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
10061         'self' argument.
10062
10063 2014-02-19  Tom Tromey  <tromey@redhat.com>
10064
10065         * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
10066         argument.
10067         (target_insert_hw_breakpoint): Add argument.
10068         * target.c (debug_to_insert_hw_breakpoint): Add argument.
10069         (update_current_target): Update.
10070         * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
10071         * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
10072         argument.
10073         * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
10074         * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
10075         * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
10076         argument.
10077         * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
10078         'self' argument.
10079
10080 2014-02-19  Tom Tromey  <tromey@redhat.com>
10081
10082         * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
10083         argument.
10084         (target_can_use_hardware_watchpoint): Add argument.
10085         * target.c (debug_to_can_use_hw_breakpoint): Add argument.
10086         (update_current_target): Update.
10087         * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
10088         argument.
10089         * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
10090         argument.
10091         * remote.c (remote_check_watch_resources): Add 'self' argument.
10092         * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
10093         * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
10094         argument.
10095         * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
10096         * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
10097         argument.
10098         * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
10099         argument.
10100         * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
10101         argument.
10102         * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
10103         argument.
10104         * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
10105         argument.
10106         * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
10107         argument.
10108         * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
10109         * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
10110         argument.
10111         * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
10112         'self' argument.
10113
10114 2014-02-19  Tom Tromey  <tromey@redhat.com>
10115
10116         * target.h (struct target_ops) <to_post_attach>: Add argument.
10117         (target_post_attach): Add argument.
10118         * target.c (debug_to_post_attach): Add argument.
10119         (update_current_target): Update.
10120         * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
10121         * nto-procfs.c (procfs_post_attach): Add 'self' argument.
10122         * linux-nat.c (linux_child_post_attach): Add 'self' argument.
10123         * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
10124         * inf-child.c (inf_child_post_attach): Add 'self' argument.
10125
10126 2014-02-19  Tom Tromey  <tromey@redhat.com>
10127
10128         * windows-nat.c (windows_close): Add 'self' argument.
10129         * tracepoint.c (tfile_close): Add 'self' argument.
10130         * target.h (struct target_ops) <to_close>: Add argument.
10131         * target.c (target_close): Add argument.
10132         (update_current_target): Update.
10133         * remote.c (remote_close): Add 'self' argument.
10134         * remote-sim.c (gdbsim_close): Add 'self' argument.
10135         * remote-mips.c (mips_close): Add 'self' argument.
10136         * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
10137         * record-full.c (record_full_close): Add 'self' argument.
10138         * record-btrace.c (record_btrace_close): Add 'self' argument.
10139         * monitor.h (monitor_close): Add 'self' argument.
10140         * monitor.c (monitor_close): Add 'self' argument.
10141         * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
10142         * linux-nat.c (linux_nat_close): Add argument.
10143         * go32-nat.c (go32_close): Add 'self' argument.
10144         * exec.c (exec_close_1): Add 'self' argument.
10145         * ctf.c (ctf_close): Add 'self' argument.
10146         * corelow.c (core_close): Add 'self' argument.
10147         (core_close_cleanup): Update.
10148         * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
10149         * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
10150
10151 2014-02-19  Tom Tromey  <tromey@redhat.com>
10152
10153         * remote.c (remote_load): New function.
10154         (init_remote_ops): Use it.
10155
10156 2014-02-19  Tom Tromey  <tromey@redhat.com>
10157
10158         * common/linux-btrace.c (linux_supports_btrace): Add "ops"
10159         argument.
10160         * common/linux-btrace.h (linux_supports_btrace): Update.
10161         * remote.c (remote_supports_btrace): Add "self" argument.
10162         * target-delegates.c: Rebuild.
10163         * target.c (target_supports_btrace): Remove.
10164         * target.h (struct target_ops) <to_supports_btrace>: Add
10165         target_ops argument.
10166         (target_supports_btrace): New define.
10167
10168 2014-02-19  Tom Tromey  <tromey@redhat.com>
10169
10170         * record-full.c (record_full_beneath_to_resume_ops)
10171         (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
10172         (record_full_beneath_to_wait)
10173         (record_full_beneath_to_store_registers_ops)
10174         (record_full_beneath_to_store_registers)
10175         (record_full_beneath_to_xfer_partial_ops)
10176         (record_full_beneath_to_xfer_partial)
10177         (record_full_beneath_to_insert_breakpoint_ops)
10178         (record_full_beneath_to_insert_breakpoint)
10179         (record_full_beneath_to_remove_breakpoint_ops)
10180         (record_full_beneath_to_remove_breakpoint)
10181         (record_full_beneath_to_stopped_by_watchpoint)
10182         (record_full_beneath_to_stopped_data_address)
10183         (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
10184         (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
10185         (tmp_to_store_registers, tmp_to_xfer_partial_ops)
10186         (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
10187         (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
10188         (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
10189         (tmp_to_stopped_data_address, tmp_to_async): Remove.
10190         (record_full_open_1, record_full_open): Update.  Use RECORD_IS_USED.
10191         (record_full_resume, record_full_wait_1)
10192         (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
10193         (record_full_store_registers, record_full_xfer_partial)
10194         (record_full_insert_breakpoint, record_full_remove_breakpoint)
10195         (record_full_async, record_full_core_xfer_partial): Use target
10196         delegation.
10197         * target-delegates.c: Rebuild.
10198         * target.c (current_xfer_partial): Remove.
10199         (update_current_target): Do not INHERIT or de_fault
10200         to_insert_breakpoint, to_remove_breakpoint,
10201         to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
10202         to_is_async_p, to_async.  Do not set to_xfer_partial field.
10203         (default_xfer_partial): Simplify.
10204         (current_xfer_partial): Remove.
10205         (target_wait, target_resume): Simplify.
10206         (find_default_can_async_p, find_default_is_async_p): Update.
10207         (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
10208         to_xfer_partial, to_stopped_by_watchpoint,
10209         to_stopped_data_address.
10210         (target_store_registers): Simplify.
10211         (forward_target_remove_breakpoint)
10212         (forward_target_insert_breakpoint): Remove.
10213         (target_remove_breakpoint, target_insert_breakpoint)
10214         (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
10215         * target.h (struct target_ops) <to_resume, to_wait,
10216         to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
10217         to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
10218         to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
10219         markup.
10220         (forward_target_remove_breakpoint)
10221         (forward_target_insert_breakpoint): Remove.
10222         * record-btrace.c (record_btrace_remove_breakpoint): Delegate
10223         directly.
10224         (record_btrace_insert_breakpoint): Delegate directly.
10225
10226 2014-02-19  Tom Tromey  <tromey@redhat.com>
10227
10228         PR build/7701:
10229         * target-delegates.c: New file.
10230         * target.c: Include target-delegates.c.
10231         (init_dummy_target): Call install_dummy_methods.
10232         (complete_target_initialization): Call install_delegators.
10233         * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
10234         (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
10235         * make-target-delegates: New file.
10236
10237 2014-02-19  Tom Tromey  <tromey@redhat.com>
10238
10239         * record.c (find_record_target): Use find_target_at.
10240         * target.c (find_target_at): New function.
10241         * target.h (find_target_at): Declare.
10242
10243 2014-02-19  Tom Tromey  <tromey@redhat.com>
10244
10245         * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
10246         Add 'ops' argument.
10247         * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
10248         'ops' argument.
10249         * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
10250         * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
10251         'ops' argument.
10252         * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
10253         argument.
10254         * linux-nat.c (save_sigtrap): Update.
10255         (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
10256         (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
10257         (linux_nat_close): Update.
10258         * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
10259         argument.
10260         * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
10261         argument.
10262         * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
10263         * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
10264         (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
10265         (tmp_to_async): Add 'ops' argument.
10266         (record_full_stopped_by_watchpoint, record_full_async)
10267         (record_full_can_async_p, record_full_is_async_p): Add 'ops'
10268         argument.
10269         * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
10270         (m32r_stopped_by_watchpoint): Add 'ops' argument.
10271         * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
10272         * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
10273         (remote_is_async_p, remote_async): Add 'ops' argument.
10274         (remote_stopped_data_address): Update.
10275         * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
10276         * target.c (update_current_target)
10277         (find_default_can_async_p, find_default_is_async_p): Update.
10278         (init_dummy_target): Update.
10279         (debug_to_stopped_by_watchpoint): Add 'ops' argument.
10280         * target.h (struct target_ops) <to_stopped_by_watchpoint,
10281         to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
10282         (target_can_async_p, target_is_async_p, target_async)
10283         (target_stopped_by_watchpoint): Update.
10284
10285 2014-02-19  Yao Qi  <yao@codesourcery.com>
10286
10287         PR gdb/16220
10288         * gdbarch.sh: Remove startup_gdbarch.
10289         * gdbarch.c: Regenerated.
10290         * gdbarch.h: Likewise.
10291
10292 2014-02-17  Kevin Buettner  <kevinb@redhat.com>
10293
10294         * rl78-tdep.c (rl78_g10_register_name): New function.
10295         (rl78_return_value): Add g10 support.
10296         (rl78_gdbarch_init): Register rl78_g10_register_name for the
10297         g10.
10298
10299 2014-02-17  Doug Evans  <xdje42@gmail.com>
10300
10301         * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
10302         (SUBDIR_GUILE_SRCS): Ditto.
10303         (scm-gsmob.o): Ditto.
10304
10305 2014-02-17  Yao Qi  <yao@codesourcery.com>
10306
10307         * gnu-nat.c (ILL_RPC): Declare defined function.
10308
10309 2014-02-17  Yao Qi  <yao@codesourcery.com>
10310
10311         * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
10312         mach_msg_type_number_t.
10313         (gnu_write_inferior): Likewise.
10314
10315 2014-02-17  Yao Qi  <yao@codesourcery.com>
10316
10317         * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10318         in format string.
10319         (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10320         (inf_validate_procs, inf_signal): Likewise.
10321         (S_exception_raise_request): Likewise.
10322         (do_mach_notify_dead_name): Likewise.
10323         (steal_exc_port): Likewise.
10324         (gnu_read_inferior): Change 'copy_count''s type to
10325         mach_msg_type_number_t.
10326         (gnu_write_inferior): Likewise.  Use 'lx' instead of 'x' in
10327         format string.
10328
10329 2014-02-16  Thomas Schwinge  <thomas@codesourcery.com>
10330
10331         * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10332         flag.  Adjust all users; in particular...
10333         (gnu_wait): ..., don't decrement its value in here...
10334         (gnu_create_inferior): ..., and instead set the flag in here,
10335         around the startup_inferior call, and call that one with
10336         START_INFERIOR_TRAPS_EXPECTED.
10337
10338         * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10339         (ILL_RPC): ... new macro.
10340         (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10341         (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10342         (do_mach_notify_send_once, S_proc_setmsgport_reply)
10343         (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10344         functions with ILL_RPC macro.
10345         (S_proc_pid2task_reply, S_proc_task2pid_reply)
10346         (S_proc_task2proc_reply, S_proc_proc2task_reply)
10347         (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10348         (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10349         (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10350         (S_proc_getlogin_reply, S_proc_getsid_reply)
10351         (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10352         (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10353         (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10354         (S_proc_getnports_reply, S_proc_is_important_reply)
10355         (S_proc_get_code_reply): New stub functions, generated with
10356         ILL_RPC macro.
10357
10358         * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10359         collected the type check structures.
10360
10361         * reply_mig_hack.awk: Don't expect to see the auto keyword.
10362
10363 2014-02-14  Doug Evans  <dje@google.com>
10364
10365         * target.c (target_write_partial): Fix result type.
10366
10367 2014-02-14  Jose E. Marchesi  <jose.marchesi@oracle.com>
10368
10369         * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10370         the proper offsets to access fpregset_t.
10371
10372 2014-02-13  Sanimir Agovic  <sanimir.agovic@intel.com>
10373
10374         * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10375         (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10376         * h8300-tdep.c (setmachinelist): Remove global.
10377         * hppa-tdep.c (hppa_sigtramp): Remove global.
10378         * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10379         RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10380         * ravenscar-thread.c (update_target_observer): Remove global.
10381         * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10382
10383 2014-02-12  Tom Tromey  <tromey@redhat.com>
10384
10385         * common/rsp-low.c: Update comments.
10386         * common/rsp-low.h: Update comments.
10387
10388 2014-02-12  Tom Tromey  <tromey@redhat.com>
10389
10390         * common/rsp-low.c (convert_ascii_to_int): Remove.
10391         * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10392
10393 2014-02-12  Tom Tromey  <tromey@redhat.com>
10394
10395         * common/rsp-low.h (unhexify): Don't declare.
10396         * common/rsp-low.c (unhexify): Remove.
10397
10398 2014-02-12  Tom Tromey  <tromey@redhat.com>
10399
10400         * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10401         * common/rsp-low.c (convert_int_to_ascii): Remove.
10402
10403 2014-02-12  Tom Tromey  <tromey@redhat.com>
10404
10405         * common/rsp-low.h (hexify): Don't declare.
10406         * common/rsp-low.c (hexify): Remove.
10407
10408 2014-02-12  Tom Tromey  <tromey@redhat.com>
10409
10410         * common/rsp-low.c (hexify): Never take strlen of argument.
10411
10412 2014-02-12  Tom Tromey  <tromey@redhat.com>
10413
10414         * common/rsp-low.c (bin2hex): Never take strlen of argument.
10415         * remote.c (extended_remote_run, remote_rcmd)
10416         (remote_download_trace_state_variable, remote_save_trace_data)
10417         (remote_set_trace_notes): Update.
10418         * tracepoint.c (encode_source_string, tfile_write_status)
10419         (tfile_write_uploaded_tsv): Update.
10420
10421 2014-02-12  Tom Tromey  <tromey@redhat.com>
10422
10423         * tracepoint.c: Include rsp-low.h.
10424         * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10425         * remote.c: Include rsp-low.h.
10426         (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10427         (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10428         (remote_unescape_input): Move to common/rsp-low.c.
10429         * common/rsp-low.h: New file.
10430         * common/rsp-low.c: New file.
10431         * Makefile.in (SFILES): Add common/rsp-low.c.
10432         (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10433         (COMMON_OBS): Add rsp-low.o.
10434         (rsp-low.o): New target.
10435
10436 2014-02-12  Tom Tromey  <tromey@redhat.com>
10437
10438         * utils.h: Include print-utils.h.
10439         (host_address_to_string, plongest, pulongest, phex, phex_nz)
10440         (int_string, core_addr_to_string, core_addr_to_string_nz)
10441         (hex_string, hex_string_custom): Don't declare.
10442         * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10443         (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10444         (hex_string_custom, int_string, core_addr_to_string)
10445         (core_addr_to_string_nz, host_address_to_string): Move to
10446         common/print-utils.c.
10447         * common/print-utils.h: New file.
10448         * common/print-utils.c: New file
10449         * Makefile.in (SFILES): Add common/print-utils.c.
10450         (HFILES_NO_SRCDIR): Add common/print-utils.h.
10451         (COMMON_OBS): Add print-utils.o.
10452         (print-utils.o): New target.
10453
10454 2014-02-12  Tom Tromey  <tromey@redhat.com>
10455
10456         * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10457
10458 2014-02-12  Mark Kettenis  <kettenis@gnu.org>
10459
10460         * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10461
10462 2014-02-12  Mark Kettenis  <kettenis@gnu.org>
10463
10464         * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10465         if a PT_IO ptrace request returns sucessfully but indicates that 0
10466         bytes were transferred.
10467
10468 2014-02-12  Pedro Alves  <palves@redhat.com>
10469             Kevin Buettner <kevinb@redhat.com>
10470
10471         * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10472         TYPE_INSTANCE_FLAG_CODE_SPACE.
10473
10474 2014-02-12  Pedro Alves  <palves@redhat.com>
10475
10476         * h8300-tdep.c (pseudo_from_raw_register)
10477         (raw_from_pseudo_register): New functions.
10478         (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10479         them.
10480
10481 2014-02-12  Pedro Alves  <palves@redhat.com>
10482
10483         * h8300-tdep.c (h8300_register_sim_regno): New function.
10484         (h8300_gdbarch_init): Install h8300_register_sim_regno as
10485         gdbarch_register_sim_regno hook.
10486
10487 2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
10488
10489         * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10490
10491 2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
10492
10493         * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10494
10495 2014-02-12  Mark Kettenis  <kettenis@gnu.org>
10496
10497         * obsd-tdep.h (obsd_init_abi): New prototype.
10498         * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10499         (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10500         (obsd_init_abi): New functions.
10501         * i386obsd-tdep.c: Include "obsd-tdep.h".
10502         (i386obsd_init_abi): Call obsd_init_abi.
10503         * amd64obsd-tdep.c: Include "obsd-tdep.h".
10504         (amd64obsd_init_abi): Call obsd_init_abi.
10505         * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10506         obsd-tdep.c to gdb_target_obs.
10507
10508 2014-02-11  Jose E. Marchesi  <jose.marchesi@oracle.com>
10509
10510         * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10511         double float arguments to 16-byte in the argument slots.
10512
10513 2014-02-11  Doug Evans  <xdje42@gmail.com>
10514
10515         * configure.ac: Don't crash if pkg-config is not found and guile
10516         wasn't explicitly requested.  Use AC_MSG_ERROR instead of AC_ERROR
10517         in guile checks.
10518         * configure: Regenerate.
10519
10520 2014-02-11  Yao Qi  <yao@codesourcery.com>
10521
10522         * aix-thread.c (aix_thread_xfer_partial): Update comments.
10523         * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10524         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10525         * gnu-nat.c (gnu_xfer_memory): Likewise.
10526         * inf-ptrace.c (inf_ptrace_xfer_partial):  Likewise.
10527         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10528         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10529         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10530
10531 2014-02-11  Yao Qi  <yao@codesourcery.com>
10532
10533         * target.h (enum target_xfer_error): Rename to ...
10534         (enum target_xfer_status): ... it.  New.  All users updated.
10535         (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10536         New.
10537         (TARGET_XFER_STATUS_ERROR_P): New macro.
10538         (target_xfer_error_to_string): Remove declaration.
10539         (target_xfer_status_to_string): Declare.
10540         (target_xfer_partial_ftype): Adjust it.
10541         (struct target_ops) <to_xfer_partial>: Return
10542         target_xfer_status.  Add argument xfered_len.  Update
10543         comments.
10544         * target.c (target_xfer_error_to_string): Rename to ...
10545         (target_xfer_status_to_string): ... it.  New.  All callers
10546         updated.
10547         (target_read_live_memory): Likewise.  Call target_xfer_partial
10548         instead of target_read.
10549         (memory_xfer_live_readonly_partial): Return
10550         target_xfer_status.  Add argument xfered_len.
10551         (raw_memory_xfer_partial): Likewise.
10552         (memory_xfer_partial_1): Likewise.
10553         (memory_xfer_partial): Likewise.
10554         (target_xfer_partial): Likewise.  Check *XFERED_LEN is set
10555         properly.  Update debug message.
10556         (default_xfer_partial, current_xfer_partial): Likewise.
10557         (target_write_partial): Likewise.
10558         (target_read_partial): Likewise.  All callers updated.
10559         (read_whatever_is_readable): Likewise.
10560         (target_write_with_progress): Likewise.
10561         (target_read_alloc_1): Likewise.
10562
10563         * aix-thread.c (aix_thread_xfer_partial): Likewise.
10564         * auxv.c (procfs_xfer_auxv): Likewise.
10565         (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10566         * bfd-target.c (target_bfd_xfer_partial): Likewise.
10567         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10568         * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10569         * corefile.c (read_memory): Adjust.
10570         * corelow.c (core_xfer_partial): Likewise.
10571         * ctf.c (ctf_xfer_partial): Likewise.
10572         * darwin-nat.c (darwin_read_dyld_info): Likewise.  All callers
10573         updated.
10574         (darwin_xfer_partial): Likewise.
10575         * exec.c (section_table_xfer_memory_partial): Likewise.  All
10576         callers updated.
10577         (exec_xfer_partial): Likewise.
10578         * exec.h (section_table_xfer_memory_partial): Update
10579         declaration.
10580         * gnu-nat.c (gnu_xfer_memory): Likewise.  Assert 'res' is not
10581         negative.
10582         (gnu_xfer_partial): Likewise.
10583         * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10584         (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10585         (ia64_hpux_xfer_solib_got): Likewise.
10586         * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.  Change
10587         type of 'partial_len' to ULONGEST.
10588         * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10589         * linux-nat.c (linux_xfer_siginfo ): Likewise.
10590         (linux_nat_xfer_partial): Likewise.
10591         (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10592         (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10593         * monitor.c (monitor_xfer_memory): Likewise.
10594         (monitor_xfer_partial): Likewise.
10595         * procfs.c (procfs_xfer_partial): Likewise.
10596         * record-btrace.c (record_btrace_xfer_partial): Likewise.
10597         * record-full.c (record_full_xfer_partial): Likewise.
10598         (record_full_core_xfer_partial): Likewise.
10599         * remote-sim.c (gdbsim_xfer_memory): Likewise.
10600         (gdbsim_xfer_partial): Likewise.
10601         * remote.c (remote_write_bytes_aux): Likewise.  All callers
10602         updated.
10603         (remote_write_bytes, remote_read_bytes): Likewise.  All
10604         callers updated.
10605         (remote_flash_erase): Likewise.  All callers updated.
10606         (remote_write_qxfer): Likewise.  All callers updated.
10607         (remote_read_qxfer): Likewise.  All callers updated.
10608         (remote_xfer_partial): Likewise.
10609         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10610         (rs6000_xfer_shared_libraries): Likewise.
10611         * sol-thread.c (sol_thread_xfer_partial): Likewise.
10612         (sol_thread_xfer_partial): Likewise.
10613         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10614         (sparc_xfer_partial): Likewise.
10615         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.  All callers
10616         updated.
10617         (spu_xfer_partial): Likewise.
10618         * spu-multiarch.c (spu_xfer_partial): Likewise.
10619         * tracepoint.c (tfile_xfer_partial): Likewise.
10620         * windows-nat.c (windows_xfer_memory): Likewise.
10621         (windows_xfer_shared_libraries): Likewise.
10622         (windows_xfer_partial): Likewise.
10623         * valprint.c: Replace 'target_xfer_error' with
10624         'target_xfer_status' in comments.
10625
10626 2014-02-11  Simon Marchi  <simon.marchi@ericsson.com>  (tiny patch)
10627
10628         Checked in by Joel Brobecker <brobecker@adacore.com>.
10629         * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10630
10631 2014-02-11  Joel Brobecker  <brobecker@adacore.com>
10632
10633         * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10634         function parameters.
10635
10636 2014-02-10  Will Newton  <will.newton@linaro.org>
10637
10638         * elfread.c (elf_rel_plt_read): Look for a .got section if
10639         looking up .got.plt fails.
10640         (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10641         on address passed to elf_gnu_ifunc_record_cache.
10642         (elf_gnu_ifunc_resolve_addr): Likewise.
10643         (elf_gnu_ifunc_resolver_return_stop): Likewise.
10644
10645 2014-02-10  Jose E. Marchesi  <jose.marchesi@oracle.com>
10646
10647         * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10648         (X_RETTURN): New macro.
10649         * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10650
10651         * sparc64-tdep.c (sparc64_init_abi): Hook
10652         sparc_in_function_epilogue_p.
10653
10654 2014-02-10  Gary Benson  <gbenson@redhat.com>
10655
10656         * symfile-debug.c (debug_qf_expand_symtabs_matching):
10657         Rename name_matcher to symbol_matcher.
10658
10659 2014-02-10  Gary Benson  <gbenson@redhat.com>
10660
10661         * symfile-debug.c (debug_qf_expand_symtabs_matching):
10662         Use expand_symtabs_file_matcher_ftype and
10663         expand_symtabs_symbol_matcher_ftype.
10664
10665 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
10666
10667         * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10668         (struct ada_symbol_cache): New.
10669         (ada_free_symbol_cache): Forward declare.
10670         (struct ada_pspace_data): New.
10671         (ada_pspace_data_handle): New static global.
10672         (get_ada_pspace_data, ada_pspace_data_cleanup)
10673         (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10674         (cache_space, cache): Delete, now folded inside struct
10675         ada_pspace_data.
10676         (ada_get_symbol_cache): New function.
10677         (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10678         implementation.
10679         (_initialize_ada_language): Remove initialization of cache_space.
10680         Move call to observer_attach_inferior_exit up, grouping it
10681         with the other observer registrations inside this function.
10682         Rename command to be more general.  Add call to
10683         register_program_space_data_with_cleanup.
10684
10685 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
10686
10687         * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10688         ada_new_objfile_observer.
10689         (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10690         (_initialize_tasks): Update uses of ada_new_objfile_observer
10691         and ada_tasks_normal_stop_observer.
10692
10693 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
10694
10695         * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10696         returned by the 'Length attribute to integer.
10697
10698 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
10699
10700         * ada-lang.c (_initialize_ada_language): Initialize
10701         cache_space obstack.
10702
10703 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
10704
10705         * ada-lang.c (HASH_SIZE): New macro.
10706         (struct cache_entry): New type.
10707         (cache_space, cache): New static globals.
10708         (ada_clear_symbol_cache, find_entry): New functions.
10709         (lookup_cached_symbol, cache_symbol): Implement.
10710         (ada_new_objfile_observer, ada_free_objfile_observer): New.
10711         (_initialize_ada_language): Attach ada_new_objfile_observer
10712         and ada_free_objfile_observer.
10713
10714 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
10715
10716         * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10717         (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10718         struct block * parameter.
10719         (ada_lookup_symbol_list_worker): Constify local variable "block".
10720         Remove cast which is no longer necessary.
10721
10722 2014-02-10  Doug Evans  <xdje42@gmail.com>
10723
10724         Add Guile as an extension language.
10725         * NEWS: Mention Guile scripting.
10726         * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10727         (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10728         (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10729         (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10730         (CLIBS): Add GUILE_LIBS.
10731         (install-guile): New rule.
10732         (guile.o): New rule.
10733         (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10734         (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10735         (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10736         (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10737         (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10738         (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10739         (scm-type.o, scm-utils.o, scm-value.o): New rules.
10740         * configure.ac: New option --with-guile.
10741         * configure: Regenerate.
10742         * config.in: Regenerate.
10743         * auto-load.c: Remove #include "python/python.h".  Add #include
10744         "gdb/section-scripts.h".
10745         (source_section_scripts): Handle Guile scripts.
10746         (_initialize_auto_load): Add name of Guile objfile script to
10747         scripts-directory help text.
10748         * breakpoint.c (condition_command): Tweak comment to include Scheme.
10749         * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10750         (struct breakpoint): New member scm_bp_object.
10751         * defs.h (enum command_control_type): New value guile_control.
10752         * cli/cli-cmds.c: Remove #include "python/python.h".  Add #include
10753         "extension.h".
10754         (show_user): Update comment.
10755         (_initialize_cli_cmds): Update help text for "show user".  Update help
10756         text for max-user-call-depth.
10757         * cli/cli-script.c: Remove #include "python/python.h".  Add #include
10758         "extension.h".
10759         (multi_line_command_p): Add guile_control.
10760         (print_command_lines): Handle guile_control.
10761         (execute_control_command, recurse_read_control_structure): Ditto.
10762         (process_next_line): Recognize "guile" commands.
10763         * disasm.c (gdb_disassemble_info): Make non-static.
10764         * disasm.h: #include "dis-asm.h".
10765         (struct gdbarch): Add forward decl.
10766         (gdb_disassemble_info): Declare.
10767         * extension.c: #include "guile/guile.h".
10768         (extension_languages): Add guile.
10769         (get_ext_lang_defn): Handle EXT_LANG_GDB.
10770         * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10771         * gdbtypes.c (get_unsigned_type_max): New function.
10772         (get_signed_type_minmax): New function.
10773         * gdbtypes.h (get_unsigned_type_max): Declare.
10774         (get_signed_type_minmax): Declare.
10775         * guile/README: New file.
10776         * guile/guile-internal.h: New file.
10777         * guile/guile.c: New file.
10778         * guile/guile.h: New file.
10779         * guile/scm-arch.c: New file.
10780         * guile/scm-auto-load.c: New file.
10781         * guile/scm-block.c: New file.
10782         * guile/scm-breakpoint.c: New file.
10783         * guile/scm-disasm.c: New file.
10784         * guile/scm-exception.c: New file.
10785         * guile/scm-frame.c: New file.
10786         * guile/scm-gsmob.c: New file.
10787         * guile/scm-iterator.c: New file.
10788         * guile/scm-lazy-string.c: New file.
10789         * guile/scm-math.c: New file.
10790         * guile/scm-objfile.c: New file.
10791         * guile/scm-ports.c: New file.
10792         * guile/scm-pretty-print.c: New file.
10793         * guile/scm-safe-call.c: New file.
10794         * guile/scm-string.c: New file.
10795         * guile/scm-symbol.c: New file.
10796         * guile/scm-symtab.c: New file.
10797         * guile/scm-type.c: New file.
10798         * guile/scm-utils.c: New file.
10799         * guile/scm-value.c: New file.
10800         * guile/lib/gdb.scm: New file.
10801         * guile/lib/gdb/boot.scm: New file.
10802         * guile/lib/gdb/experimental.scm: New file.
10803         * guile/lib/gdb/init.scm: New file.
10804         * guile/lib/gdb/iterator.scm: New file.
10805         * guile/lib/gdb/printing.scm: New file.
10806         * guile/lib/gdb/types.scm: New file.
10807         * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10808         (VPATH): Add $(GUILE_SRCDIR).
10809         (GUILE_DIR): New variable.
10810         (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10811         (all): Add stamp-guile dependency.
10812         (stamp-guile): New rule.
10813         (clean-guile, install-guile, uninstall-guile): New rules.
10814         (install-only): Add install-guile dependency.
10815         (uninstall): Add uninstall-guile dependency.
10816         (clean): Add clean-guile dependency.
10817
10818 2014-02-09  Doug Evans  <xdje42@gmail.com>
10819
10820         Revert this patch (which I approved, mea culpa).
10821
10822         2014-02-08  Mark Kettenis  <kettenis@gnu.org>
10823
10824         * Makefile.in (all-lib): Remove.
10825         ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10826
10827 2014-02-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
10828
10829         Fix Python stack corruption.
10830         * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10831         gdb_py_longest.
10832
10833 2014-02-08  Mark Kettenis  <kettenis@gnu.org>
10834
10835         * Makefile.in (all-lib): Remove.
10836         ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10837
10838 2014-02-07  Doug Evans  <dje@google.com>
10839
10840         * extension-priv.h (extension_language_script_ops): Add comment.
10841         (extension_language_ops): Add comment.
10842         (active_ext_lang_state): Fix typo in comment.
10843
10844 2014-02-07  Pedro Alves  <palves@redhat.com>
10845
10846         PR breakpoints/16292
10847         * infrun.c (handle_signal_stop) <signal arrives while stepping
10848         over a breakpoint>: Switch back to the stepping thread.
10849
10850 2014-02-07  Yao Qi  <yao@codesourcery.com>
10851
10852         * target.c (target_xfer_partial): Return zero if LEN is zero.
10853
10854 2014-02-07  Yao Qi  <yao@codesourcery.com>
10855
10856         * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10857         (ld_so_xfer_auxv): Likewise.
10858         * bfd-target.c (target_bfd_xfer_partial): Likewise.
10859         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10860         * corelow.c (core_xfer_partial): Likewise.
10861         * ctf.c (ctf_xfer_partial): Likewise.
10862         * darwin-nat.c (darwin_read_dyld_info): Likewise.
10863         (darwin_xfer_partial): Likewise.
10864         * exec.c (exec_xfer_partial): Likewise.
10865         * gnu-nat.c (gnu_xfer_partial): Likewise.
10866         * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10867         * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10868         * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10869         * linux-nat.c (linux_xfer_siginfo): Likewise.
10870         (linux_proc_xfer_spu): Likewise.
10871         * procfs.c (procfs_xfer_partial): Likewise.
10872         * record-full.c (record_full_xfer_partial): Likewise.
10873         (record_full_core_xfer_partial): Likewise.
10874         * remote-sim.c (gdbsim_xfer_partial): Likewise.
10875         * remote.c (remote_write_qxfer): Likewise.
10876         (remote_write_qxfer, remote_read_qxfer): Likewise.
10877         (remote_xfer_partial): Likewise.
10878         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10879         (rs6000_xfer_shared_libraries): Likewise.
10880         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10881         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10882         (spu_xfer_partial): Likewise.
10883         * target.c (memory_xfer_partial_1): Likewise.
10884         * tracepoint.c (tfile_xfer_partial): Likewise.
10885         * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10886         (windows_xfer_partial): Likewise.
10887
10888 2014-02-07  Yao Qi  <yao@codesourcery.com>
10889
10890         * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST.  Add
10891         comments.
10892         (core_xfer_shared_libraries_aix): Likewise.
10893         * gdbarch.c, gdbarch.h: Regenerated.
10894         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10895         ULONGEST.  Change 'len_avail' type to ULONGEST.
10896         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10897         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10898         declaration.
10899         (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10900
10901 2014-02-07  Yao Qi  <yao@codesourcery.com>
10902
10903         * corefile.c (memory_error): Get 'exception' from ERR and pass
10904         'exception' to throw_error.
10905
10906 2014-02-06  Doug Evans  <xdje42@gmail.com>
10907
10908         * configure.ac (libpython checking): Remove all but python.o from
10909         CONFIG_OBS.  Remove all but python.c from CONFIG_SRCS.
10910         * configure: Regenerate.
10911
10912         * Makefile.in (SFILES): Add extension.c.
10913         (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10914         (COMMON_OBS): Add extension.o.
10915         * extension.h: New file.
10916         * extension-priv.h: New file.
10917         * extension.c: New file.
10918
10919         * python/python-internal.h: #include "extension.h".
10920         (gdbpy_auto_load_enabled): Declare.
10921         (gdbpy_apply_val_pretty_printer): Declare.
10922         (gdbpy_apply_frame_filter): Declare.
10923         (gdbpy_preserve_values): Declare.
10924         (gdbpy_breakpoint_cond_says_stop): Declare.
10925         (gdbpy_breakpoint_has_cond): Declare.
10926         (void source_python_script_for_objfile): Delete.
10927         * python/python.c: #include "extension-priv.h".
10928         Delete inclusion of "observer.h".
10929         (extension_language_python): Moved here and renamed from
10930         script_language_python in py-auto-load.c.
10931         Redefined to be of type extension_language_defn.
10932         (python_extension_script_ops): New global.
10933         (python_extension_ops): New global.
10934         (struct python_env): New member previous_active.
10935         (restore_python_env): Call restore_active_ext_lang.
10936         (ensure_python_env): Call set_active_ext_lang.
10937         (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10938         New arg extlang.
10939         (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10940         New arg extlang.
10941         (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10942         New arg extlang.
10943         (gdbpy_eval_from_control_command): Renamed from
10944         eval_python_from_control_command, made static.  New arg extlang.
10945         (gdbpy_source_script) Renamed from source_python_script, made static.
10946         New arg extlang.
10947         (gdbpy_before_prompt_hook): Renamed from before_prompt_hook.  Change
10948         result to int.  New arg extlang.
10949         (gdbpy_source_objfile_script): Renamed from
10950         source_python_script_for_objfile, made static.  New arg extlang.
10951         (gdbpy_start_type_printers): Renamed from start_type_printers, made
10952         static.  New args extlang, extlang_printers.  Change result type to
10953         "void".
10954         (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10955         static.  New arg extlang.  Rename arg printers to extlang_printers
10956         and change type to ext_lang_type_printers *.
10957         (gdbpy_free_type_printers): Renamed from free_type_printers, made
10958         static.  Replace argument arg with extlang, extlang_printers.
10959         (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10960         (!HAVE_PYTHON, source_python_script): Delete.
10961         (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10962         (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10963         (!HAVE_PYTHON, start_type_printers): Delete.
10964         (!HAVE_PYTHON, apply_type_printers): Delete.
10965         (!HAVE_PYTHON, free_type_printers): Delete.
10966         (_initialize_python): Delete call to observer_attach_before_prompt.
10967         (finalize_python): Set/restore active extension language.
10968         (gdbpy_finish_initialization) Renamed from
10969         finish_python_initialization, made static.  New arg extlang.
10970         (gdbpy_initialized): New function.
10971         * python/python.h: #include "extension.h".  Delete #include
10972         "value.h", "mi/mi-cmds.h".
10973         (extension_language_python): Declare.
10974         (GDBPY_AUTO_FILE_NAME): Delete.
10975         (enum py_bt_status): Moved to extension.h and renamed to
10976         ext_lang_bt_status.
10977         (enum frame_filter_flags): Moved to extension.h.
10978         (enum py_frame_args): Moved to extension.h and renamed to
10979         ext_lang_frame_args.
10980         (finish_python_initialization): Delete.
10981         (eval_python_from_control_command): Delete.
10982         (source_python_script): Delete.
10983         (apply_val_pretty_printer): Delete.
10984         (apply_frame_filter): Delete.
10985         (preserve_python_values): Delete.
10986         (gdbpy_script_language_defn): Delete.
10987         (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10988         (start_type_printers, apply_type_printers, free_type_printers): Delete.
10989
10990         * auto-load.c: #include "extension.h".
10991         (GDB_AUTO_FILE_NAME): Delete.
10992         (auto_load_gdb_scripts_enabled): Make public.  New arg extlang.
10993         (script_language_gdb): Delete, moved to extension.c and renamed to
10994         extension_language_gdb.
10995         (source_gdb_script_for_objfile): Delete.
10996         (auto_load_pspace_info): New member unsupported_script_warning_printed.
10997         (loaded_script): Change type of language member to
10998         struct extension_language_defn *.
10999         (init_loaded_scripts_info): Initialize
11000         unsupported_script_warning_printed.
11001         (maybe_add_script): Make static.  Change type of language arg to
11002         struct extension_language_defn *.
11003         (clear_section_scripts): Reset unsupported_script_warning_printed.
11004         (auto_load_objfile_script_1): Rewrite to use extension language API.
11005         (auto_load_objfile_script): Make public.  Remove support-compiled-in
11006         and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
11007         (source_section_scripts): Rewrite to use extension language API.
11008         (load_auto_scripts_for_objfile): Rewrite to use
11009         auto_load_scripts_for_objfile.
11010         (collect_matching_scripts_data): Change type of language member to
11011         struct extension_language_defn *.
11012         (auto_load_info_scripts): Change type of language arg to
11013         struct extension_language_defn *.
11014         (unsupported_script_warning_print): New function.
11015         (script_not_found_warning_print): Make static.
11016         (_initialize_auto_load): Rewrite construction of scripts-directory
11017         help.
11018         * auto-load.h (struct objfile): Add forward decl.
11019         (struct script_language): Delete.
11020         (struct auto_load_pspace_info): Add forward decl.
11021         (struct extension_language_defn): Add forward decl.
11022         (maybe_add_script): Delete.
11023         (auto_load_objfile_script): Declare.
11024         (script_not_found_warning_print): Delete.
11025         (auto_load_info_scripts): Update prototype.
11026         (auto_load_gdb_scripts_enabled): Declare.
11027         * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
11028         auto_load_python_scripts_enabled and made public.
11029         (script_language_python): Delete, moved to python.c.
11030         (gdbpy_script_language_defn): Delete.
11031         (info_auto_load_python_scripts): Update to use
11032         extension_language_python.
11033
11034         * breakpoint.c (condition_command): Replace call to
11035         gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
11036         (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
11037         with call to breakpoint_ext_lang_cond_says_stop.
11038         * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
11039         from gdbpy_should_stop.  Change result type to enum scr_bp_stop.
11040         New arg slang.  Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
11041         (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
11042         New arg slang.
11043         (local_setattro): Print name of extension language with existing
11044         stop condition.
11045
11046         * valprint.c (val_print, value_print): Update to call
11047         apply_ext_lang_val_pretty_printer.
11048         * cp-valprint.c (cp_print_value): Update call to
11049         apply_ext_lang_val_pretty_printer.
11050         * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
11051         (gdbpy_apply_val_pretty_printer): Renamed from
11052         apply_val_pretty_printer.  New arg extlang.
11053         (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
11054
11055         * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
11056         extension language API.
11057         * cli/cli-script.c (execute_control_command): Update to call
11058         eval_ext_lang_from_control_command.
11059
11060         * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
11061         enum ext_lang_bt_status values.  Update call to
11062         apply_ext_lang_frame_filter.
11063         (mi_cmd_stack_list_locals): Ditto.
11064         (mi_cmd_stack_list_args): Ditto.
11065         (mi_cmd_stack_list_variables): Ditto.
11066         * mi/mi-main.c: Delete #include "python/python-internal.h".
11067         Add #include "extension.h".
11068         (mi_cmd_list_features): Replace reference to python internal variable
11069         gdb_python_initialized with call to ext_lang_initialized_p.
11070
11071         * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
11072         Update to use enum ext_lang_frame_args.  Update to call
11073         apply_ext_lang_frame_filter.
11074         * python/py-framefilter.c (extract_sym): Update to use enum
11075         ext_lang_bt_status.
11076         (extract_value, py_print_type, py_print_value): Ditto.
11077         (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
11078         (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
11079         (py_print_frame): Ditto.
11080         (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
11081         New arg extlang.  Update to use enum ext_lang_bt_status.
11082
11083         * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
11084         finish_python_initialization.  Replace with call to
11085         finish_ext_lang_initialization.
11086
11087         * typeprint.c (do_free_global_table): Update to call
11088         free_ext_lang_type_printers.
11089         (create_global_typedef_table): Update to call
11090         start_ext_lang_type_printers.
11091         (find_global_typedef): Update to call apply_ext_lang_type_printers.
11092         * typeprint.h (struct ext_lang_type_printers): Add forward decl.
11093         (type_print_options): Change type of global_printers from "void *"
11094         to "struct ext_lang_type_printers *".
11095
11096         * value.c (preserve_values): Update to call preserve_ext_lang_values.
11097         * python/py-value.c: Remove #ifdef HAVE_PYTHON.
11098         (gdbpy_preserve_values): Renamed from preserve_python_values.
11099         New arg extlang.
11100         (!HAVE_PYTHON, preserve_python_values): Delete.
11101
11102         * utils.c (quit_flag): Delete, moved to extension.c.
11103         (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
11104         extension.c.
11105
11106         * eval.c: Delete #include "python/python.h".
11107         * main.c: Delete #include "python/python.h".
11108
11109         * defs.h: Update comment.
11110
11111 2014-02-06  Joel Brobecker  <brobecker@adacore.com>
11112
11113         GDB 7.7 released.
11114
11115 2014-02-05  Mark Kettenis  <kettenis@gnu.org>
11116
11117         * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
11118         defined.
11119
11120 2014-02-05  Yao Qi  <yao@codesourcery.com>
11121
11122         * remote.c (remote_pass_signals): Remove local 'buf' and use
11123         rs->buf.
11124         (remote_program_signals): Likewise.
11125
11126 2014-02-05  Yao Qi  <yao@codesourcery.com>
11127
11128         * ctf.c: Include "inferior.h" and "gdbthread.h".
11129         (CTF_PID): A new macro.
11130         (ctf_open): Call inferior_appeared and add_thread_silent.
11131         (ctf_close): Call exit_inferior_silent and set inferior_ptid.
11132         (ctf_thread_alive): New function.
11133         (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
11134
11135 2014-02-05  Yao Qi  <yao@codesourcery.com>
11136
11137         Revert this patch:
11138
11139         2013-05-24  Yao Qi  <yao@codesourcery.com>
11140
11141         * tracepoint.c (TFILE_PID): Remove.
11142         (tfile_open): Don't add thread and inferior.
11143         (tfile_close): Don't set 'inferior_ptid'.  Don't call
11144         exit_inferior_silent.
11145         (tfile_thread_alive): Remove.
11146         (init_tfile_ops): Don't set field 'to_thread_alive' of
11147         tfile_ops.
11148
11149 2014-02-04  Christian Eggers  <ceggers@gmx.de>  (tiny change)
11150
11151         * remote.c (remote_start_remote): Call remote_check_symbols even
11152         if only symbol-file (not file) has been given.
11153
11154 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11155
11156         * gdbarch.sh (skip_entrypoint): New callback.
11157         * gdbarch.c, gdbarch.h: Regenerate.
11158         * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
11159         * infrun.c (fill_in_stop_func): Likewise.
11160         * ppc-linux-tdep.c: Include "elf/ppc64.h".
11161         (ppc_elfv2_elf_make_msymbol_special): New function.
11162         (ppc_elfv2_skip_entrypoint): Likewise.
11163         (ppc_linux_init_abi): Install them for ELFv2.
11164
11165 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11166
11167         * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
11168         (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
11169         (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
11170         (ppc64_sysv_abi_return_value): Likewise.  Also, handle small
11171         structures returned in GPRs.
11172
11173 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11174
11175         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
11176         offset to the stack parameter list for the ELFv2 ABI.
11177
11178 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11179
11180         * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
11181         set_gdbarch_convert_from_func_ptr_addr and
11182         set_gdbarch_elf_make_msymbol_special for ELFv1.
11183         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
11184         function descriptors on ELFv1.
11185         (ppc64_sysv_abi_push_dummy_call): Likewise.  On ELFv2,
11186         set up r12 at function entry.
11187
11188 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11189
11190         * ppc-tdep.h (enum powerpc_elf_abi): New data type.
11191         (struct gdbarch_tdep): New member elf_abi.
11192
11193         * rs6000-tdep.c: Include "elf/ppc64.h".
11194         (rs6000_gdbarch_init): Detect ELF ABI version.
11195
11196 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11197
11198         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
11199         within a register pair holding a DFP 128-bit value on little-endian.
11200         (ppc64_sysv_abi_return_value_base): Likewise.
11201         * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
11202         (dfp_pseudo_register_write): Likewise.
11203
11204 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11205
11206         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
11207         offset on little-endian when passing _Decimal32.
11208         (ppc64_sysv_abi_return_value_base): Likewise for return values.
11209
11210 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11211
11212         * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
11213         of the overlapped FP register within the VSX register on little-
11214         endian platforms.
11215         (efpr_pseudo_register_write): Likewise.
11216
11217 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11218
11219         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
11220         offset on little-endian when passing small structures.
11221
11222 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11223
11224         * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
11225         (struct ppc64_sysv_argpos): New data structure.
11226         (ppc64_sysv_abi_push_float): Remove.
11227         (ppc64_sysv_abi_push_val): New function.
11228         (ppc64_sysv_abi_push_integer): Likewise.
11229         (ppc64_sysv_abi_push_freg): Likewise.
11230         (ppc64_sysv_abi_push_vreg): Likewise.
11231         (ppc64_sysv_abi_push_param): Likewise.
11232         (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
11233         (ppc64_sysv_abi_return_value_base): New function.
11234         (ppc64_sysv_abi_return_value): Refactor to use it.
11235
11236 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
11237
11238         * NEWS: Document new target powerpc64le-*-linux*.
11239
11240 2014-02-04  Mark Kettenis  <kettenis@gnu.org>
11241
11242         * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
11243         (sparc64obsd_supply_gregset): Handle registers sets used in ELF
11244         core dumps.
11245         (sparc64obsd_init_abi): Adjust minimum size of the general purpose
11246         register set used in ELF core dumps.  Add floating-point register set.
11247
11248 2014-02-03  Kevin Buettner  <kevinb@redhat.com>
11249
11250         * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
11251         dwarf2_to_gdb[] table using symbolic constants.  Adjust
11252         penultimate entry from number representing the PC register
11253         to symbolic constant representing the MDR register.  Add
11254         constant for the PC register to the end of the table.
11255
11256 2014-02-03  Mark Kettenis  <kettenis@gnu.org>
11257
11258         * bsd-kvm.c: Include <sys/param.h>
11259
11260 2014-02-03  Mark Kettenis  <kettenis@gnu.org>
11261
11262         * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
11263
11264 2014-01-31  Joel Brobecker  <brobecker@adacore.com>
11265
11266         * ada-lang.h (clear_ada_sym_cache): Delete.
11267
11268 2014-01-30  Ulrich Weigand  <uweigand@de.ibm.com>
11269
11270         * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
11271
11272 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
11273
11274         * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
11275           the sigreturn register save area only if the syscall is
11276           sigreturn.
11277
11278 2014-01-29  Joel Brobecker  <brobecker@adacore.com>
11279
11280         * valops.c (value_slice): Minor reformatting.
11281
11282 2014-01-28  Ulrich Weigand  <uweigand@de.ibm.com>
11283
11284         * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
11285
11286 2014-01-28  Joel Brobecker  <brobecker@adacore.com>
11287
11288         * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
11289         New static globals.
11290         (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
11291         (ada_ignore_descriptive_types_p): New static global.
11292         (find_parallel_type_by_descriptive_type): Return immediately
11293         if ada_ignore_descriptive_types_p is set.
11294         (_initialize_ada_language): Register new commands "maintenance
11295         set ada", "maintenance show ada", "maintenance set ada
11296         ignore-descriptive-types" and "maintenance show ada
11297         ignore-descriptive-types".
11298         * NEWS: Add entry for new "maint ada set/show
11299         ignore-descriptive-types" commands.
11300
11301 2014-01-27  Markus Metzger  <markus.t.metzger@intel.com>
11302
11303         * record-btrace.c (record_btrace_close): Call btrace_teardown
11304         for all threads.
11305
11306 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
11307
11308         * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
11309         "ui-out.h".
11310
11311 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
11312
11313         * ada-typeprint (type_is_full_subrange_of_target_type):
11314         New function.
11315         (print_range): Add parameter bounds_prefered_p.  If not set,
11316         try printing range types using the name of their base type.
11317         (print_range_type): Add parameter bounds_prefered_p.
11318         Use it in call to print_range.
11319         (print_array_type, ada_print_type): Update calls to print_range
11320         and print_range_type.
11321
11322 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
11323
11324         * ada-typeprint.c (print_array_type, print_choices, print_range)
11325         (print_range_bound, print_dynamic_range_bound, print_range_type):
11326         Remove declaration.
11327
11328 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
11329
11330         * ada-typeprint.c (print_range): Add missing empty line
11331         after local declaration.
11332
11333 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
11334
11335         * ada-valprint.c (print_optional_low_bound): Get index_type's
11336         target type for as long as it is a TYPE_CODE_RANGE.
11337
11338 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
11339
11340         * procfs.c (procfs_make_note_section): Remove assertion and
11341         associated comment.
11342
11343 2014-01-24  Yao Qi  <yao@codesourcery.com>
11344
11345         * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11346         * corelow.c (get_core_siginfo): Likewise.
11347
11348 2014-01-24  Yao Qi  <yao@codesourcery.com>
11349
11350         * remote.c (remote_write_bytes_aux): Change type of 'len' to
11351         ULONGEST.  Don't check 'len' is negative.
11352         (remote_write_bytes):  Change type of 'len' to ULONGEST.
11353
11354 2014-01-23  Tom Tromey  <tromey@redhat.com>
11355
11356         PR python/16485:
11357         * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11358         Handle exception from frame.block.
11359         (FrameVars.fetch_frame_locals): Likewise.
11360
11361 2014-01-23  Tom Tromey  <tromey@redhat.com>
11362
11363         PR python/16487:
11364         * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11365         on a NULL pointer.  Move "goto error" to correct place.
11366
11367 2014-01-23  Tom Tromey  <tromey@redhat.com>
11368
11369         PR python/16491:
11370         * python/py-framefilter.c (apply_frame_filter): Call
11371         ensure_python_env after computing gdbarch.
11372
11373 2014-01-23  Yao Qi  <yao@codesourcery.com>
11374
11375         * target.c (raw_memory_xfer_partial): Change argument type
11376         from void * to gdb_byte *.
11377         (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11378
11379 2014-01-22  Doug Evans  <dje@google.com>
11380
11381         New gdbserver option --debug-format=timestamp.
11382         * NEWS: Mention it.
11383
11384 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11385
11386         * syscalls/s390x-linux.xml: New file.
11387         * syscalls/s390-linux.xml: New file.
11388         * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11389         (XML_SYSCALL_FILENAME_S390X): Likewise.
11390         (op_svc): New enum value for SVC opcode.
11391         (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11392         (s390_linux_get_syscall_number): New function.
11393         (s390_gdbarch_init): Register '*get_syscall_number' and the
11394         syscall xml file name.
11395         * data-directory/Makefile.in (SYSCALLS_FILES): Add
11396         "s390-linux.xml" and "s390x-linux.xml".
11397         * NEWS: Announce new feature.
11398
11399 2014-01-22  Baruch Siach  <baruch@tkos.co.il>
11400
11401         * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11402
11403 2014-01-22  Pedro Alves  <palves@redhat.com>
11404
11405         * xtensa-config.c: Include defs.h.
11406
11407 2014-01-22  Joel Brobecker  <brobecker@adacore.com>
11408
11409         * common/common-utils.h: Add "ARI:" comment beside __func__
11410         reference.
11411
11412 2014-01-22  Joel Brobecker  <brobecker@adacore.com>
11413
11414         * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11415         documentation a bit.
11416
11417 2014-01-21  Roland McGrath  <mcgrathr@google.com>
11418
11419         * configure.ac: Call AM_PROG_INSTALL_STRIP.
11420         * configure: Regenerate.
11421         * aclocal.m4: Regenerate.
11422         * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11423         New substituted variables.
11424         (install-strip): New target.
11425         (INSTALL_SCRIPT): New substituted variable.
11426         (FLAGS_TO_PASS): Add it.
11427         (install-only): Use $(INSTALL_SCRIPT) rather than
11428         $(INSTALL_PROGRAM) for gcore.
11429
11430 2014-01-20  Tom Tromey  <tromey@redhat.com>
11431
11432         * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11433         together.
11434
11435 2014-01-20  Tom Tromey  <tromey@redhat.com>
11436
11437         * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11438         (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11439         (deprecated_cmd_warning, complete_on_cmdlist): Update.
11440         * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11441         (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11442         (struct cmd_list_element) <flags>: Remove.
11443         <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11444         doc_allocated>: New fields.
11445         <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11446         bitfields.
11447         * maint.c (maintenance_do_deprecate): Update.
11448         * top.c (execute_command): Update.
11449
11450 2014-01-20  Baruch Siach  <baruch@tkos.co.il>
11451
11452         * xtensa-linux-nat.c: Include asm/ptrace.h.
11453
11454 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
11455
11456         * Makefile.in (SFILES): Add d-support.c.
11457         (COMMON_OBS): Add d-support.o.
11458         * d-lang.h (d_parse_symbol): Add comment, now defined in
11459         d-support.c.
11460         * d-lang.c (parse_call_convention)
11461         (parse_attributes, parse_function_types)
11462         (parse_function_args, parse_type, parse_identifier)
11463         (call_convention_p, d_parse_symbol): Move functions to ...
11464         * d-support.c: ... New file.
11465
11466 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
11467
11468         * d-lang.h (d_parse_symbol): Add declaration.
11469         * d-lang.c (extract_identifiers)
11470         (extract_type_info): Remove functions.
11471         (parse_call_convention, parse_attributes)
11472         (parse_function_types, parse_function_args)
11473         (parse_type, parse_identifier, call_convention_p)
11474         (d_parse_symbol): New functions.
11475         (d_demangle): Use d_parse_symbol to demangle D symbols.
11476
11477 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
11478
11479         * d-lang.h (struct builtin_d_type): New data type.
11480         (builtin_d_type): Add declaration.
11481         * d-lang.c (d_language_arch_info, build_d_types)
11482         (builtin_d_type): New functions.
11483         (enum d_primitive_types): New data type.
11484         (d_language_defn): Change c_language_arch_info to
11485         d_language_arch_info.
11486         (d_type_data): New static variable.
11487         (_initialize_d_language): Initialize d_type_data.
11488
11489 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
11490
11491         * d-lang.h (d_main_name): Add declaration.
11492         * d-lang.c (d_main_name): New function.
11493         * symtab.c (find_main_name): Add call to d_main_name.
11494
11495 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
11496
11497         * d-lang.c (d_language_defn): Change macro_expansion_c to
11498         macro_expansion_no.
11499
11500 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
11501
11502         * MAINTAINERS: Add myself as a write-after-approval maintainer.
11503
11504 2014-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
11505
11506         * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11507         gdb_exception" declaration.
11508         * remote.c (getpkt_or_notif_sane): Likewise.
11509
11510 2014-01-17  Doug Evans  <dje@google.com>
11511
11512         * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11513         function, contents of dirnames_to_char_ptr_vec_append moved here.
11514         (delim_string_to_char_ptr_vec): New function.
11515         (dirnames_to_char_ptr_vec_append): Rewrite.
11516         * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11517
11518 2014-01-17  Doug Evans  <dje@google.com>
11519
11520         * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11521         and moved here ...
11522         * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11523         #include "common-utils.h".
11524         (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11525         * common/vec.h (VEC_ASSERT_PASS): Update.
11526         * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11527         (MACH_CHECK_ERROR): Update.
11528
11529 2014-01-17  Simon Marchi  <simon.marchi@ericsson.com>
11530
11531         * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11532         comments.
11533         * gdbarch.h: Regenerate.
11534
11535 2014-01-16  Tom Tromey  <tromey@redhat.com>
11536
11537         * value.c (struct value) <regnum>: Move earlier.
11538
11539 2014-01-16  Tom Tromey  <tromey@redhat.com>
11540
11541         * remote.c (extended_remote_create_inferior): Rename from
11542         extended_remote_create_inferior_1.  Add "ops" argument.  Remove
11543         old implementation.
11544
11545 2014-01-16  Pedro Alves  <palves@redhat.com>
11546
11547         * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11548         NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11549         the backchain.
11550
11551 2014-01-16  Doug Evans  <dje@google.com>
11552
11553         * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11554
11555 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11556
11557         * btrace.h (btrace_thread_flag): New.
11558         (struct btrace_thread_info) <flags>: New.
11559         * record-btrace.c (record_btrace_resume_thread)
11560         (record_btrace_find_thread_to_move, btrace_step_no_history)
11561         (btrace_step_stopped, record_btrace_start_replaying)
11562         (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11563         (record_btrace_find_resume_thread): New.
11564         (record_btrace_resume, record_btrace_wait): Extend.
11565         (record_btrace_can_execute_reverse): New.
11566         (record_btrace_open): Fail in non-stop mode.
11567         (record_btrace_set_replay): Split into this, ...
11568         (record_btrace_stop_replaying): ... this, ...
11569         (record_btrace_clear_histories): ... and this.
11570         (init_record_btrace_ops): Init to_can_execute_reverse.
11571         * NEWS: Announce it.
11572
11573 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11574
11575         * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11576         (forward_target_decr_pc_after_break)
11577         (target_decr_pc_after_break): New.
11578         * target.c (forward_target_decr_pc_after_break)
11579         (target_decr_pc_after_break): New.
11580         * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11581         instead of gdbarch_decr_pc_after_break.
11582         * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11583         instead of gdbarch_decr_pc_after_break.
11584         * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11585         instead of gdbarch_decr_pc_after_break.
11586         * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11587         instead of gdbarch_decr_pc_after_break.
11588         * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11589         instead of gdbarch_decr_pc_after_break.
11590         * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11591         instead of gdbarch_decr_pc_after_break.
11592
11593 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11594
11595         * btrace.c: Include regcache.h.
11596         (btrace_add_pc): New.
11597         (btrace_enable): Call btrace_add_pc.
11598         (btrace_is_empty): New.
11599         * btrace.h (btrace_is_empty): New.
11600         * record-btrace.c (require_btrace, record_btrace_info): Call
11601         btrace_is_empty.
11602
11603 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11604
11605         * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11606         Support delta reads.
11607         (linux_disable_btrace): Change return type.
11608         * common/linux-btrace.h (linux_read_btrace): Change parameters
11609         and return type to allow error reporting.  Update users.
11610         (linux_disable_btrace): Change return type.  Update users.
11611         * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11612         New.
11613         (btrace_error): New.
11614         (btrace_block) <begin>: Comment on BEGIN == 0.
11615         * btrace.c (btrace_compute_ftrace): Start from the end of
11616         the current trace.
11617         (btrace_stitch_trace, btrace_clear_history): New.
11618         (btrace_fetch): Read delta trace, return if replaying.
11619         (btrace_clear): Move clear history code to btrace_clear_history.
11620         (parse_xml_btrace): Throw an error if parsing failed.
11621         * target.h (struct target_ops) <to_read_btrace>: Change parameters
11622         and return type to allow error reporting.
11623         (target_read_btrace): Change parameters and return type to allow
11624         error reporting.
11625         * target.c (target_read_btrace): Update.
11626         * remote.c (remote_read_btrace): Support delta reads.  Pass
11627         errors on.
11628         * NEWS: Announce it.
11629
11630 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11631
11632         * record.h (record_btrace_frame_unwind)
11633         (record_btrace_tailcall_frame_unwind): New declarations.
11634         * dwarf2-frame: Include record.h
11635         (dwarf2_frame_cfa): Throw an error for btrace frames.
11636         * record-btrace.c: Include hashtab.h.
11637         (btrace_get_bfun_name): New.
11638         (btrace_call_history): Call btrace_get_bfun_name.
11639         (struct btrace_frame_cache): New.
11640         (bfcache): New.
11641         (bfcache_hash, bfcache_eq, bfcache_new): New.
11642         (btrace_get_frame_function): New.
11643         (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11644         (record_btrace_frame_this_id): Compute own id.
11645         (record_btrace_frame_prev_register): Provide PC, throw_error
11646         for all other registers.
11647         (record_btrace_frame_sniffer): Detect btrace frames.
11648         (record_btrace_tailcall_frame_sniffer): New.
11649         (record_btrace_frame_dealloc_cache): New.
11650         (record_btrace_frame_unwind): Add new functions.
11651         (record_btrace_tailcall_frame_unwind): New.
11652         (_initialize_record_btrace): Allocate cache.
11653         * btrace.c (btrace_clear): Call reinit_frame_cache.
11654         * NEWS: Announce it.
11655
11656 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11657
11658         * record-btrace.c (record_btrace_set_replay)
11659         (record_btrace_goto_begin, record_btrace_goto_end)
11660         (record_btrace_goto): New.
11661         (init_record_btrace_ops): Initialize them.
11662         * NEWS: Announce it.
11663
11664 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11665
11666         * record-btrace.c (record_btrace_find_new_threads)
11667         (record_btrace_thread_alive): New.
11668         (init_record_btrace_ops): Initialize to_find_new_threads and
11669         to_thread_alive.
11670
11671 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11672
11673         * record-btrace.c (record_btrace_resume): New.
11674         (record_btrace_wait): New.
11675         (init_record_btrace_ops): Initialize to_wait and to_resume.
11676
11677 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11678
11679         * record-btrace.c (record_btrace_xfer_partial)
11680         (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11681         (record_btrace_allow_memory_access): New.
11682         (init_record_btrace_ops): Initialize new methods.
11683         * target.c (raw_memory_xfer_partial): Bail out if target reports
11684         that this memory is not available.
11685
11686 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11687
11688         * target.h (target_ops) <to_insert_breakpoint>
11689         <to_remove_breakpoint>: Add target_ops parameter.
11690         (forward_target_insert_breakpoint): New.
11691         (forward_target_remove_breakpoint): New.
11692         (memory_remove_breakpoint, memory_insert_breakpoint):
11693         Add target_ops parameter.
11694         * target.c (target_insert_breakpoint): Split into this and ...
11695         (forward_target_insert_breakpoint): ... this.
11696         (target_remove_breakpoint): Split into this and ...
11697         (forward_target_remove_breakpoint): ... this.
11698         (debug_to_insert_breakpoint): Add target_ops parameter.
11699         Call forward_target_insert_breakpoint.
11700         (debug_to_remove_breakpoint): Add target_ops parameter.
11701         Call forward_target_remove_breakpoint.
11702         (update_current_target): Do not inherit or default to_insert_breakpoint
11703         and to_remove_breakpoint.
11704         * corelow.c (ignore): Add target_ops parameter.
11705         * exec.c (ignore): Add target_ops parameter.
11706         * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11707         Add target_ops parameter.
11708         * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11709         Add target_ops parameter.
11710         * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11711         Add target_ops parameter.
11712         * record-full.c (record_full_beneath_to_insert_breakpoint)
11713         (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11714         (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11715         (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11716         (record_full_core_remove_breakpoint): Add target_ops parameter.
11717         Update users.
11718         (record_full_beneath_to_insert_breakpoint_ops)
11719         (record_full_beneath_to_remove_breakpoint_ops)
11720         (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11721         (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11722         tmp_to_remove_breakpoint_ops,
11723         record_full_beneath_to_insert_breakpoint_ops, and
11724         record_full_beneath_to_remove_breakpoint_ops.
11725         * remote-m32r-sdi.c (m32r_insert_breakpoint)
11726         (m32r_remove_breakpoint): Add target_ops parameter.
11727         * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11728         Add target_ops parameter.
11729         * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11730         Add target_ops parameter.
11731
11732 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11733             Markus Metzger  <markus.t.metzger@intel.com>
11734
11735         * record-btrace.c: Include frame-unwind.h.
11736         (record_btrace_frame_unwind_stop_reason)
11737         (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11738         (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11739         New.
11740         (init_record_btrace_ops): Install it.
11741
11742 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11743
11744         * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11745         get_prev_frame_1.
11746
11747 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11748
11749         * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11750         earlier.
11751
11752 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11753
11754         * frame-unwind.c: Include target.h.
11755         (frame_unwind_try_unwinder): New function with code from ...
11756         (frame_unwind_find_by_frame): ... here.  New variable
11757         unwinder_from_target, call also target_get_unwinder)
11758         (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11759         * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11760         * target.h (struct target_ops): New fields to_get_unwinder and
11761         to_get_tailcall_unwinder.
11762         (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11763
11764 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11765
11766         * record-btrace.c (record_btrace_fetch_registers)
11767         (record_btrace_store_registers)
11768         (record_btrace_to_prepare_to_store): New.
11769         (init_record_btrace_ops): Add the above.
11770
11771 2014-01-16  Tom Tromey  <tromey@redhat.com>
11772
11773         * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11774         * target.h (struct target_ops) <to_prepare_to_store>: Add
11775         argument.
11776         (target_prepare_to_store): Add argument.
11777         * target.c (debug_to_prepare_to_store): Add argument.
11778         (update_current_target): Update.
11779         * remote.c (remote_prepare_to_store): Add 'self' argument.
11780         * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11781         * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11782         * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11783         * record-full.c (record_full_core_prepare_to_store): Add 'self'
11784         argument.
11785         * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11786         * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11787         * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11788         * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11789         * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11790
11791 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11792
11793         * btrace.h (replay) <replay>: New.
11794         (btrace_is_replaying): New.
11795         * btrace.c (btrace_clear): Free replay iterator.
11796         (btrace_is_replaying): New.
11797         * record-btrace.c (record_btrace_is_replaying): New.
11798         (record_btrace_info): Print insn number if replaying.
11799         (record_btrace_insn_history): Start at replay position.
11800         (record_btrace_call_history): Start at replay position.
11801         (init_record_btrace_ops): Init to_record_is_replaying.
11802
11803 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11804
11805         * record-btrace.c (record_btrace_insn_history_range): Include
11806         end.
11807         (record_btrace_insn_history_from): Adjust range.
11808         (record_btrace_call_history_range): Include
11809         end.
11810         (record_btrace_call_history_from): Adjust range.
11811         * NEWS: Announce changes.
11812
11813 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11814
11815         * record.h (enum record_print_flag)
11816         <record_print_indent_calls>: New.
11817         * record.c (get_call_history_modifiers): Recognize /c modifier.
11818         (_initialize_record): Document /c modifier.
11819         * record-btrace.c (btrace_call_history): Add btinfo parameter.
11820         Reorder fields.  Optionally indent the function name.  Update
11821         all users.
11822         * NEWS: Announce changes.
11823
11824 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11825
11826         * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11827
11828 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11829
11830         * btrace.c (ftrace_new_function): Start counting at one.
11831         * record-btrace.c (record_btrace_info): Adjust number of calls
11832         and insns.
11833         * NEWS: Announce it.
11834
11835 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11836
11837         * record-btrace.c (btrace_call_history_insn_range): Print
11838         insn range as [begin, end].
11839
11840 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11841
11842         * btrace.h (struct btrace_func_link): New.
11843         (enum btrace_function_flag): New.
11844         (struct btrace_inst): Rename to ...
11845         (struct btrace_insn): ...this. Update all users.
11846         (struct btrace_func) <ibegin, iend>: Remove.
11847         (struct btrace_func_link): New.
11848         (struct btrace_func): Rename to ...
11849         (struct btrace_function): ...this. Update all users.
11850         (struct btrace_function) <segment, flow, up, insn, insn_offset)
11851         (number, level, flags>: New.
11852         (struct btrace_insn_iterator): Rename to ...
11853         (struct btrace_insn_history): ...this.
11854         Update all users.
11855         (struct btrace_insn_iterator, btrace_call_iterator): New.
11856         (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11857         (struct btrace_target_info) <begin, end, level>
11858         <insn_history, call_history>: New.
11859         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11860         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11861         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11862         (btrace_call_number, btrace_call_begin, btrace_call_end)
11863         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11864         (btrace_find_function_by_number, btrace_set_insn_history)
11865         (btrace_set_call_history): New.
11866         * btrace.c (btrace_init_insn_iterator)
11867         (btrace_init_func_iterator, compute_itrace): Remove.
11868         (ftrace_print_function_name, ftrace_print_filename)
11869         (ftrace_skip_file): Change
11870         parameter to const.
11871         (ftrace_init_func): Remove.
11872         (ftrace_debug): Use new btrace_function fields.
11873         (ftrace_function_switched): Also consider gaining and
11874         losing symbol information).
11875         (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11876         (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11877         (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11878         New.
11879         (ftrace_new_function): Move. Remove debug print.
11880         (ftrace_update_lines, ftrace_update_insns): New.
11881         (ftrace_update_function): Check for call, ret, and jump.
11882         (compute_ftrace): Renamed to ...
11883         (btrace_compute_ftrace): ...this. Rewritten to compute call
11884         stack.
11885         (btrace_fetch, btrace_clear): Updated.
11886         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11887         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11888         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11889         (btrace_call_number, btrace_call_begin, btrace_call_end)
11890         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11891         (btrace_find_function_by_number, btrace_set_insn_history)
11892         (btrace_set_call_history): New.
11893         * record-btrace.c (require_btrace): Use new btrace thread
11894         info fields.
11895         (record_btrace_info, btrace_insn_history)
11896         (record_btrace_insn_history, record_btrace_insn_history_range):
11897         Use new btrace thread info fields and new iterator.
11898         (btrace_func_history_src_line): Rename to ...
11899         (btrace_call_history_src_line): ...this. Use new btrace
11900         thread info fields.
11901         (btrace_func_history): Rename to ...
11902         (btrace_call_history): ...this. Use new btrace thread info
11903         fields and new iterator.
11904         (record_btrace_call_history, record_btrace_call_history_range):
11905         Use new btrace thread info fields and new iterator.
11906
11907 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11908
11909         * frame.h (frame_id_build_unavailable_stack_special): New.
11910         * frame.c (frame_id_build_unavailable_stack_special): New.
11911
11912 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11913
11914         * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11915         (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11916         (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11917         to gdbarch.
11918         * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11919         (i386_insn_is_jump, i386_jmp_p): New.
11920         (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11921         insn_is_jump to gdbarch.
11922         * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11923         * gdbarch.h: Regenerated.
11924         * gdbarch.c: Regenerated.
11925         * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11926         (default_insn_is_jump): New.
11927         * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11928         (default_insn_is_jump): New.
11929
11930 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11931
11932         * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11933         Change to ...
11934         (btrace_read_type) <BTRACE_READ_ALL>: ... this.  Update users.
11935         (btrace_read_type) <btrace_read_new>: Change to ...
11936         (btrace_read_type) <BTRACE_READ_NEW>: ... this.  Update users.
11937
11938 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
11939
11940         * common/linux-btrace.c (linux_read_btrace): Free trace from
11941         previous iteration.
11942
11943 2014-01-15  Doug Evans  <dje@google.com>
11944
11945         * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11946         uint32_t.
11947
11948 2014-01-15  Tom Tromey  <tromey@redhat.com>
11949
11950         * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11951         * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11952         * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11953         (set_objfile_main_name): New function.
11954         * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11955         language_of_main>: New fields.
11956         (set_objfile_main_name): Declare.
11957         * symtab.c (find_main_name): Loop over objfiles to find the main
11958         name and language.
11959         (set_main_name): Now static.
11960         (get_main_info): Add comment.
11961         * symtab.h (set_main_name): Don't declare.
11962
11963 2014-01-15  Tom Tromey  <tromey@redhat.com>
11964
11965         * symtab.c (main_progspace_key): New global.
11966         (struct main_info): New.
11967         (name_of_main, language_of_main): Remove.
11968         (get_main_info, main_info_cleanup): New function.
11969         (set_main_name, main_name, main_language): Use get_main_info.
11970         (_initialize_symtab): Initialize main_progspace_key.
11971
11972 2014-01-15  Tom Tromey  <tromey@redhat.com>
11973
11974         * dbxread.c (process_one_symbol): Update.
11975         * dwarf2read.c (read_partial_die): Update.
11976         * symfile.c (set_initial_language): Call main_language.
11977         * symtab.c (language_of_main): Now static.
11978         (set_main_name): Add 'lang' parameter.
11979         (find_main_name): Update.
11980         (main_language): New function.
11981         (symtab_observer_executable_changed): Update.
11982         * symtab.h (set_main_name): Update.
11983         (language_of_main): Remove.
11984         (main_language): Declare.
11985
11986 2014-01-15  Tom Tromey  <tromey@redhat.com>
11987
11988         * symfile.c (init_entry_point_info): Use new "initialized" field.
11989         Update.
11990         * objfiles.h (struct entry_point) <initialized>: New field.
11991         (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11992         (struct objfile) <ei>: ...here.  Remove.
11993         * objfiles.c (entry_point_address_query): Update.
11994
11995 2014-01-15  Tom Tromey  <tromey@redhat.com>
11996
11997         * objfiles.c (entry_point_address_query): Relocate entry point
11998         address.
11999         (objfile_relocate1): Do not relocate entry point address.
12000         * objfiles.h (struct entry_info) <entry_point>: Update comment.
12001         <the_bfd_section_index>: New field.
12002         * symfile.c (init_entry_point_info): Find the entry point's
12003         section.
12004
12005 2014-01-15  Tom Tromey  <tromey@redhat.com>
12006
12007         * solib-frv.c (enable_break): Use entry_point_address_query.
12008
12009 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
12010
12011         * NEWS: Add note on improved process record-replay on
12012         arm*-linux* targets.
12013
12014 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
12015
12016         * arm-tdep.c (enum arm_record_result): New enum.
12017         (arm_record_unsupported_insn): New function.
12018         (arm_record_coproc_data_proc): Removed.
12019         (thumb2_record_ld_st_multiple): New function.
12020         (thumb2_record_ld_st_dual_ex_tbb): New function.
12021         (thumb2_record_data_proc_sreg_mimm): New function.
12022         (thumb2_record_ps_dest_generic): New function.
12023         (thumb2_record_branch_misc_cntrl): New function.
12024         (thumb2_record_str_single_data): New function.
12025         (thumb2_record_ld_mem_hints): New function.
12026         (thumb2_record_ld_word): New function.
12027         (thumb2_record_lmul_lmla_div): New function.
12028         (thumb2_record_decode_insn_handler): New function.
12029         (decode_insn): Add thumb32 instruction handlers.
12030
12031 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
12032
12033         * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
12034         (struct arm_linux_record_tdep): Declare.
12035         (arm_canonicalize_syscall): New function.
12036         (arm_all_but_pc_registers_record): New function.
12037         (arm_linux_syscall_record): New function.
12038         (arm_linux_init_abi): Add syscall recording constructs.
12039         * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
12040         decoding.  (arm_record_coproc_data_proc): Update arm syscall
12041         decoding.
12042         * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
12043         <arm_syscall_record>: New field.
12044         * configure.tgt (arm*-*-linux*): Add linux-record.o to
12045         gdb_target_obs.
12046
12047 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
12048
12049         * arm-tdep.c (thumb_record_misc): Update to use sp as base
12050         register for push instruction recording.
12051
12052 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
12053
12054         * arm-tdep.c (thumb_record_misc): Update to correct logical
12055         error while recording ldm, ldmia and pop instructions.
12056
12057 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
12058
12059         * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
12060
12061 2014-01-15  Pedro Alves  <palves@redhat.com>
12062
12063         * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
12064         (go32_resume, go32_fetch_registers, store_register)
12065         (go32_store_registers, go32_prepare_to_store)
12066         (go32_xfer_memory, go32_files_info, go32_kill_inferior)
12067         (go32_create_inferior, go32_can_run, go32_terminal_init)
12068         (go32_terminal_inferior, go32_terminal_ours): Delete forward
12069         declarations.
12070
12071 2014-01-15  Tom Tromey  <tromey@redhat.com>
12072
12073         * target.h (async_callback_ftype): New typedef.
12074         (struct target_ops) <to_async>: Use it.
12075
12076 2014-01-15  Joel Brobecker  <brobecker@adacore.com>
12077
12078         * python/py-value.c (get_field_type): Remove unnecessary curly
12079         braces for single-statement if block.
12080
12081 2014-01-15  Joel Brobecker  <brobecker@adacore.com>
12082
12083         * python/py-type.c (convert_field): Add missing empty line
12084         after declarations.
12085
12086 2014-01-14  Doug Evans  <dje@google.com>
12087
12088         * symfile.h (expand_symtabs_matching): Renamed from
12089         expand_partial_symbol_names.  Update prototype.
12090         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12091         * symfile.c (expand_symtabs_matching): Renamed from
12092         expand_partial_symbol_names.  New args file_matcher, kind.
12093         Rename arg fun to symbol_matcher.
12094         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
12095         * ada-lang.c (ada_complete_symbol_matcher): Renamed from
12096         ada_expand_partial_symbol_name.
12097         (ada_make_symbol_completion_list): Update to call
12098         expand_symtabs_matching.
12099         (ada_add_global_exceptions): Call expand_symtabs_matching.
12100         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
12101         call map_symbol_filenames.
12102         * symtab.c (sources_info): Update to call map_symbol_filenames.
12103         (search_symbols): Call expand_symtabs_matching.
12104         (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
12105         (default_make_symbol_completion_list_break_on): Update to call
12106         expand_symtabs_matching.
12107         (make_source_files_completion_list): Update to call
12108         map_symbol_filenames.
12109
12110 2014-01-14  Doug Evans  <dje@google.com>
12111
12112         * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
12113         (expand_symtabs_symbol_matcher_ftype): New typedef.
12114         (quick_symbol_functions.expand_symtabs_matching): Update to use.
12115         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12116         * symfile.c (expand_partial_symbol_names): Update to use
12117         expand_symtabs_symbol_matcher_ftype.
12118         * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
12119         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12120         Arg name_matcher renamed to symbol_matcher.
12121         * psymtab.c (recursively_search_psymtabs): Update to use
12122         expand_symtabs_symbol_matcher_ftype.  Arg name_matcher renamed to
12123         sym_matcher.
12124         (expand_symtabs_matching_via_partial): Update to use
12125         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
12126         Arg name_matcher renamed to symbol_matcher.
12127
12128 2014-01-14  Doug Evans  <dje@google.com>
12129
12130         * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
12131         (map_partial_symbol_filenames): Ditto.
12132         * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
12133         (map_partial_symbol_filenames): Ditto.
12134         * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
12135         (map_partial_symbol_filenames): Ditto.
12136         * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
12137         (map_partial_symbol_filenames): Ditto.
12138         * symtab.c: Delete #include "psymtab.h".
12139
12140 2014-01-14  Pedro Alves  <palves@redhat.com>
12141             Tom Tromey  <tromey@redhat.com>
12142
12143         * infrun.c (use_displaced_stepping): Use find_record_target
12144         instead of RECORD_IS_USED.
12145         (adjust_pc_after_break): Use record_full_is_used instead of
12146         RECORD_IS_USED.
12147         * record-btrace.c (record_btrace_open): Call record_preopen
12148         instead of checking RECORD_IS_USED.
12149         * record-full.c (record_full_shortname)
12150         (record_full_core_shortname): New globals.
12151         (record_full_is_used): New function.
12152         (find_full_open): Call record_preopen instead of checking
12153         RECORD_IS_USED.
12154         (init_record_full_ops): Set the target's shortname to
12155         record_full_shortname.
12156         (init_record_full_core_ops): Set the target's shortname to
12157         record_full_core_shortname.
12158         * record-full.h (record_full_is_used): Declare.
12159         * record.c (find_record_target): Make extern.
12160         (record_preopen): New function.
12161         * record.h (RECORD_IS_USED): Delete macro.
12162         (find_record_target, record_preopen): Declare functions.
12163
12164 2014-01-14  Yao Qi  <yao@codesourcery.com>
12165
12166         * gdbarch.sh (core_xfer_shared_libraries): Change its argument
12167         'len''s type to ULONGEST.
12168         (core_xfer_shared_libraries_aix): Likewise.
12169         * gdbarch.c, gdbarch.h: Regenerated.
12170         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
12171         Change type of 'len' to ULONGEST.
12172         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12173         (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
12174
12175 2014-01-14  Yao Qi  <yao@codesourcery.com>
12176
12177         * common/linux-osdata.c (linux_xfer_osdata_processes): Change
12178         type of 'len' to ULONGEST.
12179         (linux_xfer_osdata_processgroups): Likewise.
12180         (linux_xfer_osdata_threads): Likewise.
12181         (linux_xfer_osdata_fds): Likewise.
12182         (linux_xfer_osdata_isockets): Likewise.
12183         (linux_xfer_osdata_shm): Likewise.
12184         (linux_xfer_osdata_sem): Likewise.
12185         (linux_xfer_osdata_msg): Likewise.
12186         (linux_common_xfer_osdata): Likewise.
12187         (struct osdata_type) <getter>: Likewise.
12188         * common/linux-osdata.h (linux_common_xfer_osdata): Update
12189         the declaration.
12190
12191 2014-01-14  Yao Qi  <yao@codesourcery.com>
12192
12193         * target.h (target_xfer_partial_ftype): Update.
12194         (struct target_ops) <to_xfer_partial>: Change 'len' type to
12195         ULONGEST.
12196         * aix-thread.c (aix_thread_xfer_partial): Change type of
12197         argument 'len' to ULONGEST.
12198         * auxv.c (procfs_xfer_auxv): Likewise.
12199         (ld_so_xfer_auxv): Likewise.
12200         (memory_xfer_auxv): Likewise.
12201         * bfd-target.c (target_bfd_xfer_partial): Likewise.
12202         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12203         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12204         * corelow.c (core_xfer_partial): Likewise.
12205         * ctf.c (ctf_xfer_partial): Likewise.
12206         * darwin-nat.c (darwin_read_write_inferior): Likewise.  Use
12207         '%u'.
12208         (darwin_read_dyld_info): Likewise.
12209         (darwin_xfer_partial): Likewise.
12210         * exec.c (section_table_xfer_memory_partial): Likewise.
12211         (exec_xfer_partial): Likewise.
12212         * exec.h (section_table_xfer_memory_partial): Update
12213         declaration.
12214         * gnu-nat.c (gnu_xfer_memory): Likewise.  Call pulongest
12215         instead of plongest.
12216         (gnu_xfer_partial): Likewise.
12217         * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
12218         (ia64_hpux_xfer_solib_got): Likewise.
12219         (ia64_hpux_xfer_partial): Likewise.
12220         * ia64-linux-nat.c (ia64_linux_xfer_partial):
12221         * inf-ptrace.c (inf_ptrace_xfer_partial):
12222         * inf-ttrace.c (inf_ttrace_xfer_partial):
12223         * linux-nat.c (linux_xfer_siginfo): Likewise.
12224         (linux_nat_xfer_partial): Likewise.
12225         (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
12226         (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
12227         * monitor.c (monitor_xfer_memory): Likewise.
12228         (monitor_xfer_partial): Likewise.
12229         * procfs.c (procfs_xfer_partial): Likewise.
12230         * record-full.c (record_full_xfer_partial): Likewise.
12231         (record_full_core_xfer_partial): Likewise.
12232         * remote-sim.c (gdbsim_xfer_memory): Likewise.  Call pulongest
12233         instead of plongest.
12234         (gdbsim_xfer_partial): Likewise.
12235         * remote.c (remote_xfer_partial): Likewise.
12236         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12237         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12238         declaration.
12239         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12240         (rs6000_xfer_shared_libraries): Likewise.
12241         * sol-thread.c (sol_thread_xfer_partial): Likewise.
12242         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12243         (sparc_xfer_partial): Likewise.
12244         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12245         (spu_xfer_partial): Likewise.
12246         * spu-multiarch.c (spu_xfer_partial): Likewise.
12247         * target.c (target_read_live_memory): Likewise.
12248         (memory_xfer_live_readonly_partial): Likewise.
12249         (memory_xfer_partial, memory_xfer_partial_1): Likewise.
12250         (target_xfer_partial, default_xfer_partial): Likewise.
12251         (current_xfer_partial): Likewise.
12252         * tracepoint.c (tfile_xfer_partial): Likewise.
12253         * windows-nat.c (windows_xfer_memory): Likewise.  Call
12254         pulongest instead of plongest.
12255         (windows_xfer_partial): Likewise.
12256         (windows_xfer_shared_libraries): Likewise.
12257
12258 2014-01-14  Yao Qi  <yao@codesourcery.com>
12259
12260         * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
12261         target_xfer_partial_ftype.
12262
12263 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
12264
12265         PR python/15464
12266         PR python/16113
12267         * valops.c (value_struct_elt_bitpos): New function
12268         * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
12269         object to 'None' if the field name is an empty string ("").
12270         * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
12271         attribute to look for a field when 'name' is 'None'.
12272         (get_field_type): New function
12273
12274 2014-01-13  Doug Evans  <dje@google.com>
12275
12276         PR symtab/16426
12277         * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
12278         (try_open_dwop_file): Ditto.
12279         * gdb_bfd.c: #include "vec.h".
12280         (bfdp): New typedef.
12281         (struct gdb_bfd_data): New member included_bfds.
12282         (gdb_bfd_unref): Unref all included bfds.
12283         (gdb_bfd_record_inclusion): New function.
12284         * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
12285
12286 2014-01-13  Tom Tromey  <tromey@redhat.com>
12287
12288         * gdbcore.h (deprecated_core_resize_section_table): Remove.
12289
12290 2014-01-13  Tom Tromey  <tromey@redhat.com>
12291
12292         * defs.h (use_windows): Remove.
12293         * gdb.c (main): Update.
12294         * main.c (captured_main, gdb_main): Update.
12295         * main.h (struct captured_main_args) <use_windows>: Remove.
12296         * top.c (use_windows): Remove.
12297
12298 2014-01-13  Tom Tromey  <tromey@redhat.com>
12299
12300         * defs.h (deprecated_flush_hook): Remove.
12301
12302 2014-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12303
12304         PR threads/16216
12305         * linux-thread-db.c (try_thread_db_load): Add parameter
12306         check_auto_load_safe.  Move here the file_is_auto_load_safe call.
12307         (try_thread_db_load_from_pdir_1): Move it there from here.
12308         (try_thread_db_load_from_sdir): Update caller.
12309         (try_thread_db_load_from_dir): Move it there from here.
12310
12311 2014-01-13  Patrick Palka  <patrick@parcs.ath.cx>
12312
12313         * regformats/regdat.sh: Always rewrite the register file.
12314
12315 2014-01-13  Pedro Alves  <palves@redhat.com>
12316
12317         * Makefile.in (CHECK_HEADERS): New variable.
12318         (check-headers:): New rule.
12319
12320 2014-01-13  Tom Tromey  <tromey@redhat.com>
12321
12322         * cli/cli-setshow.c (do_set_command): Update.
12323         * defs.h (deprecated_set_hook): Remove.
12324         * top.c (deprecated_set_hook): Remove.
12325
12326 2014-01-13  Pedro Alves  <palves@redhat.com>
12327
12328         * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12329         the tracepoint if the PC is a pseudo-register.
12330
12331 2014-01-13  Tom Tromey  <tromey@redhat.com>
12332
12333         * defs.h (XCALLOC): Remove.
12334         * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12335         (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12336         * dwarf2loc.c (allocate_piece_closure): Likewise.
12337         * elfread.c (elf_symfile_segments): Likewise.
12338         (elf_symfile_segments): Likewise.
12339         * gdbtypes.c (copy_type_recursive): Likewise.
12340         * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12341         * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12342         * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12343         XCALLOC.
12344         * mt-tdep.c (mt_gdbarch_init): Likewise.
12345         * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12346         XCALLOC.
12347         * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12348         * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12349         * registry.c (registry_alloc_data): Likewise.
12350         * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12351         * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12352         * serial.c (serial_fdopen_ops): Likewise.
12353         * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12354         XCALLOC.
12355         * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12356         * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12357         not XCALLOC.
12358
12359 2014-01-13  Tom Tromey  <tromey@redhat.com>
12360
12361         * defs.h (XMALLOC): Remove.
12362         * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12363         * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12364         * cli-out.c (struct ui_out *): Likewise.
12365         * cli/cli-dump.c (add_dump_command): Likewise.
12366         (add_dump_command): Likewise.
12367         * complaints.c (get_complaints): Likewise.
12368         (find_complaint): Likewise.
12369         * dwarf2-frame.c (execute_cfa_program): Likewise.
12370         * dwarf2read.c (abbrev_table_read_table): Likewise.
12371         * gdbarch.sh: Likewise.
12372         * gdbarch.c: Rebuild.
12373         * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12374         * interps.c (interp_new): Likewise.
12375         * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12376         * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12377         * mi/mi-console.c (mi_console_file_new): Likewise.
12378         * mi/mi-interp.c (mi_interpreter_init): Likewise.
12379         * mi/mi-out.c (mi_out_new): Likewise.
12380         * mi/mi-parse.c (mi_parse): Likewise.
12381         * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12382         * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12383         * observer.c (xalloc_observer_list_node): Likewise.
12384         * regcache.c (regcache_xmalloc_1): Likewise.
12385         * reggroups.c (reggroup_new): Likewise.
12386         (_initialize_reggroup): Likewise.
12387         * registry.c (register_data_with_cleanup): Likewise.
12388         * remote.c (remote_notif_stop_alloc_reply): Likewise.
12389         * ser-base.c (serial_ttystate): Likewise.
12390         * ser-mingw.c (make_pipe_state): Likewise.
12391         * ser-pipe.c (pipe_open): Likewise.
12392         * serial.c (serial_open): Likewise.
12393         * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12394         * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12395         (tui_alloc_win_info): Likewise.
12396         (tui_add_content_elements): Likewise.
12397         * tui/tui-file.c (tui_file_new): Likewise.
12398         * tui/tui-out.c (tui_out_new): Likewise.
12399         * ui-file.c (mem_file_new): Likewise.
12400         * ui-out.c (push_level): Likewise.
12401         (make_cleanup_ui_out_end): Likewise.
12402         (append_header_to_list): Likewise.
12403         (ui_out_new): Likewise.
12404         * user-regs.c (user_reg_add_builtin): Likewise.
12405
12406 2014-01-13  Tom Tromey  <tromey@redhat.com>
12407
12408         * defs.h (XZALLOC): Remove.
12409         * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12410         * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12411         (get_ada_tasks_inferior_data): Likewise.
12412         * auto-load.c (get_auto_load_pspace_data): Likewise.
12413         * auxv.c (get_auxv_inferior_data): Likewise.
12414         * bfd-target.c (target_bfd_reopen): Likewise.
12415         * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12416         (deprecated_insert_raw_breakpoint): Likewise.
12417         * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12418         * corelow.c (core_open): Likewise.
12419         * darwin-nat.c (darwin_check_new_threads): Likewise.
12420         (darwin_attach_pid): Likewise.
12421         * dummy-frame.c (dummy_frame_push): Likewise.
12422         * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12423         * dwarf2loc.c (allocate_piece_closure): Likewise.
12424         * elfread.c (elf_symfile_segments): Likewise.
12425         * eval.c (ptrmath_type_p): Likewise.
12426         * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12427         * gdbtypes.c (alloc_type_arch): Likewise.
12428         (alloc_type_instance): Likewise.
12429         * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12430         * inf-child.c (inf_child_can_use_agent): Likewise.
12431         * inflow.c (get_inflow_inferior_data): Likewise.
12432         * infrun.c (save_infcall_suspend_state): Likewise.
12433         * jit.c (jit_reader_load): Likewise.
12434         (get_jit_objfile_data): Likewise.
12435         (get_jit_program_space_data): Likewise.
12436         (jit_object_open_impl): Likewise.
12437         (jit_symtab_open_impl): Likewise.
12438         (jit_block_open_impl): Likewise.
12439         (jit_frame_sniffer): Likewise.
12440         * linux-fork.c (add_fork): Likewise.
12441         * maint.c (make_command_stats_cleanup): Likewise.
12442         * objfiles.c (get_objfile_pspace_data): Likewise.
12443         * opencl-lang.c (struct lval_closure): Likewise.
12444         * osdata.c (osdata_start_osdata): Likewise.
12445         * progspace.c (new_address_space): Likewise.
12446         (add_program_space): Likewise.
12447         * remote-sim.c (get_sim_inferior_data): Likewise.
12448         * sh-tdep.c (sh_gdbarch_init): Likewise.
12449         * skip.c (Ignore): Likewise.
12450         (skip_delete_command): Likewise.
12451         * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12452         (library_list_start_library): Likewise.
12453         (solib_aix_current_sos): Likewise.
12454         * solib-darwin.c (get_darwin_info): Likewise.
12455         (darwin_current_sos): Likewise.
12456         * solib-dsbt.c (get_dsbt_info): Likewise.
12457         * solib-ia64-hpux.c (new_so_list): Likewise.
12458         (ia64_hpux_get_solib_linkage_addr): Likewise.
12459         * solib-spu.c (append_ocl_sos): Likewise.
12460         (spu_current_sos): Likewise.
12461         * solib-svr4.c (get_svr4_info): Likewise.
12462         (svr4_keep_data_in_core): Likewise.
12463         (library_list_start_library): Likewise.
12464         (svr4_default_sos): Likewise.
12465         (svr4_read_so_list): Likewise.
12466         * solib-target.c (library_list_start_library): Likewise.
12467         (solib_target_current_sos): Likewise.
12468         * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12469         * symfile-debug.c (install_symfile_debug_logging): Likewise.
12470         * symfile.c (default_symfile_segments): Likewise.
12471         * target-descriptions.c (tdesc_data_init): Likewise.
12472         (tdesc_create_reg): Likewise.
12473         (struct tdesc_type *): Likewise.
12474         (tdesc_create_vector): Likewise.
12475         (tdesc_set_struct_size): Likewise.
12476         (struct tdesc_type *): Likewise.
12477         (tdesc_free_feature): Likewise.
12478         (tdesc_create_feature): Likewise.
12479         * windows-nat.c (windows_add_thread): Likewise.
12480         (windows_make_so): Likewise.
12481         * xml-support.c (gdb_xml_body_text): Likewise.
12482         (gdb_xml_create_parser_and_cleanup): Likewise.
12483         (xml_process_xincludes): Likewise.
12484         * xml-syscall.c (allocate_syscalls_info): Likewise.
12485         (syscall_create_syscall_desc): Likewise.
12486
12487 2014-01-12  Sergio Durigan Junior  <sergiodj@redhat.com>
12488
12489         * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12490         function, with code from i386_stap_parse_special_token.
12491         (i386_stap_parse_special_token_three_arg_disp): Likewise.
12492         (i386_stap_parse_special_token): Move code to the two functions
12493         above; simplify it.
12494
12495 2014-01-09  Pedro Alves  <palves@redhat.com>
12496             Hui Zhu  <hui@codesourcery.com>
12497
12498         PR gdb/16101
12499         * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12500         bp_err_string.  Don't mark the location shlib_disabled if the
12501         error thrown wasn't a generic or memory error.  Catch errors
12502         thrown while inserting breakpoints in overlayed code.  Output
12503         error message of software breakpoints.
12504         * remote.c (remote_insert_breakpoint): If this breakpoint has
12505         target-side commands but this stub doesn't support Z0 packets,
12506         throw NOT_SUPPORTED_ERROR error.
12507         * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12508         * target.h (target_insert_breakpoint): Extend comment.
12509         (target_insert_hw_breakpoint): Add comment.
12510
12511 2014-01-08  Pedro Alves  <palves@redhat.com>
12512
12513         * remote.c (remote_add_thread): Add threads silently if starting
12514         up.
12515         (remote_notice_new_inferior): If in all-stop, and starting up,
12516         don't call notice_new_inferior.
12517         (get_current_thread): New function, factored out from ...
12518         (add_current_inferior_and_thread): ... this.  Adjust.
12519         (remote_start_remote) <all-stop>: Fetch the thread list.  If we
12520         found any thread, then select the remote's current thread as GDB's
12521         current thread too.
12522
12523 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
12524
12525         * NEWS: Create a new section for the next release branch.
12526         Rename the section of the current branch, now that it has
12527         been cut.
12528
12529 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
12530
12531         GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12532         * version.in: Bump version to 7.7.50.DATE-cvs.
12533
12534 2014-01-08  Yao Qi  <yao@codesourcery.com>
12535
12536         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12537         type of 'id' to gdb_byte.  Cast 'id' to 'const char *'.
12538         (spu_xfer_partial): Cast 'buf' to 'const char *'.
12539
12540 2014-01-08  Yao Qi  <yao@codesourcery.com>
12541
12542         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12543         return value of bfd_get_filename to symbol_file_add_from_bfd.
12544
12545 2014-01-08  Pierre Muller  <muller@sourceware.org>
12546
12547         Fix PR16201.
12548         * coff-pe-read.c (struct read_pe_section_data): Add index field.
12549         (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12550         to prim_record_mininal_symbol_and_info.
12551         (add_pe_forwarded_sym): Use known section number of forwarded symbol
12552         in call to prim_record_minimal_symbol_and_info.
12553         (read_pe_exported_syms): Set index field of section_data.
12554
12555 2014-01-07  Andrew Pinski  <apinski@cavium.com>
12556
12557         * features/aarch64-core.xml (cpsr): Change to be 64bit.
12558         * features/aarch64.c: Regenerate.
12559
12560 2014-01-07  Andreas Schwab  <schwab@linux-m68k.org>
12561
12562         * target.c (return_null): Define.
12563         (update_current_target): Use it instead of return_zero for
12564         functions that return a pointer.
12565
12566 2014-01-07  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12567
12568         * source.c (add_path): Fix check for duplicated paths in the previously
12569         included paths.
12570
12571 2014-01-07  Honggyu Kim  <hong.gyu.kim@lge.com>
12572
12573         * ada-lang.c: Remove duplicated include statements.
12574         * alphabsd-nat.c: Ditto.
12575         * amd64-darwin-tdep.c: Ditto.
12576         * amd64fbsd-nat.c: Ditto.
12577         * auto-load.c: Ditto.
12578         * ax-gdb.c: Ditto.
12579         * breakpoint.c: Ditto.
12580         * dbxread.c: Ditto.
12581         * fork-child.c: Ditto.
12582         * gdb_usleep.c: Ditto.
12583         * i386-darwin-tdep.c: Ditto.
12584         * i386fbsd-nat.c: Ditto.
12585         * infcmd.c: Ditto.
12586         * inferior.c: Ditto.
12587         * jv-lang.c: Ditto.
12588         * linux-nat.c: Ditto.
12589         * linux-tdep.c: Ditto.
12590         * m68kbsd-nat.c: Ditto.
12591         * m68klinux-nat.c: Ditto.
12592         * microblaze-tdep.c: Ditto.
12593         * mips-linux-tdep.c: Ditto.
12594         * mn10300-tdep.c: Ditto.
12595         * nto-tdep.c: Ditto.
12596         * opencl-lang.c: Ditto.
12597         * osdata.c: Ditto.
12598         * printcmd.c: Ditto.
12599         * regcache.c: Ditto.
12600         * remote-m32r-sdi.c: Ditto.
12601         * remote.c: Ditto.
12602         * symfile.c: Ditto.
12603         * symtab.c: Ditto.
12604         * tilegx-linux-nat.c: Ditto.
12605         * tilegx-tdep.c: Ditto.
12606         * tracepoint.c: Ditto.
12607         * valops.c: Ditto.
12608         * vaxbsd-nat.c: Ditto.
12609         * windows-nat.c: Ditto.
12610         * xtensa-tdep.c: Ditto.
12611
12612 2014-01-07  Yao Qi  <yao@codesourcery.com>
12613
12614         * spu-linux-nat.c (_initialize_spu_nat): Declare.
12615
12616 2014-01-07  Yao Qi  <yao@codesourcery.com>
12617             Joel Brobecker  <brobecker@adacore.com>
12618
12619         * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12620         (pdc_write_regs): Likewise.
12621         (fetch_regs_kernel_thread): Likewise.
12622         (store_regs_kernel_thread): Likewise.
12623
12624 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12625
12626         * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12627         tagged type objects to their actual type.
12628
12629 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12630
12631         * ada-valprint.c (print_field_values): Add "language" parameter.
12632         Update calls to print_field_values and print_variant_part.
12633         Pass new parameter "language" in call to val_print instead
12634         of "current_language".  Replace call to ada_val_print by call
12635         to val_print.
12636         (print_variant_part): Add "language" parameter.
12637         (ada_val_print_struct_union): Update call to print_field_values.
12638
12639 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12640
12641         * ada-valprint.c (ui_memcpy): Delete.
12642         (ada_print_floating): Update documentation.  Add empty line
12643         between between function documentation and implementation.
12644         Delete variable "buffer".  Use ui_file_xstrdup in place of
12645         ui_file_put.  Minor adjustments following this change.
12646
12647 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12648
12649         * ada-valprint.c (ada_val_print_string): New function,
12650         extracted from ada_val_print_array.
12651         (ada_val_print_array): Replace extracted code by call
12652         to ada_val_print_string followed by a return.  Move
12653         "else" branch to the function's top block.
12654
12655 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12656
12657         * ada-valprint.c (ada_val_print_array): Move implementation
12658         down.  Rename parameter "offset" and "val" into "offset_aligned"
12659         and "original_value" respectively.  Add parameter "offset".
12660
12661 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12662
12663         * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12664         re-organizing the code. Change the "???" message printed
12665         when target type is a TYPE_CODE_UNDEF into
12666         "<ref to undefined type>".
12667
12668 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12669
12670         * ada-valprint.c (print_record): Delete, implementation inlined...
12671         (ada_val_print_struct_union): ... here.  Remove call to
12672         ada_check_typedef in inlined implementation.
12673
12674 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12675
12676         * ada-valprint.c (ada_val_print_gnat_array): New function,
12677         extracted from ada_val_print_1;
12678         (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12679         (ada_val_print_flt, ada_val_print_struct_union)
12680         (ada_val_print_ref): Likewise.
12681         (ada_val_print_1): Delete variables i and elttype.
12682         Replace extracted-out code by call to corresponding
12683         new functions.
12684
12685 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12686
12687         * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12688
12689 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12690
12691         * ada-valprint.c (ada_val_print_1): Replace calls to
12692         ada_val_print_1 by calls to val_print.
12693
12694 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12695
12696         * ada-valprint.c (ada_val_print_1): Add parameter "language".
12697         Update calls to self accordingly.  Replace calls to c_val_print
12698         by calls to val_print.
12699
12700 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12701
12702         * ada-valprint.c (print_record): Delete declaration.
12703         (adjust_type_signedness, ada_val_print_1): Likewise.
12704         (ada_val_print): Move function implementation down.
12705         (print_variant_part, print_field_values, print_record):
12706         Move function implementation up.
12707
12708 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
12709
12710         * python/py-type.c (typy_get_name): New function.
12711         (type_object_getset): Add entry for attribute "name".
12712         * NEWS: Add entry mentioning this new attribute.
12713
12714 2014-01-07  Yao Qi  <yao@codesourcery.com>
12715
12716         * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12717         statement.
12718
12719 2014-01-07  Yao Qi  <yao@codesourcery.com>
12720
12721         * gnu-nat.c (info_port_rights): Add qualifier const to
12722         argument args.
12723
12724 2014-01-07  Yao Qi  <yao@codesourcery.com>
12725
12726         * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12727
12728 2014-01-07  Yao Qi  <yao@codesourcery.com>
12729
12730         * gnu-nat.c (make_inf) Update declaration.
12731         (make_inf): Make it static.
12732         (inf_set_traced): Likewise.
12733         (inf_port_to_thread, inf_task_died_status): Likewise.
12734
12735 2014-01-07  Yao Qi  <yao@codesourcery.com>
12736
12737         * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12738
12739 2014-01-07  Yao Qi  <yao@codesourcery.com>
12740
12741         * gnu-nat.c (_initialize_gnu_nat): Declare.
12742
12743 2014-01-07  Yao Qi  <yao@codesourcery.com>
12744
12745         * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12746         'enum bfd_endian'.
12747         (struct gdbarch_info) <byte_order>: Change type to
12748         'enum bfd_endian'.
12749         <byte_order_for_code>: Likewise.
12750         * gdbarch.c, gdbarch.h: Regenerated.
12751
12752 2014-01-06  Sasha Smundak  <asmundak@google.com>
12753
12754         * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12755
12756 2014-01-06  Tom Tromey  <tromey@redhat.com>
12757
12758         * doublest.c (convert_doublest_to_floatformat): Use const, not
12759         CONST.
12760         * somread.c (som_symtab_read): Likewise.
12761
12762 2014-01-07  Hui Zhu  <hui@codesourcery.com>
12763
12764         * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12765         (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12766         (gdb_bfd_fopen): Ditto.
12767         (gdb_bfd_openr): Ditto.
12768         (gdb_bfd_openw): Ditto.
12769         (gdb_bfd_openr_iovec): Ditto.
12770         (gdb_bfd_fdopenr): Ditto.
12771         * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12772         * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12773         with xstrdup.
12774         * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12775         with xstrdup.
12776         * symfile-mem.c (symbol_file_add_from_memory): Removed
12777         gdb_bfd_stash_filename.
12778
12779 2014-01-03  Doug Evans  <dje@google.com>
12780
12781         * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12782         output.
12783
12784 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
12785
12786         Update year range in copyright notice of all files.
12787
12788 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
12789
12790         * top.c (print_gdb_version): Set copyright year to 2014.
12791
12792 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
12793
12794         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12795
12796 For older changes see ChangeLog-2013.
12797 \f
12798 Local Variables:
12799 mode: change-log
12800 left-margin: 8
12801 fill-column: 74
12802 version-control: never
12803 coding: utf-8
12804 End: