]> Git Repo - binutils.git/blob - gdb/ChangeLog
Remove duplicate comment
[binutils.git] / gdb / ChangeLog
1 2014-12-01  Simon Marchi  <[email protected]>
2
3         * objfiles.c (allocate_objfile): Remove duplicate comment.
4
5 2014-12-01  Ulrich Weigand  <[email protected]>
6
7         * config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o.
8         * i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h".
9         (CREG_OFFSET, creg_offset, CREG_ADDR): Remove.
10         (supply_gregset, supply_fpregset): Remove.
11         * i386gnu-tdep.c (i386gnu_gregset_reg_offset): New variable.
12         (i386gnu_init_abi): Set tdep->gregset_reg_offset, gregset_num_regs,
13         and sizeof_gregset.
14
15 2014-11-30  Jan Kratochvil  <[email protected]>
16
17         Add add-auto-load-scripts-directory.
18         * NEWS (Changes since GDB 7.8): Add add-auto-load-scripts-directory.
19         * auto-load.c (add_auto_load_dir): New function.
20         (_initialize_auto_load): Install it.
21
22 2014-11-30  Martin Galvan  <[email protected]>  (tiny patch, obvious)
23
24         Pushed by Joel Brobecker  <[email protected]>.
25         * frame.c (frame_id_eq): Fix the check for FID_STACK_INVALID.
26
27 2014-11-29  Siva Chandra Reddy  <[email protected]>
28
29         * eval.c (evaluate_subexp): Check that the thread stack temporaries
30         are not already enabled before enabling them.
31
32 2014-11-29  Yao Qi  <[email protected]>
33
34         * arm-tdep.c (arm_analyze_prologue): Move local variables
35         'framereg' and 'framesize' to inner block.  Move code to
36         inner block too.
37
38 2014-11-28  Siva Chandra Reddy  <[email protected]>
39
40         * eval.c: Include gdbthread.h.
41         (evaluate_subexp): Enable thread stack temporaries before
42         evaluating a complete expression and clean them up after the
43         evaluation is complete.
44         * gdbthread.h: Include common/vec.h.
45         (value_ptr): New typedef.
46         (VEC (value_ptr)): New vector type.
47         (value_vec): New typedef.
48         (struct thread_info): Add new fields stack_temporaries_enabled
49         and stack_temporaries.
50         (enable_thread_stack_temporaries)
51         (thread_stack_temporaries_enabled_p, push_thread_stack_temporary)
52         (get_last_thread_stack_temporary)
53         (value_in_thread_stack_temporaries): Declare.
54         * gdbtypes.c (class_or_union_p): New function.
55         * gdbtypes.h (class_or_union_p): Declare.
56         * infcall.c (call_function_by_hand): Store return values of class
57         type as temporaries on stack.
58         * thread.c (enable_thread_stack_temporaries): New function.
59         (thread_stack_temporaries_enabled_p, push_thread_stack_temporary)
60         (get_last_thread_stack_temporary): Likewise.
61         (value_in_thread_stack_temporaries): Likewise.
62         * value.c (value_force_lval): New function.
63         * value.h (value_force_lval): Declare.
64
65 2014-11-28  Pierre Muller  <[email protected]>
66
67         Pushed by Joel Brobecker  <[email protected]>.
68         * amd64-tdep.c (amd64_dwarf_regmap array): Add missing MMX
69         registers.
70
71 2014-11-28  Ulrich Weigand  <[email protected]>
72
73         * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o.
74         * config/sparc/linux.mh (NATDEPFILES): Likewise.
75         * config/sparc/linux64.mh (NATDEPFILES): Likewise.
76         * m68klinux-nat.c (fetch_core_registers): Remove.
77         (linux_elf_core_fns): Remove.
78         (_initialize_m68k_linux_nat): Do not call deprecated_add_core_fns.
79
80 2014-11-28  Joel Brobecker  <[email protected]>
81
82         * utils.c (gdb_realpath): Rework comment about handling on
83         Windows.
84
85 2014-11-28  Yao Qi  <[email protected]>
86
87         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
88         rename.
89         * gnulib/aclocal.m4: Re-generated.
90         * gnulib/config.in: Re-generated.
91         * gnulib/configure: Re-generated.
92         * gnulib/import/Makefile.am: Re-generated.
93         * gnulib/import/Makefile.in: Re-generated.
94         * gnulib/import/m4/gnulib-cache.m4: Re-generated.
95         * gnulib/import/m4/gnulib-comp.m4: Re-generated.
96         * import/basename-lgpl.c: New file.
97         * import/dirname-lgpl.c: New file.
98         * import/dirname.h: New file.
99         * import/m4/dirname.m4: New file.
100         * import/m4/malloc.m4: New file.
101         * import/m4/rename.m4: New file.
102         * import/m4/rmdir.m4: New file.
103         * import/m4/stdio_h.m4: New file.
104         * import/malloc.c: New file.
105         * import/rename.c: New file.
106         * import/rmdir.c: New file.
107         * import/same-inode.h: New file.
108         * import/stdio.c: New file.
109         * import/stdio.in.h: New file.
110         * import/stripslash.c: New file.
111
112 2014-11-28  Yao Qi  <[email protected]>
113
114         * configure.ac (AC_CHECK_FUNCS): Remove canonicalize_file_name
115         and realpath.
116         * config.in: Re-generated.
117         * configure: Re-generated.
118         * utils.c (gdb_realpath): Remove code calling realpath,
119         canonicalize_file_name and pathconf.
120         [!_WIN32]: Call canonicalize_file_name.
121
122 2014-11-28  Yao Qi  <[email protected]>
123
124         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
125         canonicalize-lgpl.
126         * aclocal.m4: Re-generated.
127         * config.in: Re-generated.
128         * configure: Re-generated.
129         * import/Makefile.am: Re-generated.
130         * import/Makefile.in: Re-generated.
131         * import/m4/gnulib-cache.m4: Re-generated.
132         * import/m4/gnulib-comp.m4: Re-generated.
133         * import/canonicalize-lgpl.c: New file.
134         * import/extra/snippet/_Noreturn.h: New file.
135         * import/m4/canonicalize.m4: New file.
136         * import/m4/double-slash-root.m4: New file.
137         * import/m4/eealloc.m4: New file.
138         * import/m4/malloca.m4: New file.
139         * import/m4/nocrash.m4: New file.
140         * import/m4/stdlib_h.m4: New file.
141         * import/malloca.c: New file.
142         * import/malloca.h: New file.
143         * import/malloca.valgrind: New file.
144
145 2014-11-28  Yao Qi  <[email protected]>
146
147         * configure.ac (AC_CHECK_FUNCS): Remove lstat.
148         * config.in, configure: Regenerate.
149         * symfile.c (find_separate_debug_file_by_debuglink): Remove
150         code checking HAVE_LSTAT is defined.
151
152 2014-11-28  Yao Qi  <[email protected]>
153
154         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
155         lstat.
156         * gnulib/aclocal.m4: Re-generated.
157         * gnulib/config.in: Re-generated.
158         * gnulib/configure: Re-generated.
159         * gnulib/import/Makefile.am: Re-generated.
160         * gnulib/import/Makefile.in: Re-generated.
161         * gnulib/import/m4/gnulib-cache.m4: Re-generated.
162         * gnulib/import/m4/gnulib-comp.m4: Re-generated.
163         * gnulib/import/lstat.c: New file.
164         * gnulib/import/m4/lstat.m4: New file.
165
166 2014-11-28  Yao Qi  <[email protected]>
167
168         * configure.ac (AC_CHECK_FUNCS): Remove readlink.
169         * config.in, configure: Re-generate.
170         * inf-child.c (inf_child_fileio_readlink): Don't check
171         HAVE_READLINK is defined.
172
173 2014-11-28  Yao Qi  <[email protected]>
174
175         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add readlink.
176         * gnulib/aclocal.m4: Re-generated.
177         * gnulib/config.in: Likewise.
178         * gnulib/configure: Likewise.
179         * gnulib/import/Makefile.am: Likewise.
180         * gnulib/import/Makefile.in: Likewise.
181         * gnulib/import/m4/gnulib-cache.m4: Likewise.
182         * gnulib/import/m4/gnulib-comp.m4: Likewise.
183         * gnulib/import/dosname.h: New file
184         * gnulib/import/m4/largefile.m4: New file.
185         * gnulib/import/m4/readlink.m4: New file.
186         * gnulib/import/m4/stat.m4: New file.
187         * gnulib/import/readlink.c: New file.
188         * gnulib/import/stat.c: New file.
189
190 2014-11-26  Mark Wielaard  <[email protected]>
191
192         * dwarf2read.c (set_cu_language): Recognize DW_LANG_C11,
193         DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14.
194
195 2014-11-25  Sandra Loosemore  <[email protected]>
196
197         * nios2-tdep.c (nios2_analyze_prologue): Replace restriction
198         that there can be only one stack adjustment in the prologue
199         with tests to detect specific disallowed stack adjustments.
200
201 2014-11-25  Sandra Loosemore  <[email protected]>
202
203         * nios2-tdep.c (nios2_in_epilogue_p): Handle multiple stack
204         adjustments.
205
206 2014-11-25  Sandra Loosemore  <[email protected]>
207
208         * nios2-tdep.c (nios2_fetch_insn): Move up in file.  Disassemble
209         the instruction as well as reading it from memory.
210         (nios2_match_add): New.
211         (nios2_match_sub): New.
212         (nios2_match_addi): New.
213         (nios2_match_orhi): New.
214         (nios2_match_stw): New.
215         (nios2_match_ldw): New.
216         (nios2_match_rdctl): New.
217         (enum branch_condition): New.
218         (nios2_match_branch): New.
219         (nios2_match_jmpi): New.
220         (nios2_match_calli): New.
221         (nios2_match_jmpr): New.
222         (nios2_match_callr): New.
223         (nios2_match_break): New.
224         (nios2_match_trap): New.
225         (nios2_in_epilogue_p): Rewrite to use new functions.
226         (nios2_analyze_prologue): Likewise.
227         (nios2_skip_prologue): Delete unused local limit_pc.
228         (nios2_breakpoint_from_pc): Make R1-specific encodings explicit.
229         (nios2_get_next_pc): Rewrite to use new functions.
230
231 2014-11-24  Jan Kratochvil  <[email protected]>
232
233         * gdbtypes.c (resolve_dynamic_type_internal): Reindent the code.
234
235 2014-11-24  Samuel Thibault  <[email protected]>
236
237         Pushed by Joel Brobecker  <[email protected]>
238         * gdb/gnu-nat.c (inf_validate_procinfo): Multiply the number of
239         elements pi_len by the size of the elements before calling
240         vm_deallocate.
241         (inf_validate_task_sc): Likewise, and properly deallocate the
242         noise array.
243
244 2014-11-23  Doug Evans  <[email protected]>
245
246         * gdbtypes.c (print_args): Renamed from print_arg_types.  Print arg
247         number and name if present.  All callers updated.
248         (dump_fn_fieldlists): Fix indentation of args.
249
250 2014-11-23  Patrick Palka  <[email protected]>
251
252         * MAINTAINERS (Write After Approval): Add myself.
253
254 2014-11-23  Joel Brobecker  <[email protected]>
255
256         * breakpoint.c (bp_loc_is_permanent): Return 0 if LOC corresponds
257         to a bp_call_dummy breakpoint type.
258
259 2014-11-23  Patrick Palka  <[email protected]>
260
261         * tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when
262         registering the signal handler.
263
264 2014-11-23  Patrick Palka  <[email protected]>
265
266         * event-top.h (call_stdin_event_handler_again_p): Declare.
267         * event-top.c (call_stdin_event_handler_again_p): Define.
268         (stdin_event_handler): Use it.
269         * tui/tui-io.c (tui_getc): Prepare to call the stdin event
270         handler again if there is pending input following a
271         start sequence.
272
273 2014-11-23  Patrick Palka  <[email protected]>
274
275         Pushed by Joel Brobecker  <[email protected]>
276         * linux-fork.c (checkpoint_command): Print index of new
277         checkpoint in response message.
278
279 2014-11-23  Yao Qi  <[email protected]>
280
281         * valprint.c (read_string): Move local variables 'found_nul',
282         'chunksize' and 'limit' to inner scope.  Update comments.
283
284 2014-11-22  Doug Evans  <[email protected]>
285
286         * symtab.c (lookup_symbol_in_objfile_from_linkage_name): Improve
287         function comment.
288         (search_symbols): Fix comments and whitespace.
289
290 2014-11-22  Doug Evans  <[email protected]>
291
292         * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
293
294 2014-11-21  Doug Evans  <[email protected]>
295
296         * psymtab.c (psymtab_search_name): Fix whitespace.
297
298 2014-11-21  Yao Qi  <[email protected]>
299
300         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
301         errno.
302         * gnulib/import/Makefile.am: Re-generated.
303         * gnulib/import/Makefile.in: Likewise.
304         * gnulib/import/m4/gnulib-cache.m4: Likewise.
305
306 2014-11-21  Yao Qi  <[email protected]>
307
308         * gdb_wchar.h: Include wchar.h and wctype.h.
309         [HAVE_ICONV && HAVE_BTOWC]: Don't check HAVE_WCHAR_T and don't
310         include wchar.h and wctype.h.
311         Don't check HAVE_WCHAR_H.
312
313 2014-11-21  Yao Qi  <[email protected]>
314
315         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add wchar
316         and wctype-h.
317         * gnulib/import/Makefile.am: Re-generated.
318         * gnulib/import/Makefile.in: Likewise.
319         * gnulib/import/m4/gnulib-cache.m4: Likewise.
320
321 2014-11-21  Yao Qi  <[email protected]>
322
323         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
324         memchr.
325         * gnulib/import/Makefile.am: Re-generated.
326         * gnulib/import/Makefile.in: Likewise.
327         * gnulib/import/m4/gnulib-cache.m4: Likewise.
328
329 2014-11-21  Yao Qi  <[email protected]>
330
331         * common/common-defs.h: Include alloca.h
332         * configure.ac: Don't invoke AC_FUNC_ALLOCA.
333         * configure: Re-generated.
334         * defs.h: Remove code handling alloca.
335         * utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined
336         or not.
337
338 2014-11-21  Yao Qi  <[email protected]>
339
340         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULE): Add
341         alloca.
342         * gnulib/import/Makefile.am: Re-generated.
343         * gnulib/import/Makefile.in: Likewise..
344         * gnulib/import/m4/gnulib-cache.m4: Likewise.
345
346 2014-11-21  Yao Qi  <[email protected]>
347
348         * gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in
349         alphabetical order.
350
351 2014-11-21  Joel Brobecker  <[email protected]>
352
353         * gdbtypes.c (create_range_type): Unset RESULT_TYPE's
354         flag_unsigned if HIGH_BOUND is constant and negative.
355
356 2014-11-20  Sergio Durigan Junior  <[email protected]>
357
358         PR breakpoints/10737
359         * xml-syscall.c (set_xml_syscall_file_name): Remove "const"
360         modifier from "struct gdbarch" when compiling without Expat (XML)
361         support.
362         (get_syscall_by_number): Likewise.
363         (get_syscall_by_name): Likewise.
364         (get_syscall_names): Likewise.
365
366 2014-11-20  Sergio Durigan Junior  <[email protected]>
367
368         PR breakpoints/10737
369         * amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to
370         set_xml_syscall_file_name to provide gdbarch.
371         * arm-linux-tdep.c (arm_linux_init_abi): Likewise.
372         * bfin-linux-tdep.c (bfin_linux_init_abi): Likewise.
373         * breakpoint.c (print_it_catch_syscall): Adjust call to
374         get_syscall_by_number to provide gdbarch.
375         (print_one_catch_syscall): Likewise.
376         (print_mention_catch_syscall): Likewise.
377         (print_recreate_catch_syscall): Likewise.
378         (catch_syscall_split_args): Adjust calls to get_syscall_by_number
379         and get_syscall_by_name to provide gdbarch.
380         (catch_syscall_completer): Adjust call to get_syscall_names to
381         provide gdbarch.
382         * gdbarch.c: Regenerate.
383         * gdbarch.h: Likewise.
384         * gdbarch.sh: Forward declare "struct syscalls_info".
385         (xml_syscall_file): New variable.
386         (syscalls_info): Likewise.
387         * i386-linux-tdep.c (i386_linux_init_abi): Adjust call to
388         set_xml_syscall_file_name to provide gdbarch.
389         * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
390         * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
391         * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
392         * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
393         * sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise.
394         * xml-syscall.c: Include gdbarch.h.
395         (set_xml_syscall_file_name): Accept gdbarch parameter.
396         (get_syscall_by_number): Likewise.
397         (get_syscall_by_name): Likewise.
398         (get_syscall_names): Likewise.
399         (my_gdb_datadir): Delete global variable.
400         (struct syscalls_info) <my_gdb_datadir>: New variable.
401         (struct syscalls_info) <sysinfo>: Rename variable to
402         "syscalls_info".
403         (sysinfo): Delete global variable.
404         (have_initialized_sysinfo): Likewise.
405         (xml_syscall_file): Likewise.
406         (sysinfo_free_syscalls_desc): Rename to...
407         (syscalls_info_free_syscalls_desc): ... this.
408         (free_syscalls_info): Rename "sysinfo" to "syscalls_info".  Adjust
409         code to the new layout of "struct syscalls_info".
410         (make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to
411         "syscalls_info".
412         (syscall_create_syscall_desc): Likewise.
413         (syscall_start_syscall): Likewise.
414         (syscall_parse_xml): Likewise.
415         (xml_init_syscalls_info): Likewise.  Drop "const" from return value.
416         (init_sysinfo): Rename to...
417         (init_syscalls_info): ...this.  Add gdbarch as a parameter.
418         Adjust function to deal with gdbarch.
419         (xml_get_syscall_number): Delete parameter sysinfo.  Accept
420         gdbarch as a parameter.  Adjust code.
421         (xml_get_syscall_name): Likewise.
422         (xml_list_of_syscalls): Likewise.
423         (set_xml_syscall_file_name): Accept gdbarch as parameter.
424         (get_syscall_by_number): Likewise.
425         (get_syscall_by_name): Likewise.
426         (get_syscall_names): Likewise.
427         * xml-syscall.h (set_xml_syscall_file_name): Likewise.
428         (get_syscall_by_number): Likewise.
429         (get_syscall_by_name): Likewise.
430         (get_syscall_names): Likewise.
431
432 2014-11-20  Doug Evans  <[email protected]>
433
434         Split struct symtab into two: struct symtab and compunit_symtab.
435         * amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit.
436         * block.c (blockvector_for_pc_sect): Change "struct symtab *" argument
437         to "struct compunit_symtab *".  All callers updated.
438         (set_block_compunit_symtab): Renamed from set_block_symtab.  Change
439         "struct symtab *" argument to "struct compunit_symtab *".
440         All callers updated.
441         (get_block_compunit_symtab): Renamed from get_block_symtab.  Change
442         result to "struct compunit_symtab *".  All callers updated.
443         (find_iterator_compunit_symtab): Renamed from find_iterator_symtab.
444         Change result to "struct compunit_symtab *".  All callers updated.
445         * block.h (struct global_block) <compunit_symtab>: Renamed from symtab.
446         hange type to "struct compunit_symtab *".  All uses updated.
447         (struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab".
448         Change type to "struct compunit_symtab *".  All uses updated.
449         * buildsym.c (struct buildsym_compunit): New struct.
450         (subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete.
451         (buildsym_compunit): New static global.
452         (finish_block_internal): Update to fetch objfile from
453         buildsym_compunit.
454         (make_blockvector): Delete objfile argument.
455         (start_subfile): Rewrite to use buildsym_compunit.  Don't initialize
456         debugformat, producer.
457         (start_buildsym_compunit): New function.
458         (free_buildsym_compunit): Renamed from free_subfiles_list.
459         All callers updated.
460         (patch_subfile_names): Rewrite to use buildsym_compunit.
461         (get_compunit_symtab): New function.
462         (get_macro_table): Delete argument comp_dir.  All callers updated.
463         (start_symtab): Change result to "struct compunit_symtab *".
464         All callers updated.  Create the subfile of the main source file.
465         (watch_main_source_file_lossage): Rewrite to use buildsym_compunit.
466         (reset_symtab_globals): Update.
467         (end_symtab_get_static_block): Update to use buildsym_compunit.
468         (end_symtab_without_blockvector): Rewrite.
469         (end_symtab_with_blockvector): Change result to
470         "struct compunit_symtab *".  All callers updated.
471         Update to use buildsym_compunit.  Don't set symtab->dirname,
472         instead set it in the compunit.
473         Explicitly make sure main symtab is first in its list.
474         Set debugformat, producer, blockvector, block_line_section, and
475         macrotable in the compunit.
476         (end_symtab_from_static_block): Change result to
477         "struct compunit_symtab *".  All callers updated.
478         (end_symtab, end_expandable_symtab): Ditto.
479         (set_missing_symtab): Change symtab argument to
480         "struct compunit_symtab *".  All callers updated.
481         (augment_type_symtab): Ditto.
482         (record_debugformat): Update to use buildsym_compunit.
483         (record_producer): Update to use buildsym_compunit.
484         * buildsym.h (struct subfile) <dirname>: Delete.
485         <producer, debugformat>: Delete.
486         <buildsym_compunit>: New member.
487         (get_compunit_symtab): Declare.
488         * dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed
489         from primary_symtab.  Change type to "struct compunit_symtab *".
490         All uses updated.
491         (dwarf2_start_symtab): Change result to "struct compunit_symtab *".
492         All callers updated.
493         (dwarf_decode_macros): Delete comp_dir argument.  All callers updated.
494         (struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from
495         symtab.  Change type to "struct compunit_symtab *".  All uses updated.
496         (dw2_instantiate_symtab): Change result to "struct compunit_symtab *".
497         All callers updated.
498         (dw2_find_last_source_symtab): Ditto.
499         (dw2_lookup_symbol): Ditto.
500         (recursively_find_pc_sect_compunit_symtab): Renamed from
501         recursively_find_pc_sect_symtab.  Change result to
502         "struct compunit_symtab *".  All callers updated.
503         (dw2_find_pc_sect_compunit_symtab): Renamed from
504         dw2_find_pc_sect_symtab.  Change result to
505         "struct compunit_symtab *".  All callers updated.
506         (get_compunit_symtab): Renamed from get_symtab.  Change result to
507         "struct compunit_symtab *".  All callers updated.
508         (recursively_compute_inclusions): Change type of immediate_parent
509         argument to "struct compunit_symtab *".  All callers updated.
510         (compute_compunit_symtab_includes): Renamed from
511         compute_symtab_includes.  All callers updated.  Rewrite to compute
512         includes of compunit_symtabs and not symtabs.
513         (process_full_comp_unit): Update to work with struct compunit_symtab.
514         (process_full_type_unit): Ditto.
515         (dwarf_decode_lines_1): Delete argument comp_dir.  All callers updated.
516         (dwarf_decode_lines): Remove special case handling of main subfile.
517         (macro_start_file): Delete argument comp_dir.  All callers updated.
518         (dwarf_decode_macro_bytes): Ditto.
519         * guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to
520         use struct compunit_symtab.
521         * i386-tdep.c (i386_skip_prologue): Fetch producer from compunit.
522         * jit.c (finalize_symtab): Build compunit_symtab.
523         * jv-lang.c (get_java_class_symtab): Change result to
524         "struct compunit_symtab *".  All callers updated.
525         * macroscope.c (sal_macro_scope): Fetch macro table from compunit.
526         * macrotab.c (struct macro_table) <compunit_symtab>: Renamed from
527         comp_dir.  Change type to "struct compunit_symtab *".
528         All uses updated.
529         (new_macro_table): Change comp_dir argument to cust,
530         "struct compunit_symtab *".  All callers updated.
531         * maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from
532         nr_primary_symtabs.  All uses updated.
533         (count_symtabs_and_blocks): Update to handle compunits.
534         (report_command_stats): Update output, "primary symtabs" renamed to
535         "compunits".
536         * mdebugread.c (new_symtab): Change result to
537         "struct compunit_symtab *".  All callers updated.
538         (parse_procedure): Change type of search_symtab argument to
539         "struct compunit_symtab *".  All callers updated.
540         * objfiles.c (objfile_relocate1): Loop over blockvectors in a
541         separate loop.
542         * objfiles.h (struct objfile) <compunit_symtabs>: Renamed from
543         symtabs.  Change type to "struct compunit_symtab *".  All uses updated.
544         (ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS.
545         All uses updated.
546         (ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS.
547         All uses updated.
548         (ALL_FILETABS): Renamed from ALL_SYMTABS.  All uses updated.
549         (ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS.  All uses updated.
550         * psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from
551         symtab.  Change type to "struct compunit_symtab *".  All uses updated.
552         * psymtab.c (psymtab_to_symtab): Change result type to
553         "struct compunit_symtab *".  All callers updated.
554         (find_pc_sect_compunit_symtab_from_partial): Renamed from
555         find_pc_sect_symtab_from_partial.  Change result type to
556         "struct compunit_symtab *".  All callers updated.
557         (lookup_symbol_aux_psymtabs): Change result type to
558         "struct compunit_symtab *".  All callers updated.
559         (find_last_source_symtab_from_partial): Ditto.
560         * python/py-symtab.c (stpy_get_producer): Fetch producer from compunit.
561         * source.c (forget_cached_source_info_for_objfile): Fetch debugformat
562         and macro_table from compunit.
563         * symfile-debug.c (debug_qf_find_last_source_symtab): Change result
564         type to "struct compunit_symtab *".  All callers updated.
565         (debug_qf_lookup_symbol): Ditto.
566         (debug_qf_find_pc_sect_compunit_symtab): Renamed from
567         debug_qf_find_pc_sect_symtab, change result type to
568         "struct compunit_symtab *".  All callers updated.
569         * symfile.c (allocate_symtab): Delete objfile argument.
570         New argument cust.
571         (allocate_compunit_symtab): New function.
572         (add_compunit_symtab_to_objfile): New function.
573         * symfile.h (struct quick_symbol_functions) <lookup_symbol>:
574         Change result type to "struct compunit_symtab *".  All uses updated.
575         <find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab.
576         Change result type to "struct compunit_symtab *".  All uses updated.
577         * symmisc.c (print_objfile_statistics): Compute blockvector count in
578         separate loop.
579         (dump_symtab_1): Update test for primary source symtab.
580         (maintenance_info_symtabs): Update to handle compunit symtabs.
581         (maintenance_check_symtabs): Ditto.
582         * symtab.c (set_primary_symtab): Delete.
583         (compunit_primary_filetab): New function.
584         (compunit_language): New function.
585         (iterate_over_some_symtabs): Change type of arguments "first",
586         "after_last" to "struct compunit_symtab *".  All callers updated.
587         Update to loop over symtabs in each compunit.
588         (error_in_psymtab_expansion): Rename symtab argument to cust,
589         and change type to "struct compunit_symtab *".  All callers updated.
590         (find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab.
591         Change result type to "struct compunit_symtab *".  All callers updated.
592         (find_pc_compunit_symtab): Renamed from find_pc_symtab.
593         Change result type to "struct compunit_symtab *".  All callers updated.
594         (find_pc_sect_line): Only loop over symtabs within selected compunit
595         instead of all symtabs in the objfile.
596         * symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab.
597         <compunit_symtab> New member.
598         <block_line_section>: Moved to compunit_symtab.
599         <locations_valid>: Ditto.
600         <epilogue_unwind_valid>: Ditto.
601         <macro_table>: Ditto.
602         <dirname>: Ditto.
603         <debugformat>: Ditto.
604         <producer>: Ditto.
605         <objfile>: Ditto.
606         <call_site_htab>: Ditto.
607         <includes>: Ditto.
608         <user>: Ditto.
609         <primary>: Delete
610         (SYMTAB_COMPUNIT): New macro.
611         (SYMTAB_BLOCKVECTOR): Update definition.
612         (SYMTAB_OBJFILE): Update definition.
613         (SYMTAB_DIRNAME): Update definition.
614         (struct compunit_symtab): New type.  Common members among all source
615         symtabs within a compilation unit moved here.  All uses updated.
616         (COMPUNIT_OBJFILE): New macro.
617         (COMPUNIT_FILETABS): New macro.
618         (COMPUNIT_DEBUGFORMAT): New macro.
619         (COMPUNIT_PRODUCER): New macro.
620         (COMPUNIT_DIRNAME): New macro.
621         (COMPUNIT_BLOCKVECTOR): New macro.
622         (COMPUNIT_BLOCK_LINE_SECTION): New macro.
623         (COMPUNIT_LOCATIONS_VALID): New macro.
624         (COMPUNIT_EPILOGUE_UNWIND_VALID): New macro.
625         (COMPUNIT_CALL_SITE_HTAB): New macro.
626         (COMPUNIT_MACRO_TABLE): New macro.
627         (ALL_COMPUNIT_FILETABS): New macro.
628         (compunit_symtab_ptr): New typedef.
629         (DEF_VEC_P (compunit_symtab_ptr)): New vector type.
630
631 2014-11-20  Joel Brobecker  <[email protected]>
632
633         * ada-lang.c (ada_is_redundant_range_encoding): Return 0
634         if the TYPE_CODE of range_type's base type does not match
635         the TYPE_CODE of encoding_type's base type.
636
637 2014-11-19  Joel Brobecker  <[email protected]>
638
639         * ada-lang.c (ada_unqualified_name): Return DECODED_NAME if
640         it starts with '<'.
641
642 2014-11-19  Joel Brobecker  <[email protected]>
643
644         * ada-lang.c (ada_is_redundant_range_encoding): New function.
645         (ada_is_redundant_index_type_desc): New function.
646         (to_fixed_array_type): Ignore parallel XA type if redundant.
647
648 2014-11-19  Joel Brobecker  <[email protected]>
649
650         * ada-lang.c (constrained_packed_array_type): Set the length
651         of the return array as if both bounds where zero if that
652         returned array's index type is dynamic.
653
654 2014-11-19  Yao Qi  <[email protected]>
655
656         * config/i386/go32.mh (CC): Remove.
657
658 2014-11-18  Doug Evans  <[email protected]>
659
660         * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR.  All uses
661         updated.
662
663 2014-11-18  Doug Evans  <[email protected]>
664
665         * buildsym.c (buildsym_objfile): New static global.
666         (buildsym_comp_dir): New static global.
667         (finish_block_internal): Delete arg objfile.  All callers updated.
668         (finish_block): Delete arg objfile.  All callers updated.
669         (start_subfile): Delete arg dirname.  All callers updated.
670         (patch_subfile_names): Update buildsym_comp_dir.
671         (get_macro_table): Delete arg objfile.  All callers updated.
672         (start_symtab): New arg objfile.  All callers updated.
673         Rename arg dirname to comp_dir.
674         (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir.
675         (end_symtab_get_static_block): Delete arg objfile.  All callers
676         updated.
677         (end_symtab_without_blockvector): Ditto.
678         (end_symtab_with_blockvector): Ditto.
679         (end_symtab_from_static_block): Ditto.
680         (end_symtab): Ditto.
681         (end_expandable_symtab): Ditto.
682         (augment_type_symtab): Ditto.
683         * coffread.c (coff_start_symtab): New arg objfile.  All callers
684         updated.
685
686 2014-11-18  Doug Evans  <[email protected]>
687
688         * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE.  All uses
689         updated.
690
691 2014-11-18  Doug Evans  <[email protected]>
692
693         * symtab.h (SYMTAB_DIRNAME): New macro.  All uses of member
694         symtab.dirname updated to use it.
695
696 2014-11-18  Doug Evans  <[email protected]>
697
698         * symtab.h (SYMTAB_OBJFILE): New macro.  All uses of member
699         symtab.objfile updated to use it.
700
701 2014-11-18  Doug Evans  <[email protected]>
702
703         * buildsym.c (watch_main_source_file_lossage): Fix memory leak.
704
705 2014-11-18  Doug Evans  <[email protected]>
706
707         * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
708         SYMBOL_OBJFILE.
709         * findvar.c (default_read_var_value): Ditto.
710         * jv-lang.c (add_class_symtab_symbol): Ditto.
711         * parse.c (operator_check_standard): Ditto.
712         * printcmd.c (address_info): Ditto.
713         * symtab.c (fixup_symbol_section): Ditto.
714         (skip_prologue_sal): Ditto.
715         * tracepoint.c (scope_info): Ditto.
716         * valops.c (find_function_in_inferior): Ditto.
717         * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto.
718         * python/py-symbol.c (set_symbol): Ditto.
719
720 2014-11-18  Doug Evans  <[email protected]>
721
722         * buildsym.c (main_subfile): New static global.
723         (free_subfiles_list): New function.
724         (start_symtab): Set main_subfile.
725         (restart_symtab): Replace init of subfiles, current_subfile with
726         call to free_subfiles_list.
727         (watch_main_source_file_lossage): Use main_subfile.
728         (reset_symtab_globals): Replace init of current_subfile with call
729         to free_subfiles_list.
730         (end_symtab_without_blockvector, end_symtab_with_blockvector): New
731         functions, split out from ...
732         (end_symtab_from_static_block): ... here.  Rewrite to call them.
733
734 2014-11-18  Doug Evans  <[email protected]>
735
736         The result of symtab expansion is always a primary symtab.
737         * dwarf2read.c (dw2_instantiate_symtab): Add assert.
738         (dw2_lookup_symbol): Remove unnecessary test for primary symbol table.
739         * psymtab.c (lookup_symbol_aux_psymtabs): Ditto.
740         (psymtab_to_symtab): Add comment and assert.
741         (map_matching_symbols_psymtab): Remove unnecessary test for
742         non-primary symtab.
743
744 2014-11-15  Doug Evans  <[email protected]>
745
746         PR symtab/17559
747         * symtab.c (find_pc_line_symtab): New function.
748         * symtab.h (find_pc_line_symtab): Declare.
749         * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of
750         find_pc_symtab.
751         * tui/tui-disasm.c (tui_set_disassem_content): Ditto.
752         * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto.
753         * tui/tui-source.c (tui_vertical_source_scroll): Ditto.
754         * tui/tui-win.c (make_visible_with_new_height): Ditto.
755         * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto.
756         (tui_display_main): Call find_pc_line_symtab instead of find_pc_line.
757
758 2014-11-15  Doug Evans  <[email protected]>
759
760         * symtab.c (expand_symtab_containing_pc): Renamed from
761         find_pc_sect_symtab_via_partial.  All callers updated.
762
763 2014-11-15  Yao Qi  <[email protected]>
764
765         * go32-nat.c (go32_create_inferior): Add missing parenthesis.
766
767 2014-11-14  Joel Brobecker  <[email protected]>
768
769         * common/common-defs.h: Move <stdarg.h> #include ahead of
770         <stdio.h> #include.
771
772 2014-11-14  Pedro Alves  <[email protected]>
773
774         * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define.
775         [!PHONY_ICONV] (gdb_iconv): New function.
776         [!PHONY_ICONV] (iconv): Redefine to gdb_iconv.
777
778 2014-11-13  Doug Evans  <[email protected]>
779
780         PR symtab/17591
781         * dwarf2read.c (find_slot_in_mapped_hash): Handle
782         "(anonymous namespace)".
783
784 2014-11-13  Doug Evans  <[email protected]>
785
786         * dwarf2read.c (update_enumeration_type_from_children): Avoid
787         infinite loop.
788
789 2014-11-13  Jan Kratochvil  <[email protected]>
790
791         * NEWS (maint set target-async): Fix typo.
792
793 2014-11-12  Pedro Alves  <[email protected]>
794
795         * infrun.c (enum infwait_states, infwait_state): Delete.
796
797 2014-11-12  Pedro Alves  <[email protected]>
798
799         * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
800         Rewrite stepping over a permanent breakpoint.
801         (thread_still_needs_step_over, proceed): Don't set
802         stepping_over_breakpoint for permanent breakpoints.
803         (handle_signal_stop): Don't clear stepped_breakpoint.  Also pull
804         single-step breakpoints out of the target on hardware step
805         targets.
806         (process_event_stop_test): If stepping a permanent breakpoint
807         doesn't hit the step-resume breakpoint, delete the step-resume
808         breakpoint.
809         (switch_back_to_stepped_thread): Also check if the stepped thread
810         has advanced already on hardware step targets.
811         (currently_stepping): Return true if the thread stepped a
812         breakpoint.
813
814 2014-11-12  Pedro Alves  <[email protected]>
815
816         Mark locations as permanent, not the whole breakpoint.
817         * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
818         (mark_breakpoints_out): Don't mark permanent breakpoints as
819         uninserted.
820         (breakpoint_init_inferior): Use mark_breakpoints_out.
821         (breakpoint_here_p): Adjust.
822         (bpstat_stop_status, describe_other_breakpoints): Remove handling
823         of permanent breakpoints.
824         (make_breakpoint_permanent): Mark each location as permanent,
825         instead of marking the breakpoint.
826         (add_location_to_breakpoint): If the location is permanent, mark
827         it as such, and as inserted.
828         (init_breakpoint_sal): Don't make the breakpoint permanent here.
829         (bp_location_compare, update_global_location_list): Adjust.
830         (update_breakpoint_locations): Don't make the breakpoint permanent
831         here.
832         (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
833         breakpoints.
834         * breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
835         (struct bp_location) <permanent>: New field.
836         * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
837         reference to bp_permanent.
838
839 2014-11-12  Pedro Alves  <[email protected]>
840
841         * arch-utils.c (default_skip_permanent_breakpoint): New function.
842         * arch-utils.h (default_skip_permanent_breakpoint): New
843         declaration.
844         * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
845         Install default_skip_permanent_breakpoint as default method.
846         * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
847         (i386_gdbarch_init): Don't install it.
848         * infrun.c (resume): Assume there's always a
849         gdbarch_skip_permanent_breakpoint implementation.
850         * gdbarch.h, gdbarch.c: Regenerate.
851
852 2014-11-11  Daniel Colascione  <[email protected]>
853
854         Warn about cross-PID-namespace debugging.
855         * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
856         * nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
857         * linux-thread-db.c (check_pid_namespace_match): New function.
858         (thread_db_inferior_created): Call it.
859
860 2014-11-10  Doug Evans  <[email protected]>
861
862         * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
863         (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
864
865 2014-11-10  Doug Evans  <[email protected]>
866
867         * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
868
869 2014-11-10  Doug Evans  <[email protected]>
870
871         PR symtab/17564
872         * symtab.c (lookup_symbol_in_all_objfiles): Delete.
873         (lookup_static_symbol): Move definition to new location and rewrite.
874         (lookup_symbol_in_objfile): New function.
875         (lookup_symbol_global_iterator_cb): Call it.
876
877 2014-11-10  Ulrich Weigand  <[email protected]>
878
879         * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
880
881 2014-11-07  Pedro Alves  <[email protected]>
882
883         * infrun.c (process_event_stop_test) <subroutine check>: Don't
884         check if we did a "nexti" inside a prologue.
885         * symtab.c (in_prologue): Delete function.
886         * symtab.h (in_prologue): Delete declaration.
887
888 2014-11-06  Doug Evans  <[email protected]>
889
890         * symtab.h (lookup_global_symbol): Improve function comment.
891
892 2014-11-06  Doug Evans  <[email protected]>
893
894         * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
895         All callers updated.
896         * symtab.h (lookup_global_symbol): Update decl.
897         (lookup_static_symbol): Move decl to better location.
898
899 2014-11-06  Doug Evans  <[email protected]>
900
901         * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
902
903 2014-11-06  Doug Evans  <[email protected]>
904
905         * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
906         All callers updated.
907         (lookup_symbol_in_all_objfiles): Renamed from
908         lookup_symbol_aux_symtabs.  All callers updated.
909         (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
910         All callers updated.
911         (lookup_symbol_in_objfile_symtabs): Renamed from
912         lookup_symbol_aux_objfile.  All callers updated.
913
914 2014-11-06  Doug Evans  <[email protected]>
915
916         * symtab.c (lookup_symbol_in_block): Renamed from
917         lookup_symbol_aux_block.  All callers updated.
918
919 2014-11-06  Doug Evans  <[email protected]>
920
921         * symtab.c (lookup_static_symbol): Renamed from
922         lookup_static_symbol_aux.  All callers updated.
923         (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
924         All callers updated.
925
926 2014-11-06  Doug Evans  <[email protected]>
927
928         * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
929         * block.c (block_lookup_symbol): Use it.
930         * cp-support.c (make_symbol_overload_list_block): Use it.
931         * symtab.c (iterate_over_symbols): Use it.
932
933 2014-11-06  Doug Evans  <[email protected]>
934
935         * symtab.c (lookup_block_symbol): Moved to ...
936         * block.c (block_lookup_symbol):  ... here and renamed.
937         All callers updated.
938         * block.h (block_lookup_symbol): Declare.
939         * symtab.h (lookup_block_symbol): Delete.
940
941 2014-11-06  Doug Evans  <[email protected]>
942
943         * ada-lang.c (ada_make_symbol_completion_list): Use
944         ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
945         * symtab.c (lookup_objfile_from_block): Ditto.
946
947 2014-11-06  Doug Evans  <[email protected]>
948
949         * gdbtypes.h (TYPE_CODE_CLASS): Delete.  All uses changed to use
950         TYPE_CODE_STRUCT.
951
952 2014-11-06  Doug Evans  <[email protected]>
953
954         * objfiles.c (get_objfile_arch): Constify.
955         * objfiles.h (get_objfile_arch): Update prototype.
956         * solib.c (solib_global_lookup): Fetch arch from objfile,
957         not target_gdbarch.
958
959 2014-11-06  Sandra Loosemore  <[email protected]>
960
961         * nios2-tdep.c (wild_insn): Delete.
962         (profiler_insn, irqentry_insn): Delete.
963         (nios2_match_sequence): Delete.
964         (nios2_analyze_prologue): Update comments.  Remove matching
965         of obsolete profiler_insn and irqentry_insn sequences.
966
967 2014-11-05  Alan Modra  <[email protected]>
968
969         * charset.c (convert_between_encodings): Shrink obstack using
970         obstack_blank_fast.
971         * minsyms.c (install_minimal_symbols): Likewise.
972         * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
973         to char* before doing pointer arithmetic.
974
975 2014-11-04  Simon Marchi  <[email protected]>
976
977         * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
978
979 2014-11-04  Pedro Alves  <[email protected]>
980
981         * breakpoint.c (breakpoint_thread_match): Delete function.
982         * breakpoint.h (breakpoint_thread_match): Delete declaration.
983
984 2014-11-03  Siva Chandra Reddy  <[email protected]>
985
986         PR c++/17494
987         * eval.c (evaluate_subexp_standard): Evaluate the "object" and
988         the method args also under EVAL_SKIP when evaluating method
989         calls under EVAL_SKIP.
990
991 2014-11-02  Victor Kamensky  <[email protected]>
992
993         * dwarf2loc.c (read_pieced_value): Do big endian
994         processing only if gdb_regnum is not -1.
995         (write_pieced_value): Ditto.
996
997 2014-11-02  Victor Kamensky  <[email protected]>
998
999         * arm-linux-tdep.c (arm_linux_init_abi): Use
1000         info.byte_order_for_code to choose endianity of breakpoint
1001         instructions snippets.
1002
1003 2014-11-02  Victor Kamensky  <[email protected]>
1004
1005         * arm-tdep.c (extract_arm_insn): Use
1006         gdbarch_byte_order_for_code to read arm instruction.
1007
1008 2014-11-02  Doug Evans  <[email protected]>
1009
1010         * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
1011
1012 2014-11-02  Doug Evans  <[email protected]>
1013
1014         * xcoffread.c (process_linenos): Delete unnecessary zeroing of
1015         main_subfile before returning.
1016
1017 2014-10-31  Doug Evans  <[email protected]>
1018
1019         * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
1020         (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
1021
1022 2014-10-31  Doug Evans  <[email protected]>
1023
1024         * valops.c (value_cast_pointers): Fix whitespace.
1025         (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
1026         Ditto.
1027
1028 2014-10-30  Doug Evans  <[email protected]>
1029
1030         * NEWS: Mention ability add attributes to gdb.Objfile and
1031         gdb.Progspace objects.
1032         * python/py-objfile.c (objfile_object): New member dict.
1033         (objfpy_dealloc): Py_XDECREF dict.
1034         (objfpy_initialize): Initialize dict.
1035         (objfile_getset): Add __dict__.
1036         (objfile_object_type): Set tp_dictoffset member.
1037         * python/py-progspace.c (progspace_object): New member dict.
1038         (pspy_dealloc): Py_XDECREF dict.
1039         (pspy_initialize): Initialize dict.
1040         (pspace_getset): Add __dict__.
1041         (pspace_object_type): Set tp_dictoffset member.
1042
1043 2014-10-30  Yao Qi  <[email protected]>
1044
1045         * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
1046         replace '\\' with '\\\\'.
1047
1048 2014-10-29  Joel Brobecker  <[email protected]>
1049
1050         GDB 7.8.1 released.
1051
1052 2014-10-29  Pedro Alves  <[email protected]>
1053
1054         PR gdb/17408
1055         * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
1056         instead of assuming a thread with a stepping range is always
1057         stepping.
1058
1059 2014-10-29  Pedro Alves  <[email protected]>
1060
1061         PR python/17372
1062         * event-top.c (change_line_handler): Call
1063         gdb_rl_callback_handler_remove instead of
1064         rl_callback_handler_remove.
1065         (callback_handler_installed): New global.
1066         (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
1067         (gdb_rl_callback_handler_reinstall): New functions.
1068         (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
1069         gdb_rl_callback_handler_install instead of
1070         rl_callback_handler_remove and rl_callback_handler_install.
1071         (gdb_disable_readline): Call gdb_rl_callback_handler_remove
1072         instead of rl_callback_handler_remove.
1073         * event-top.h (gdb_rl_callback_handler_remove)
1074         (gdb_rl_callback_handler_install)
1075         (gdb_rl_callback_handler_reinstall): New declarations.
1076         * infrun.c (reinstall_readline_callback_handler_cleanup): New
1077         cleanup function.
1078         (fetch_inferior_event): Install it.
1079         * top.c (gdb_readline_wrapper_line) Call
1080         gdb_rl_callback_handler_remove instead of
1081         rl_callback_handler_remove.
1082         (gdb_readline_wrapper_cleanup): Don't call
1083         rl_callback_handler_install.
1084
1085 2014-10-29  Pedro Alves  <[email protected]>
1086
1087         * event-top.c (command_line_handler): Clear the first byte of
1088         linebuffer, when it is first allocated.
1089
1090 2014-10-29  Pedro Alves  <[email protected]>
1091
1092         * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
1093         TRY_CATCH.
1094
1095 2014-10-29  Pedro Alves  <[email protected]>
1096
1097         PR tui/16138
1098         PR tui/17519
1099         * tui/tui-interp.c (tui_is_toplevel): Delete global.
1100         (tui_allowed_p): Delete function.
1101         * tui/tui.c: Include "interps.h".
1102         (tui_enable): Don't use tui_allowed_p.  Error out here with
1103         detailed error messages if the TUI is the top level interpreter,
1104         or if output is not a terminal.  Use newterm instead of initscr,
1105         and error out if initializing the terminal fails.  Also error out if
1106         the terminal doesn't support cursor addressing.
1107         * tui/tui.h (tui_allowed_p): Delete declaration.
1108
1109 2014-10-29  Joel Brobecker  <[email protected]>
1110
1111         * arm-tdep.c (arm_skip_stack_protector): Return early if
1112         address loaded by first "ldr" instruction does not have
1113         a corresponding minimal symbol.  Update comment.
1114
1115 2014-10-29  Yao Qi  <[email protected]>
1116
1117         * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
1118         loaded address correctly of ldr instruction.
1119
1120 2014-10-28  Pedro Alves  <[email protected]>
1121
1122         PR gdb/12623
1123         * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
1124         field.
1125         * infrun.c (resume) <stepping breakpoint instruction>: Set the
1126         thread's stepped_breakpoint field.  Skip if reverse debugging.
1127         Add comment.
1128         (init_thread_stepping_state, handle_signal_stop): Clear the
1129         thread's stepped_breakpoint field.
1130
1131 2014-10-27  Pedro Alves  <[email protected]>
1132
1133         * remote.c (remote_thread_alive): New, factored out from ...
1134         (remote_thread_alive): ... this.
1135         (remote_update_thread_list): Bail out before deleting threads if
1136         the target returned an empty list, and, the current thread has a
1137         magic/fake ptid.
1138
1139 2014-10-27  Pedro Alves  <[email protected]>
1140
1141         * infrun.c (handle_signal_stop): Also skip handlers when a random
1142         signal arrives while handling a "stepi" or a "nexti".  Set the
1143         thread's 'step_after_step_resume_breakpoint' flag.
1144
1145 2014-10-27  Luis Machado  <[email protected]>
1146
1147         * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
1148         (arm_record_ld_st_imm_offset): Reimplement to cover all
1149         load/store cases for ARM opcode 010.
1150         (arm_record_ld_st_multiple): Reimplement to cover all
1151         load/store cases for ARM opcode 100.
1152
1153 2014-10-26  Doug Evans  <[email protected]>
1154
1155         * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
1156
1157 2014-10-26  Doug Evans  <[email protected]>
1158
1159         * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
1160         parameter "kind" to "block_index".
1161         * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
1162         "block_index".
1163         (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
1164
1165 2014-10-26  Doug Evans  <[email protected]>
1166
1167         * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
1168
1169 2014-10-26  Doug Evans  <[email protected]>
1170
1171         * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
1172         obstack_alloc.
1173
1174 2014-10-26  Doug Evans  <[email protected]>
1175
1176         * parser-defs.h (block_found): Move decl from here ...
1177         * symtab.h (block_found): ... to here.
1178
1179 2014-10-26  Doug Evans  <[email protected]>
1180
1181         * symtab.h (struct field_of_this_result): Fix typo in comment.
1182         (lookup_symbol_in_language): Move function comment here.
1183         (lookup_symbol): Improve function comment.
1184         (basic_lookup_symbol_nonlocal): Ditto.
1185         (lookup_symbol_static, lookup_symbol_global): Ditto.
1186         (lookup_symbol_aux_block): Ditto.
1187         (lookup_language_this): Add function comment.
1188         (lookup_static_symbol_aux): Explicitly mark as extern.  Improve
1189         function comment.
1190         (lookup_block_symbol): Improve function comment.
1191         (lookup_struct): Fix capitalization in function comment.
1192         (lookup_transparent_type): Add function comment.
1193         (lookup_global_symbol_from_objfile): Explicitly mark as extern.
1194         Improve function comment.
1195         (lookup_objfile_from_block): Add function comment.
1196         * symtab.c (lookup_symbol_in_language): Update function comment.
1197         (lookup_symbol, lookup_language_this): Ditto.
1198         (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
1199         (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
1200         (basic_lookup_symbol_nonlocal): Ditto.
1201         (lookup_symbol_static, lookup_symbol_global): Ditto.
1202         (lookup_transparent_type, lookup_block_symbol): Ditto.
1203
1204 2014-10-25  Doug Evans  <[email protected]>
1205
1206         * symtab.c (types_info): Delete forward decl.
1207         (functions_info, variables_info, sources_info): Ditto.
1208         (_initialize_symtab): Rewrite forward decl to use
1209         initialize_file_ftype.
1210
1211 2014-10-25  Doug Evans  <[email protected]>
1212
1213         * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
1214
1215 2014-10-25  Doug Evans  <[email protected]>
1216
1217         * dwarf2read.c (process_structure_scope): Remove second (nested) copy
1218         of local var child_die.
1219
1220 2014-10-24  Don Breazeal  <[email protected]>
1221
1222         * infrun.c (follow_fork_inferior): Update fork message printing
1223         to use target_terminal_ours_for_output instead of
1224         target_terminal_ours, to use _() for all format strings, to print
1225         "vfork" instead of "fork" for vforks, and to add a detach message.
1226         (handle_vfork_child_exec_or_exit): Update message printing to use
1227         target_terminal_ours_for_output instead of target_terminal_ours, to
1228         use _() for all format strings, and to fix some formatting.
1229
1230 2014-10-24  Pedro Alves  <[email protected]>
1231
1232         * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
1233         * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
1234         * config/vax/vax.mh: Delete.
1235         * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
1236         obsolete configurations section.
1237         * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
1238         * vax-nat.c: Delete file.
1239
1240 2014-10-24  Pedro Alves  <[email protected]>
1241
1242         * NEWS (Removed targets): Add OS/arch column.
1243
1244 2014-10-24  Siva Chandra Reddy  <[email protected]>
1245
1246         * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
1247         on the arg type of a constructor only if it is of reference type.
1248
1249 2014-10-23  Sandra Loosemore  <[email protected]>
1250
1251         * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
1252         accessors and constants from nios2 opcodes update.
1253         (nios2_get_next_pc): Likewise.
1254
1255 2014-10-19  Doug Evans  <[email protected]>
1256
1257         * gdbthread.h (set_running): Fix comment.
1258         (set_executing, finish_thread_state): Fix comment.
1259
1260 2014-10-18  Doug Evans  <[email protected]>
1261
1262         * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
1263
1264 2014-10-17  Doug Evans  <[email protected]>
1265
1266         * NEWS: Mention new event gdb.clear_objfiles.
1267         * python/py-event.h (emit_clear_objfiles_event): Clear
1268         * python/py-events.h (events_object): New member clear_objfiles.
1269         * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
1270         event.
1271         * python/py-inferior.c (python_new_objfile): If objfile is NULL,
1272         emit clear_objfiles event.
1273         * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
1274         function.
1275         (emit_clear_objfiles_event): New function.
1276         (clear_objfiles): New event.
1277         * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
1278         Declare.
1279         * python/python.c (_initialize_python): Call
1280         gdbpy_initialize_clear_objfiles_event.
1281
1282 2014-10-17  Doug Evans  <[email protected]>
1283
1284         * NEWS: Mention new gdb.Objfile.progspace attribute.
1285         * python/py-objfile.c (objfpy_get_progspace): New function.
1286         (objfile_getset): New entry for "progspace".
1287
1288 2014-10-17  Pedro Alves  <[email protected]>
1289
1290         PR gdb/17471
1291         * infcmd.c (strip_bg_char): Change prototype and rewrite.  Now
1292         returns a copy of the input.
1293         (run_command_1, continue_command, step_1, jump_command)
1294         (signal_command, until_command, advance_command, finish_command)
1295         (attach_command): Adjust and install a cleanup to free the
1296         stripped args.
1297
1298 2014-10-17  Pedro Alves  <[email protected]>
1299
1300         PR gdb/17300
1301         * infcmd.c (continue_1): If continuing all threads in the
1302         foreground, make sure the inferior's terminal settings are put in
1303         effect.
1304
1305 2014-10-17  Pedro Alves  <[email protected]>
1306
1307         PR gdb/17472
1308         * annotate.c (annotate_breakpoints_invalid): Use
1309         target_terminal_our_for_output instead of target_terminal_ours.
1310         Give back the terminal to the target.
1311         (annotate_frames_invalid): Likewise.
1312
1313 2014-10-17  Pedro Alves  <[email protected]>
1314
1315         * target.c (enum terminal_state): New enum.
1316         (terminal_state): New global.
1317         (target_terminal_init): New function.
1318         (target_terminal_inferior): Skip if inferior already owns the
1319         terminal.
1320         (target_terminal_ours, target_terminal_ours_for_output): New
1321         functions.
1322         * target.h (target_terminal_init): Convert to function prototype.
1323         (target_terminal_ours_for_output): Convert to function prototype
1324         and tweak comment.
1325         (target_terminal_ours): Convert to function prototype and tweak
1326         comment.
1327         * windows-nat.c (do_initial_windows_stuff): Call
1328         target_terminal_init instead of child_terminal_init_with_pgrp.
1329
1330 2014-10-17  Pedro Alves  <[email protected]>
1331
1332         * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
1333         (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
1334         (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
1335         solib-osf.c.
1336         * NEWS: Mention that support for alpha*-*-osf* has been removed.
1337         * ada-lang.h [__alpha__ && __osf__]
1338         (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
1339         * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
1340         * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
1341         GDB_OSABI_OSF1.
1342         * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
1343         files.
1344         * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
1345         (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
1346         * configure: Regenerate.
1347         * configure.ac: Remove references to osf.
1348         * configure.host: Handle alpha*-*-osf* in the obsolete hosts
1349         section.  Remove all other references to osf.
1350         * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
1351         Remove all other references to osf.
1352         * dec-thread.c: Delete file.
1353         * defs.h (GDB_OSABI_OSF1): Delete.
1354         * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
1355         defined.
1356         * osabi.c (gdb_osabi_names): Delete "OSF/1".
1357         * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
1358         Delete code.
1359         (unconditionally_kill_inferior)
1360         [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
1361         * solib-osf.c: Delete file.
1362
1363 2014-10-17  Pedro Alves  <[email protected]>
1364
1365         * remote.c (clear_threads_listing_context): Move higher up, out of
1366         the HAVE_LIBEXPAT guard.
1367
1368 2014-10-16  Tristan Gingold  <[email protected]>
1369
1370         * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
1371         (i386_darwin_store_inferior_registers): Sanitize gs and fs values
1372         on amd64.
1373
1374 2014-10-15  Pedro Alves  <[email protected]>
1375
1376         * dec-thread.c (dec_thread_count_gdb_threads)
1377         (dec_thread_add_gdb_thread): Delete.
1378         (dec_thread_update_thread_list): Delete.
1379         (dec_thread_find_new_threads): Rename to ...
1380         (dec_thread_update_thread_list): ... this.  Delete GDB-size
1381         threads that are no longer found in dec_thread_list.
1382         (resync_thread_list): Delete.
1383         (dec_thread_wait): Call dec_thread_update_thread_list instead of
1384         resync_thread_list.
1385
1386 2014-10-15  Pedro Alves  <[email protected]>
1387
1388         * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
1389         * remote.c (remote_update_thread_list): Skip calling prune_threads
1390         if any thread listing method is supported, and instead walk over
1391         the set of remote threads listed, deleting those that are not
1392         found in GDB's thread list.
1393
1394 2014-10-15  Pedro Alves  <[email protected]>
1395
1396         * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
1397         * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
1398         (bsd_uthread_update_thread_list): ... this.  Call prune_threads.
1399         (bsd_uthread_target): Adjust.
1400         * corelow.c (core_open): Adjust.
1401         * dec-thread.c (dec_thread_find_new_threads): Update comment.
1402         (dec_thread_update_thread_list): New function.
1403         (init_dec_thread_ops): Adjust.
1404         * gdbthread.h (prune_threads): New declaration.
1405         * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
1406         (thread_db_update_thread_list): ... this.  Call prune_threads.
1407         (init_thread_db_ops): Adjust.
1408         * nto-procfs.c (procfs_find_new_threads): Rename to ...
1409         (procfs_update_thread_list): ... this.  Call prune_threads.
1410         (procfs_attach, procfs_create_inferior, init_procfs_targets):
1411         Adjust.
1412         * obsd-nat.c (obsd_find_new_threads): Rename to ...
1413         (obsd_update_thread_list): ... this.  Call prune_threads.
1414         (obsd_add_target): Adjust.
1415         * procfs.c (procfs_target): Adjust.
1416         (procfs_notice_thread): Update comment.
1417         (procfs_find_new_threads): Rename to ...
1418         (procfs_update_thread_list): ... this.  Call prune_threads.
1419         * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
1420         comment.
1421         (ravenscar_wait): Adjust.
1422         (ravenscar_find_new_threads): Rename to ...
1423         (ravenscar_update_thread_list): ... this.  Call prune_threads.
1424         (init_ravenscar_thread_ops): Adjust.
1425         * record-btrace.c (record_btrace_find_new_threads): Rename to ...
1426         (record_btrace_update_thread_list): ... this.  Adjust comment.
1427         (init_record_btrace_ops): Adjust.
1428         * remote.c (remote_threads_info): Rename to ...
1429         (remote_update_thread_list): ... this.  Call prune_threads.
1430         (remote_start_remote, extended_remote_attach_1, init_remote_ops):
1431         Adjust.
1432         * sol-thread.c (check_for_thread_db): Adjust.
1433         (sol_find_new_threads_callback): Rename to ...
1434         (sol_update_thread_list_callback): ... this.
1435         (sol_find_new_threads): Rename to ...
1436         (sol_update_thread_list): ... this.  Call prune_threads.  Adjust.
1437         (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
1438         * target-delegates.c: Regenerate.
1439         * target.c (target_find_new_threads): Rename to ...
1440         (target_update_thread_list): ... this.
1441         * target.h (struct target_ops): Rename to_find_new_threads field
1442         to to_update_thread_list.
1443         (target_find_new_threads): Rename to ...
1444         (target_update_thread_list): ... this.
1445         * thread.c (prune_threads): Make extern.
1446         (update_thread_list): Adjust.
1447
1448 2014-10-15  Pedro Alves  <[email protected]>
1449
1450         * remote.c (remote_get_threadlist, remote_threadlist_iterator):
1451         Add describing comment.  Return -1 if the qL packet is not
1452         supported.
1453         (struct thread_item, thread_item_t): Move higher up in
1454         the file.  Add comments.
1455         (struct threads_parsing_context): Move higher up in
1456         the file, add comments, and remote to ...
1457         (struct threads_listing_context): ... this.
1458         (remote_newthread_step): Don't add the thread to GDB's thread
1459         database here.  Instead push it to the thread_listing_context
1460         list.
1461         (remote_find_new_threads): Rename to ...
1462         (remote_get_threads_with_ql): ... this.  Add target_ops and
1463         targets_listing_context parameters.  Pass down context.
1464         (start_thread): Adjust.
1465         (clear_threads_parsing_context): Rename to ...
1466         (clear_threads_listing_context): ... this.
1467         (remote_get_threads_with_qxfer): New, with parts salvaged from old
1468         remote_threads_info.
1469         (remote_get_threads_with_qthreadinfo): Ditto.
1470         (remote_threads_info): Reimplement.
1471
1472 2014-10-15  Pedro Alves  <[email protected]>
1473
1474         * infrun.c (resume): Don't force displaced-stepping for all
1475         single-steps on software single-stepping archs.
1476
1477 2014-10-15  Pedro Alves  <[email protected]>
1478
1479         * breakpoint.c (single_step_breakpoints): Delete global.
1480         (insert_single_step_breakpoint): Adjust to store the breakpoint
1481         pointer in the current thread.
1482         (single_step_breakpoints_inserted, remove_single_step_breakpoints)
1483         (cancel_single_step_breakpoints): Delete functions.
1484         (breakpoint_has_location_inserted_here): Make extern.
1485         (single_step_breakpoint_inserted_here_p): Adjust to walk the
1486         breakpoint list.
1487         * breakpoint.h (breakpoint_has_location_inserted_here): New
1488         declaration.
1489         (single_step_breakpoints_inserted, remove_single_step_breakpoints)
1490         (cancel_single_step_breakpoints): Remove declarations.
1491         * gdbthread.h (struct thread_control_state)
1492         <single_step_breakpoints>: New field.
1493         (delete_single_step_breakpoints)
1494         (thread_has_single_step_breakpoints_set)
1495         (thread_has_single_step_breakpoint_here): New declarations.
1496         * infrun.c (follow_exec): Also clear the single-step breakpoints.
1497         (singlestep_breakpoints_inserted_p, singlestep_ptid)
1498         (singlestep_pc): Delete globals.
1499         (infrun_thread_ptid_changed): Remove references to removed
1500         globals.
1501         (resume_cleanups): Delete the current thread's single-step
1502         breakpoints.
1503         (maybe_software_singlestep): Remove references to removed globals.
1504         (resume): Adjust to use thread_has_single_step_breakpoints_set and
1505         delete_single_step_breakpoints.
1506         (init_wait_for_inferior): Remove references to removed globals.
1507         (delete_thread_infrun_breakpoints): Delete the thread's
1508         single-step breakpoints too.
1509         (delete_just_stopped_threads_infrun_breakpoints): Don't delete
1510         single-step breakpoints here.
1511         (delete_stopped_threads_single_step_breakpoints): New function.
1512         (adjust_pc_after_break): Adjust to use
1513         thread_has_single_step_breakpoints_set.
1514         (handle_inferior_event): Remove references to removed globals.
1515         Use delete_stopped_threads_single_step_breakpoints.
1516         (handle_signal_stop): Adjust to per-thread single-step
1517         breakpoints.  Swap test order to do cheaper tests first.
1518         (switch_back_to_stepped_thread): Extend debug output.  Remove
1519         references to removed globals.
1520         * record-full.c (record_full_wait_1): Adjust to per-thread
1521         single-step breakpoints.
1522         * thread.c (delete_single_step_breakpoints)
1523         (thread_has_single_step_breakpoints_set)
1524         (thread_has_single_step_breakpoint_here): New functions.
1525         (clear_thread_inferior_resources): Also delete the thread's
1526         single-step breakpoints.
1527
1528 2014-10-15  Pedro Alves  <[email protected]>
1529
1530         * thread.c (delete_thread_breakpoint): New function.
1531         (delete_step_resume_breakpoint)
1532         (delete_exception_resume_breakpoint): Use it.
1533         (delete_at_next_stop): New function.
1534         (clear_thread_inferior_resources): Use delete_at_next_stop.
1535
1536 2014-10-15  Pedro Alves  <[email protected]>
1537
1538         * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
1539         (breakpoint_inserted_here_p): ... here.  Remove special case for
1540         software single-step breakpoints.
1541         (find_non_raw_software_breakpoint_inserted_here): Inline ...
1542         (software_breakpoint_inserted_here_p): ... here.  Remove special
1543         case for software single-step breakpoints.
1544         (bp_target_info_copy_insertion_state)
1545         (deprecated_insert_raw_breakpoint)
1546         (deprecated_remove_raw_breakpoint): Delete functions.
1547         * breakpoint.h (deprecated_insert_raw_breakpoint)
1548         (deprecated_remove_raw_breakpoint): Remove declarations.
1549
1550 2014-10-15  Pedro Alves  <[email protected]>
1551
1552         PR breakpoints/9649
1553         * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
1554         Delete array globals.
1555         (single_step_breakpoints): New global.
1556         (breakpoint_xfer_memory): Remove special handling for single-step
1557         breakpoints.
1558         (update_breakpoints_after_exec): Delete bp_single_step
1559         breakpoints.
1560         (detach_breakpoints): Remove special handling for single-step
1561         breakpoints.
1562         (breakpoint_init_inferior): Delete bp_single_step breakpoints.
1563         (bpstat_stop_status): Add comment.
1564         (bpstat_what, bptype_string, print_one_breakpoint_location)
1565         (adjust_breakpoint_address, init_bp_location): Handle
1566         bp_single_step.
1567         (new_single_step_breakpoint): New function.
1568         (set_momentary_breakpoint, bkpt_remove_location): Remove special
1569         handling for single-step breakpoints.
1570         (insert_single_step_breakpoint, single_step_breakpoints_inserted)
1571         (remove_single_step_breakpoints, cancel_single_step_breakpoints):
1572         Rewrite.
1573         (detach_single_step_breakpoints, find_single_step_breakpoint):
1574         Delete functions.
1575         (breakpoint_has_location_inserted_here): New function.
1576         (single_step_breakpoint_inserted_here_p): Rewrite.
1577         * breakpoint.h: Remove FIXME.
1578         (enum bptype) <bp_single_step>: New enum value.
1579         (insert_single_step_breakpoint): Update comment.
1580         * infrun.c (resume_cleanups)
1581         (delete_step_thread_step_resume_breakpoint): Remove single-step
1582         breakpoints.
1583         (fetch_inferior_event): Install a cleanup that removes infrun
1584         breakpoints.
1585         (switch_back_to_stepped_thread) <expect thread advanced also>:
1586         Clear step-over info.
1587
1588 2014-10-15  Pedro Alves  <[email protected]>
1589
1590         * infrun.c (delete_step_resume_breakpoint_callback): Delete.
1591         (delete_thread_infrun_breakpoints): New function, with parts
1592         salvaged from delete_step_resume_breakpoint_callback.
1593         (delete_step_thread_step_resume_breakpoint): Delete.
1594         (for_each_just_stopped_thread_callback_func): New typedef.
1595         (for_each_just_stopped_thread): New function.
1596         (delete_just_stopped_threads_infrun_breakpoints): New function.
1597         (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
1598         (delete_just_stopped_threads_infrun_breakpoints_cleanup):
1599         ... this.  Adjust.
1600         (wait_for_inferior, fetch_inferior_event): Adjust to renames.
1601
1602 2014-10-15  Pedro Alves  <[email protected]>
1603
1604         * breakpoint.c (should_be_inserted): Don't insert watchpoints if
1605         trying to step past a non-steppable watchpoint.
1606         * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
1607         field.
1608         * infrun.c (struct step_over_info): Add new field
1609         'nonsteppable_watchpoint_p' and adjust comments.
1610         (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
1611         Adjust.
1612         (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
1613         (stepping_past_nonsteppable_watchpoint): New function.
1614         (step_over_info_valid_p): Also return true if stepping past a
1615         nonsteppable watchpoint.
1616         (proceed): Adjust call to set_step_over_info.  Remove reference to
1617         init_infwait_state.
1618         (init_wait_for_inferior): Remove reference to init_infwait_state.
1619         (waiton_ptid): Delete global.
1620         (struct execution_control_state)
1621         <stepped_after_stopped_by_watchpoint>: Delete field.
1622         (wait_for_inferior, fetch_inferior_event): Always pass
1623         minus_one_ptid to target_wait.
1624         (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
1625         field.
1626         (init_infwait_state): Delete function.
1627         (handle_inferior_event): Remove infwait_state handling.
1628         (handle_signal_stop) <watchpoints handling>: Adjust after
1629         stepped_after_stopped_by_watchpoint removal.  Don't remove
1630         breakpoints here nor set infwait_state.  Set the thread's
1631         stepping_over_watchpoint flag, and call keep_going instead.
1632         (keep_going): Handle stepping_over_watchpoint.  Adjust
1633         set_step_over_info calls.
1634         * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
1635         function.
1636
1637 2014-10-15  Pedro Alves  <[email protected]>
1638
1639         * infrun.c (step_over_info_valid_p): New function.
1640         (resume): Use step_over_info_valid_p instead of checking the
1641         threads's trap_expected flag.
1642
1643 2014-10-15  Doug Evans  <[email protected]>
1644             Walfred Tedeschi  <[email protected]>
1645
1646         PR python/17364
1647         * python/lib/gdb/__init__.py (packages): Add "printer".
1648         * python/lib/gdb/command/bound_registers.py: Moved to ...
1649         * python/lib/gdb/printer/bound_registers.py: ... here.
1650         Add printer to global set of builtin printers.  Rename printer from
1651         "bound" to "mpx_bound128".
1652         * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
1653         registered as global "builtin" printer.
1654         (add_builtin_pretty_printer): New function.
1655         * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
1656         gdb/printer/__init__.py.
1657
1658 2014-10-15  Iain Buclaw  <[email protected]>
1659
1660         * Makefile.in (SFILES): Remove d-support.c.
1661         (COMMON_OBS): Remove d-support.o.
1662         * d-lang.h (d_parse_symbol): Remove declaration.
1663         * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
1664         * d-support.c: Remove file.
1665
1666 2014-10-15  Andreas Arnez  <[email protected]>
1667
1668         * gdb/infrun.c (process_event_stop_test): Apply
1669         gdbarch_addr_bits_remove to longjmp resume address.
1670
1671 2014-10-15  Pedro Alves  <[email protected]>
1672
1673         * regformats/microblaze.dat: Delete file.
1674
1675 2014-10-15  Ajit Agarwal  <[email protected]>
1676
1677         * features/Makefile (microblaze-expedite): Replace pc with rpc.
1678         * regformats/microblaze-with-stack-protect.dat: Regenerate.
1679
1680 2014-10-15  Siva Chandra Reddy  <[email protected]>
1681
1682         * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
1683         as non-trivial.
1684
1685 2014-10-15  Siva Chandra Reddy  <[email protected]>
1686
1687         PR c++/13403
1688         PR c++/15154
1689         * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
1690         with qualified args.
1691
1692 2014-10-14  Joel Brobecker  <[email protected]>
1693
1694         * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
1695         of the case where the second operand is a pointer.
1696         <BINOP_SUB>: Likewise.
1697
1698 2014-10-14  Sergio Durigan Junior  <[email protected]>
1699
1700         * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
1701         only if it is not NULL.
1702         (bkpt_probe_remove_location): Likewise, for clear_semaphore.
1703         * probe.h (struct probe_ops) <set_semaphore>: Update comment.
1704         (struct probe_ops) <clear_semaphore>: Likewise.
1705         * tracepoint.c (start_tracing): Call set_semaphore only if it is
1706         not NULL.
1707         (stop_tracing): Likewise, for clear_semaphore.
1708
1709 2014-10-14  Sergio Durigan Junior  <[email protected]>
1710
1711         * stap-probe.c (stap_parse_argument): Initialize expout explicitly
1712         using language_c, instead of current_language.
1713
1714 2014-10-13  Doug Evans  <[email protected]>
1715
1716         * python/py-objfile.c (objfpy_initialize): New function.
1717         (objfpy_new, objfile_to_objfile_object): Call it.
1718         * python/py-progspace.c (pspy_initialize): New function.
1719         (pspy_new, pspace_to_pspace_object): Call it.
1720
1721 2014-10-13  Miroslav Franc  <[email protected]>
1722             Jan Kratochvil  <[email protected]>
1723
1724         Fix "save breakpoints" for "catch" command.
1725         * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
1726         newline.
1727
1728 2014-10-12  Miroslav Franc  <[email protected]>
1729
1730         Fix "save breakpoints" for "disable $bpnum" command.
1731         * breakpoint.c (save_breakpoints): Add $bpnum for disable.
1732
1733 2014-10-10  Pedro Alves  <[email protected]>
1734
1735         * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
1736         (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
1737         (HFILES_NO_SRCDIR): Remove solib-irix.h.
1738         * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
1739         and been removed.
1740         * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
1741         * configure.ac: Remove references to IRIX.
1742         * configure.host: Add *-*-irix* to the obsolete hosts section.
1743         Remove all other references to irix.
1744         * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
1745         Delete files.
1746
1747 2014-10-10  Ajit Agarwal  <[email protected]>
1748
1749         * microblaze-tdep.c (microblaze_gdbarch_init): If the description
1750         isn't valid, release the tdesc arch data and return NULL.
1751
1752 2014-10-10  Pedro Alves  <[email protected]>
1753
1754         * linux-tdep.c: Include observer.h.
1755         (linux_inferior_data): New global.
1756         (struct linux_info): New structure.
1757         (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
1758         (get_linux_inferior_data): New functions.
1759         (linux_vsyscall_range): Rename to ...
1760         (linux_vsyscall_range_raw): ... this.
1761         (linux_vsyscall_range): New function; handles caching.
1762         (_initialize_linux_tdep): Register linux_inferior_data.  Install
1763         inferior_exit and inferior_appeared observers.
1764
1765 2014-10-10  Jan Kratochvil  <[email protected]>
1766             Pedro Alves  <[email protected]>
1767
1768         PR symtab/14466
1769         * solib-svr4.c (svr4_read_so_list): Rename to ...
1770         (svr4_current_sos_1): ... this and change the function comment.
1771         (svr4_current_sos): New function.
1772
1773 2014-10-10  Pedro Alves  <[email protected]>
1774
1775         * arch-utils.c (default_vsyscall_range): New function.
1776         * arch-utils.h (default_vsyscall_range): New declaration.
1777         * gdbarch.sh (vsyscall_range): New hook.
1778         * gdbarch.h, gdbarch.c: Regenerate.
1779         * linux-tdep.c (linux_vsyscall_range): New function.
1780         (linux_init_abi): Install linux_vsyscall_range as
1781         vsyscall_range gdbarch hook.
1782         * memrange.c (address_in_mem_range): New function.
1783         * memrange.h (address_in_mem_range): New declaration.
1784         * symfile-mem.c (find_vdso_size): Delete function.
1785         (add_vsyscall_page): Use gdbarch_vsyscall_range.
1786
1787 2014-10-10  Pedro Alves  <[email protected]>
1788
1789         * infrun.c (normal_stop): Fix typo in comment.
1790
1791 2014-10-09  Sergio Durigan Junior  <[email protected]>
1792
1793         PR tdep/9390
1794         * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
1795         typo when using logical AND to determine instruction type.
1796
1797 2014-10-09  Yao Qi  <[email protected]>
1798
1799         * infrun.c (handle_signal_stop): Remove local variable
1800         'printed'.
1801
1802 2014-10-08  Stan Shebs  <[email protected]>
1803
1804         * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
1805
1806 2014-10-08  Gary Benson  <[email protected]>
1807
1808         * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
1809
1810 2014-10-08  Gary Benson  <[email protected]>
1811
1812         * common/common-defs.h: Include common-exceptions.h.
1813         * exceptions.h: Do not include common-exceptions.h.
1814
1815 2014-10-08  Gary Benson  <[email protected]>
1816
1817         * common/common-defs.h: Include cleanups.h.
1818         * common/common-exceptions.c: Do not include cleanups.h.
1819         * utils.h: Likewise.
1820
1821 2014-10-08  Gary Benson  <[email protected]>
1822
1823         * ada-lang.c: Do not include exceptions.h.
1824         * ada-valprint.c: Likewise.
1825         * amd64-tdep.c: Likewise.
1826         * auto-load.c: Likewise.
1827         * block.c: Likewise.
1828         * break-catch-throw.c: Likewise.
1829         * breakpoint.c: Likewise.
1830         * btrace.c: Likewise.
1831         * c-lang.c: Likewise.
1832         * cli/cli-cmds.c: Likewise.
1833         * cli/cli-interp.c: Likewise.
1834         * cli/cli-script.c: Likewise.
1835         * completer.c: Likewise.
1836         * corefile.c: Likewise.
1837         * corelow.c: Likewise.
1838         * cp-abi.c: Likewise.
1839         * cp-support.c: Likewise.
1840         * cp-valprint.c: Likewise.
1841         * darwin-nat.c: Likewise.
1842         * dwarf2-frame-tailcall.c: Likewise.
1843         * dwarf2-frame.c: Likewise.
1844         * dwarf2loc.c: Likewise.
1845         * dwarf2read.c: Likewise.
1846         * eval.c: Likewise.
1847         * event-loop.c: Likewise.
1848         * event-top.c: Likewise.
1849         * f-valprint.c: Likewise.
1850         * frame-unwind.c: Likewise.
1851         * frame.c: Likewise.
1852         * gdbtypes.c: Likewise.
1853         * gnu-v2-abi.c: Likewise.
1854         * gnu-v3-abi.c: Likewise.
1855         * guile/scm-auto-load.c: Likewise.
1856         * guile/scm-breakpoint.c: Likewise.
1857         * guile/scm-cmd.c: Likewise.
1858         * guile/scm-frame.c: Likewise.
1859         * guile/scm-lazy-string.c: Likewise.
1860         * guile/scm-param.c: Likewise.
1861         * guile/scm-symbol.c: Likewise.
1862         * guile/scm-type.c: Likewise.
1863         * hppa-hpux-tdep.c: Likewise.
1864         * i386-tdep.c: Likewise.
1865         * inf-loop.c: Likewise.
1866         * infcall.c: Likewise.
1867         * infcmd.c: Likewise.
1868         * infrun.c: Likewise.
1869         * interps.c: Likewise.
1870         * interps.h: Likewise.
1871         * jit.c: Likewise.
1872         * linespec.c: Likewise.
1873         * linux-nat.c: Likewise.
1874         * linux-thread-db.c: Likewise.
1875         * m32r-rom.c: Likewise.
1876         * main.c: Likewise.
1877         * memory-map.c: Likewise.
1878         * mi/mi-cmd-break.c: Likewise.
1879         * mi/mi-cmd-stack.c: Likewise.
1880         * mi/mi-interp.c: Likewise.
1881         * mi/mi-main.c: Likewise.
1882         * monitor.c: Likewise.
1883         * nto-procfs.c: Likewise.
1884         * objc-lang.c: Likewise.
1885         * p-valprint.c: Likewise.
1886         * parse.c: Likewise.
1887         * ppc-linux-tdep.c: Likewise.
1888         * printcmd.c: Likewise.
1889         * probe.c: Likewise.
1890         * python/py-auto-load.c: Likewise.
1891         * python/py-breakpoint.c: Likewise.
1892         * python/py-cmd.c: Likewise.
1893         * python/py-finishbreakpoint.c: Likewise.
1894         * python/py-frame.c: Likewise.
1895         * python/py-framefilter.c: Likewise.
1896         * python/py-function.c: Likewise.
1897         * python/py-gdb-readline.c: Likewise.
1898         * python/py-inferior.c: Likewise.
1899         * python/py-infthread.c: Likewise.
1900         * python/py-lazy-string.c: Likewise.
1901         * python/py-linetable.c: Likewise.
1902         * python/py-param.c: Likewise.
1903         * python/py-prettyprint.c: Likewise.
1904         * python/py-symbol.c: Likewise.
1905         * python/py-type.c: Likewise.
1906         * python/py-value.c: Likewise.
1907         * python/python-internal.h: Likewise.
1908         * python/python.c: Likewise.
1909         * record-btrace.c: Likewise.
1910         * record-full.c: Likewise.
1911         * regcache.c: Likewise.
1912         * remote-fileio.c: Likewise.
1913         * remote-mips.c: Likewise.
1914         * remote.c: Likewise.
1915         * rs6000-aix-tdep.c: Likewise.
1916         * rs6000-nat.c: Likewise.
1917         * skip.c: Likewise.
1918         * solib-darwin.c: Likewise.
1919         * solib-dsbt.c: Likewise.
1920         * solib-frv.c: Likewise.
1921         * solib-ia64-hpux.c: Likewise.
1922         * solib-spu.c: Likewise.
1923         * solib-svr4.c: Likewise.
1924         * solib.c: Likewise.
1925         * spu-tdep.c: Likewise.
1926         * stack.c: Likewise.
1927         * stap-probe.c: Likewise.
1928         * symfile-mem.c: Likewise.
1929         * symmisc.c: Likewise.
1930         * target.c: Likewise.
1931         * thread.c: Likewise.
1932         * top.c: Likewise.
1933         * tracepoint.c: Likewise.
1934         * tui/tui-interp.c: Likewise.
1935         * typeprint.c: Likewise.
1936         * utils.c: Likewise.
1937         * valarith.c: Likewise.
1938         * valops.c: Likewise.
1939         * valprint.c: Likewise.
1940         * value.c: Likewise.
1941         * varobj.c: Likewise.
1942         * windows-nat.c: Likewise.
1943         * xml-support.c: Likewise.
1944
1945 2014-10-05  Maciej W. Rozycki  <[email protected]>
1946
1947         * mips-tdep.c (add_offset_16): Rewrite to implement what the
1948         name implies.
1949         (extended_mips16_next_pc): Update accordingly.
1950
1951 2014-10-05  Maciej W. Rozycki  <[email protected]>
1952
1953         * mips-tdep.c (mips16_instruction_is_compact_branch): New
1954         function.
1955         (micromips_instruction_is_compact_branch): Likewise.
1956         (mips16_scan_prologue): Terminate scanning upon seeing a branch
1957         or a compact jump, reaching a jump delay slot, or seeing a
1958         second non-prologue instruction.
1959         (micromips_scan_prologue): Also terminate scanning upon seeing a
1960         compact branch or jump, or reaching a branch or jump delay slot.
1961         (mips32_scan_prologue): Terminate scanning upon reaching a branch
1962         or jump delay slot, or seeing a second non-prologue instruction.
1963         (mips32_instruction_has_delay_slot): Retain instruction
1964         examination code only, update arguments accordingly and move
1965         instruction fetch pieces to...
1966         (mips32_insn_at_pc_has_delay_slot): ... this new function.
1967         (micromips_instruction_has_delay_slot): Likewise and to...
1968         (micromips_insn_at_pc_has_delay_slot): ... this new function.
1969         (mips16_instruction_has_delay_slot): Likewise and to...
1970         (mips16_insn_at_pc_has_delay_slot): ... this new function.
1971         (mips_single_step_through_delay): Update accordingly.
1972         (mips_adjust_breakpoint_address): Likewise.
1973
1974 2014-10-05  Maciej W. Rozycki  <[email protected]>
1975
1976         * mips-tdep.c (micromips_instruction_has_delay_slot): When
1977         !mustbe32 also return 1 for 32-bit instructions.
1978         (mips16_instruction_has_delay_slot): Likewise.  Add an
1979         explanatory comment.
1980
1981 2014-10-03  Maciej W. Rozycki  <[email protected]>
1982
1983         * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
1984         symbols special.
1985
1986 2014-10-03  Maciej W. Rozycki  <[email protected]>
1987
1988         * breakpoint.h (bp_target_info): Add `reqstd_address' member,
1989         update comments.
1990         * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
1991         for the breakpoint's address.  Don't preinitialize `placed_size'.
1992         (insert_bp_location): Set `reqstd_address' rather than
1993         `placed_address'.
1994         (bp_target_info_copy_insertion_state): Also copy `placed_address'.
1995         (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
1996         address.
1997         (bkpt_remove_location): Likewise.
1998         (deprecated_insert_raw_breakpoint): Likewise.
1999         (deprecated_remove_raw_breakpoint): Likewise.
2000         (find_single_step_breakpoint): Likewise.
2001         * mem-break.c (default_memory_insert_breakpoint): Use
2002         `reqstd_address' for the breakpoint's address.  Don't set
2003         `placed_address' or `placed_size' if breakpoint contents couldn't
2004         have been determined.
2005         * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
2006         the breakpoint's address.
2007         (remote_insert_hw_breakpoint): Likewise.  Don't set
2008         `placed_address' or `placed_size' if breakpoint couldn't have been
2009         set.
2010         * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
2011         `reqstd_address' for the breakpoint's address.
2012         * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
2013         * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
2014         * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
2015         * microblaze-linux-tdep.c
2016         (microblaze_linux_memory_remove_breakpoint): Likewise.
2017         * monitor.c (monitor_insert_breakpoint): Likewise.
2018         * nto-procfs.c (procfs_insert_breakpoint): Likewise.
2019         (procfs_insert_hw_breakpoint): Likewise.
2020         * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
2021         * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
2022         * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
2023         * remote-mips.c (mips_insert_breakpoint): Likewise.
2024         * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
2025
2026 2014-10-03  Luis Machado  <[email protected]>
2027
2028         * valops.c (value_assign): Check for bit field assignments
2029         before calling architecture-specific register value
2030         conversion functions.
2031
2032 2014-10-03  Pierre Muller  <[email protected]>
2033
2034         * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
2035
2036 2014-10-02  Pedro Alves  <[email protected]>
2037
2038         * breakpoint.c (breakpoints_should_be_inserted_now): Use
2039         threads_are_executing.
2040         * breakpoint.h (breakpoints_should_be_inserted_now): Add
2041         describing comment.
2042         * gdbthread.h (threads_are_executing): Declare.
2043         (handle_signal_stop) <random signals>: Don't print about the
2044         signal here if stopping.
2045         (end_stepping_range): Don't notify observers here.
2046         (normal_stop): Update the thread list.  If stopped by a random
2047         signal or a stepping range ended, notify observers.
2048         * thread.c (threads_executing): New global.
2049         (init_thread_list): Clear 'threads_executing'.
2050         (set_executing): Set or clear 'threads_executing'.
2051         (threads_are_executing): New function.
2052         (update_threads_executing): New function.
2053         (update_thread_list): Use it.
2054
2055 2014-10-02  Pedro Alves  <[email protected]>
2056
2057         PR breakpoints/17431
2058         * breakpoint.c (update_breakpoints_after_exec): Don't create
2059         overlay, longjmp, std terminate nor exception breakpoints here.
2060
2061 2014-10-02  Pedro Alves  <[email protected]>
2062
2063         * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
2064         Adjust comments.
2065         * inferior.c (find_inferior_for_program_space): Give preference to
2066         the current inferior.
2067         * inferior.h (find_inferior_for_program_space): Update comment.
2068         * progspace.c (switch_to_program_space_and_thread): Prefer the
2069         current inferior if it's bound to the program space requested.  If
2070         the inferior found doesn't have a PID yet, don't bother looking up
2071         a thread.
2072         * progspace.h (switch_to_program_space_and_thread): Adjust
2073         comment.
2074         * thread.c (any_thread_of_process, any_live_thread_of_process):
2075         Give preference to the current thread.
2076
2077 2014-10-01  Pedro Alves  <[email protected]>
2078
2079         * breakpoint.c (insert_bp_location): Error out if inserting a
2080         software breakpoint at a read-only address.
2081         * target.c (memory_xfer_check_region): New function, factored out
2082         from ...
2083         (memory_xfer_partial_1): ... this.  Make the 'reg_len' local a
2084         ULONGEST.
2085         (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
2086         against the memory region attributes.
2087
2088 2014-10-01  Simon Marchi  <[email protected]>
2089
2090         * NEWS: Announce new exit-code field in -list-thread-groups
2091         output.
2092         * inferior.c (exit_inferior_1): Don't clear exit code.
2093         (inferior_appeared): Clear exit code.
2094         * mi/mi-main.c (print_one_inferior): Add printing of the exit
2095         code.
2096
2097 2014-10-01  Pedro Alves  <[email protected]>
2098
2099         * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
2100         GENERATED" along with emacs/vi read-only markers.
2101         * regformats/aarch64.dat: Regenerate.
2102         * regformats/arm-with-iwmmxt.dat: Regenerate.
2103         * regformats/arm-with-neon.dat: Regenerate.
2104         * regformats/arm-with-vfpv2.dat: Regenerate.
2105         * regformats/arm-with-vfpv3.dat: Regenerate.
2106         * regformats/i386/amd64-avx-linux.dat: Regenerate.
2107         * regformats/i386/amd64-avx.dat: Regenerate.
2108         * regformats/i386/amd64-avx512-linux.dat: Regenerate.
2109         * regformats/i386/amd64-avx512.dat: Regenerate.
2110         * regformats/i386/amd64-linux.dat: Regenerate.
2111         * regformats/i386/amd64-mpx-linux.dat: Regenerate.
2112         * regformats/i386/amd64-mpx.dat: Regenerate.
2113         * regformats/i386/amd64.dat: Regenerate.
2114         * regformats/i386/i386-avx-linux.dat: Regenerate.
2115         * regformats/i386/i386-avx.dat: Regenerate.
2116         * regformats/i386/i386-avx512-linux.dat: Regenerate.
2117         * regformats/i386/i386-avx512.dat: Regenerate.
2118         * regformats/i386/i386-linux.dat: Regenerate.
2119         * regformats/i386/i386-mmx-linux.dat: Regenerate.
2120         * regformats/i386/i386-mmx.dat: Regenerate.
2121         * regformats/i386/i386-mpx-linux.dat: Regenerate.
2122         * regformats/i386/i386-mpx.dat: Regenerate.
2123         * regformats/i386/i386.dat: Regenerate.
2124         * regformats/i386/x32-avx-linux.dat: Regenerate.
2125         * regformats/i386/x32-avx.dat: Regenerate.
2126         * regformats/i386/x32-avx512-linux.dat: Regenerate.
2127         * regformats/i386/x32-avx512.dat: Regenerate.
2128         * regformats/i386/x32-linux.dat: Regenerate.
2129         * regformats/i386/x32.dat: Regenerate.
2130         * regformats/microblaze-with-stack-protect.dat: Regenerate.
2131         * regformats/mips-dsp-linux.dat: Regenerate.
2132         * regformats/mips-linux.dat: Regenerate.
2133         * regformats/mips64-dsp-linux.dat: Regenerate.
2134         * regformats/mips64-linux.dat: Regenerate.
2135         * regformats/nios2-linux.dat: Regenerate.
2136         * regformats/rs6000/powerpc-32.dat: Regenerate.
2137         * regformats/rs6000/powerpc-32l.dat: Regenerate.
2138         * regformats/rs6000/powerpc-64l.dat: Regenerate.
2139         * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
2140         * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
2141         * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
2142         * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
2143         * regformats/rs6000/powerpc-e500l.dat: Regenerate.
2144         * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
2145         * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
2146         * regformats/s390-linux32.dat: Regenerate.
2147         * regformats/s390-linux32v1.dat: Regenerate.
2148         * regformats/s390-linux32v2.dat: Regenerate.
2149         * regformats/s390-linux64.dat: Regenerate.
2150         * regformats/s390-linux64v1.dat: Regenerate.
2151         * regformats/s390-linux64v2.dat: Regenerate.
2152         * regformats/s390-te-linux64.dat: Regenerate.
2153         * regformats/s390x-linux64.dat: Regenerate.
2154         * regformats/s390x-linux64v1.dat: Regenerate.
2155         * regformats/s390x-linux64v2.dat: Regenerate.
2156         * regformats/s390x-te-linux64.dat: Regenerate.
2157         * regformats/tic6x-c62x-linux.dat: Regenerate.
2158         * regformats/tic6x-c62x.dat: Regenerate.
2159         * regformats/tic6x-c64x-linux.dat: Regenerate.
2160         * regformats/tic6x-c64x.dat: Regenerate.
2161         * regformats/tic6x-c64xp-linux.dat: Regenerate.
2162         * regformats/tic6x-c64xp.dat: Regenerate.
2163
2164 2014-10-01  Pedro Alves  <[email protected]>
2165
2166         * features/Makefile: Update comments.
2167         (XMLTOC): List all xml files we build C files from.
2168         (clean-cfiles): New rule.
2169
2170 2014-10-01  Pedro Alves  <[email protected]>
2171
2172         * features/i386/amd64-avx512-linux.c: Regenerate.
2173         * features/i386/amd64-avx512.c: Regenerate.
2174         * features/i386/x32-avx512-linux.c: Regenerate.
2175         * features/i386/x32-avx512.c: Regenerate.
2176
2177 2014-10-01  Pedro Alves  <[email protected]>
2178
2179         * features/Makefile (WHICH): Remove arm-with-m,
2180         arm-with-m-fpa-layout and arm-with-m-vfp-d16.
2181
2182 2014-10-01  Pedro Alves  <[email protected]>
2183
2184         * features/Makefile (clean): New rule.
2185
2186 2014-10-01  Pedro Alves  <[email protected]>
2187
2188         * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
2189         (zmm14h): Add missing end quotes.
2190
2191 2014-10-01  Pedro Alves  <[email protected]>
2192
2193         * features/aarch64-core.xml (cpsr): Change back to 32-bit.
2194         * features/aarch64.c: Regenerate.
2195
2196 2014-09-30  Don Breazeal  <[email protected]>
2197
2198         * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
2199         code so as to work with follow_fork_inferior.
2200         * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
2201         (inf_ttrace_create_inferior): Remove reference to
2202         inf_ttrace_vfork_ppid.
2203         (inf_ttrace_attach): Ditto.
2204         (inf_ttrace_detach): Ditto.
2205         (inf_ttrace_kill): Use current_inferior instead of
2206         inf_ttrace_vfork_ppid.
2207         (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
2208         TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
2209         inferior away from the parent.
2210         * infrun.c (follow_fork): Call follow_fork_inferior instead of
2211         target_follow_fork.
2212         (follow_fork_inferior): New function.
2213         (follow_inferior_reset_breakpoints): Make function static.
2214         * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
2215         * linux-nat.c (linux_child_follow_fork): Move target-independent
2216         code to infrun.c:follow_fork_inferior.
2217
2218 2014-09-30  Andreas Arnez  <[email protected]>
2219
2220         * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
2221         * gdbarch.c: Regenerate.
2222         * gdbarch.h: Likewise.
2223         * corelow.c (sniff_core_bfd): Drop presence check for deleted
2224         gdbarch method 'regset_from_core_section'.
2225         (get_core_register_section): Remove handling for the case that
2226         regset == NULL and regset_from_core_section is defined.
2227         (get_core_registers): Drop check for deleted method.
2228         * procfs.c (procfs_do_thread_registers): Adjust comment.
2229
2230 2014-09-30  Andreas Arnez  <[email protected]>
2231
2232         * linux-nat.c (linux_nat_collect_thread_registers): Remove.
2233         (linux_nat_make_corefile_notes): Remove.
2234         (linux_target_install_ops): Do not set target method
2235         'make_corefile_notes'.
2236         * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
2237         Remove field.
2238         (linux_corefile_thread_callback): Instead of args->collect, call
2239         linux_collect_thread_registers.
2240         (linux_make_corefile_notes): Remove 'collect' parameter.  Return
2241         NULL unless there is a regset iterator.
2242         (linux_make_corefile_notes_1): Remove.
2243         (linux_init_abi): Replace reference to linux_make_corefile_notes_1
2244         by linux_make_corefile_notes.
2245         * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
2246
2247 2014-09-30  Andreas Arnez  <[email protected]>
2248
2249         * fbsd-nat.c (find_signalled_thread, find_stop_signal)
2250         (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
2251         Remove.
2252         * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
2253
2254 2014-09-30  Andreas Arnez  <[email protected]>
2255
2256         * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
2257         (xtensa_iterate_over_regset_sections): New.
2258         (xtensa_gdbarch_init): Adjust gdbarch initialization.
2259
2260 2014-09-30  Andreas Arnez  <[email protected]>
2261
2262         * vax-tdep.c (vax_regset_from_core_section): Remove.
2263         (vax_iterate_over_regset_sections): New.
2264         (vax_gdbarch_init): Adjust gdbarch initialization.
2265
2266 2014-09-30  Andreas Arnez  <[email protected]>
2267
2268         * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
2269         (tilegx_regset_from_core_section): Remove.
2270         (tilegx_iterate_over_regset_sections): New.
2271         (tilegx_linux_init_abi): Adjust gdbarch initialization.
2272
2273 2014-09-30  Andreas Arnez  <[email protected]>
2274
2275         * sparc-tdep.c (sparc_regset_from_core_section): Remove.
2276         (sparc_iterate_over_regset_sections): New.
2277         (sparc32_gdbarch_init): Adjust gdbarch initialization.
2278         * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
2279         targets.
2280         * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
2281         (sparc64fbsd_init_abi): Call fbsd_init_abi.
2282         * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
2283         target method 'make_corefile_notes'.
2284
2285 2014-09-30  Andreas Arnez  <[email protected]>
2286
2287         * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
2288         'sizeof_gregset' and 'sizeof_fpregset'.
2289         * sh-tdep.c (sh_regset_from_core_section): Remove.
2290         (sh_iterate_over_regset_sections): New.
2291         (sh_gdbarch_init): Adjust gdbarch initialization.
2292         * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
2293         sizeof_fpregset.
2294         * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
2295         'sizeof_gregset'.
2296
2297 2014-09-30  Andreas Arnez  <[email protected]>
2298
2299         * score-tdep.c (score7_linux_regset_from_core_section): Remove.
2300         (score7_linux_iterate_over_regset_sections): New.
2301         (score_gdbarch_init): Adjust gdbarch initialization.
2302
2303 2014-09-30  Andreas Arnez  <[email protected]>
2304
2305         * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
2306         FreeBSD targets.
2307         * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
2308         method 'make_corefile_notes'.
2309         * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
2310         (ppcfbsd_regset_from_core_section): Remove.
2311         (ppcfbsd_iterate_over_regset_sections): New.
2312         (ppcfbsd_init_abi): Call fbsd_init_abi.  Adjust gdbarch
2313         initialization.
2314         * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
2315         (ppcnbsd_iterate_over_regset_sections): New.
2316         (ppcnbsd_init_abi): Adjust.
2317         * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
2318         (ppcobsd_iterate_over_regset_sections): New.
2319         (ppcobsd_init_abi): Adjust.
2320         * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
2321         (rs6000_aix_iterate_over_regset_sections): New.
2322         (rs6000_aix_init_osabi): Adjust.
2323
2324 2014-09-30  Andreas Arnez  <[email protected]>
2325
2326         * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
2327         (nios2_regset_from_core_section): Remove.
2328         (nios2_iterate_over_regset_sections): New.
2329         (nios2_linux_init_abi): Adjust gdbarch initialization.
2330
2331 2014-09-30  Andreas Arnez  <[email protected]>
2332
2333         * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
2334         (am33_iterate_over_regset_sections): New.
2335         (am33_linux_init_osabi): Adjust gdbarch initialization.
2336
2337 2014-09-30  Andreas Arnez  <[email protected]>
2338
2339         * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
2340         (mips_linux_iterate_over_regset_sections): New.
2341         (mips_linux_init_abi): Adjust gdbarch initialization.
2342         * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
2343         (mips64obsd_iterate_over_regset_sections): New.
2344         (mips64obsd_init_abi): Adjust.
2345         * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
2346         (mipsnbsd_iterate_over_regset_sections): New.
2347         (mipsnbsd_init_abi): Adjust.
2348
2349 2014-09-30  Andreas Arnez  <[email protected]>
2350
2351         * m88k-tdep.c (m88k_regset_from_core_section): Remove.
2352         (m88k_iterate_over_regset_sections): New.
2353         (m88k_gdbarch_init): Adjust gdbarch initialization.
2354
2355 2014-09-30  Andreas Arnez  <[email protected]>
2356
2357         * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
2358         (ia64_linux_iterate_over_regset_sections): New.
2359         (ia64_linux_init_abi): Adjust gdbarch initialization.
2360
2361 2014-09-30  Andreas Arnez  <[email protected]>
2362
2363         * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
2364         (m68kbsd_iterate_over_regset_sections): New.
2365         (m68kbsd_init_abi): Adjust gdbarch initialization.
2366         * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
2367         (m68k_linux_iterate_over_regset_sections): New.
2368         (m68k_linux_init_abi): Adjust gdbarch initialization.
2369
2370 2014-09-30  Andreas Arnez  <[email protected]>
2371
2372         * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
2373         (m32r_linux_regset_from_core_section): Remove.
2374         (m32r_linux_iterate_over_regset_sections): New.
2375         (m32r_linux_init_abi): Adjust gdbarch initialization.
2376
2377 2014-09-30  Andreas Arnez  <[email protected]>
2378
2379         * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
2380         (amd64obsd_iterate_over_regset_sections): New.
2381         (amd64obsd_core_init_abi): Adjust gdbarch initialization.
2382         * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
2383         Remove.
2384         (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset.  Drop
2385         regset_from_core_section initialization.
2386         * i386-tdep.c (i386_regset_from_core_section): Remove.
2387         (i386_iterate_over_regset_sections): New.
2388         (i386_gdbarch_init): Adjust gdbarch initialization.
2389         * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
2390         (i386_iterate_over_regset_sections): New prototype.
2391         * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
2392         Remove.
2393         (i386obsd_aout_iterate_over_regset_sections): New.
2394         (i386obsd_aout_init_abi): Adjust gdbarch initialization.
2395         * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
2396         targets.
2397         * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
2398         (amd64fbsd_init_abi): Call fbsd_init_abi.
2399         * i386fbsd-tdep.c (fbsd-tdep.h): Include.
2400         (i386fbsd4_init_abi): Call fbsd_init_abi.
2401         * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
2402         target method 'make_corefile_notes'.
2403         * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
2404
2405 2014-09-30  Andreas Arnez  <[email protected]>
2406
2407         * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
2408         (hppa_hpux_iterate_over_regset_sections): New.
2409         (hppa_hpux_init_abi): Adjust gdbarch initialization.
2410         * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
2411         (hppa_linux_iterate_over_regset_sections): New.
2412         (hppa_linux_init_abi): Adjust.
2413         * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
2414         (hppanbsd_iterate_over_regset_sections): New.
2415         (hppanbsd_init_abi): Adjust.
2416         * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
2417         (hppaobsd_iterate_over_regset_sections): New.
2418         (hppaobsd_init_abi): Adjust.
2419
2420 2014-09-30  Andreas Arnez  <[email protected]>
2421
2422         * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
2423         (frv_linux_iterate_over_regset_sections): New.
2424         (frv_linux_init_abi): Adjust gdbarch initialization.
2425
2426 2014-09-30  Andreas Arnez  <[email protected]>
2427
2428         * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
2429         (armbsd_iterate_over_regset_sections): New prototype.
2430         * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
2431         (armbsd_iterate_over_regset_sections): New.
2432         * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
2433         initialization.
2434
2435 2014-09-30  Andreas Arnez  <[email protected]>
2436
2437         * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
2438         (alpha_linux_iterate_over_regset_sections): New.
2439         (alpha_linux_init_abi): Adjust gdbarch initialization.
2440         * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
2441         prototype.
2442         (alphanbsd_iterate_over_regset_sections): New prototype.
2443
2444 2014-09-30  Andreas Arnez  <[email protected]>
2445
2446         * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
2447         Remove.
2448         (aarch64_linux_iterate_over_regset_sections): New.
2449         (aarch64_linux_init_abi): Adjust gdbarch initialization.
2450
2451 2014-09-30  Andreas Arnez  <[email protected]>
2452
2453         * fbsd-tdep.c: New file.
2454         * fbsd-tdep.h: New file.
2455         * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
2456         (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
2457         (ALLDEPFILES): Add fbsd-tdep.c.
2458
2459 2014-09-30  Andreas Arnez  <[email protected]>
2460
2461         * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
2462         parameter.
2463         * gdbarch.h: Regenerate.
2464         * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
2465         iterator.
2466         (get_core_register_section): Add parameter 'regset' and use it, if
2467         set.  Add parameter 'min_size' and verify the bfd section size
2468         against it.
2469         (get_core_registers_cb): Add parameter 'regset' and pass it to
2470         get_core_register section.  For the "standard" register sections
2471         ".reg" and ".reg2", set an appropriate default for human_name.
2472         (get_core_registers): Don't abort when the gdbarch has an iterator
2473         but no regset_from_core_section.  Add NULL/0 for parameters
2474         'regset'/'min_size' in calls to get_core_register_section.
2475         * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
2476         'regset' and use it instead of calling the
2477         regset_from_core_section gdbarch method.
2478         * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
2479         * i386-tdep.c (i386_supply_xstateregset)
2480         (i386_collect_xstateregset, i386_xstateregset): Moved to
2481         i386-linux-tdep.c.
2482         (i386_regset_from_core_section): Drop handling for .reg-xfp and
2483         .reg-xstate.
2484         (i386_gdbarch_init): Set tdep field 'fpregset'.  Enable generic
2485         core file support only if the regset iterator hasn't been set.
2486         * i386-linux-tdep.c (i386_linux_supply_xstateregset)
2487         (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
2488         Moved from i386-tdep.c and renamed to *_linux*.
2489         (i386_linux_iterate_over_regset_sections): Add regset parameter to
2490         each callback invocation.  Allow any .reg-xstate size when reading
2491         from a core file.
2492         * amd64-tdep.c (amd64_supply_xstateregset)
2493         (amd64_collect_xstateregset, amd64_xstateregset): Moved to
2494         amd64-linux-tdep.c.
2495         (amd64_regset_from_core_section): Remove.
2496         (amd64_init_abi): Set new tdep field 'fpregset'.  No longer
2497         install an amd64-specific regset_from_core_section gdbarch method.
2498         * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
2499         (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
2500         Moved from amd64-tdep.c and renamed to *_linux*.
2501         (amd64_linux_iterate_over_regset_sections): Add regset parameter
2502         to each callback invocation.  Allow any .reg-xstate size when
2503         reading from a core file.
2504         * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
2505         (arm_linux_iterate_over_regset_sections): Add regset parameter to
2506         each callback invocation.
2507         (arm_linux_init_abi): No longer set the regset_from_core_section
2508         gdbarch method.
2509         * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
2510         (ppc_linux_iterate_over_regset_sections): Add regset parameter to
2511         each callback invocation.
2512         (ppc_linux_init_abi): No longer set the regset_from_core_section
2513         gdbarch method.
2514         * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
2515         gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
2516         (s390_regset_from_core_section): Remove.
2517         (s390_iterate_over_regset_sections): Add regset parameter to each
2518         callback invocation.
2519         (s390_gdbarch_init): No longer set the regset_from_core_section
2520         gdbarch method.  Drop initialization of deleted tdep fields.
2521
2522 2014-09-30  Andreas Arnez  <[email protected]>
2523
2524         * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
2525         (amd64_linux_iterate_over_regset_sections): New.
2526         (amd64_linux_init_abi_common): Don't install the regset section
2527         list, but the new iterator in gdbarch.
2528         * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
2529         (arm_linux_vfp_regset_sections): Remove.  Move combined logic...
2530         (arm_linux_iterate_over_regset_sections): ...here.  New function.
2531         (arm_linux_init_abi): Set iterator instead of section list.
2532         * corelow.c (get_core_registers_cb): New function, logic moved
2533         from...
2534         (get_core_registers): ...loop body here.  Use new iterator method
2535         instead of walking through the regset section list.
2536         * gdbarch.sh: Remove 'core_regset_sections'.  New method
2537         'iterate_over_regset_sections'.  New typedef
2538         'iterate_over_regset_sections_cb'.
2539         * gdbarch.c: Regenerate.
2540         * gdbarch.h: Likewise.
2541         * i386-linux-tdep.c (i386_linux_regset_sections)
2542         (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
2543         Remove.
2544         (i386_linux_iterate_over_regset_sections): New.
2545         (i386_linux_init_abi): Don't choose a regset section list, but
2546         install new iterator in gdbarch.
2547         * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
2548         (linux_collect_regset_section_cb): New function, logic moved
2549         from...
2550         (linux_collect_thread_registers): ...loop body here.  Use iterator
2551         method instead of walking through list.
2552         (linux_make_corefile_notes_1): Check for presence of iterator
2553         method instead of regset section list.
2554         * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
2555         (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
2556         (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
2557         (ppc64_linux_fp_regset_sections): Remove.  Move combined logic...
2558         (ppc_linux_iterate_over_regset_sections): ...here.  New function.
2559         (ppc_linux_init_abi): Don't choose from above regset section
2560         lists, but install new iterator in gdbarch.
2561         * regset.h (struct core_regset_section): Remove.
2562         * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
2563         have_linux_v1, have_linux_v2, and have_tdb.
2564         (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
2565         (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
2566         (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
2567         (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
2568         (s390x_linux64v2_regset_sections): Remove.  Move combined logic...
2569         (s390_iterate_over_regset_sections): ...here.  New function.  Use
2570         new tdep fields.
2571         (s390_gdbarch_init): Set new tdep fields.  Don't choose from above
2572         regset section lists, but install new iterator.
2573
2574 2014-09-29  Jan Kratochvil  <[email protected]>
2575
2576         * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
2577
2578 2014-09-26  Simon Marchi  <[email protected]>
2579
2580         * progspace.c (print_program_space): Don't prune program spaces
2581         before printing them.
2582
2583 2014-09-25  Pedro Alves  <[email protected]>
2584
2585         * infrun.c (user_visible_resume_ptid): Don't check
2586         singlestep_breakpoints_inserted_p.
2587
2588 2014-09-25  Pedro Alves  <[email protected]>
2589
2590         * breakpoint.c (should_be_inserted): Add debug output.
2591
2592 2014-09-25  Pedro Alves  <[email protected]>
2593
2594         * infrun.c (stepping_past_instruction_at)
2595         (clear_exit_convenience_vars): Point at infrun.h instead of
2596         inferior.h.
2597         (handle_signal_stop): Fix typo.
2598
2599 2014-09-24  Yao Qi  <[email protected]>
2600
2601         * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
2602         bitmask.
2603
2604 2014-09-22  Gary Benson  <[email protected]>
2605
2606         * target.c (target_stop): Updated comment.
2607
2608 2014-09-22  Gary Benson  <[email protected]>
2609
2610         * target/target.h (target_stop_ptid): Renamed as...
2611         (target_stop_and_wait): New function.  Updated comment.
2612         All uses updated.
2613         (target_continue_ptid): Renamed as...
2614         (target_continue_no_signal): New function.  Updated comment.
2615         All uses updated.
2616
2617 2014-09-22  Pedro Alves  <[email protected]>
2618
2619         * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
2620         and "auto" merged.
2621         * breakpoint.c (enum ugll_insert_mode): New enum.
2622         (always_inserted_mode): Now a plain boolean.
2623         (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
2624         (breakpoints_always_inserted_mode): Delete.
2625         (breakpoints_should_be_inserted_now): New function.
2626         (insert_breakpoints): Pass UGLL_INSERT to
2627         update_global_location_list instead of calling
2628         insert_breakpoint_locations manually.
2629         (create_solib_event_breakpoint_1): New, factored out from ...
2630         (create_solib_event_breakpoint): ... this.
2631         (create_and_insert_solib_event_breakpoint): Use
2632         create_solib_event_breakpoint_1 instead of calling
2633         insert_breakpoint_locations manually.
2634         (update_global_location_list): Change parameter type from boolean
2635         to enum ugll_insert_mode.  All callers adjusted.  Adjust to use
2636         breakpoints_should_be_inserted_now and handle UGLL_INSERT.
2637         (update_global_location_list_nothrow): Change parameter type from
2638         boolean to enum ugll_insert_mode.
2639         (_initialize_breakpoint): "breakpoint always-inserted" option is
2640         now a boolean command.  Update help text.
2641         * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
2642         (breakpoints_should_be_inserted_now): New declaration.
2643         * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
2644         Remove breakpoints_always_inserted_mode check.
2645         (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
2646         * remote.c (remote_start_remote): Likewise.
2647
2648 2014-09-22  Pedro Alves  <[email protected]>
2649
2650         * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
2651         (insert_breakpoints): Don't call insert_breakpoint_locations here.
2652         Instead, pass UGLL_INSERT to update_global_location_list.
2653         (update_global_location_list): Change parameter type from boolean
2654         to enum ugll_insert_mode.  All callers adjusted.  Adjust to use
2655         breakpoints_should_be_inserted_now and handle UGLL_INSERT.
2656         (create_solib_event_breakpoint_1): New, factored out from ...
2657         (create_solib_event_breakpoint): ... this.
2658         (create_and_insert_solib_event_breakpoint): Use
2659         create_solib_event_breakpoint_1 instead of calling
2660         insert_breakpoint_locations manually.
2661         (update_global_location_list): Handle UGLL_INSERT.
2662
2663 2014-09-22  Pedro Alves  <[email protected]>
2664
2665         * breakpoint.c (enum ugll_insert_mode): New enum.
2666         (update_global_location_list)
2667         (update_global_location_list_nothrow): Change parameter type from
2668         boolean to enum ugll_insert_mode.  All callers adjusted.
2669
2670 2014-09-19  Joel Brobecker  <[email protected]>
2671
2672         * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
2673         SystemTap support in GDB.
2674
2675 2014-09-19  Don Breazeal  <[email protected]>
2676
2677         * linux-nat.c (linux_handle_extended_wait): Call
2678         linux_ptrace_get_extended_event.
2679         (wait_lwp): Call linux_is_extended_waitstatus.
2680         (linux_nat_filter_event): Call linux_ptrace_get_extended_event
2681         and linux_is_extended_waitstatus.
2682         * nat/linux-ptrace.c (linux_test_for_tracefork): Call
2683         linux_ptrace_get_extended_event.
2684         (linux_ptrace_get_extended_event): New function.
2685         (linux_is_extended_waitstatus): New function.
2686         * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
2687         (linux_is_extended_waitstatus): New declarations.
2688
2689 2014-09-19  Yao Qi  <[email protected]>
2690
2691         * dwarf2read.c (dwarf_decode_lines): Update declaration.
2692         (handle_DW_AT_stmt_list): Add argument 'lowpc'.  Update
2693         comments.  Callers update.
2694         (dwarf_decode_lines): Likewise.
2695         (dwarf_decode_lines_1): Add argument 'lowpc'.  Update
2696         comments.  Skip the line table if  'lowpc' is greater than
2697         'address'.  Don't check
2698         dwarf2_per_objfile->has_section_at_zero.
2699
2700 2014-09-18  Doug Evans  <[email protected]>
2701
2702         * NEWS: Mention new "producer" attribute of gdb.Symtab.
2703         * python/py-symtab.c (stpy_get_producer): New function.
2704         (symtab_object_getset): Add "producer" attribute.
2705
2706 2014-09-17  Ulrich Weigand  <[email protected]>
2707
2708         PR gdb/17384
2709         * corefile.c (struct captured_read_memory_integer_arguments): Remove.
2710         (do_captured_read_memory_integer): Remove.
2711         (safe_read_memory_integer): Use target_read_memory directly instead
2712         of catching errors in do_captured_read_memory_integer.
2713
2714 2014-09-16  Maciej W. Rozycki  <[email protected]>
2715
2716         * CONTRIBUTE (Coding Standards): For internals refer to wiki,
2717         not gdb/doc.
2718
2719 2014-09-16  Sergio Durigan Junior  <[email protected]>
2720
2721         * objc-lang.c (find_implementation_from_class): Remove dead code.
2722
2723 2014-09-16  Sergio Durigan Junior  <[email protected]>
2724
2725         PR cli/7233
2726         * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
2727         "fprintf_unfiltered (gdb_stdlog...)".
2728
2729 2014-09-16  Patrick Palka  <[email protected]>
2730
2731         PR breakpoints/12526
2732         * breakpoint.h (struct watchpoint): New fields val_bitpos and
2733         val_bitsize.
2734         * breakpoint.c (watch_command_1): Use these fields to retain
2735         bitfield information.
2736         (extract_bitfield_from_watchpoint_value): New function.
2737         (watchpoint_check): Use it.
2738         (update_watchpoint): Use it.  Optimize the address and length of a
2739         HW watchpoint pointing to a bitfield.
2740         * value.h (unpack_value_bitfield): New prototype.
2741         * value.c (unpack_value_bitfield): Make extern.
2742
2743 2014-09-16  Samuel Thibault  <[email protected]>
2744
2745         * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
2746         x86-dregs.o.
2747         * gnu-nat.c (inf_threads): New function.
2748         * gnu-nat.h (inf_threads_ftype): New typedef.
2749         (inf_threads): New declaration.
2750         * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
2751         [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
2752         (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
2753         (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
2754         (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
2755         (i386_gnu_dr_get_control): New functions.
2756         (reg_addr): New structure.
2757         (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
2758         i386 debugging register hooks.
2759         * NEWS: Mention this.
2760
2761 2014-08-13  Omair Javaid  <[email protected]>
2762
2763         * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
2764         vector data transfer instructions.
2765         (arm_record_coproc_data_proc): Updated.
2766
2767 2014-08-13  Omair Javaid  <[email protected]>
2768
2769         * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
2770         arm_record_exreg_ld_st_insn.
2771         (arm_record_exreg_ld_st_insn): Add record handler for ex-register
2772         load/store insns.
2773
2774 2014-08-13  Omair Javaid  <[email protected]>
2775
2776         * arm-tdep.c (arm_record_coproc_data_proc): Updated.
2777         (arm_record_vfp_data_proc_insn): Added record handler for VFP data
2778         processing instructions.
2779
2780 2014-08-13  Omair Javaid  <[email protected]>
2781
2782         * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
2783         for advance SIMD struct ld/st insn.
2784         (thumb2_record_decode_insn_handler): Replace stub handler with
2785         thumb2_record_asimd_struct_ld_st.
2786
2787 2014-08-13  Omair Javaid  <[email protected]>
2788
2789         * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
2790         for asimd, vfp and coprocessor insns.
2791         (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
2792         and coprocessor insns.
2793         (thumb2_record_coproc_insn): New function.
2794         (thumb2_record_decode_insn_handler): Update coprocessor insns record
2795         handlers.
2796         (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
2797         opcode 110 insns.
2798
2799 2014-09-13  Doug Evans  <[email protected]>
2800
2801         * NEWS: Mention new "queue-signal" command.
2802         * infcmd.c (queue_signal_command): New function.
2803         (_initialize_infcmd): Add new queue-signal command.
2804
2805 2014-09-13  Doug Evans  <[email protected]>
2806
2807         * linux-nat.c (wait_lwp): Add debugging printf.
2808         (linux_nat_wait_1): Ditto.
2809
2810 2014-09-12  Pedro Alves  <[email protected]>
2811
2812         * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
2813         (create_and_insert_solib_event_breakpoint): New functions.
2814         * breakpoint.h (create_and_insert_solib_event_breakpoint)
2815         (remove_solib_event_breakpoints_at_next_stop): New declarations.
2816         * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
2817         (remove_dbx_link_breakpoint): Delete function.
2818         (insert_dbx_link_bpt_in_file): Use
2819         create_and_insert_solib_event_breakpoint instead of
2820         deprecated_insert_raw_breakpoint.
2821         (procfs_wait): Don't check whether we hit __dbx_link here.
2822         (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
2823         here.
2824         * solib-irix.c (base_breakpoint): Delete global.
2825         (disable_break): Delete function.
2826         (enable_break): Use create_solib_event_breakpoint
2827         instead of deprecated_insert_raw_breakpoint.
2828         (irix_solib_handle_event): New function.
2829         (irix_solib_create_inferior_hook): Don't run the target or disable
2830         the mapping-complete breakpoint here.
2831         (_initialize_irix_solib): Install irix_solib_handle_event as
2832         so_ops->handle_event hook.
2833
2834 2014-09-12  Edjunior Barbosa Machado  <[email protected]>
2835             Ulrich Weigand  <[email protected]>
2836
2837         PR tdep/17379
2838         * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
2839         instead of read_memory_unsigned_integer.
2840
2841 2014-09-12  Gary Benson  <[email protected]>
2842
2843         * nat/linux-waitpid.c: Include common-defs.h.
2844         [GDBSERVER]: Add FIXME comment.
2845         [!GDBSERVER]: Don't include defs.h or signal.h.
2846         (linux_debug) [!GDBSERVER]: Remove empty block.
2847
2848 2014-09-12  Gary Benson  <[email protected]>
2849
2850         * nat/x86-dregs.c: Include common-defs.h and break-common.h.
2851         Don't include defs.h or server.h.
2852
2853 2014-09-12  Gary Benson  <[email protected]>
2854
2855         * nat/linux-btrace.c: Include common-defs.h.
2856         Don't include defs.h, server.h or gdbthread.h.
2857         * nat/linux-btrace.h (struct target_ops): New forward declaration.
2858
2859 2014-09-12  Gary Benson  <[email protected]>
2860
2861         * common/agent.c: Include common-defs.h.
2862         Don't include defs.h or server.h.
2863         * common/buffer.c: Likewise.
2864         * common/common-debug.c: Likewise.
2865         * common/common-utils.c: Likewise.
2866         * common/errors.c: Likewise.
2867         * common/filestuff.c: Likewise.
2868         * common/format.c: Likewise.
2869         * common/gdb_vecs.c: Likewise.
2870         * common/print-utils.c: Likewise.
2871         * common/ptid.c: Likewise.
2872         * common/rsp-low.c: Likewise.
2873         * common/signals.c: Likewise.
2874         * common/vec.c: Likewise.
2875         * common/xml-utils.c: Likewise.
2876         * nat/linux-osdata.c: Likewise.
2877         * nat/linux-procfs.c: Likewise.
2878         * nat/linux-ptrace.c: Likewise.
2879         * nat/mips-linux-watch.c: Likewise.
2880         * target/waitstatus.c: Likewise.
2881
2882 2014-09-12  Tom Tromey  <[email protected]>
2883             Gary Benson  <[email protected]>
2884
2885         * common/common-regcache.h: New file.
2886         * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
2887         * regcache.h: Include common-regcache.h.
2888         (regcache_read_pc): Don't declare.
2889         * regcache.c (get_thread_regcache_for_ptid): New function.
2890         * nat/linux-btrace.c: Don't include regcache.h.
2891         Include common-regcache.h.
2892         (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2893
2894 2014-09-11  Thomas Schwinge  <[email protected]>
2895
2896         * regcache.h (struct regset): Declare.
2897
2898 2014-09-11  Pedro Alves  <[email protected]>
2899
2900         PR gdb/17347
2901         * main.c: Include "infrun.h".
2902         (catch_command_errors, catch_command_errors_const): Wait for the
2903         foreground command to complete.
2904         * top.c (maybe_wait_sync_command_done): New function, factored out
2905         from ...
2906         (maybe_wait_sync_command_done): ... here.
2907         * top.h (maybe_wait_sync_command_done): New declaration.
2908
2909 2014-09-11  Tom Tromey  <[email protected]>
2910             Gary Benson  <[email protected]>
2911
2912         * common/symbol.h: New file.
2913         * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2914         * minsyms.c (find_minimal_symbol_address): New function.
2915         * common/agent.c: Include common/symbol.h.
2916         [!GDBSERVER]: Don't include objfiles.h.
2917         (agent_look_up_symbols): Use find_minimal_symbol_address.
2918
2919 2014-09-11  Gary Benson  <[email protected]>
2920
2921         * target/target.h (target_stop_ptid, target_continue_ptid):
2922         Declare.
2923         * target.c (target_stop_ptid, target_continue_ptid): New
2924         functions.
2925         * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2926         (agent_run_command): Always use target_stop_ptid and
2927         target_continue_ptid.
2928
2929 2014-09-11  Tom Tromey  <[email protected]>
2930             Gary Benson  <[email protected]>
2931
2932         * target/target.h: New file.
2933         * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2934         * target.h: Include target/target.h.
2935         (target_read_memory, target_write_memory): Don't declare.
2936         * target.c (target_read_uint32): New function.
2937         * common/agent.c: Include target/target.h.
2938         [!GDBSERVER]: Don't include target.h.
2939         (helper_thread_id): Type changed to uint32_t.
2940         (agent_get_helper_thread_id): Use target_read_uint32.
2941         (agent_run_command): Always use target_read_memory and
2942         target_write_memory.
2943         (agent_capability): Type changed to uint32_t.
2944         (agent_capability_check): Use target_read_uint32.
2945
2946 2014-09-11  Gary Benson  <[email protected]>
2947
2948         * common/common-debug.h (show_debug_regs): Declare.
2949         * common/common-debug.c (show_debug_regs): Define.
2950         * aarch64-linux-nat.c (debug_hw_points): Don't define.  Replace
2951         all uses with show_debug_regs.  Replace all uses that considered
2952         debug_hw_points as a multi-value integer with straight boolean
2953         uses.
2954         * x86-nat.c (debug_hw_points): Don't define.  Replace all uses
2955         with show_debug_regs.
2956         * nat/x86-dregs.c (debug_hw_points): Don't declare.  Replace
2957         all uses with show_debug_regs.
2958         * mips-linux-nat.c (maint_show_dr): Don't define.  Replace all
2959         uses with show_debug_regs.
2960
2961 2014-09-10  Ulrich Weigand  <[email protected]>
2962
2963         * findvar.c (address_from_register): Handle targets requiring
2964         a special conversion routine even for plain pointer types.
2965
2966 2014-09-10  Ulrich Weigand  <[email protected]>
2967
2968         * rs6000-nat.c (exec_one_dummy_insn): Remove.
2969         (store_register): Do not call exec_one_dummy_insn.
2970
2971 2014-09-10  Joel Brobecker  <[email protected]>
2972
2973         * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
2974         dereference it first.  Use value_enclosing_type instead of
2975         value_type.
2976         (ada_array_length): Likewise.
2977
2978 2014-09-10  Joel Brobecker  <[email protected]>
2979
2980         * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
2981         Adjust function implementation and documentation accordingly.
2982         (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
2983         NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
2984         Update call to ada_value_ptr_subscript.
2985
2986 2014-09-10  Joel Brobecker  <[email protected]>
2987
2988         * ada-valprint.c (ada_value_print): Use VAL's enclosing type
2989         instead of VAL's type.
2990
2991 2014-09-10  Joel Brobecker  <[email protected]>
2992
2993         * amd64-linux-nat.c: Add <sys/uio.h> #include.
2994
2995 2014-09-09  Doug Evans  <[email protected]>
2996
2997         PR guile/17367
2998         * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
2999         last parameter to pkg-config, not first.
3000         * configure.ac: Pass --with-guile provided pkg-config path to
3001         GDB_GUILE_PROGRAM_NAMES.
3002         * configure: Regenerate.
3003
3004 2014-09-09  Gabriel Krisman Bertazi  <[email protected]>
3005
3006         * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
3007         Bertazi".
3008
3009 2014-09-09  Maciej W. Rozycki  <[email protected]>
3010
3011         * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
3012         Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
3013         the list of sections determining GDB_OSABI_IRIX.
3014
3015 2014-09-09  James Hogan  <[email protected]>
3016
3017         * MAINTAINERS (Write After Approval): Add "James Hogan".
3018
3019 2014-09-09  James Hogan  <[email protected]>
3020
3021         * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
3022
3023 2014-09-09  Joel Brobecker  <[email protected]>
3024
3025         * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
3026
3027 2014-09-08  Doug Evans  <[email protected]>
3028
3029         PR 17247
3030         * guile.c: #include <signal.h>.
3031         (_initialize_guile): Block SIGCHLD while initializing Guile.
3032
3033         Replaces the following, which is reverted.
3034
3035         2014-07-26  Doug Evans  <[email protected]>
3036
3037         PR 17185
3038         * configure.ac: Add check for header gc/gc.h.
3039         Add check for function setenv.
3040         * configure: Regenerate.
3041         * config.in: Regenerate.
3042         * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
3043
3044 2014-09-08  Doug Evans  <[email protected]>
3045
3046         * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
3047         with named constant.  Fix style of pointer comparison.
3048         * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
3049
3050 2014-09-07  Gabriel Krisman Bertazi  <[email protected]>
3051
3052         PR gdb/17035
3053         * cli/cli-cmds.c (show_user): Use cli_user_command_p to
3054         decide whether we display the command on "show user".
3055         * cli/cli-script.c (show_user_1): Only verify cmdlines after
3056         printing command name.
3057         * cli/cli-decode.h (cli_user_command_p): Declare new function.
3058         * cli/cli-decode.c (cli_user_command_p): Create helper function
3059         to verify whether cmd_list_element is a user-defined command.
3060
3061 2014-09-07  Jan Kratochvil  <[email protected]>
3062
3063         PR python/17355
3064         * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
3065         Fix goto out of TRY_CATCH.
3066
3067 2014-09-06  Doug Evans  <[email protected]>
3068             Tom Tromey  <[email protected]>
3069
3070         PR 15276
3071         * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
3072         $_any_caller_matches.
3073         * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
3074         * python/lib/gdb/function/caller_is.py: New file.
3075
3076 2014-09-06  Doug Evans  <[email protected]>
3077
3078         * infcmd.c (program_info): Fix typo.
3079
3080 2014-09-05  Sergio Durigan Junior  <[email protected]>
3081
3082         PR gdb/17235
3083         * stap-probe.c (stap_parse_single_operand): Delete unused variable
3084         'number'.  New variable 'has_digit'.  Rewrite code to deal with
3085         subexpressions on SDT probes.
3086
3087 2014-09-04  Pedro Alves  <[email protected]>
3088
3089         * c-exp.y (parse_number): Skip handling base-switching prefixes if
3090         the input is only one character long.
3091
3092 2014-09-04  Sergio Durigan Junior  <[email protected]>
3093
3094         PR fortran/17237
3095         * f-valprint.c (f_val_print): Specify the correct print option to
3096         use when printing integer values.
3097
3098 2014-09-04  Gary Benson  <[email protected]>
3099
3100         * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
3101         Remove code to cope with LWPs wrapped as PIDs.
3102         Add assertions to ensure no wrapped LWPs are passed.
3103
3104 2014-09-04  Pedro Alves  <[email protected]>
3105
3106         * value.c (value_ranges_copy_adjusted): New function, factored out
3107         from ...
3108         (value_contents_copy_raw): ... here.
3109         (unpack_value_bits_as_long_1): Rename back to ...
3110         (unpack_bits_as_long): ... this.  Remove 'original_value' and
3111         'result' parameters.  Change return type to LONGEST.
3112         (unpack_value_bits_as_long): Delete.
3113         (unpack_value_field_as_long_1): Delete.
3114         (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
3115         (unpack_value_bitfield): New function.
3116         (value_field_bitfield): Reimplement using unpack_value_bitfield.
3117         (value_fetch_lazy): Use unpack_value_bitfield.
3118         * value.h (unpack_value_bits_as_long): Delete declaration.
3119
3120 2014-09-03  Sasha Smundak  <[email protected]>
3121
3122         * python/py-frame.c (frapy_read_register): New function.
3123
3124 2014-09-03  James Hogan  <[email protected]>
3125
3126         * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
3127         prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
3128
3129 2014-09-03  Sergio Durigan Junior  <[email protected]>
3130
3131         PR python/16699
3132         * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
3133         function.
3134         (add_cmd): Set "completer_handle_brkchars" to NULL.
3135         * cli/cli-decode.h (struct cmd_list_element)
3136         <completer_handle_brkchars>: New field.
3137         * command.h (completer_ftype_void): New typedef.
3138         (set_cmd_completer_handle_brkchars): New prototype.
3139         * completer.c (set_gdb_completion_word_break_characters): New
3140         function.
3141         (complete_line_internal): Call "completer_handle_brkchars"
3142         callback from command.
3143         * completer.h: Include "command.h".
3144         (set_gdb_completion_word_break_characters): New prototype.
3145         * python/py-cmd.c (cmdpy_completer_helper): New function.
3146         (cmdpy_completer_handle_brkchars): New function.
3147         (cmdpy_completer): Adjust to use cmdpy_completer_helper.
3148         (cmdpy_init): Set completer_handle_brkchars to
3149         cmdpy_completer_handle_brkchars.
3150
3151 2014-09-03  Gary Benson  <[email protected]>
3152
3153         * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
3154         (ALL_DEBUG_ADDRESS_REGISTERS): New macro.  All uses updated.
3155         Loop conditions changed to equivalent form.
3156         (struct x86_debug_reg_state): Updated dr_ref_count comment.
3157         * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
3158         ALL_DEBUG_ADDRESS_REGISTERS.
3159
3160 2014-09-03  Joel Brobecker  <[email protected]>
3161
3162         * dwarf2loc.h (dwarf2_evaluate_property): Minor function
3163         description fix.
3164
3165 2014-09-02  Doug Evans  <[email protected]>
3166
3167         * typeprint.c (find_global_typedef): Fix comment.
3168
3169 2014-09-02  Gary Benson  <[email protected]>
3170
3171         * i386-nat.h: Renamed as...
3172         * x86-nat.h: New file.  All type, function and variable name
3173         prefixes changed from "i386_" to "x86_".  All references updated.
3174         * i386-nat.c: Renamed as...
3175         * x86-nat.c: New file.  All type, function and variable name
3176         prefixes changed from "i386_" to "x86_".  All references updated.
3177         * common/i386-xstate.h: Renamed as...
3178         * common/x86-xstate.h: New file.  All type, function and variable
3179         name prefixes changed from "i386_" to "x86_".  All references
3180         updated.
3181         * nat/i386-cpuid.h: Renamed as...
3182         * nat/x86-cpuid.h: New file.  All type, function and variable name
3183         prefixes changed from "i386_" to "x86_".  All references updated.
3184         * nat/i386-gcc-cpuid.h: Renamed as...
3185         * nat/x86-gcc-cpuid.h: New file.  All type, function and variable
3186         name prefixes changed from "i386_" to "x86_".  All references
3187         updated.
3188         * nat/i386-dregs.h: Renamed as...
3189         * nat/x86-dregs.h: New file.  All type, function and variable name
3190         prefixes changed from "i386_" to "x86_".  All references updated.
3191         * nat/i386-dregs.c: Renamed as...
3192         * nat/x86-dregs.c: New file.  All type, function and variable name
3193         prefixes changed from "i386_" to "x86_".  All references updated.
3194
3195 2014-09-01  Maciej W. Rozycki  <[email protected]>
3196
3197         * varobj.c (_initialize_varobj): Move to the end of file.
3198
3199 2014-08-29  Gary Benson  <[email protected]>
3200
3201         * common/common-exceptions.h: New file.
3202         * common/common-exceptions.c: Likewise.
3203         * Makefile.in (SFILES): Add common/common-exceptions.c.
3204         (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
3205         (COMMON_OBS): Add common-exceptions.o.
3206         (common-exceptions.o): New rule.
3207         * exceptions.h (common-exceptions.h): Include.
3208         (gdb_setjmp.h): Do not include.
3209         (return_reason): Moved to common-exceptions.h.
3210         (enum return_reason): Likewise.
3211         (RETURN_MASK): Likewise.
3212         (typedef return_mask): Likewise.
3213         (enum errors): Likewise.
3214         (struct gdb_exception): Likewise.
3215         (exceptions_state_mc_init): Likewise.
3216         (exceptions_state_mc_action_iter): Likewise.
3217         (exceptions_state_mc_action_iter_1): Likewise.
3218         (TRY_CATCH): Likewise.
3219         (throw_exception): Likewise.
3220         (throw_verror): Likewise.
3221         (throw_vquit): Likewise.
3222         (throw_error): Likewise.
3223         (throw_quit): Likewise.
3224         * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
3225         (enum catcher_action): Likewise.
3226         (struct catcher): Likewise.
3227         (current_catcher): Likewise.
3228         (catcher_list_size): Likewise.
3229         (exceptions_state_mc_init): Likewise.
3230         (catcher_pop): Likewise.
3231         (exceptions_state_mc): Likewise.
3232         (exceptions_state_mc_action_iter): Likewise.
3233         (exceptions_state_mc_action_iter_1): Likewise.
3234         (throw_exception): Likewise.
3235         (exception_messages): Likewise.
3236         (exception_messages_size): Likewise.
3237         (throw_it): Likewise.
3238         (throw_verror): Likewise.
3239         (throw_vquit): Likewise.
3240         (throw_error): Likewise.
3241         (throw_quit): Likewise.
3242         (prepare_to_throw_exception): New function.
3243
3244 2014-08-29  Gary Benson  <[email protected]>
3245
3246         * common/gdb_setjmp.h: New file.
3247         * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
3248         * configure.ac: Move sigsetjmp check...
3249         * common/common.m4: ...here.
3250         * configure: Regenerate.
3251         * cp-support.c (SIGJMP_BUF): Delete.
3252         (SIGSETJMP): Likewise.
3253         (SIGLONGJMP): Likewise.
3254         * exceptions.h (gdb_setjmp.h): Include.
3255         (setjmp.h): Do not include.
3256         (EXCEPTIONS_SIGJMP_BUF): Delete.
3257         (EXCEPTIONS_SIGSETJMP): Likewise.
3258         (EXCEPTIONS_SIGLONGJMP): Likewise.
3259         Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
3260         from gdb_setjmp.h.
3261         * exceptions.c: Likewise.
3262
3263 2014-08-29  Gary Benson  <[email protected]>
3264
3265         * cleanups.h: Moved to...
3266         * common/cleanups.h: New file.
3267         * cleanups.c: Moved to...
3268         * common/cleanups.c: New file.  Include common-defs.h and
3269         cleanups.h.  Do not include defs.h.
3270         * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
3271         (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
3272         (cleanups.o): New rule.
3273
3274 2014-08-29  Gary Benson  <[email protected]>
3275
3276         * common/errors.h (internal_warning): New declaration.
3277         (internal_vwarning): Likewise.
3278         * common/errors.c (internal_warning): New function.
3279         * utils.h (internal_warning): Don't declare.
3280         (internal_vwarning): Likewise.
3281         * utils.c (internal_warning): Removed.
3282
3283 2014-08-29  Gary Benson  <[email protected]>
3284
3285         * main.c (captured_main): Use warning during startup.
3286         Prefix startup warning messages with command name.
3287
3288 2014-08-29  Gary Benson  <[email protected]>
3289
3290         * main.c (captured_main): Handle usage errors with error.
3291
3292 2014-08-29  Gary Benson  <[email protected]>
3293
3294         * go32-nat.c (go32_create_inferior): Replace a fprintf/
3295         exit pair with a call to error.  Wrap the message with _().
3296
3297 2014-08-29  Gary Benson  <[email protected]>
3298
3299         * main.c (captured_main): Replace a fprintf/exit
3300         pair with a call to error.  Wrap the message with _().
3301
3302 2014-08-29  Gary Benson  <[email protected]>
3303
3304         * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
3305         pairs with calls to error.  Wrap the message with _().
3306
3307 2014-08-29  Gary Benson  <[email protected]>
3308
3309         * utils.c (vwarning): Protect calls to target_terminal_ours
3310         and wrap_here.
3311
3312 2014-08-29  Gary Benson  <[email protected]>
3313
3314         * exceptions.c (print_flush): Protect calls to
3315         target_terminal_ours and wrap_here.
3316
3317 2014-08-29  Gary Benson  <[email protected]>
3318
3319         * utils.h (filtered_printing_initialized): New declaration.
3320         * utils.c (abort_with_message): New function.
3321         (internal_vproblem): Use abort_with_message for first level
3322         recursive internal problems, and if gdb_stderr is not set up.
3323         Protect calls to target_terminal_ours, begin_line and query.
3324
3325 2014-08-28  Doug Evans  <[email protected]>
3326
3327         * symtab.c (in_prologue): Move definition to better spot.
3328         (skip_prologue_using_sal): Ditto.
3329
3330 2014-08-28  Doug Evans  <[email protected]>
3331
3332         * symtab.c (find_function_start_sal): Move definition to better spot.
3333
3334 2014-08-28  Yao Qi  <[email protected]>
3335
3336         * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
3337         found_stack_adjust in forward scan.  Remove condition check
3338         on found_stack_adjust which is always true.  Indent the code.
3339
3340 2014-08-28  Yao Qi  <[email protected]>
3341
3342         * dwarf2read.c (dwarf_decode_lines): Update declaration.
3343         (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
3344         (dwarf_decode_lines): Remove argument
3345         want_line_info.  Remove condition check on want_line_info.
3346         Callers update.
3347
3348 2014-08-27  Doug Evans  <[email protected]>
3349
3350         * dwarf2read.c (dwarf_record_line): Fix typo.
3351
3352 2014-08-27  Patrick Palka  <[email protected]>
3353
3354         * target.h (struct target_ops::to_terminal_save_ours): Remove
3355         declaration.
3356         (target_terminal_save_ours): Remove macro.
3357         * target-delegates.c: Regenerate.
3358         * inf-child.c (inf_child_target): Don't set the nonexistent
3359         field to_terminal_save_ours.
3360         * inferior.h (child_terminal_save_ours): Remove declaration.
3361         * terminal.h (gdb_save_tty_state): New declaration.
3362         * inflow.c (child_terminal_save_ours): Rename to ...
3363         (gdb_save_tty_state): ... this.
3364         * tui/tui.c: Include terminal.h.
3365         (tui_enable): Use gdb_save_tty_state instead of
3366         target_terminal_save_ours.
3367         (tui_disable): Likewise.
3368
3369 2014-08-25  Doug Evans  <[email protected]>
3370
3371         * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
3372         Pass NULL instead of 0 for context pointer.
3373
3374 2014-08-25  Yao Qi  <[email protected]>
3375
3376         * dwarf2read.c: Fix grammatical error.
3377
3378 2014-08-24  Yao Qi  <[email protected]>
3379
3380         * dwarf2read.c (scan_partial_symbols):  Update comments.
3381         Rename argument 'need_pc' with 'set_addrmap'.
3382         (add_partial_namespace): Rename argument 'need_pc' with
3383         'set_addrmap'.
3384         (add_partial_module): Likewise.
3385         (add_partial_subprogram): Likewise.  Update comments.
3386         (dwarf2_name): Fix typo.
3387
3388 2014-08-22  Doug Evans  <[email protected]>
3389
3390         PR 17276
3391         * dwarf2read.c (dwarf_record_line_p): New function.
3392         (dwarf_decode_lines_1): Ignore subsequent line number entries
3393         for the same line if any entry had a non-zero discriminator.
3394
3395 2014-08-22  Doug Evans  <[email protected]>
3396
3397         * buildsym.h (record_line_ftype): New typedef.
3398         (record_line): Use it.
3399         * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
3400         (dwarf_decode_lines_1): Call them.
3401
3402 2014-08-22  Yao Qi  <[email protected]>
3403
3404         * ctf.c (CTF_FILE_MIN_SIZE): Remove.
3405         (ctf_end): Remove code.
3406
3407 2014-08-21  Jan Kratochvil  <[email protected]>
3408
3409         * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
3410         (linux_make_corefile_notes): call update_thread_list, protected against
3411         exceptions.
3412
3413 2014-08-21  Pedro Alves  <[email protected]>
3414
3415         * infcmd.c (attach_command): Remove comment.
3416
3417 2014-08-21  Bin Cheng  <[email protected]>
3418
3419         * aarch64-linux-nat.c (dr_changed_t): Change the type from
3420         unsigned LONGEST to ULONGEST.
3421
3422 2014-08-20  Pedro Alves  <[email protected]>
3423
3424         * Makefile.in (check-read1): New rule.
3425
3426 2014-08-20  Joel Brobecker  <[email protected]>
3427
3428         * value.c (value_from_contents_and_address): Strip resolved_type's
3429         typedef layers before checking its TYPE_DATA_LOCATION.
3430
3431 2014-08-20  Pedro Alves  <[email protected]>
3432
3433         * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
3434
3435 2014-08-20  Yao Qi  <[email protected]>
3436
3437         * amd64-tdep.c (amd64_classify): Add a blank line after the
3438         example.  Move "*/" to a new line.
3439         * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
3440         * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
3441         * dwarf2read.c (psymtab_include_file_name): Likewise.
3442
3443 2014-08-19  Andrew Burgess  <[email protected]>
3444             Pedro Alves  <[email protected]>
3445
3446         PR symtab/14604
3447         PR symtab/14605
3448         * ada-lang.c (coerce_unspec_val_to_type): Use
3449         value_contents_copy_raw.
3450         * ada-valprint.c (val_print_packed_array_elements): Adjust.
3451         * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
3452         * cp-valprint.c (cp_print_value_fields): Let the common printing
3453         code handle optimized out values.
3454         (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
3455         * d-valprint.c (dynamic_array_type): Use
3456         value_bits_any_optimized_out.
3457         * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
3458         check_any_valid fields.
3459         (check_pieced_value_bits): Delete and inline ...
3460         (check_pieced_synthetic_pointer): ... here.
3461         (check_pieced_value_validity): Delete.
3462         (check_pieced_value_invalid): Delete.
3463         (pieced_value_funcs): Remove check_validity and check_any_valid
3464         fields.
3465         (read_pieced_value): Use mark_value_bits_optimized_out.
3466         (write_pieced_value): Switch to use
3467         mark_value_bytes_optimized_out.
3468         (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
3469         of assuming the whole value is optimized out.
3470         * findvar.c (read_frame_register_value): Remove special handling
3471         of optimized out registers.
3472         (value_from_register): Use mark_value_bytes_optimized_out.
3473         * frame-unwind.c (frame_unwind_got_optimized): Use
3474         mark_value_bytes_optimized_out.
3475         * jv-valprint.c (java_value_print): Adjust.
3476         (java_print_value_fields): Let the common printing code handle
3477         optimized out values.
3478         * mips-tdep.c (mips_print_register): Remove special handling of
3479         optimized out registers.
3480         * opencl-lang.c (lval_func_check_validity): Delete.
3481         (lval_func_check_any_valid): Delete.
3482         (opencl_value_funcs): Remove check_validity and check_any_valid
3483         fields.
3484         * p-valprint.c (pascal_object_print_value_fields): Let the common
3485         printing code handle optimized out values.
3486         * stack.c (read_frame_arg): Remove special handling of optimized
3487         out values.  Fetch both VAL and ENTRYVAL before comparing
3488         contents.  Adjust to value_available_contents_eq rename.
3489         * valprint.c (valprint_check_validity)
3490         (val_print_scalar_formatted): Use value_bits_any_optimized_out.
3491         (val_print_array_elements): Adjust.
3492         * value.c (struct value) <optimized_out>: Now a VEC(range_s).
3493         (value_bits_any_optimized_out): New function.
3494         (value_entirely_covered_by_range_vector): New function, factored
3495         out from value_entirely_unavailable.
3496         (value_entirely_unavailable): Reimplement.
3497         (value_entirely_optimized_out): New function.
3498         (insert_into_bit_range_vector): New function, factored out from
3499         mark_value_bits_unavailable.
3500         (mark_value_bits_unavailable): Reimplement.
3501         (struct ranges_and_idx): New struct.
3502         (find_first_range_overlap_and_match): New function, factored out
3503         from value_available_contents_bits_eq.
3504         (value_available_contents_bits_eq): Rename to ...
3505         (value_contents_bits_eq): ... this.  Check both unavailable
3506         contents and optimized out contents.
3507         (value_available_contents_eq): Rename to ...
3508         (value_contents_eq): ... this.
3509         (allocate_value_lazy): Remove reference to the old optimized_out
3510         boolean.
3511         (allocate_optimized_out_value): Use
3512         mark_value_bytes_optimized_out.
3513         (require_not_optimized_out): Adjust to check whether the
3514         optimized_out vec is empty.
3515         (ranges_copy_adjusted): New function, factored out from
3516         value_contents_copy_raw.
3517         (value_contents_copy_raw): Also copy the optimized out ranges.
3518         Assert the destination ranges aren't optimized out.
3519         (value_contents_copy): Update comment, remove call to
3520         require_not_optimized_out.
3521         (value_contents_equal): Adjust to check whether the optimized_out
3522         vec is empty.
3523         (set_value_optimized_out, value_optimized_out_const): Delete.
3524         (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
3525         New functions.
3526         (value_entirely_optimized_out, value_bits_valid): Delete.
3527         (value_copy): Take a VEC copy of the 'optimized_out' field.
3528         (value_primitive_field): Remove special handling of optimized out.
3529         (value_fetch_lazy): Assert that lazy values have no unavailable
3530         regions.  Use value_bits_any_optimized_out.  Remove some special
3531         handling for optimized out values.
3532         * value.h: Add intro comment about <optimized out> and
3533         <unavailable>.
3534         (struct lval_funcs): Remove check_validity and check_any_valid
3535         fields.
3536         (set_value_optimized_out, value_optimized_out_const): Remove.
3537         (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
3538         New declarations.
3539         (value_bits_any_optimized_out): New declaration.
3540         (value_bits_valid): Delete declaration.
3541         (value_available_contents_eq): Rename to ...
3542         (value_contents_eq): ... this, and extend comments.
3543
3544 2014-08-19  Jan Kratochvil  <[email protected]>
3545
3546         Fix -fsanitize=address on unreadable inferior strings.
3547         * valprint.c (val_print_string): Fix access before BUFFER.
3548
3549 2014-08-19  Simon Marchi  <[email protected]>
3550
3551         * target.c (target_struct_size): Remove.
3552         (target_struct_allocsize): Remove.
3553         (DEFAULT_ALLOCSIZE): Remove.
3554         (target_ops_p): New typedef.
3555         (DEF_VEC_P (target_ops_p)): New vector type.
3556         (target_structs): Change type to VEC (target_ops_p).
3557         (add_target_with_completer): Replace "push" code by VEC_safe_push.
3558         (find_default_run_target): Rewrite for loop following changes to
3559         target_structs.
3560
3561 2014-08-19  Joel Brobecker  <[email protected]>
3562
3563         * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
3564         Adjust code accordingly.  Adjust function description comment.
3565
3566 2014-08-19  Yao Qi  <[email protected]>
3567
3568         * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
3569         types.
3570
3571 2014-08-19  Alan Modra  <[email protected]>
3572
3573         * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
3574         * config.in: Regenerate.
3575         * configure: Regenerate.
3576
3577 2014-08-19  Tom Tromey  <[email protected]>
3578             Gary Benson  <[email protected]>
3579
3580         * common/common-debug.h: New file.
3581         * common/common-debug.c: Likewise.
3582         * debug.c: Likewise.
3583         * Makefile.in (SFILES): Add common/common-debug.c.
3584         (HFILES_NO_SRCDIR): Add common/common-debug.h.
3585         (COMMON_OBS): Add common-debug.o and debug.o.
3586         (common-debug.o): New rule.
3587         * common/common-defs.h: Include common-debug.h.
3588         * common/agent.c (debug_agent_printf): New function.
3589         (DEBUG_AGENT): Redefine.
3590         * nat/i386-dregs.c (debug_printf): Undefine.
3591
3592 2014-08-19  Gary Benson  <[email protected]>
3593
3594         * common/common-defs.h: Include print-utils.h.
3595         * utils.h: Do not include print-utils.h.
3596
3597 2014-08-19  Tom Tromey  <[email protected]>
3598             Gary Benson  <[email protected]>
3599
3600         * common/common-types.h: New file.
3601         * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
3602         * common/common-defs.h: Include common-types.h.
3603         * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
3604         (ULONGEST): Remove.
3605
3606 2014-08-19  Tom Tromey  <[email protected]>
3607             Gary Benson  <[email protected]>
3608
3609         * common/errors.h: New file.
3610         * common/errors.c: Likewise.
3611         * Makefile.in (SFILES): Add common/errors.c.
3612         (HFILES_NO_SRCDIR): Add common/errors.h.
3613         (COMMON_OBS): Add errors.o.
3614         (errors.o): New rule.
3615         * common/common-defs.h: Include errors.h.
3616         * utils.h (perror_with_name, error, verror, warning, vwarning):
3617         Don't declare.
3618         * common/common-utils.h: (malloc_failure, internal_error):
3619         Likewise.
3620
3621 2014-08-19  Gary Benson  <[email protected]>
3622
3623         * utils.c (internal_vproblem): Always print the message.
3624
3625 2014-08-18  Doug Evans  <[email protected]>
3626
3627         * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
3628
3629 2014-08-18  Joel Brobecker  <[email protected]>
3630
3631         * ada-typeprint.c (type_is_full_subrange_of_target_type):
3632         Return 0 if TYPE is dynamic.
3633         (print_range): Add handling of dynamic ranges.
3634
3635 2014-08-18  Keven Boell  <[email protected]>
3636             Joel Brobecker  <[email protected]>
3637
3638         * gdbtypes.h (struct main_type): Add field "data_location".
3639         (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
3640         (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
3641         * gdbtypes.c (is_dynamic_type): Return 1 if the type has
3642         a dynamic data location.
3643         (resolve_dynamic_type): Add DW_AT_data_location handling.
3644         (copy_recursive, copy_type): Copy the data_location information
3645         when present.
3646         * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
3647         * value.c (value_from_contents_and_address): Add
3648         DW_AT_data_location handling.
3649
3650 2014-08-18  Keven Boell  <[email protected]>
3651             Joel Brobecker  <[email protected]>
3652
3653         * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
3654         field "get_object_address".
3655         * dwarf2expr.c (execute_stack_op): Add handling for
3656         DW_OP_push_object_address.
3657         * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
3658         * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
3659         (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
3660         (dwarf_expr_get_obj_addr): New function.
3661         (dwarf_expr_ctx_funcs): Add get_object_address field.
3662         (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
3663         (dwarf2_locexpr_baton_eval): Add parameter "addr".  Use it.
3664         (dwarf2_evaluate_property): Add parameter "address".  Use it.
3665         (needs_get_obj_addr): New function.
3666         (needs_frame_ctx_funcs): Add get_object_address field.
3667         (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
3668         * gdbtypes.c (resolve_dynamic_range): Add "addr" field.  Use it.
3669         (resolve_dynamic_array): Likewise.
3670
3671 2014-08-18  Joel Brobecker  <[email protected]>
3672
3673         * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
3674         When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
3675         fixed value for records and unions for which some GNAT encodings
3676         are present.
3677
3678 2014-08-18  Joel Brobecker  <[email protected]>
3679
3680         * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
3681         rewrite to avoid "else if" and "else" constructs.  Should be
3682         a no-op in practice.
3683
3684 2014-08-18  Joel Brobecker  <[email protected]>
3685
3686         * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
3687         of lexical block.
3688
3689 2014-08-15  Siva Chandra Reddy  <[email protected]>
3690
3691         PR c++/17132
3692         * eval.c: Update all calls to find_overload_match.
3693         * valarith.c: Likewise.
3694         (value_user_defined_cpp_op, value_user_defined_op): New
3695         argument NOSIDE.  Update all callers.
3696         * valops.c (find_overload_match): New argument NOSIDE.
3697         * value.h (find_overload_match): Update signature.
3698
3699 2014-08-15  Siva Chandra Reddy  <[email protected]>
3700
3701         * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
3702         'items' methods instead of 'iteritems' method on dictionaries.
3703
3704 2014-08-15  Doug Evans  <[email protected]>
3705
3706         * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
3707         closer to use.
3708
3709 2014-08-15  Doug Evans  <[email protected]>
3710
3711         * dwarf2read.c (dwarf_decode_lines_1): Add comment.
3712
3713 2014-08-15  Doug Evans  <[email protected]>
3714
3715         * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
3716
3717 2014-08-15  Doug Evans  <[email protected]>
3718
3719         * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
3720         unused.
3721
3722 2014-08-15  Eli Zaretskii  <[email protected]>
3723
3724         * dcache.h: Include target.h, to avoid compile time warnings.
3725
3726 2014-08-15  Joel Brobecker  <[email protected]>
3727
3728         * gdbarch.sh: #include "frame.h" in gdbarch.h.  Delete "struct
3729         frame_info" partial declaration.
3730         * gdbarch.h: Regenerate.
3731
3732 2014-08-15  Yao Qi  <[email protected]>
3733
3734         * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
3735         Add parameter 'decode_for_pst_p'.  Callers update.
3736
3737 2014-08-13  Yao Qi  <[email protected]>
3738
3739         PR build/17104
3740         * configure.ac: Use local variable 'pos'.
3741         * configure: Regenerated.
3742
3743 2014-08-11  Doug Evans  <[email protected]>
3744
3745         * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
3746         message, it is redundant with "Reading symbols from ..." message.
3747
3748 2014-08-10  Doug Evans  <[email protected]>
3749
3750         * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
3751
3752 2014-08-09  Yao Qi  <[email protected]>
3753
3754         PR remote/9053
3755         * remote.c (remote_xfer_partial): Remove dead code.
3756
3757 2014-08-07  Andreas Arnez  <[email protected]>
3758
3759         * ia64-linux-tdep.c: Include "regset.h".
3760         (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
3761         (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
3762         (ia64_linux_supply_fpregset): New function.
3763         (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
3764         (ia64_linux_regset_from_core_section): New function.
3765         (ia64_linux_init_abi): Set regset_from_core_section gdbarch
3766         method.
3767
3768 2014-08-07  Andreas Arnez  <[email protected]>
3769
3770         * m68klinux-tdep.c: Include "regset.h".
3771         (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
3772         (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
3773         (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
3774         (m68k_linux_regset_from_core_section): New function.
3775         (m68k_linux_init_abi): Set regset_from_core_section gdbarch
3776         method.
3777
3778 2014-08-07  Andreas Arnez  <[email protected]>
3779
3780         * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
3781         function.  Move logic to...
3782         (tilegx_linux_regmap): ... this new register map.
3783         (tilegx_linux_regset): Refer to register map, replace supply
3784         method by regcache_supply_regset, and add collect method.
3785         * tilegx-tdep.h (enum tilegx_regnum): New enum value
3786         TILEGX_FIRST_EASY_REGNUM.
3787
3788 2014-08-07  Andreas Arnez  <[email protected]>
3789
3790         * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
3791         that calls regcache_supply_regset and handles the EPC register
3792         separately.  Move main logic to...
3793         (score7_linux_gregmap): ... this new register map.
3794         (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
3795         (score7_linux_gregset): Refer to register map.  Add collect method.
3796         (score7_linux_regset_from_core_section): Replace
3797         sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
3798         * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
3799         (struct regset): Delete unused forward declaraction.
3800         (struct pt_regs): Delete structure definition.
3801         (elf_gregset_t): Delete typedef.
3802
3803 2014-08-07  Andreas Arnez  <[email protected]>
3804
3805         * nios2-linux-tdep.c (nios2_collect_gregset): New function.
3806         (nios2_core_regset): Add collect method.
3807
3808 2014-08-07  Andreas Arnez  <[email protected]>
3809
3810         * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
3811         platform-independent and don't write to read-only input buffer.
3812         (m32r_linux_collect_gregset): New function.
3813         (m32r_linux_gregset): Add collect method.
3814
3815 2014-08-07  Andreas Arnez  <[email protected]>
3816
3817         * hppa-linux-tdep.c (greg_map): Rename to...
3818         (hppa_linux_gregmap): ... this.  Also convert to
3819         regcache_map_entry format.
3820         (hppa_linux_supply_regset): Delete function.
3821         (hppa_linux_supply_fpregset): Delete function.  Move logic to...
3822         (hppa_linux_fpregmap): ... this new register map.
3823         (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
3824         register map, replace supply method by regcache_supply_regset, and
3825         add collect method regcache_collect_regset.
3826
3827 2014-08-07  Andreas Arnez  <[email protected]>
3828
3829         * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
3830         (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
3831         (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
3832         (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
3833         (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
3834         (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
3835         (frv_linux_supply_gregset): Replace main logic by call to
3836         regcache_supply_regset, but keep clearing gr32-gr63.
3837         (frv_linux_supply_fpregset): Delete function.
3838         (frv_linux_gregset): Refer to appropriate register map and add
3839         regcache_collect_regset as the collect method.
3840         (frv_linux_fpregset): Likewise.  Also exchange the supply method
3841         by regcache_supply_regset.
3842
3843 2014-08-07  Andreas Arnez  <[email protected]>
3844
3845         * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
3846         by call to alpha_supply_int_regs.
3847         (alpha_linux_collect_gregset): New function.
3848         (alpha_linux_supply_fpregset): Replace logic by call to
3849         alpha_supply_fp_regs.
3850         (alpha_linux_collect_fpregset): New function.
3851         (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
3852
3853 2014-08-07  Andreas Arnez  <[email protected]>
3854
3855         * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
3856         by call to regcache_collect_regset.
3857         (supply_gregset, supply_fpregset): Call regcache_supply_regset
3858         instead of aarch64_linux_supply_gregset/_fpregset.
3859         * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
3860         (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
3861         header file instead.
3862         (aarch64_linux_supply_gregset, supply_gregset_from_core)
3863         (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
3864         functions.  Move logic to ...
3865         (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
3866         register maps.
3867         (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
3868         refer to new register maps, replace *_regset_from_core by
3869         regcache_supply_regset, and also use regcache_collect_regset.
3870         * aarch64-linux-tdep.h: Include "regset.h".
3871         (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
3872         Delete prototypes.
3873         (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
3874         macros, moved from C source file.
3875         (aarch64_linux_gregset, aarch64_linux_fpregset): New global
3876         variable declarations.
3877
3878 2014-08-07  Andreas Arnez  <[email protected]>
3879
3880         * s390-linux-nat.c: Include "regset.h".
3881         (regmap_gregset): Delete macro.
3882         (s390_64_regmap_gregset): New register map for
3883         regcache_supply/_collect_regset.
3884         (s390_64_gregset): New regset.
3885         (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
3886         (regmap_fpregset): Delete macro.
3887         (s390_native_supply, s390_native_collect): Delete functions.
3888         (supply_gregset, fill_gregset): Replace s390-specific regmap
3889         handling by a call to regcache_supply/_collect_regset.
3890         (supply_fpregset, fill_fpregset): Call regcache_supply/
3891         _collect_regset instead of s390_native_supply/_collect.
3892         (fetch_regset, store_regset): Likewise.  Also change the last
3893         parameter to a regset instead of a regmap.
3894         (s390_linux_fetch_inferior_registers)
3895         (390_linux_store_inferior_registers): Adjust last parameter in
3896         calls to fetch_regset and store_regset.
3897         * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3898         (s390_gregmap): ... this.  Also make static const and convert to
3899         regcache_map_entry format.
3900         (s390x_regmap_gregset): Delete.
3901         (s390_regmap_fpregset): Rename to...
3902         (s390_fpregmap): ... this.  Make static const and convert to
3903         regcache_map_entry format.
3904         (s390_regmap_upper, s390_regmap_last_break)
3905         (s390x_regmap_last_break, s390_regmap_system_call)
3906         (s390_regmap_tdb): Likewise.
3907         (s390_supply_regset, s390_collect_regset): Remove functions.
3908         (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3909         s390_supply_regset.
3910         (s390_gregset, s390_fpregset, s390_upper_regset)
3911         (s390_last_break_regset, s390x_last_break_regset)
3912         (s390_system_call_regset, s390_tdb_regset): Make global and
3913         replace s390_supply/_collect_regset by regcache_supply/
3914         _collect_regset.
3915         (s390x_gregset): Delete.
3916         (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3917         * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3918         (s390_regmap_fpregset, s390_regmap_last_break)
3919         (s390x_regmap_last_break, s390_regmap_system_call)
3920         (s390_regmap_tdb): Delete global variable declarations.
3921         (s390_gregset, s390_fpregset, s390_last_break_regset)
3922         (s390x_last_break_regset, s390_system_call_regset)
3923         (s390_tdb_regset): New global variable declarations.
3924
3925 2014-08-07  Andreas Arnez  <[email protected]>
3926
3927         * regcache.c: Include "regset.h".
3928         (regcache_transfer_regset): New local function.
3929         (regcache_supply_regset, regcache_collect_regset): New functions.
3930         * regcache.h (struct regcache_map_entry): New structure.
3931         (REGCACHE_MAP_SKIP): New enum value.
3932         (regcache_supply_regset, regcache_collect_regset): New prototypes.
3933
3934 2014-08-07  Andreas Arnez  <[email protected]>
3935
3936         * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3937         * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3938         (ppc_linux_collect_gregset ): Likewise.
3939         * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3940         (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3941         (ppc_collect_vrregset): Likewise.
3942         * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3943         Likewise.
3944
3945 2014-08-07  Yao Qi  <[email protected]>
3946
3947         * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
3948         * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
3949         * remote.c (remote_read_bytes): Likewise.
3950
3951 2014-08-07  Yao Qi  <[email protected]>
3952
3953         * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
3954
3955 2014-08-07  Yao Qi  <[email protected]>
3956
3957         PR remote/17230
3958         * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
3959         TARGET_XFER_OK instead of 0.
3960
3961 2014-08-07  Gary Benson  <[email protected]>
3962
3963         * common/common-defs.h: Include errno.h.
3964         * defs.h: Do not include errno.h.
3965         * ada-typeprint.c: Likewise.
3966         * c-typeprint.c: Likewise.
3967         * core-regset.c: Likewise.
3968         * corefile.c: Likewise.
3969         * corelow.c: Likewise.
3970         * event-loop.c: Likewise.
3971         * f-typeprint.c: Likewise.
3972         * gnu-nat.c: Likewise.
3973         * go32-nat.c: Likewise.
3974         * i386gnu-nat.c: Likewise.
3975         * m2-typeprint.c: Likewise.
3976         * nat/linux-btrace.c: Likewise.
3977         * p-typeprint.c: Likewise.
3978         * procfs.c: Likewise.
3979         * remote-sim.c: Likewise.
3980         * rs6000-nat.c: Likewise.
3981         * target.c: Likewise.
3982         * typeprint.c: Likewise.
3983         * ui-file.c: Likewise.
3984         * valops.c: Likewise.
3985         * valprint.c: Likewise.
3986
3987 2014-08-07  Gary Benson  <[email protected]>
3988
3989         * common/common-defs.h: Include string.h.
3990         * aarch64-tdep.c: Do not include string.h.
3991         * ada-exp.y: Likewise.
3992         * ada-lang.c: Likewise.
3993         * ada-lex.l: Likewise.
3994         * ada-typeprint.c: Likewise.
3995         * ada-valprint.c: Likewise.
3996         * aix-thread.c: Likewise.
3997         * alpha-linux-tdep.c: Likewise.
3998         * alpha-mdebug-tdep.c: Likewise.
3999         * alpha-nat.c: Likewise.
4000         * alpha-osf1-tdep.c: Likewise.
4001         * alpha-tdep.c: Likewise.
4002         * alphanbsd-tdep.c: Likewise.
4003         * amd64-dicos-tdep.c: Likewise.
4004         * amd64-linux-tdep.c: Likewise.
4005         * amd64-nat.c: Likewise.
4006         * amd64-sol2-tdep.c: Likewise.
4007         * amd64fbsd-tdep.c: Likewise.
4008         * amd64obsd-tdep.c: Likewise.
4009         * arch-utils.c: Likewise.
4010         * arm-linux-nat.c: Likewise.
4011         * arm-linux-tdep.c: Likewise.
4012         * arm-tdep.c: Likewise.
4013         * arm-wince-tdep.c: Likewise.
4014         * armbsd-tdep.c: Likewise.
4015         * armnbsd-nat.c: Likewise.
4016         * armnbsd-tdep.c: Likewise.
4017         * armobsd-tdep.c: Likewise.
4018         * avr-tdep.c: Likewise.
4019         * ax-gdb.c: Likewise.
4020         * ax-general.c: Likewise.
4021         * bcache.c: Likewise.
4022         * bfin-tdep.c: Likewise.
4023         * breakpoint.c: Likewise.
4024         * build-id.c: Likewise.
4025         * buildsym.c: Likewise.
4026         * c-exp.y: Likewise.
4027         * c-lang.c: Likewise.
4028         * c-typeprint.c: Likewise.
4029         * c-valprint.c: Likewise.
4030         * charset.c: Likewise.
4031         * cli-out.c: Likewise.
4032         * cli/cli-cmds.c: Likewise.
4033         * cli/cli-decode.c: Likewise.
4034         * cli/cli-dump.c: Likewise.
4035         * cli/cli-interp.c: Likewise.
4036         * cli/cli-logging.c: Likewise.
4037         * cli/cli-script.c: Likewise.
4038         * cli/cli-setshow.c: Likewise.
4039         * cli/cli-utils.c: Likewise.
4040         * coffread.c: Likewise.
4041         * common/agent.c: Likewise.
4042         * common/buffer.c: Likewise.
4043         * common/buffer.h: Likewise.
4044         * common/common-utils.c: Likewise.
4045         * common/filestuff.c: Likewise.
4046         * common/filestuff.c: Likewise.
4047         * common/format.c: Likewise.
4048         * common/print-utils.c: Likewise.
4049         * common/rsp-low.c: Likewise.
4050         * common/signals.c: Likewise.
4051         * common/vec.h: Likewise.
4052         * common/xml-utils.c: Likewise.
4053         * core-regset.c: Likewise.
4054         * corefile.c: Likewise.
4055         * corelow.c: Likewise.
4056         * cp-abi.c: Likewise.
4057         * cp-name-parser.y: Likewise.
4058         * cp-support.c: Likewise.
4059         * cp-valprint.c: Likewise.
4060         * cris-tdep.c: Likewise.
4061         * d-exp.y: Likewise.
4062         * darwin-nat.c: Likewise.
4063         * dbxread.c: Likewise.
4064         * dcache.c: Likewise.
4065         * demangle.c: Likewise.
4066         * dicos-tdep.c: Likewise.
4067         * disasm.c: Likewise.
4068         * doublest.c: Likewise.
4069         * dsrec.c: Likewise.
4070         * dummy-frame.c: Likewise.
4071         * dwarf2-frame.c: Likewise.
4072         * dwarf2loc.c: Likewise.
4073         * dwarf2read.c: Likewise.
4074         * elfread.c: Likewise.
4075         * environ.c: Likewise.
4076         * eval.c: Likewise.
4077         * event-loop.c: Likewise.
4078         * exceptions.c: Likewise.
4079         * exec.c: Likewise.
4080         * expprint.c: Likewise.
4081         * f-exp.y: Likewise.
4082         * f-lang.c: Likewise.
4083         * f-typeprint.c: Likewise.
4084         * f-valprint.c: Likewise.
4085         * fbsd-nat.c: Likewise.
4086         * findcmd.c: Likewise.
4087         * findvar.c: Likewise.
4088         * fork-child.c: Likewise.
4089         * frame.c: Likewise.
4090         * frv-linux-tdep.c: Likewise.
4091         * frv-tdep.c: Likewise.
4092         * gdb.c: Likewise.
4093         * gdb_bfd.c: Likewise.
4094         * gdbarch.c: Likewise.
4095         * gdbarch.sh: Likewise.
4096         * gdbtypes.c: Likewise.
4097         * gnu-nat.c: Likewise.
4098         * gnu-v2-abi.c: Likewise.
4099         * gnu-v3-abi.c: Likewise.
4100         * go-exp.y: Likewise.
4101         * go-lang.c: Likewise.
4102         * go32-nat.c: Likewise.
4103         * guile/guile.c: Likewise.
4104         * guile/scm-auto-load.c: Likewise.
4105         * hppa-hpux-tdep.c: Likewise.
4106         * hppa-linux-nat.c: Likewise.
4107         * hppanbsd-tdep.c: Likewise.
4108         * hppaobsd-tdep.c: Likewise.
4109         * i386-cygwin-tdep.c: Likewise.
4110         * i386-dicos-tdep.c: Likewise.
4111         * i386-linux-tdep.c: Likewise.
4112         * i386-nto-tdep.c: Likewise.
4113         * i386-sol2-tdep.c: Likewise.
4114         * i386-tdep.c: Likewise.
4115         * i386bsd-tdep.c: Likewise.
4116         * i386gnu-nat.c: Likewise.
4117         * i386nbsd-tdep.c: Likewise.
4118         * i386obsd-tdep.c: Likewise.
4119         * i387-tdep.c: Likewise.
4120         * ia64-libunwind-tdep.c: Likewise.
4121         * ia64-linux-nat.c: Likewise.
4122         * inf-child.c: Likewise.
4123         * inf-ptrace.c: Likewise.
4124         * inf-ttrace.c: Likewise.
4125         * infcall.c: Likewise.
4126         * infcmd.c: Likewise.
4127         * inflow.c: Likewise.
4128         * infrun.c: Likewise.
4129         * interps.c: Likewise.
4130         * iq2000-tdep.c: Likewise.
4131         * irix5-nat.c: Likewise.
4132         * jv-exp.y: Likewise.
4133         * jv-lang.c: Likewise.
4134         * jv-typeprint.c: Likewise.
4135         * jv-valprint.c: Likewise.
4136         * language.c: Likewise.
4137         * linux-fork.c: Likewise.
4138         * linux-nat.c: Likewise.
4139         * lm32-tdep.c: Likewise.
4140         * m2-exp.y: Likewise.
4141         * m2-typeprint.c: Likewise.
4142         * m32c-tdep.c: Likewise.
4143         * m32r-linux-nat.c: Likewise.
4144         * m32r-linux-tdep.c: Likewise.
4145         * m32r-rom.c: Likewise.
4146         * m32r-tdep.c: Likewise.
4147         * m68hc11-tdep.c: Likewise.
4148         * m68k-tdep.c: Likewise.
4149         * m68kbsd-tdep.c: Likewise.
4150         * m68klinux-nat.c: Likewise.
4151         * m68klinux-tdep.c: Likewise.
4152         * m88k-tdep.c: Likewise.
4153         * machoread.c: Likewise.
4154         * macrocmd.c: Likewise.
4155         * main.c: Likewise.
4156         * mdebugread.c: Likewise.
4157         * mem-break.c: Likewise.
4158         * memattr.c: Likewise.
4159         * memory-map.c: Likewise.
4160         * mep-tdep.c: Likewise.
4161         * mi/mi-cmd-break.c: Likewise.
4162         * mi/mi-cmd-disas.c: Likewise.
4163         * mi/mi-cmd-env.c: Likewise.
4164         * mi/mi-cmd-stack.c: Likewise.
4165         * mi/mi-cmd-var.c: Likewise.
4166         * mi/mi-cmds.c: Likewise.
4167         * mi/mi-console.c: Likewise.
4168         * mi/mi-getopt.c: Likewise.
4169         * mi/mi-interp.c: Likewise.
4170         * mi/mi-main.c: Likewise.
4171         * mi/mi-parse.c: Likewise.
4172         * microblaze-rom.c: Likewise.
4173         * microblaze-tdep.c: Likewise.
4174         * mingw-hdep.c: Likewise.
4175         * minidebug.c: Likewise.
4176         * minsyms.c: Likewise.
4177         * mips-irix-tdep.c: Likewise.
4178         * mips-linux-tdep.c: Likewise.
4179         * mips-tdep.c: Likewise.
4180         * mips64obsd-tdep.c: Likewise.
4181         * mipsnbsd-tdep.c: Likewise.
4182         * mipsread.c: Likewise.
4183         * mn10300-linux-tdep.c: Likewise.
4184         * mn10300-tdep.c: Likewise.
4185         * monitor.c: Likewise.
4186         * moxie-tdep.c: Likewise.
4187         * mt-tdep.c: Likewise.
4188         * nat/linux-btrace.c: Likewise.
4189         * nat/linux-osdata.c: Likewise.
4190         * nat/linux-procfs.c: Likewise.
4191         * nat/linux-ptrace.c: Likewise.
4192         * nat/linux-waitpid.c: Likewise.
4193         * nbsd-tdep.c: Likewise.
4194         * nios2-linux-tdep.c: Likewise.
4195         * nto-procfs.c: Likewise.
4196         * nto-tdep.c: Likewise.
4197         * objc-lang.c: Likewise.
4198         * objfiles.c: Likewise.
4199         * opencl-lang.c: Likewise.
4200         * osabi.c: Likewise.
4201         * osdata.c: Likewise.
4202         * p-exp.y: Likewise.
4203         * p-lang.c: Likewise.
4204         * p-typeprint.c: Likewise.
4205         * parse.c: Likewise.
4206         * posix-hdep.c: Likewise.
4207         * ppc-linux-nat.c: Likewise.
4208         * ppc-sysv-tdep.c: Likewise.
4209         * ppcfbsd-tdep.c: Likewise.
4210         * ppcnbsd-tdep.c: Likewise.
4211         * ppcobsd-tdep.c: Likewise.
4212         * printcmd.c: Likewise.
4213         * procfs.c: Likewise.
4214         * prologue-value.c: Likewise.
4215         * python/py-auto-load.c: Likewise.
4216         * python/py-gdb-readline.c: Likewise.
4217         * ravenscar-thread.c: Likewise.
4218         * regcache.c: Likewise.
4219         * registry.c: Likewise.
4220         * remote-fileio.c: Likewise.
4221         * remote-m32r-sdi.c: Likewise.
4222         * remote-mips.c: Likewise.
4223         * remote-notif.c: Likewise.
4224         * remote-sim.c: Likewise.
4225         * remote.c: Likewise.
4226         * reverse.c: Likewise.
4227         * rs6000-aix-tdep.c: Likewise.
4228         * ser-base.c: Likewise.
4229         * ser-go32.c: Likewise.
4230         * ser-mingw.c: Likewise.
4231         * ser-pipe.c: Likewise.
4232         * ser-tcp.c: Likewise.
4233         * ser-unix.c: Likewise.
4234         * serial.c: Likewise.
4235         * sh-tdep.c: Likewise.
4236         * sh64-tdep.c: Likewise.
4237         * shnbsd-tdep.c: Likewise.
4238         * skip.c: Likewise.
4239         * sol-thread.c: Likewise.
4240         * solib-dsbt.c: Likewise.
4241         * solib-frv.c: Likewise.
4242         * solib-osf.c: Likewise.
4243         * solib-som.c: Likewise.
4244         * solib-spu.c: Likewise.
4245         * solib-target.c: Likewise.
4246         * solib.c: Likewise.
4247         * somread.c: Likewise.
4248         * source.c: Likewise.
4249         * sparc-nat.c: Likewise.
4250         * sparc-sol2-tdep.c: Likewise.
4251         * sparc-tdep.c: Likewise.
4252         * sparc64-tdep.c: Likewise.
4253         * sparc64fbsd-tdep.c: Likewise.
4254         * sparc64nbsd-tdep.c: Likewise.
4255         * sparcnbsd-tdep.c: Likewise.
4256         * spu-linux-nat.c: Likewise.
4257         * spu-multiarch.c: Likewise.
4258         * spu-tdep.c: Likewise.
4259         * stabsread.c: Likewise.
4260         * stack.c: Likewise.
4261         * std-regs.c: Likewise.
4262         * symfile.c: Likewise.
4263         * symmisc.c: Likewise.
4264         * symtab.c: Likewise.
4265         * target.c: Likewise.
4266         * thread.c: Likewise.
4267         * tilegx-linux-nat.c: Likewise.
4268         * tilegx-tdep.c: Likewise.
4269         * top.c: Likewise.
4270         * tracepoint.c: Likewise.
4271         * tui/tui-command.c: Likewise.
4272         * tui/tui-data.c: Likewise.
4273         * tui/tui-disasm.c: Likewise.
4274         * tui/tui-file.c: Likewise.
4275         * tui/tui-layout.c: Likewise.
4276         * tui/tui-out.c: Likewise.
4277         * tui/tui-regs.c: Likewise.
4278         * tui/tui-source.c: Likewise.
4279         * tui/tui-stack.c: Likewise.
4280         * tui/tui-win.c: Likewise.
4281         * tui/tui-windata.c: Likewise.
4282         * tui/tui-winsource.c: Likewise.
4283         * typeprint.c: Likewise.
4284         * ui-file.c: Likewise.
4285         * ui-out.c: Likewise.
4286         * user-regs.c: Likewise.
4287         * utils.c: Likewise.
4288         * v850-tdep.c: Likewise.
4289         * valarith.c: Likewise.
4290         * valops.c: Likewise.
4291         * valprint.c: Likewise.
4292         * value.c: Likewise.
4293         * varobj.c: Likewise.
4294         * vax-tdep.c: Likewise.
4295         * vaxnbsd-tdep.c: Likewise.
4296         * vaxobsd-tdep.c: Likewise.
4297         * windows-nat.c: Likewise.
4298         * xcoffread.c: Likewise.
4299         * xml-support.c: Likewise.
4300         * xstormy16-tdep.c: Likewise.
4301         * xtensa-linux-nat.c: Likewise.
4302
4303 2014-08-07  Gary Benson  <[email protected]>
4304
4305         * common/common-defs.h: Include gdb_assert.h.
4306         * aarch64-tdep.c: Do not include gdb_assert.h.
4307         * addrmap.c: Likewise.
4308         * aix-thread.c: Likewise.
4309         * alpha-linux-tdep.c: Likewise.
4310         * alpha-mdebug-tdep.c: Likewise.
4311         * alphanbsd-tdep.c: Likewise.
4312         * amd64-nat.c: Likewise.
4313         * amd64-tdep.c: Likewise.
4314         * amd64bsd-nat.c: Likewise.
4315         * amd64fbsd-nat.c: Likewise.
4316         * amd64fbsd-tdep.c: Likewise.
4317         * amd64nbsd-nat.c: Likewise.
4318         * amd64nbsd-tdep.c: Likewise.
4319         * amd64obsd-nat.c: Likewise.
4320         * amd64obsd-tdep.c: Likewise.
4321         * arch-utils.c: Likewise.
4322         * arm-tdep.c: Likewise.
4323         * armbsd-tdep.c: Likewise.
4324         * auxv.c: Likewise.
4325         * bcache.c: Likewise.
4326         * bfin-tdep.c: Likewise.
4327         * blockframe.c: Likewise.
4328         * breakpoint.c: Likewise.
4329         * bsd-kvm.c: Likewise.
4330         * bsd-uthread.c: Likewise.
4331         * buildsym.c: Likewise.
4332         * c-exp.y: Likewise.
4333         * c-lang.c: Likewise.
4334         * charset.c: Likewise.
4335         * cleanups.c: Likewise.
4336         * cli-out.c: Likewise.
4337         * cli/cli-decode.c: Likewise.
4338         * cli/cli-dump.c: Likewise.
4339         * cli/cli-logging.c: Likewise.
4340         * cli/cli-script.c: Likewise.
4341         * cli/cli-utils.c: Likewise.
4342         * coffread.c: Likewise.
4343         * common/common-utils.c: Likewise.
4344         * common/queue.h: Likewise.
4345         * common/signals.c: Likewise.
4346         * common/vec.h: Likewise.
4347         * complaints.c: Likewise.
4348         * completer.c: Likewise.
4349         * corelow.c: Likewise.
4350         * cp-abi.c: Likewise.
4351         * cp-name-parser.y: Likewise.
4352         * cp-namespace.c: Likewise.
4353         * cp-support.c: Likewise.
4354         * cris-tdep.c: Likewise.
4355         * dbxread.c: Likewise.
4356         * dictionary.c: Likewise.
4357         * doublest.c: Likewise.
4358         * dsrec.c: Likewise.
4359         * dummy-frame.c: Likewise.
4360         * dwarf2-frame-tailcall.c: Likewise.
4361         * dwarf2-frame.c: Likewise.
4362         * dwarf2expr.c: Likewise.
4363         * dwarf2loc.c: Likewise.
4364         * dwarf2read.c: Likewise.
4365         * eval.c: Likewise.
4366         * event-loop.c: Likewise.
4367         * exceptions.c: Likewise.
4368         * expprint.c: Likewise.
4369         * f-valprint.c: Likewise.
4370         * fbsd-nat.c: Likewise.
4371         * findvar.c: Likewise.
4372         * frame-unwind.c: Likewise.
4373         * frame.c: Likewise.
4374         * frv-tdep.c: Likewise.
4375         * gcore.c: Likewise.
4376         * gdb-dlfcn.c: Likewise.
4377         * gdb_bfd.c: Likewise.
4378         * gdbarch.c: Likewise.
4379         * gdbarch.sh: Likewise.
4380         * gdbtypes.c: Likewise.
4381         * gnu-nat.c: Likewise.
4382         * gnu-v3-abi.c: Likewise.
4383         * go-lang.c: Likewise.
4384         * guile/scm-exception.c: Likewise.
4385         * guile/scm-gsmob.c: Likewise.
4386         * guile/scm-lazy-string.c: Likewise.
4387         * guile/scm-math.c: Likewise.
4388         * guile/scm-pretty-print.c: Likewise.
4389         * guile/scm-safe-call.c: Likewise.
4390         * guile/scm-utils.c: Likewise.
4391         * guile/scm-value.c: Likewise.
4392         * h8300-tdep.c: Likewise.
4393         * hppa-hpux-nat.c: Likewise.
4394         * hppa-tdep.c: Likewise.
4395         * hppanbsd-tdep.c: Likewise.
4396         * hppaobsd-tdep.c: Likewise.
4397         * i386-darwin-nat.c: Likewise.
4398         * i386-darwin-tdep.c: Likewise.
4399         * i386-nto-tdep.c: Likewise.
4400         * i386-tdep.c: Likewise.
4401         * i386bsd-nat.c: Likewise.
4402         * i386fbsd-tdep.c: Likewise.
4403         * i386gnu-nat.c: Likewise.
4404         * i386nbsd-tdep.c: Likewise.
4405         * i386obsd-tdep.c: Likewise.
4406         * i387-tdep.c: Likewise.
4407         * ia64-libunwind-tdep.c: Likewise.
4408         * ia64-tdep.c: Likewise.
4409         * inf-ptrace.c: Likewise.
4410         * inf-ttrace.c: Likewise.
4411         * infcall.c: Likewise.
4412         * infcmd.c: Likewise.
4413         * infrun.c: Likewise.
4414         * inline-frame.c: Likewise.
4415         * interps.c: Likewise.
4416         * jv-lang.c: Likewise.
4417         * jv-typeprint.c: Likewise.
4418         * linux-fork.c: Likewise.
4419         * linux-nat.c: Likewise.
4420         * linux-thread-db.c: Likewise.
4421         * m32c-tdep.c: Likewise.
4422         * m32r-linux-nat.c: Likewise.
4423         * m32r-tdep.c: Likewise.
4424         * m68k-tdep.c: Likewise.
4425         * m68kbsd-nat.c: Likewise.
4426         * m68kbsd-tdep.c: Likewise.
4427         * m88k-tdep.c: Likewise.
4428         * machoread.c: Likewise.
4429         * macroexp.c: Likewise.
4430         * macrotab.c: Likewise.
4431         * maint.c: Likewise.
4432         * mdebugread.c: Likewise.
4433         * memory-map.c: Likewise.
4434         * mep-tdep.c: Likewise.
4435         * mi/mi-common.c: Likewise.
4436         * microblaze-tdep.c: Likewise.
4437         * mingw-hdep.c: Likewise.
4438         * mips-linux-nat.c: Likewise.
4439         * mips-linux-tdep.c: Likewise.
4440         * mips-tdep.c: Likewise.
4441         * mips64obsd-tdep.c: Likewise.
4442         * mipsnbsd-tdep.c: Likewise.
4443         * mn10300-linux-tdep.c: Likewise.
4444         * mn10300-tdep.c: Likewise.
4445         * moxie-tdep.c: Likewise.
4446         * mt-tdep.c: Likewise.
4447         * nat/linux-btrace.c: Likewise.
4448         * nat/linux-osdata.c: Likewise.
4449         * nat/linux-ptrace.c: Likewise.
4450         * nat/mips-linux-watch.c: Likewise.
4451         * nios2-linux-tdep.c: Likewise.
4452         * nios2-tdep.c: Likewise.
4453         * objc-lang.c: Likewise.
4454         * objfiles.c: Likewise.
4455         * obsd-nat.c: Likewise.
4456         * opencl-lang.c: Likewise.
4457         * osabi.c: Likewise.
4458         * parse.c: Likewise.
4459         * ppc-linux-nat.c: Likewise.
4460         * ppc-sysv-tdep.c: Likewise.
4461         * ppcfbsd-nat.c: Likewise.
4462         * ppcfbsd-tdep.c: Likewise.
4463         * ppcnbsd-nat.c: Likewise.
4464         * ppcnbsd-tdep.c: Likewise.
4465         * ppcobsd-nat.c: Likewise.
4466         * ppcobsd-tdep.c: Likewise.
4467         * printcmd.c: Likewise.
4468         * procfs.c: Likewise.
4469         * prologue-value.c: Likewise.
4470         * psymtab.c: Likewise.
4471         * python/py-lazy-string.c: Likewise.
4472         * python/py-value.c: Likewise.
4473         * regcache.c: Likewise.
4474         * reggroups.c: Likewise.
4475         * registry.c: Likewise.
4476         * remote-sim.c: Likewise.
4477         * remote.c: Likewise.
4478         * rs6000-aix-tdep.c: Likewise.
4479         * rs6000-tdep.c: Likewise.
4480         * s390-linux-tdep.c: Likewise.
4481         * score-tdep.c: Likewise.
4482         * ser-base.c: Likewise.
4483         * ser-mingw.c: Likewise.
4484         * sh-tdep.c: Likewise.
4485         * sh64-tdep.c: Likewise.
4486         * solib-darwin.c: Likewise.
4487         * solib-spu.c: Likewise.
4488         * solib-svr4.c: Likewise.
4489         * source.c: Likewise.
4490         * sparc-nat.c: Likewise.
4491         * sparc-sol2-tdep.c: Likewise.
4492         * sparc-tdep.c: Likewise.
4493         * sparc64-sol2-tdep.c: Likewise.
4494         * sparc64-tdep.c: Likewise.
4495         * sparc64fbsd-tdep.c: Likewise.
4496         * sparc64nbsd-tdep.c: Likewise.
4497         * sparc64obsd-tdep.c: Likewise.
4498         * sparcnbsd-tdep.c: Likewise.
4499         * sparcobsd-tdep.c: Likewise.
4500         * spu-multiarch.c: Likewise.
4501         * spu-tdep.c: Likewise.
4502         * stabsread.c: Likewise.
4503         * stack.c: Likewise.
4504         * symfile.c: Likewise.
4505         * symtab.c: Likewise.
4506         * target-descriptions.c: Likewise.
4507         * target-memory.c: Likewise.
4508         * target.c: Likewise.
4509         * tic6x-linux-tdep.c: Likewise.
4510         * tic6x-tdep.c: Likewise.
4511         * tilegx-linux-nat.c: Likewise.
4512         * tilegx-tdep.c: Likewise.
4513         * top.c: Likewise.
4514         * tramp-frame.c: Likewise.
4515         * tui/tui-out.c: Likewise.
4516         * tui/tui-winsource.c: Likewise.
4517         * ui-out.c: Likewise.
4518         * user-regs.c: Likewise.
4519         * utils.c: Likewise.
4520         * v850-tdep.c: Likewise.
4521         * valops.c: Likewise.
4522         * value.c: Likewise.
4523         * varobj.c: Likewise.
4524         * vax-nat.c: Likewise.
4525         * xml-syscall.c: Likewise.
4526         * xml-tdesc.c: Likewise.
4527         * xstormy16-tdep.c: Likewise.
4528         * xtensa-linux-nat.c: Likewise.
4529         * xtensa-tdep.c: Likewise.
4530
4531 2014-08-07  Gary Benson  <[email protected]>
4532
4533         * common/common-defs.h: Include common-utils.h.
4534         * defs.h: Do not include common-utils.h.
4535         * common/gdb_assert.h: Likewise.
4536         * darwin-nat.h: Likewise.
4537         * nat/linux-btrace.c: Likewise.
4538         * target/waitstatus.h: Likewise.
4539
4540 2014-08-07  Gary Benson  <[email protected]>
4541
4542         * common/common-defs.h: Include ptid.h.
4543         * defs.h: Do not include ptid.h.
4544         * inferior.h: Likewise.
4545         * infrun.h: Likewise.
4546         * nat/linux-btrace.h: Likewise.
4547         * nat/linux-osdata.h: Likewise.
4548         * target/waitstatus.h: Likewise.
4549
4550 2014-08-07  Gary Benson  <[email protected]>
4551
4552         * common/common-defs.h: Include gdb_locale.h.
4553         * defs.h: Do not include gdb_locale.h.
4554
4555 2014-08-07  Gary Benson  <[email protected]>
4556
4557         * common/common-defs.h: Include gdb/signals.h.
4558         * defs.h: Do not include gdb/signals.h.
4559
4560 2014-08-07  Gary Benson  <[email protected]>
4561
4562         * common/common-defs.h: Include pathmax.h.
4563         * defs.h: Do not include pathmax.h.
4564
4565 2014-08-07  Gary Benson  <[email protected]>
4566
4567         * common/common-defs.h: Include libiberty.h.
4568         * defs.h: Do not include libiberty.h.
4569         * common/queue.h: Likewise.
4570         * cp-name-parser.y: Likewise.
4571         * mi/mi-cmd-catch.c: Likewise.
4572         * python/python.c: Likewise.
4573
4574 2014-08-07  Gary Benson  <[email protected]>
4575
4576         * common/common-defs.h: Include ansidecl.h.
4577         * defs.h: Do not include ansidecl.h.
4578         * common/buffer.h: Likewise.
4579         * common/common-utils.h: Likewise.
4580
4581 2014-08-07  Gary Benson  <[email protected]>
4582
4583         * common/common-defs.h: Include stddef.h.
4584         * defs.h: Do not include stddef.h.
4585         * common/common-utils.h: Likewise.
4586         * amd64fbsd-nat.c: Likewise.
4587         * bcache.c: Likewise.
4588         * charset.c: Likewise.
4589         * common/buffer.h: Likewise.
4590         * common/vec.h: Likewise.
4591         * i386bsd-nat.c: Likewise.
4592         * nat/linux-btrace.h: Likewise.
4593         * ppcfbsd-nat.c: Likewise.
4594         * ppcnbsd-tdep.h: Likewise.
4595         * ppcobsd-nat.c: Likewise.
4596         * ppcobsd-tdep.h: Likewise.
4597         * python/py-gdb-readline.c: Likewise.
4598
4599 2014-08-07  Gary Benson  <[email protected]>
4600
4601         * common/common-defs.h: Include stdarg.h.
4602         * defs.h: Do not include stdarg.h.
4603         * ada-lang.c: Likewise.
4604         * common/common-utils.h: Likewise.
4605         * guile/scm-string.c: Likewise.
4606         * guile/scm-utils.c: Likewise.
4607         * m32c-tdep.c: Likewise.
4608
4609 2014-08-07  Gary Benson  <[email protected]>
4610
4611         * common/common-defs.h: Include stdlib.h.
4612         * defs.h: Do not include stdlib.h.
4613         * addrmap.c: Likewise.
4614         * bcache.c: Likewise.
4615         * common/buffer.c: Likewise.
4616         * common/common-utils.c: Likewise.
4617         * cp-name-parser.y: Likewise.
4618         * go32-nat.c: Likewise.
4619         * mn10300-linux-tdep.c: Likewise.
4620         * nat/linux-osdata.c: Likewise.
4621         * tui/tui.c: Likewise.
4622         * windows-nat.c: Likewise.
4623
4624 2014-08-07  Gary Benson  <[email protected]>
4625
4626         * common/common-defs.h: Include stdio.h.
4627         * defs.h: Do not include stdio.h.
4628         * ada-lang.c: Likewise.
4629         * common/buffer.c: Likewise.
4630         * common/common-utils.c: Likewise.
4631         * cp-name-parser.y: Likewise.
4632         * gnu-nat.c: Likewise.
4633         * go32-nat.c: Likewise.
4634         * i386gnu-nat.c: Likewise.
4635         * proc-api.c: Likewise.
4636         * proc-events.c: Likewise.
4637         * proc-flags.c: Likewise.
4638         * proc-why.c: Likewise.
4639         * python/python-internal.h: Likewise.
4640         * target-memory.c: Likewise.
4641         * tui/tui-io.c: Likewise.
4642         * tui/tui.c: Likewise.
4643
4644 2014-08-06  Simon Marchi  <[email protected]>
4645
4646         * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
4647         (scan_dyntag_auxv): Same.
4648
4649 2014-08-06  Yao Qi  <[email protected]>
4650
4651         * amd64-linux-nat.c: Remove duplicated include
4652         "x86-linux-nat.h".
4653         * i386-linux-nat.c: Likewise.
4654
4655 2014-08-06  Yao Qi  <[email protected]>
4656
4657         * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
4658         operand" with "Special opcode" in comments.
4659
4660 2014-08-05  Gary Benson  <[email protected]>
4661
4662         * interps.c (initialize_interps): Remove prototype.
4663         (interpreter_initialized): Remove static global.
4664         (interp_add): Do not call initialize_interps.
4665         (initialize_interps): Remove function.
4666
4667 2014-08-05  Gary Benson  <[email protected]>
4668
4669         * utils.c (vwarning): Remove spurious va_end.
4670
4671 2014-08-05  Alan Modra  <[email protected]>
4672
4673         * charset.c (convert_between_encodings): Cast result of obstack_base.
4674         * cp-valprint.c (cp_print_value_fields): Use size_t locals.
4675         * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
4676         (read_unwind_info): Use size_t for some locals.
4677         * jit.c (finalize_symtab): Likewise.
4678         * utils.c (hashtab_obstack_allocate): Likewise.
4679         * symmisc.c (print_objfile_statistics): Update format strings.
4680
4681 2014-08-04  Jan Kratochvil  <[email protected]>
4682
4683         * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
4684         (Changes in GDB 7.8): ... here.
4685
4686 2014-08-04  Tom Tromey  <[email protected]>
4687
4688         * target.c (set_targetdebug): New function.
4689         (initialize_targets): Pass set_targetdebug when creating "set
4690         debug target".
4691
4692 2014-08-01  Joel Brobecker  <[email protected]>
4693
4694         * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
4695         if detecting a variable-sized field that is not the last field.
4696         Fix struct type length computation.
4697
4698 2014-08-01  Joel Brobecker  <[email protected]>
4699
4700         * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4701         Add debug trace.
4702
4703 2014-08-01  Joel Brobecker  <[email protected]>
4704
4705         * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4706         Remove "+ 8" offset in computation of CHAIN_VMA.
4707
4708 2014-07-31  Doug Evans  <[email protected]>
4709
4710         * inflow.c (child_terminal_inferior): Add comment.
4711         (child_terminal_ours_for_output): Add comment.
4712         (child_terminal_ours): Add comment.
4713         * linux-nat.c (linux_nat_terminal_inferior): Add comment.
4714         (linux_nat_terminal_ours): Add comment.
4715
4716 2014-07-31  Gary Benson  <[email protected]>
4717
4718         * common/btrace-common.h: Do not include defs.h or server.h.
4719         * nat/mips-linux-watch.h: Likewise.
4720         * gdb-dlfcn.h: Do not include defs.h.
4721         * tracefile.h: Likewise.
4722
4723 2014-07-30  Roland McGrath  <[email protected]>
4724
4725         * remote-sim.c (gdbsim_open): Apply constification to forward decl.
4726
4727 2014-07-30  Tom Tromey  <[email protected]>
4728
4729         * bsd-kvm.c (bsd_kvm_open): Constify.
4730         * corelow.c (core_open): Constify.
4731         * ctf.c (ctf_open): Constify.
4732         * dbug-rom.c (dbug_open): Constify.
4733         * exec.c (exec_open): Constify.
4734         * m32r-rom.c (m32r_open, mon2000_open): Constify.
4735         * microblaze-rom.c (picobug_open): Constify.
4736         * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
4737         Constify.
4738         * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
4739         * record-btrace.c (record_btrace_open): Constify.
4740         * record-full.c (record_full_core_open_1, record_full_open_1)
4741         (record_full_open): Constify.
4742         * remote-m32r-sdi.c (m32r_open): Constify.
4743         * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
4744         (rockhopper_open, lsi_open): Constify.
4745         * remote-sim.c (gdbsim_open): Constify.
4746         * remote.c (remote_open, extended_remote_open, remote_open_1):
4747         Constify.
4748         * target.h (struct target_ops) <to_open>: Make "arg" const.
4749         * tracefile-tfile.c (tfile_open): Constify.
4750
4751 2014-07-30  Tom Tromey  <[email protected]>
4752
4753         * breakpoint.c (map_breakpoint_numbers): Update.
4754         * cli/cli-utils.c (get_number_trailer): Make "pp" const.  Update.
4755         (get_number_const): New function.
4756         (get_number): Rewrite using get_number_const.
4757         (init_number_or_range): Make "string" const.
4758         (number_is_in_list): Make "list" const.
4759         * cli/cli-utils.h (get_number_const): Declare.
4760         (struct get_number_or_range_state) <string, end_ptr>: Now const.
4761         (init_number_or_range, number_is_in_list): Update.
4762         * printcmd.c (map_display_numbers): Update.
4763         * value.c (value_from_history_ref): Constify.
4764         * value.h (value_from_history_ref): Update.
4765
4766 2014-07-30  Tom Tromey  <[email protected]>
4767
4768         * corefile.c (hook_type, call_extra_exec_file_hooks)
4769         (specify_exec_file_hook): Constify.
4770         * exec.c (exec_file_attach): Make "filename" const.
4771         * gdbcore.h (deprecated_exec_file_display_hook)
4772         (specify_exec_file_hook, exec_file_attach): Constify.
4773         * main.c (captured_main): Use catch_command_errors_const.
4774
4775 2014-07-30  Tom Tromey  <[email protected]>
4776
4777         * target.c (open_target): New function.
4778         (add_target_with_completer, add_deprecated_target_alias): Use
4779         set_cmd_sfunc, set_cmd_context.
4780         (debug_to_open): Remove.
4781         (setup_target_debug): Update.
4782
4783 2014-07-30  Yao Qi  <[email protected]>
4784
4785         * parser-defs.h (struct exp_descriptor) <operator_check>: Update
4786         comments.
4787         * parse.c (exp_iterate): Update comments.
4788
4789 2014-07-30  Gary Benson  <[email protected]>
4790
4791         * common/common-defs.h: New file.
4792         * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
4793         * defs.h: Include common-defs.h.
4794         Do not include config.h or build-gnulib/config.h.
4795
4796 2014-07-30  Gary Benson  <[email protected]>
4797
4798         * common/common-utils.h: Do not include config.h.
4799         * nat/linux-btrace.h: Likewise.
4800
4801 2014-07-30  Gary Benson  <[email protected]>
4802
4803         * btrace.c: Include defs.h.
4804         * common/ptid.c: Include defs.h or server.h as appropriate.
4805         * nat/mips-linux-watch.c: Likewise.
4806
4807 2014-07-29  Tom Tromey  <[email protected]>
4808
4809         * target.c (target_is_pushed): Simplify.
4810
4811 2014-07-29  Joel Brobecker  <[email protected]>
4812
4813         GDB 7.8 released.
4814
4815 2014-07-29  Yao Qi  <[email protected]>
4816
4817         PR gdb/17206
4818         * infcmd.c (until_next_command): Set step_range_end to PC + 1.
4819
4820 2014-07-28  Doug Evans  <[email protected]>
4821
4822         PR guile/17203
4823         * guile/scm-param.c (pascm_parameter_defined_p): New function.
4824         (gdbscm_register_parameter_x): Call it.  Raise error for pre-existing
4825         parameters.
4826
4827 2014-07-28  Will Newton  <[email protected]>
4828
4829         * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
4830         (THUMB2_SET_R7_SIGRETURN2): Likewise.
4831         (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
4832         (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
4833         (THUMB2_EABI_SYSCALL): Likewise.
4834         (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
4835         struct tramp_frame.
4836         (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
4837         (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
4838
4839 2014-07-27  Doug Evans  <[email protected]>
4840
4841         * guile/scm-param.c (pascm_print_param_smob): Fix output.
4842
4843 2014-07-27  Doug Evans  <[email protected]>
4844
4845         * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
4846
4847 2014-07-26  Ludovic Courtès  <[email protected]>
4848             Doug Evans  <[email protected]>
4849
4850         PR guile/17146
4851         * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
4852         (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
4853         * configure.ac: Try to use guild to compile an scm file, if it fails
4854         then disable guile support.
4855         * configure: Regenerate.
4856         * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
4857         GUILE_FILE_LIST.
4858         (GUILE_COMPILED_FILES): New variable.
4859         (GUILE_FILES) Update.
4860         (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
4861         (stamp-guile): Compile scm files.
4862         * guile/guile.c (boot_guile_support): New function.
4863         (standard_throw_args_p): New function.
4864         (print_standard_throw_error, print_throw_error): New functions.
4865         (handle_boot_error): New function.
4866         (initialize_scheme_side): Rewrite to call boot_guile_support.
4867         * guile/lib/gdb/boot.scm: Update %load-compiled-path.  Load gdb.go.
4868         * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
4869
4870 2014-07-26  Ludovic Courtès  <[email protected]>
4871             Doug Evans  <[email protected]>
4872
4873         PR guile/17146
4874         * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
4875         * guile/lib/gdb/support.scm: New file.
4876         * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
4877         * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
4878         All uses updated.
4879         * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
4880         All uses updated.
4881         (%assert-type): Ditto, and renamed to assert-type.
4882         (%exception-print-style): Delete.
4883
4884 2014-07-26  Doug Evans  <[email protected]>
4885
4886         PR build/17105
4887         * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
4888         * configure: Regenerate.
4889         * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
4890         PYTHON_FILES.
4891         (PYTHON_FILES): New variable.
4892         (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4893         (GUILE_FILES): New variable.
4894         (stamp-python, install-python, uninstall-python): Handle empty
4895         file list.
4896         (stamp-guile, install-guile, uninstall-guile): Ditto.
4897
4898 2014-07-26  Doug Evans  <[email protected]>
4899
4900         PR guile/17177
4901         * guile/lib/gdb.scm (pretty-printers): Export.
4902         (set-pretty-printers!): Export.
4903         * guile/lib/gdb/printing.scm (gdb module): Update.
4904         (prepend-pretty-printer!, append-pretty-printer!): Update.
4905         * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4906         (pretty_printer_list_var): Delete.
4907         (pretty_printer_list): New static global.
4908         (gdbscm_pretty_printers): New function.
4909         (gdbscm_set_pretty_printers_x): New function.
4910         (ppscm_find_pretty_printer_from_gdb): Update.
4911         (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4912         (gdbscm_initialize_pretty_printers): Update.
4913
4914 2014-07-26  Doug Evans  <[email protected]>
4915
4916         PR 17185
4917         * configure.ac: Add check for header gc/gc.h.
4918         Add check for function setenv.
4919         * configure: Regenerate.
4920         * config.in: Regenerate.
4921         * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4922
4923 2014-07-25  Maciej W. Rozycki  <[email protected]>
4924
4925         * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4926         variation in gdbarch matching.
4927
4928 2014-07-25  Tom Tromey  <[email protected]>
4929
4930         * exec.c (using_exec_ops): Remove.
4931         (exec_close_1): Update.  Remove extraneous block, reindent.
4932         (add_target_sections): Use target_is_pushed.
4933
4934 2014-07-25  Pedro Alves  <[email protected]>
4935
4936         * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4937         * monitor.c (monitor_create_inferior): Likewise.
4938         * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4939         * remote-sim.c (gdbsim_create_inferior): Likewise.
4940         * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4941         * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4942         * windows-nat.c (do_initial_windows_stuff): Likewise.
4943
4944 2014-07-25  Pedro Alves  <[email protected]>
4945
4946         * NEWS: Mention signal passing and "signal" command changes.
4947         * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
4948         comment.
4949         * breakpoint.c (until_break_command): Adjust clear_proceed_status
4950         call.
4951         * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
4952         * infcmd.c (proceed_thread_callback, continue_1, step_once)
4953         (jump_command): Adjust clear_proceed_status call.
4954         (signal_command): Warn if other thread that are resumed have
4955         signals that will be delivered.  Adjust clear_proceed_status call.
4956         (until_next_command, finish_command)
4957         (proceed_after_attach_callback, attach_command_post_wait)
4958         (attach_command): Adjust clear_proceed_status call.
4959         * infrun.c (proceed_after_vfork_done): Likewise.
4960         (proceed_after_attach_callback): Adjust comment.
4961         (clear_proceed_status_thread): Clear stop_signal if not in pass
4962         state.
4963         (clear_proceed_status_callback): Delete.
4964         (clear_proceed_status): New 'step' parameter.  Only clear the
4965         proceed status of threads the command being prepared is about to
4966         resume.
4967         (proceed): If passed in an explicit signal, override stop_signal
4968         with it.  Don't pass the last stop signal to the thread we're
4969         resuming.
4970         (init_wait_for_inferior): Adjust clear_proceed_status call.
4971         (switch_back_to_stepped_thread): Clear the signal if it should not
4972         be passed.
4973         * infrun.h (clear_proceed_status): New 'step' parameter.
4974         (user_visible_resume_ptid): Add comment.
4975         * linux-nat.c (linux_nat_resume_callback): Don't check whether the
4976         signal is in pass state.
4977         * remote.c (append_pending_thread_resumptions): Likewise.
4978         * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
4979
4980 2014-07-25  Tom Tromey  <[email protected]>
4981
4982         * target.h (target_stopped_data_address)
4983         (target_watchpoint_addr_within_range): Use "->", not ".".  Fix
4984         parentheses.
4985
4986 2014-07-25  Pierre Langlois  <[email protected]>
4987
4988         * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
4989         comments.
4990         (avr_pointer_to_address): Likewise.
4991
4992 2014-07-24  Tom Tromey  <[email protected]>
4993
4994         * monitor.c (compile_pattern): Update.
4995         * target.h (struct target_ops) <to_shortname, to_longname,
4996         to_doc>: Now const.
4997
4998 2014-07-24  Tom Tromey  <[email protected]>
4999
5000         * cli/cli-decode.c (add_cmd, add_prefix_cmd)
5001         (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
5002         (add_info_alias, add_com): Make "doc" const.
5003         (print_doc_line): Make "str" const.
5004         (delete_cmd): Update.
5005         * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
5006         (print_doc_line): Update.
5007         * cli/cli-script.c (document_command): Update.
5008         * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
5009         (add_com, add_info, add_info_alias): Update.
5010         * guile/scm-cmd.c (cmdscm_destroyer): Update.
5011         * python/py-cmd.c (cmdpy_destroyer): Update.
5012
5013 2014-07-24  Tom Tromey  <[email protected]>
5014
5015         * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
5016         (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
5017         (help_cmd_list): Constify.
5018         (lookup_cmd): Update.
5019         * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
5020         const.
5021         (help_cmd_list, apropos_cmd): Update.
5022         * cli/cli-script.c (show_user): Update.
5023         * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
5024         * cli/cli-setshow.h (cmd_show_list): Update.
5025         * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
5026         (cmd_show_list): Update.
5027         * guile/scm-cmd.c (cmdscm_destroyer): Update.
5028         * python/py-cmd.c (cmdpy_destroyer): Update.
5029
5030 2014-07-24  Tom Tromey  <[email protected]>
5031
5032         * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
5033         * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
5034         const.
5035         * command.h (deprecate_cmd): Update.
5036         * maint.c (maintenance_do_deprecate): Add casts.
5037
5038 2014-07-24  Tom Tromey  <[email protected]>
5039
5040         * cli/cli-decode.c (help_cmd): Make parameter "const".
5041         * cli/cli-decode.h (help_cmd): Update.
5042
5043 2014-07-24  Tom Tromey  <[email protected]>
5044
5045         * stack.c (up_silently_base, down_silently_base): Make argument
5046         const.
5047
5048 2014-07-24  Tom Tromey  <[email protected]>
5049
5050         * solib.c (solib_add): Make "pattern" const.
5051         * solib.h (solib_add): Update.
5052
5053 2014-07-24  Tom Tromey  <[email protected]>
5054
5055         * remote.c (remote_serial_open, print_packet, putpkt)
5056         (putpkt_binary): Constify.
5057         * remote.h (putpkt): Update.
5058
5059 2014-07-24  Tom Tromey  <[email protected]>
5060
5061         * monitor.c (monitor_open): Make "args" const.
5062         * monitor.h (monitor_open): Update.
5063
5064 2014-07-24  Tom Tromey  <[email protected]>
5065
5066         * maint.c (match_bfd_flags): Make "string" const.
5067         (print_bfd_section_info): Remove casts.
5068         (print_objfile_section_info): Make "string" const.
5069
5070 2014-07-24  Tom Tromey  <[email protected]>
5071
5072         * inf-child.c (inf_child_open_target): Make "arg" const.
5073         * inf-child.h (inf_child_open_target): Update.
5074
5075 2014-07-24  Tom Tromey  <[email protected]>
5076
5077         * environ.c (unset_in_environ): Make "var" const.
5078         * environ.h (unset_in_environ): Update.
5079
5080 2014-07-24  Tom Tromey  <[email protected]>
5081
5082         * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
5083         Make "cmd" const.
5084         (scan_filename_with_cleanup): Likewise.
5085         (dump_memory_to_file, dump_value_to_file, restore_binary_file):
5086         Make arguments const.
5087         (restore_command): Update.
5088
5089 2014-07-24  Pedro Alves  <[email protected]>
5090
5091         * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
5092
5093 2014-07-24  Tom Tromey  <[email protected]>
5094             Gary Benson  <[email protected]>
5095
5096         * nat/linux-ptrace.c (additional_flags): New global.
5097         (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
5098         additional_flags; don't check GDBSERVER.
5099         (linux_ptrace_set_additional_flags): New function.
5100         * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
5101         Declare.
5102         * linux-nat.c (_initialize_linux_nat): Call
5103         linux_ptrace_set_additional_flags.
5104
5105 2014-07-24  Tom Tromey  <[email protected]>
5106
5107         * make-target-delegates (munge_type, write_debugmethod): New
5108         functions.
5109         (debug_names): New global.
5110         ($TARGET_DEBUG_PRINTER): New global.
5111         (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
5112         name.
5113         Write debug methods.  Generate init_debug_target.
5114         * target-debug.h: New file.
5115         * target-delegates.c: Rebuild.
5116         * target.c: Include target-debug.h.
5117         (debug_target): Hoist definition.
5118         (target_kill, target_get_section_table, target_memory_map)
5119         (target_flash_erase, target_flash_done, target_detach)
5120         (target_disconnect, target_wait, target_resume)
5121         (target_pass_signals, target_program_signals, target_follow_fork)
5122         (target_mourn_inferior, target_search_memory)
5123         (target_thread_address_space, target_close)
5124         (target_find_new_threads, target_core_of_thread)
5125         (target_verify_memory, target_insert_mask_watchpoint)
5126         (target_remove_mask_watchpoint): Remove targetdebug code.
5127         (debug_to_post_attach, debug_to_prepare_to_store)
5128         (debug_to_files_info, debug_to_insert_breakpoint)
5129         (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
5130         (debug_to_region_ok_for_hw_watchpoint)
5131         (debug_to_can_accel_watchpoint_condition)
5132         (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
5133         (debug_to_watchpoint_addr_within_range)
5134         (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
5135         (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
5136         (debug_to_terminal_init, debug_to_terminal_inferior)
5137         (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
5138         (debug_to_terminal_save_ours, debug_to_terminal_info)
5139         (debug_to_load, debug_to_post_startup_inferior)
5140         (debug_to_insert_fork_catchpoint)
5141         (debug_to_remove_fork_catchpoint)
5142         (debug_to_insert_vfork_catchpoint)
5143         (debug_to_remove_vfork_catchpoint)
5144         (debug_to_insert_exec_catchpoint)
5145         (debug_to_remove_exec_catchpoint, debug_to_has_exited)
5146         (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
5147         (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
5148         (setup_target_debug): Call init_debug_target.
5149         * target.h (TARGET_DEBUG_PRINTER): New macro.
5150         (struct target_ops) <to_resume, to_wait, to_pass_signals,
5151         to_program_signals>: Use TARGET_DEBUG_PRINTER.
5152
5153 2014-07-24  Gary Benson  <[email protected]>
5154
5155         * exceptions.h (throw_vfatal): Renamed to...
5156         (throw_vquit): New declaration.
5157         (throw_quit): Likewise.
5158         * exceptions.c (throw_vfatal): Renamed to...
5159         (throw_vquit): New function.
5160         (throw_quit): Likewise.
5161         (throw_error): Call throw_verror rather than throw_it.
5162         * utils.h (vfatal): Removed.
5163         (fatal): Likewise.
5164         * utils.c (vfatal): Removed.
5165         (fatal): Likewise.
5166         (internal_verror): Replaced call to fatal with call to throw_quit.
5167         (quit): Replaced calls to fatal with calls to throw_quit.
5168
5169 2014-07-23  Ajit Agarwal <[email protected]>
5170
5171         * microblaze-tdep.c (microblaze_fetch_instruction): Use of
5172         target_read_code.
5173
5174 2014-07-23  Chen Gang <[email protected]>
5175
5176         * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
5177         less than zero in conditional expression.
5178
5179 2014-07-23  Tom Tromey  <[email protected]>
5180
5181         * make-target-delegates ($ARGS_PART): Match trailing close paren.
5182         ($INTRO_PART): Don't match whitespace.
5183         ($METHOD_TRAILER): Move earlier.  Remove trailing semicolon and
5184         argument matching.
5185         ($METHOD): Add $METHOD_TRAILER.
5186         (trim): Rewrite.
5187         (scan_target_h): New sub.
5188         Change main loop not to collect state.
5189         * target-delegates.c: Rebuild.
5190
5191 2014-07-23  Gary Benson  <[email protected]>
5192
5193         * cp-support.c (gdb_demangle): Fix build on systems without
5194         sigaltstack.
5195
5196 2014-07-22  Jan Kratochvil  <[email protected]>
5197
5198         * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
5199         for reference entry value target data value.
5200
5201 2014-07-22  Jan Kratochvil  <[email protected]>
5202
5203         * stack.c (read_frame_arg): Verify value_optimized_out before calling
5204         value_available_contents_eq.
5205
5206 2014-07-22  Pedro Alves  <[email protected]>
5207
5208         * value.c (allocate_optimized_out_value): Don't mark value as
5209         non-lazy.
5210
5211 2014-07-22  Jiong Wang  <[email protected]>
5212
5213         * MAINTAINERS (Write After Approval): Update my email address.
5214
5215 2014-07-20  Doug Evans  <[email protected]>
5216
5217         PR server/17147
5218         * remote.c (putpkt_binary): Add text to error message.
5219
5220 2014-07-20  Yao Qi  <[email protected]>
5221
5222         * eval.c: Remove "Chill" from comments.
5223         * gdbtypes.h: Likewise.
5224         * symtab.h: Likewise.
5225
5226 2014-07-20  Yao Qi  <[email protected]>
5227
5228         * std-operator.def: Update comments to TERNOP_SLICE.
5229
5230 2014-07-20  Yao Qi  <[email protected]>
5231
5232         * std-operator.def: Remove BINOP_RANGE.
5233         * breakpoint.c (watchpoint_exp_is_const): Update.
5234         * expprint.c (dump_subexp_body_standard): Likewise.
5235         * eval.c (init_array_element): Remove dead code.
5236         (evaluate_subexp_standard): Likewise.
5237
5238 2014-07-20  Yao Qi  <[email protected]>
5239
5240         * std-operator.def: Remove BINOP_IN.
5241         * breakpoint.c (watchpoint_exp_is_const): Update.
5242         * eval.c (evaluate_subexp_standard): Likewise.
5243         * expprint.c (dump_subexp_body_standard): Likewise.
5244
5245 2014-07-19  Ajit Agarwal  <[email protected]>
5246
5247         * microblaze-tdep.c (microblaze_register_names): Add
5248         the rshr and rslr register names.
5249         (microblaze_gdbarch_init): Use of tdesc_has_registers.
5250         Use of tdesc_find_feature. Use of tdesc_data_alloc.
5251         Use of tdesc_numbered_register. Use of
5252         microblaze_register_g_packet_guesses. Use of
5253         tdesc_use_registers. Use of set_gdbarch_register_type.
5254         (microblaze_register_g_packet_guesses): New.
5255         * microblaze-tdep.h (microblaze_reg_num): Add
5256         field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
5257         MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
5258         (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
5259         * features/microblaze-core.xml: New file.
5260         * features/microblaze-stack-protect.xml: New file.
5261         * features/microblaze-with-stack-protect.c: New file.
5262         * features/microblaze-with-stack-protect.xml: New file.
5263         * features/microblaze.xml: New file.
5264         * features/microblaze.c: New file.
5265         * features/Makefile (microblaze-with-stack-protect): Add
5266         microblaze-with-stack-protect microblaze and microblaze-expedite.
5267         * regformats/microblaze-with-stack-protect.dat: New file.
5268         * regformats/microblaze.dat: New file.
5269         * doc/gdb.texinfo (MicroBlaze Features): Added.
5270
5271 2014-07-18  Tom Tromey  <[email protected]>
5272
5273         * exec.c (exec_ops): Now static.
5274         * exec.h (exec_ops): Don't declare.
5275
5276 2014-07-18  Tom Tromey  <[email protected]>
5277
5278         * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
5279         to find_target_beneath.
5280         * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
5281         find_target_beneath.
5282         (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
5283
5284 2014-07-18  Tom Tromey  <[email protected]>
5285
5286         PR gdb/17130:
5287         * utils.c (quit): Use target_supports_terminal_ours.
5288         * target.h (target_supports_terminal_ours): Declare.
5289         * target.c (target_supports_delete_record): Don't check
5290         to_delete_record against NULL.
5291         (target_supports_terminal_ours): New function.
5292
5293 2014-07-18  Tom Tromey  <[email protected]>
5294
5295         PR gdb/17130:
5296         * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
5297         (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
5298         (spu_search_memory, spu_mourn_inferior): Simplify delegation.
5299         * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
5300         * windows-nat.c (windows_xfer_partial): Always delegate.
5301         * record-btrace.c (record_btrace_xfer_partial): Simplify
5302         delegation.
5303         (record_btrace_fetch_registers, record_btrace_store_registers)
5304         (record_btrace_prepare_to_store, record_btrace_resume)
5305         (record_btrace_wait, record_btrace_find_new_threads)
5306         (record_btrace_thread_alive): Likewise.
5307         * procfs.c (procfs_xfer_partial): Always delegate.
5308         * corelow.c (core_xfer_partial): Always delegate.
5309         * sol-thread.c (sol_find_new_threads): Simplify delegation.
5310
5311 2014-07-18  Tom Tromey  <[email protected]>
5312
5313         * exec.c (exec_make_note_section): Move earlier.
5314
5315 2014-07-17  Doug Evans  <[email protected]>
5316
5317         PR gdb/17170
5318         * maint.c (count_symtabs_and_blocks): Handle NULL
5319         current_program_space.
5320         (report_command_stats): Check global enabled flag in addition to
5321         recorded enabled flag.
5322         (make_command_stats_cleanup): Handle msg_type == 0, startup.
5323
5324 2014-07-16  Pedro Alves  <[email protected]>
5325
5326         * linux-nat.c (kill_callback): Use kill_lwp, not kill.
5327
5328 2014-07-16  Tom Tromey  <[email protected]>
5329
5330         * target.h (struct target_ops) <to_delete_record>: Reformat
5331         comment.
5332
5333 2014-07-16  Tom Tromey  <[email protected]>
5334
5335         * target-delegates.c: Rebuild.
5336
5337 2014-07-15  Pierre Langlois  <[email protected]>
5338
5339         * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
5340         (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
5341         (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
5342         (avr_pointer_to_address): Likewise.
5343         (avr_address_class_type_flags): New function.
5344         (avr_address_class_type_flags_to_name): Likewise.
5345         (avr_address_class_name_to_type_flags): Likewise.
5346         (avr_gdbarch_init): Set address_class_type_flags,
5347         address_class_type_flags_to_name and
5348         address_class_name_to_type_flags.
5349
5350 2014-07-15  Pedro Alves  <[email protected]>
5351
5352         * linux-nat.c (kill_callback): Save errno and work with saved
5353         copy.
5354
5355 2014-07-15  Simon Marchi  <[email protected]>
5356
5357         * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
5358
5359 2014-07-14  Edjunior Barbosa Machado  <[email protected]>
5360
5361         * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
5362         breakpoint support correctly.
5363
5364 2014-07-14  Pedro Alves  <[email protected]>
5365
5366         * utils.c (prompt_for_continue): Call target_terminal_ours.
5367
5368 2014-07-14  Pedro Alves  <[email protected]>
5369
5370         * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
5371         catch_errors.  Don't re-enable stdin or notify observers where,
5372         and rethrow error.
5373         (fetch_inferior_event_wrapper): Delete.
5374
5375 2014-07-14  Pedro Alves  <[email protected]>
5376
5377         PR gdb/17072
5378         * top.c: Include "inf-loop.h".
5379         (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
5380         field.
5381         (gdb_readline_wrapper_cleanup): Make the target async again, if it
5382         was async before.
5383         (gdb_readline_wrapper): Store whether the target is async, and
5384         make it sync.
5385
5386 2014-07-14  Pedro Alves  <[email protected]>
5387
5388         PR gdb/17072
5389         * top.c (gdb_readline_wrapper_line): Tweak comment.
5390         (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
5391         the input handler callback.
5392
5393 2014-07-14  Pedro Alves  <[email protected]>
5394
5395         PR gdb/17072
5396         * main.c: Include event-top.h.
5397         (handle_command_errors): New function.
5398         (catch_command_errors, catch_command_errors_const): Use it.
5399
5400 2014-07-14  Pedro Alves  <[email protected]>
5401
5402         * exceptions.c (catch_command_errors, catch_command_errors_const):
5403         Moved to main.c.
5404         * exceptions.h (catch_command_errors_ftype)
5405         (catch_command_errors_const_ftype): Moved to main.c.
5406         (catch_command_errors, catch_command_errors_const): Delete
5407         declarations.
5408         * main.c (catch_command_errors_ftype)
5409         (catch_command_errors_const_ftype): Moved here from exceptions.h.
5410         (catch_command_errors, catch_command_errors_const)): Moved here
5411         from exceptions.c and make static.
5412
5413 2014-07-14  Pedro Alves  <[email protected]>
5414
5415         * exceptions.c (print_any_exception): Delete.
5416         (catch_exceptions_with_msg): Use exception_print instead of
5417         print_any_exception.
5418         (catch_errors): Use exception_fprintf instead of
5419         print_any_exception.
5420         (catch_command_errors, catch_command_errors_const): Use
5421         exception_print instead of print_any_exception.
5422
5423 2014-07-14  Pedro Alves  <[email protected]>
5424
5425         * infcall.c (run_inferior_call): Set 'sync_execution' while
5426         running the inferior call.
5427
5428 2014-07-14  Pedro Alves  <[email protected]>
5429
5430         * value.c (value_contents_equal): Delete function.
5431         * value.h (value_contents_equal): Delete declaration.
5432
5433 2014-07-14  Tom Tromey  <[email protected]>
5434
5435         PR exp/17106:
5436         * gdbtypes.c (is_dynamic_type_internal): New function, from
5437         is_dynamic_type.
5438         (is_dynamic_type): Rewrite.
5439         (resolve_dynamic_union): Use resolve_dynamic_type_internal.
5440         (resolve_dynamic_struct): Likewise.
5441         (resolve_dynamic_type_internal): New function, from
5442         resolve_dynamic_type.
5443         (resolve_dynamic_type): Rewrite.
5444
5445 2014-07-14  Tom Tromey  <[email protected]>
5446
5447         * target.c (target_require_runnable): Also check record_stratum.
5448         Update comment.
5449
5450 2014-07-11  Yao Qi  <[email protected]>
5451
5452         * arm-tdep.c (thumb_analyze_prologue): Break the loop if
5453         thumb_instruction_restores_sp return true.
5454
5455 2014-07-11  Yao Qi  <[email protected]>
5456
5457         * arm-tdep.c (thumb_instruction_restores_sp): New function.
5458         (thumb_in_function_epilogue_p): Call
5459         thumb_instruction_restores_sp.
5460
5461 2014-07-11  Yao Qi  <[email protected]>
5462
5463         * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
5464         'add sp, #imm'.
5465         (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
5466
5467 2014-07-11  Gary Benson  <[email protected]>
5468
5469         * amd64-linux-nat.c (gdbcore.h): Remove include.
5470         (regset.h): Likewise.
5471         (nat/linux-btrace.h): Likewise.
5472         (btrace.h): Likewise.
5473         (gdb_assert.h): Likewise.
5474         (string.h): Likewise.
5475         (sys/uio.h): Likewise.
5476         (sys/debugreg.h): Likewise.
5477         (sys/syscall.h): Likewise.
5478         (sys/procfs.h): Likewise.
5479         (sys/user.h): Likewise.
5480         (asm/ptrace.h): Likewise.
5481         (i386-nat.h): Likewise.
5482         * i386-linux-nat.c (i386-nat.h): Likewise.
5483         (regset.h): Likewise.
5484         (target.h): Likewise.
5485         (linux-nat.h): Likewise.
5486         (nat/linux-btrace.h): Likewise.
5487         (btrace.h): Likewise.
5488         (gdb_assert.h): Likewise.
5489         (string.h): Likewise.
5490         (sys/uio.h): Likewise.
5491         (sys/user.h): Likewise.
5492         (sys/procfs.h): Likewise.
5493         (sys/reg.h): Likewise.
5494         (sys/debugreg.h): Likewise.
5495         (ORIG_EAX): Remove definition.
5496
5497 2014-07-11  Gary Benson  <[email protected]>
5498
5499         * i386-linux-nat.h: New file.
5500         * x86-linux-nat.h: Likewise.
5501         * x86-linux-nat.c: Likewise.
5502         * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
5503         * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
5504         * config/i386/linux64.mh (NATDEPFILES): Likewise.
5505         * amd64-linux-nat.c (x86-linux-nat.h): New include.
5506         (PTRACE_GETREGSET): Now in x86-linux-nat.h.
5507         (PTRACE_SETREGSET): Likewise.
5508         (arch_lwp_info): Now in x86-linux-nat.c.
5509         (have_ptrace_getregset): Now in x86-linux-nat.h.
5510         (x86_linux_dr_get): Now in x86-linux-nat.c.
5511         (x86_linux_dr_set): Likewise.
5512         (x86_linux_dr_get_addr): Likewise.
5513         (x86_linux_dr_get_control): Likewise.
5514         (x86_linux_dr_get_status): Likewise.
5515         (update_debug_registers_callback): Likewise.
5516         (x86_linux_dr_set_control): Likewise.
5517         (x86_linux_dr_set_addr): Likewise.
5518         (x86_linux_prepare_to_resume): Likewise.
5519         (x86_linux_new_thread): Likewise.
5520         (x86_linux_new_fork): Likewise.
5521         (x86_linux_get_thread_area): Likewise.
5522         (super_post_startup_inferior): Likewise.
5523         (x86_linux_child_post_startup_inferior): Likewise.
5524         (AMD64_LINUX_USER64_CS): Likewise.
5525         (AMD64_LINUX_X32_DS): Likewise.
5526         (x86_linux_read_description): Likewise.
5527         (x86_linux_enable_btrace): Likewise.
5528         (x86_linux_disable_btrace): Likewise.
5529         (x86_linux_teardown_btrace): Likewise.
5530         (x86_linux_read_btrace): Likewise.
5531         (x86_linux_create_target): Likewise.
5532         (x86_linux_add_target): Likewise.
5533         * i386-linux-nat.c (x86-linux-nat.h): New include.
5534         (PTRACE_GETREGSET): Now in x86-linux-nat.h.
5535         (PTRACE_SETREGSET): Likewise.
5536         (arch_lwp_info): Now in x86-linux-nat.c.
5537         (have_ptrace_getregset): Now in x86-linux-nat.h.
5538         (x86_linux_dr_get): Now in x86-linux-nat.c.
5539         (x86_linux_dr_set): Likewise.
5540         (x86_linux_dr_get_addr): Likewise.
5541         (x86_linux_dr_get_control): Likewise.
5542         (x86_linux_dr_get_status): Likewise.
5543         (update_debug_registers_callback): Likewise.
5544         (x86_linux_dr_set_control): Likewise.
5545         (x86_linux_dr_set_addr): Likewise.
5546         (x86_linux_prepare_to_resume): Likewise.
5547         (x86_linux_new_thread): Likewise.
5548         (x86_linux_new_fork): Likewise.
5549         (x86_linux_get_thread_area): Likewise.
5550         (super_post_startup_inferior): Likewise.
5551         (x86_linux_child_post_startup_inferior): Likewise.
5552         (AMD64_LINUX_USER64_CS): Likewise.
5553         (AMD64_LINUX_X32_DS): Likewise.
5554         (x86_linux_read_description): Likewise.
5555         (x86_linux_enable_btrace): Likewise.
5556         (x86_linux_disable_btrace): Likewise.
5557         (x86_linux_teardown_btrace): Likewise.
5558         (x86_linux_read_btrace): Likewise.
5559         (x86_linux_create_target): Likewise.
5560         (x86_linux_add_target): Likewise.
5561
5562 2014-07-11  Gary Benson  <[email protected]>
5563
5564         * amd64-linux-nat.c: Comment and whitespace changes.
5565         * i386-linux-nat.c: Comment and whitespace changes.
5566
5567 2014-07-11  Gary Benson  <[email protected]>
5568
5569         * amd64-linux-nat.c (x86_linux_create_target): New function.
5570         (x86_linux_add_target): Likewise.
5571         (_initialize_amd64_linux_nat): Delegate to the above new functions.
5572         * i386-linux-nat.c (x86_linux_create_target): New function.
5573         (x86_linux_add_target): Likewise.
5574         (_initialize_i386_linux_nat): Delegate to the above new functions.
5575
5576 2014-07-11  Gary Benson  <[email protected]>
5577
5578         * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
5579         (ps_get_thread_area): Delegate to the above in 32-bit mode.
5580         * i386-linux-nat.c (x86_linux_get_thread_area): New function.
5581         (ps_get_thread_area): Delegate to the above.
5582
5583 2014-07-11  Gary Benson  <[email protected]>
5584
5585         * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
5586         x86_linux_read_description.  All uses updated.  amd64-specific
5587         code conditionalized.  Conditionalized i386-specific code added.
5588         Redundant cast removed.
5589         * i386-linux-nat.c (i386_linux_read_description): Renamed to
5590         x86_linux_read_description.  All uses updated.  i386-specific
5591         code conditionalized.  Conditionalized amd64-specific code added.
5592         One sizeof replaced with the actual type it is describing.
5593
5594 2014-07-11  Gary Benson  <[email protected]>
5595
5596         * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
5597         x86_linux_dr_get.  All uses updated.
5598         (amd64_linux_dr_set): Renamed to
5599         x86_linux_dr_set.  All uses updated.
5600         (amd64_linux_dr_get_addr): Renamed to
5601         x86_linux_dr_get_addr.  All uses updated.
5602         (amd64_linux_dr_get_control): Renamed to
5603         x86_linux_dr_get_control.  All uses updated.
5604         (amd64_linux_dr_get_status): Renamed to
5605         x86_linux_dr_get_status.  All uses updated.
5606         (amd64_linux_dr_set_control): Renamed to
5607         x86_linux_dr_set_control.  All uses updated.
5608         (amd64_linux_dr_set_addr): Renamed to
5609         x86_linux_dr_set_addr.  All uses updated.
5610         (amd64_linux_prepare_to_resume): Renamed to
5611         x86_linux_prepare_to_resume.  All uses updated.
5612         (amd64_linux_new_thread): Renamed to
5613         x86_linux_new_thread.  All uses updated.
5614         (amd64_linux_new_fork): Renamed to
5615         x86_linux_new_fork.  All uses updated.
5616         (amd64_linux_child_post_startup_inferior): Renamed to
5617         x86_linux_child_post_startup_inferior.  All uses updated.
5618         (amd64_linux_enable_btrace): Renamed to
5619         x86_linux_enable_btrace.  All uses updated.
5620         (amd64_linux_disable_btrace): Renamed to
5621         x86_linux_disable_btrace.  All uses updated.
5622         (amd64_linux_teardown_btrace): Renamed to
5623         x86_linux_teardown_btrace.  All uses updated.
5624         (amd64_linux_read_btrace): Renamed to
5625         x86_linux_read_btrace.  All uses updated.
5626         * i386-linux-nat.c (i386_linux_dr_get): Renamed to
5627         x86_linux_dr_get.  All uses updated.
5628         (i386_linux_dr_set): Renamed to
5629         x86_linux_dr_set.  All uses updated.
5630         (i386_linux_dr_get_addr): Renamed to
5631         x86_linux_dr_get_addr.  All uses updated.
5632         (i386_linux_dr_get_control): Renamed to
5633         x86_linux_dr_get_control.  All uses updated.
5634         (i386_linux_dr_get_status): Renamed to
5635         x86_linux_dr_get_status.  All uses updated.
5636         (i386_linux_dr_set_control): Renamed to
5637         x86_linux_dr_set_control.  All uses updated.
5638         (i386_linux_dr_set_addr): Renamed to
5639         x86_linux_dr_set_addr.  All uses updated.
5640         (i386_linux_prepare_to_resume): Renamed to
5641         x86_linux_prepare_to_resume.  All uses updated.
5642         (i386_linux_new_thread): Renamed to
5643         x86_linux_new_thread.  All uses updated.
5644         (i386_linux_new_fork): Renamed to
5645         x86_linux_new_fork.  All uses updated.
5646         (i386_linux_child_post_startup_inferior): Renamed to
5647         x86_linux_child_post_startup_inferior.  All uses updated.
5648         (i386_linux_enable_btrace): Renamed to
5649         x86_linux_enable_btrace.  All uses updated.
5650         (i386_linux_disable_btrace): Renamed to
5651         x86_linux_disable_btrace.  All uses updated.
5652         (i386_linux_teardown_btrace): Renamed to
5653         x86_linux_teardown_btrace.  All uses updated.
5654         (i386_linux_read_btrace): Renamed to
5655         x86_linux_read_btrace.  All uses updated.
5656
5657 2014-07-11  Adrian Sendroiu  <[email protected]>
5658
5659         * remote.c (extended_remote_post_attach): New function.
5660         (init_extended_remote_ops): Install it as to_post_attach method.
5661
5662 2014-07-09  Pedro Alves  <[email protected]>
5663
5664         * infcmd.c (attach_command_post_wait): Don't call
5665         target_terminal_inferior here.
5666         (attach_command): Call it here instead.
5667
5668 2014-07-09  Andrew Burgess  <[email protected]>
5669
5670         * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
5671         field.
5672         * c-varobj.c (c_is_path_expr_parent): New function, moved core
5673         from varobj.c, with additional checks.
5674         (c_varobj_ops): Fill in is_path_expr_parent field.
5675         (cplus_varobj_ops): Fill in is_path_expr_parent field.
5676         * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
5677         field.
5678         * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
5679         ops method.
5680         (varobj_default_is_path_expr_parent): New function.
5681         * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
5682         (varobj_default_is_path_expr_parent): Declare new function.
5683
5684 2014-07-08  Markus Metzger  <[email protected]>
5685
5686         * infcmd.c (finish_backward): Turn internal error into normal error.
5687
5688 2014-07-07  Pedro Alves  <[email protected]>
5689
5690         PR gdb/17096
5691         * remote.c (async_handle_remote_sigint)
5692         (async_handle_remote_sigint_twice): Call
5693         gdb_call_async_signal_handler instead of
5694         mark_async_signal_handler.
5695
5696 2014-07-07  Tom Tromey  <[email protected]>
5697
5698         * target-delegates.c: Rebuild.
5699         * target.c (target_info_record): Remove.
5700         * record.c (info_record_command): Unconditionally call
5701         to_info_record.
5702         * target.h (struct target_ops) <to_info_record>: Use
5703         TARGET_DEFAULT_IGNORE.
5704         (target_info_record): Remove.
5705
5706 2014-07-07  Tom Tromey  <[email protected]>
5707
5708         * target.h (struct target_ops) <to_get_thread_local_address>: Use
5709         TARGET_DEFAULT_NORETURN.
5710         * target.c (generic_tls_error): New function.
5711         (target_translate_tls_address): Don't search target stack.
5712         * target-delegates.c: Rebuild.
5713         * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
5714         stack.
5715         * linux-thread-db.c (thread_db_get_thread_local_address):
5716         Unconditionally call beneath target.
5717
5718 2014-07-03  Marc Khouzam  <[email protected]>
5719
5720         * cli/cli-logging.c (pop_output_files): Assign targerr to
5721         gdb_stdtargerr.
5722
5723 2014-07-03  Andrew Burgess  <[email protected]>
5724
5725         * MAINTAINERS (Write After Approval): Update my email address.
5726
5727 2014-07-02  Gary Benson  <[email protected]>
5728
5729         * proc-service.c (ps_xfer_memory): Update comment.
5730         (ps_pstop): Remove unused function.
5731         (ps_pcontinue): Likewise.
5732         (ps_lstop): Likewise.
5733         (ps_lcontinue): Likewise.
5734         (ps_lgetxregsize): Likewise.
5735         (ps_lgetxregs): Likewise.
5736         (ps_lsetxregs): Likewise.
5737         (ps_plog): Likewise.
5738         (ps_ptread): Likewise.
5739         (ps_ptwrite): Likewise.
5740
5741 2014-07-01  Mark Wielaard  <[email protected]>
5742
5743         * dwarf2read.c (add_array_cv_type): New function.
5744         (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
5745         (read_tag_volatile_type): Likewise.
5746
5747 2014-07-01  Tom Tromey  <[email protected]>
5748
5749         * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
5750         * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
5751         * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
5752         (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
5753         * command.h (cmd_cfunc_ftype): Move earlier.
5754         (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
5755         (add_com, add_info): Use cmd_cfunc_ftype.
5756
5757 2014-06-30  Tom Tromey  <[email protected]>
5758
5759         * symtab.c (operator_chars): Make parameters and return type
5760         const.
5761         (file_matches): Make "files" const.
5762         (struct search_symbols_data) <files>: Now const.
5763         (search_symbols): Make "regexp" and "files" parameters const.
5764         Update.
5765         (symtab_symbol_info): Remove cast.
5766         (rbreak_command): Update.
5767         * symtab.h (search_symbols): Update.
5768
5769 2014-06-27  Yao Qi  <[email protected]>
5770
5771         * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
5772         Change parameter type to 'struct thread_info *'.  Caller
5773         updated.
5774         * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
5775         Update declaration.
5776         * dummy-frame.c (struct dummy_frame_id): New.
5777         (dummy_frame_id_eq): New function.
5778         (struct dummy_frame) <id>: Change its type to 'struct
5779         dummy_frame_id'.
5780         (dummy_frame_push): Add parameter ptid and save it in
5781         dummy_frame_id.
5782         (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
5783         inferior_ptid.
5784         (pop_dummy_frame): Assert that the ptid of dummy_frame equals
5785         to inferior_ptid.
5786         (lookup_dummy_frame): Change parameter type to 'struct
5787         dummy_frame_id *'.  Callers updated.  Call dummy_frame_id_eq
5788         instead of frame_id_eq.
5789         (dummy_frame_pop): Add parameter ptid.  Callers updated.
5790         Update comments.  Compose dummy_frame_id and pass it to
5791         lookup_dummy_frame.
5792         (dummy_frame_discard): Add parameter ptid.
5793         (dummy_frame_sniffer): Compose dummy_frame_id and call
5794         dummy_frame_id_eq instead of frame_id_eq.
5795         (fprint_dummy_frames): Print ptid.
5796         * dummy-frame.h: Remove comments.
5797         (dummy_frame_push): Add ptid in declaration.
5798         (dummy_frame_pop, dummy_frame_discard): Likewise.
5799
5800 2014-06-26  Tom Tromey  <[email protected]>
5801
5802         * cli/cli-cmds.c (error_no_arg): Make "why" const.
5803         * command.h (error_no_arg): Update.
5804
5805 2014-06-26  Tom Tromey  <[email protected]>
5806
5807         * cli/cli-setshow.c (do_set_command): Make "arg" const.
5808         (do_show_command): Make "arg" const.
5809         * cli/cli-setshow.h (do_set_command, do_show_command): Update.
5810
5811 2014-06-26  Tom Tromey  <[email protected]>
5812
5813         * record-full.c (record_full_get_bookmark): Make "args" const.
5814         (record_full_goto_bookmark): Make "raw_bookmark" const.
5815         * record.c (record_goto): New function.
5816         (cmd_record_goto): Use it.  Now static.
5817         * record.h (record_goto): Declare.
5818         (cmd_record_goto): Remove declaration.
5819         * target-delegates.c: Rebuild.
5820         * target.h (struct target_ops) <to_get_bookmark,
5821         to_goto_bookmark>: Make parameter const.
5822
5823 2014-06-26  Tom Tromey  <[email protected]>
5824
5825         * defs.h (generic_load): Update.
5826         * m32r-rom.c (m32r_load_gen): Make "filename" const.
5827         * monitor.c (monitor_load): Make "args" const.
5828         * remote-m32r-sdi.c (m32r_load): Make "args" const.
5829         * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
5830         const.
5831         (mips_load): Make "file" const.
5832         * remote-sim.c (gdbsim_load): Make "args" const.
5833         * remote.c (remote_load): Make "name" const.
5834         * symfile.c (generic_load): Make "args" const.
5835         * target-delegates.c: Rebuild.
5836         * target.c (target_load): Make "arg" const.
5837         (debug_to_load): Make "args" const.
5838         * target.h (struct target_ops) <to_load>: Make parameter const.
5839         (target_load): Update.
5840
5841 2014-06-26  Tom Tromey  <[email protected]>
5842
5843         PR symtab/16902:
5844         * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
5845         (dwarf2_physname, read_partial_die)
5846         (guess_partial_die_structure_name, fixup_partial_die)
5847         (guess_full_die_structure_name, anonymous_struct_prefix)
5848         (dwarf2_name): Use per-BFD obstack.
5849
5850 2014-06-26  Yao Qi  <[email protected]>
5851
5852         * dummy-frame.c (dummy_frame_sniffer): Move local variables
5853         dummyframe and this_id into inner block below.
5854
5855 2014-06-26  Yao Qi  <[email protected]>
5856
5857         * infrun.c (_initialize_infrun): Replace "signal_program[0]"
5858         with "signal_pass[0]" in the initialization of signal_pass.
5859
5860 2014-06-25  Markus Metzger  <[email protected]>
5861
5862         * record-btrace.c (record_btrace_generating_corefile)
5863         (record_btrace_prepare_to_generate_core)
5864         (record_btrace_done_generating_core): New.
5865         (record_btrace_xfer_partial, record_btrace_fetch_registers)
5866         (record_btrace_store_registers, record_btrace_prepare_to_store):
5867         Forward request when generating a core file.
5868         (record_btrace_open): Set record_btrace_generating_corefile to zero.
5869         (init_record_btrace_ops): Set to_prepare_to_generate_core and
5870         to_done_generating_core.
5871
5872 2014-06-25  Markus Metzger  <[email protected]>
5873
5874         * target.h (target_ops) <to_prepare_to_generate_core>
5875         <to_done_generating_core>: New.
5876         (target_prepare_to_generate_core, target_done_generating_core): New.
5877         * target.c (target_prepare_to_generate_core)
5878         (target_done_generating_core): New.
5879         * target-delegates.c: Regenerate.
5880         * gcore.c: (write_gcore_file): Rename to ...
5881         (write_gcore_file_1): ...this.
5882         (write_gcore_file): Call target_prepare_to_generate_core
5883         and target_done_generating_core.
5884
5885 2014-06-25  Markus Metzger  <[email protected]>
5886
5887         * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
5888         * gcore.c (write_gcore_file): Free memory returned from
5889         make_corefile_notes.
5890         * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5891         * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5892
5893 2014-06-24  Yao Qi  <[email protected]>
5894
5895         * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5896         (arm_linux_init_abi): Set skip_trampoline_code with
5897         gdbarch_skip_trampoline_code instead of
5898         find_solib_trampoline_target.
5899
5900 2014-06-24  Yao Qi  <[email protected]>
5901
5902         * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5903         arm_skip_bx_reg returns non-zero.
5904
5905 2014-06-24  Yao Qi  <[email protected]>
5906
5907         * arm-tdep.c (arm_skip_bx_reg): New function.
5908         (arm_skip_stub): Call arm_skip_bx_reg.
5909
5910 2014-06-23  Don Breazeal  <[email protected]>
5911
5912         * MAINTAINERS: Add myself as write-after-approval maintainer.
5913
5914 2014-06-23  Pedro Alves  <[email protected]>
5915
5916         * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5917         DR_CONTROL before setting DR0..DR3.
5918         * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5919         * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5920         bits of DR_CONTROL related to the debug register slot being
5921         disabled.  If all slots are vacant, clear local slowdown as well,
5922         and assert DR_CONTROL is 0.
5923
5924 2014-06-23  Siva Chandra Reddy  <[email protected]>
5925
5926         * python/lib/gdb/command/xmethods.py
5927         (get_method_matchers_in_loci):  Lookup xmethod matchers in the
5928         current progspace only if the string "progspace" matches LOCUS_RE.
5929
5930 2014-06-20  Jan Kratochvil  <[email protected]>
5931
5932         Fix --with-system-readline with readline-6.3 patch 5.
5933         * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5934         (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5935         types.
5936
5937 2014-06-20  Tom Tromey  <[email protected]>
5938
5939         * dwarf2read.c (dw2_get_real_path): Use correct type in
5940         OBSTACK_CALLOC.
5941         * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5942
5943 2014-06-20  Gary Benson  <[email protected]>
5944
5945         * common/gdb_thread_db.h: Moved to nat.  All includes updated.
5946         * common/glibc_thread_db.h: Likewise.
5947         * common/i386-cpuid.h: Likewise.
5948         * common/i386-gcc-cpuid.h: Likewise.
5949         * common/linux-btrace.h: Likewise.
5950         * common/linux-osdata.h: Likewise.
5951         * common/linux-procfs.h: Likewise.
5952         * common/linux-ptrace.h: Likewise.
5953         * common/mips-linux-watch.h: Likewise.
5954         * common/linux-btrace.c: Moved to nat.
5955         * common/linux-osdata.c: Likewise.
5956         * common/linux-procfs.c: Likewise.
5957         * common/linux-ptrace.c: Likewise.
5958         * common/mips-linux-watch.c: Likewise.
5959         * nat/gdb_thread_db.h: Moved from common.
5960         * nat/glibc_thread_db.h: Likewise.
5961         * nat/i386-cpuid.h: Likewise.
5962         * nat/i386-gcc-cpuid.h: Likewise.
5963         * nat/linux-btrace.c: Likewise.
5964         * nat/linux-btrace.h: Likewise.
5965         * nat/linux-osdata.c: Likewise.
5966         * nat/linux-osdata.h: Likewise.
5967         * nat/linux-procfs.c: Likewise.
5968         * nat/linux-procfs.h: Likewise.
5969         * nat/linux-ptrace.c: Likewise.
5970         * nat/linux-ptrace.h: Likewise.
5971         * nat/mips-linux-watch.c: Likewise.
5972         * nat/mips-linux-watch.h: Likewise.
5973         * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
5974         (object file files): Reordered.
5975         * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
5976         of glibc_thread_db.h.
5977
5978 2014-06-20  Gary Benson  <[email protected]>
5979
5980         * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
5981         (i386_dr_low_type): Moved to nat/i386-dregs.h.
5982         (i386_dr_low): Likewise.
5983         (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
5984         (i386_dr_low_set_addr): Likewise.
5985         (i386_dr_low_get_addr): Likewise.
5986         (i386_dr_low_can_set_control): Likewise.
5987         (i386_dr_low_set_control): Likewise.
5988         (i386_dr_low_get_control): Likewise.
5989         (i386_dr_low_get_status): Likewise.
5990         (i386_get_debug_register_length): Likewise.
5991         * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
5992         (i386_dr_low): Likewise.
5993         * nat/i386-dregs.c (i386-low.h): Remove include.
5994         (i386-nat.h): Likewise.
5995         (nat/i386-dregs.h): New include.
5996         (i386_dr_low_can_set_addr): Moved from i386-nat.h.
5997         (i386_dr_low_set_addr): Likewise.
5998         (i386_dr_low_get_addr): Likewise.
5999         (i386_dr_low_can_set_control): Likewise.
6000         (i386_dr_low_set_control): Likewise.
6001         (i386_dr_low_get_control): Likewise.
6002         (i386_dr_low_get_status): Likewise.
6003         (i386_get_debug_register_length): Likewise.
6004         (debug_hw_points): Likewise.
6005
6006 2014-06-19  Iain Buclaw  <[email protected]>
6007
6008         * Makefile.in (SFILES): Add d-exp.y.
6009         (YYFILES): Add d-exp.c.
6010         (YYOBJ): Add d-exp.o.
6011         (local-maintainer-clean): Delete d-exp.c.
6012         * d-exp.y: New file.
6013         * d-lang.h (d_parse): New declaration.
6014         (d_error): New declaration.
6015         * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
6016         Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
6017         PREC_ORDER operators.
6018         (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
6019
6020 2014-06-19  Yao Qi  <[email protected]>
6021
6022         * gdbthread.h (any_running): Remove the declaration.
6023         * thread.c (any_running): Remove.
6024
6025 2014-06-19  Yao Qi  <[email protected]>
6026
6027         * gdbthread.h (struct thread_info) <state>: Change its type to
6028         'enum thread_state'.  Update comments.
6029
6030 2014-06-19  Pedro Alves  <[email protected]>
6031
6032         * gdbthread.h (ALL_THREADS): Delete.
6033         (ALL_NON_EXITED_THREADS): New macro.
6034         * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
6035         instead of ALL_THREADS.
6036         * infrun.c (find_thread_needs_step_over)
6037         (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
6038         instead of ALL_THREADS.
6039         * record-btrace.c (record_btrace_open)
6040         (record_btrace_stop_recording, record_btrace_close)
6041         (record_btrace_is_replaying, record_btrace_resume)
6042         (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
6043         * remote.c (append_pending_thread_resumptions): Likewise.
6044         * thread.c (thread_apply_all_command): Likewise.
6045
6046 2014-06-19  Gary Benson  <[email protected]>
6047
6048         * i386-nat.c (i386_stopped_by_watchpoint):
6049         Use i386_dr_stopped_by_watchpoint.
6050         (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
6051         (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
6052
6053 2014-06-19  Gary Benson  <[email protected]>
6054
6055         * nat/i386-dregs.c: New file.
6056         * Makefile.in (i386-dregs.o): New rule.
6057         * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
6058         * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
6059         * config/i386/darwin.mh (NATDEPFILES): Likewise.
6060         * config/i386/fbsd.mh (NATDEPFILES): Likewise.
6061         * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
6062         * config/i386/go32.mh (NATDEPFILES): Likewise.
6063         * config/i386/linux.mh (NATDEPFILES): Likewise.
6064         * config/i386/linux64.mh (NATDEPFILES): Likewise.
6065         * config/i386/mingw.mh (NATDEPFILES): Likewise.
6066         * config/i386/mingw64.mh (NATDEPFILES): Likewise.
6067         * i386-nat.h (debug_hw_points): New declaration.
6068         * i386-nat.c (breakpoint.h): Remove include.
6069         (command.h): Likewise.
6070         (target.h): Likewise.
6071         (gdb_assert.h): Likewise.
6072         (debug_hw_points): Made nonstatic.
6073         (debug_printf): Now in i386-dregs.c.
6074         (TARGET_HAS_DR_LEN_8): Likewise.
6075         (DR_CONTROL_SHIFT): Likewise.
6076         (DR_CONTROL_SIZE): Likewise.
6077         (DR_RW_EXECUTE): Likewise.
6078         (DR_RW_WRITE): Likewise.
6079         (DR_RW_READ): Likewise.
6080         (DR_RW_IORW): Likewise.
6081         (DR_LEN_1): Likewise.
6082         (DR_LEN_2): Likewise.
6083         (DR_LEN_4): Likewise.
6084         (DR_LEN_8): Likewise.
6085         (DR_LOCAL_ENABLE_SHIFT): Likewise.
6086         (DR_GLOBAL_ENABLE_SHIFT): Likewise.
6087         (DR_ENABLE_SIZE): Likewise.
6088         (DR_LOCAL_SLOWDOWN): Likewise.
6089         (DR_GLOBAL_SLOWDOWN): Likewise.
6090         (DR_CONTROL_RESERVED): Likewise.
6091         (I386_DR_CONTROL_MASK): Likewise.
6092         (I386_DR_VACANT): Likewise.
6093         (I386_DR_LOCAL_ENABLE): Likewise.
6094         (I386_DR_GLOBAL_ENABLE): Likewise.
6095         (I386_DR_DISABLE): Likewise.
6096         (I386_DR_SET_RW_LEN): Likewise.
6097         (I386_DR_GET_RW_LEN): Likewise.
6098         (I386_DR_WATCH_HIT): Likewise.
6099         (i386_wp_op_t): Likewise.
6100         (i386_show_dr): Likewise.
6101         (i386_length_and_rw_bits): Likewise.
6102         (i386_insert_aligned_watchpoint): Likewise.
6103         (i386_remove_aligned_watchpoint): Likewise.
6104         (i386_handle_nonaligned_watchpoint): Likewise.
6105         (i386_update_inferior_debug_regs): Likewise.
6106         (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
6107         (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
6108         (i386_region_ok_for_watchpoint):
6109         Use i386_dr_region_ok_for_watchpoint.
6110         (i386_stopped_data_address): Use i386_dr_stopped_data_address.
6111
6112 2014-06-19  Gary Benson  <[email protected]>
6113
6114         * i386-nat.c (i386_insert_hw_breakpoint): Use
6115         i386_insert_watchpoint.
6116         (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
6117
6118 2014-06-19  Gary Benson  <[email protected]>
6119
6120         * i386-nat.c (i386_dr_show): Renamed to
6121         i386_show_dr and made static.  All uses updated.
6122         (i386_dr_length_and_rw_bits): Renamed to
6123         i386_length_and_rw_bits and made static.
6124         All uses updated.
6125         (i386_dr_insert_aligned_watchpoint): Renamed to
6126         i386_insert_aligned_watchpoint and made static.
6127         All uses updated.
6128         (i386_dr_remove_aligned_watchpoint): Renamed to
6129         i386_remove_aligned_watchpoint and made static.
6130         All uses updated.
6131         (i386_dr_update_inferior_debug_regs): Renamed to
6132         i386_update_inferior_debug_regs and made static.
6133         All uses updated.
6134         * nat/i386-dregs.h (i386_dr_show): Removed.
6135         (i386_dr_length_and_rw_bits): Likewise.
6136         (i386_dr_insert_aligned_watchpoint): Likewise.
6137         (i386_dr_remove_aligned_watchpoint): Likewise.
6138         (i386_dr_update_inferior_debug_regs): Likewise.
6139
6140 2014-06-19  Gary Benson  <[email protected]>
6141
6142         * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
6143         * configure: Regenerate.
6144         * config.in: Likewise.
6145         * main.c (signal.h): New include.
6146         (setup_alternate_signal_stack): New function.
6147         (captured_main): Call the above.
6148         * cp-support.c (signal.h): New include.
6149         (catch_demangler_crashes): New flag.
6150         (SIGJMP_BUF): New define.
6151         (SIGSETJMP): Likewise.
6152         (SIGLONGJMP): Likewise.
6153         (gdb_demangle_jmp_buf): New static global.
6154         (gdb_demangle_attempt_core_dump): Likewise.
6155         (gdb_demangle_signal_handler): New function.
6156         (gdb_demangle): If catch_demangler_crashes is set, install the
6157         above signal handler before calling bfd_demangle, and restore
6158         the original signal handler afterwards.  Display the offending
6159         symbol and call demangler_warning the first time a segmentation
6160         fault is caught.
6161         (_initialize_cp_support): New maint set/show command.
6162
6163 2014-06-19  Gary Benson  <[email protected]>
6164
6165         * utils.h (resource_limit_kind): New enum.
6166         (can_dump_core): New declaration.
6167         (warn_cant_dump_core): Likewise.
6168         (dump_core): Likewise.
6169         * utils.c (dump_core): Made nonstatic.  Added new
6170         parameter "limit_kind".
6171         (can_dump_core): Made nonstatic. Moved printing code to...
6172         (warn_cant_dump_core): New function.
6173         (can_dump_core_warn): Likewise.
6174         (internal_vproblem): Replace calls to can_dump_core with
6175         calls to can_dump_core_warn.  Supply new argument to each.
6176
6177 2014-06-19  Gary Benson  <[email protected]>
6178
6179         * utils.h (demangler_vwarning): New declaration.
6180         (demangler_warning): Likewise.
6181         * utils.c (struct internal_problem)
6182         <user_settable_should_quit>: New field.
6183         <user_settable_should_dump_core>: Likewise
6184         (internal_error_problem): Add values for above new fields.
6185         (internal_warning_problem): Likewise.
6186         (demangler_warning_problem): New static global.
6187         (demangler_vwarning): New function.
6188         (demangler_warning): Likewise.
6189         (add_internal_problem_command): Selectively add commands.
6190         (_initialize_utils): New internal problem command.
6191         * maint.c (maintenance_demangler_warning): New function.
6192         (_initialize_maint_cmds): New command.
6193
6194 2014-06-18  Tom Tromey  <[email protected]>
6195
6196         * f-valprint.c (info_common_command_for_block): Update.
6197         * symtab.h (struct general_symbol_info) <common_block>: Now
6198         const.
6199
6200 2014-06-18  Tom Tromey  <[email protected]>
6201
6202         * symtab.h (struct symtab) <blockvector>: Now const.
6203         * ada-lang.c (ada_add_global_exceptions): Update.
6204         * buildsym.c (augment_type_symtab): Update.
6205         * dwarf2read.c (dw2_lookup_symbol): Update.
6206         * jit.c (finalize_symtab): Update.
6207         * jv-lang.c (add_class_symtab_symbol): Update.
6208         * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
6209         Update.
6210         * objfiles.c (objfile_relocate1): Update.
6211         * psymtab.c (lookup_symbol_aux_psymtabs)
6212         (maintenance_check_psymtabs): Update.
6213         * python/py-symtab.c (stpy_global_block, stpy_static_block):
6214         Update.
6215         * spu-tdep.c (spu_catch_start): Update.
6216         * symmisc.c (dump_symtab_1): Update.
6217         * symtab.c (lookup_global_symbol_from_objfile)
6218         (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
6219         (basic_lookup_transparent_type_quick)
6220         (basic_lookup_transparent_type, find_pc_sect_symtab)
6221         (find_pc_sect_line, search_symbols): Update.
6222         * block.c (find_block_in_blockvector): Make "bl" const.
6223         (blockvector_for_pc_sect, blockvector_for_pc): Make return type
6224         const.
6225         (blockvector_contains_pc): Make "bv" const.
6226         (block_for_pc_sect): Update.
6227         * block.h (blockvector_for_pc, blockvector_for_pc_sect)
6228         (blockvector_contains_pc): Update.
6229         * breakpoint.c (resolve_sal_pc): Update.
6230         * inline-frame.c (block_starting_point_at): Update.
6231
6232 2014-06-18  Tom Tromey  <[email protected]>
6233
6234         * completer.c (complete_line): Make "line_buffer" const.
6235         * completer.h (complete_line): Update.
6236
6237 2014-06-18  Tom Tromey  <[email protected]>
6238
6239         * symtab.c (add_macro_name): Remove unneeded cast.
6240
6241 2014-06-18  Tom Tromey  <[email protected]>
6242
6243         * cli/cli-setshow.h (parse_cli_boolean_value): Update.
6244         * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
6245
6246 2014-06-18  Tom Tromey  <[email protected]>
6247
6248         * probe.c (info_probes_for_ops): Make "arg" const.
6249         * probe.h (info_probes_for_ops): Update.
6250
6251 2014-06-18  Tom Tromey  <[email protected]>
6252
6253         * varobj.c (varobj_create): Update.
6254         * valops.c (value_of_this): Update.
6255         * tracepoint.c (add_local_symbols, scope_info): Update.
6256         * symtab.h (struct general_symbol_info) <block>: Now const.
6257         * symtab.c (skip_prologue_sal)
6258         (default_make_symbol_completion_list_break_on)
6259         (skip_prologue_using_sal): Update.
6260         * stack.h (iterate_over_block_locals)
6261         (iterate_over_block_local_vars): Update.
6262         * stack.c (print_frame_args): Update.
6263         (iterate_over_block_locals, iterate_over_block_local_vars): Make
6264         parameter const.
6265         (get_selected_block): Make return type const.
6266         * python/py-frame.c (frapy_block): Update.
6267         * python/py-block.c (gdbpy_block_for_pc): Update.
6268         * p-exp.y (%union) <bval>: Now const.
6269         * mi/mi-cmd-stack.c (list_args_or_locals): Update.
6270         * mdebugread.c (mylookup_symbol, parse_procedure): Update.
6271         * m2-exp.y (%union) <bval>: Now const.
6272         * linespec.c (get_current_search_block): Make return type const.
6273         (create_sals_line_offset, find_label_symbols): Update.
6274         * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
6275         Update.
6276         (block_starting_point_at): Make "block" const.
6277         * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
6278         (check_exception_resume): Update.
6279         * guile/scm-frame.c (gdbscm_frame_block): Update.
6280         * guile/scm-block.c (gdbscm_lookup_block): Update.
6281         * frame.h (get_frame_block): Update.
6282         (get_selected_block): Make return type const.
6283         * frame.c (frame_id_inner): Update.
6284         * f-valprint.c (info_common_command_for_block)
6285         (info_common_command): Update.
6286         * dwarf2loc.c (dwarf2_find_location_expression)
6287         (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
6288         (locexpr_describe_location_piece): Update.
6289         * c-exp.y (%union) <bval>: Now const.
6290         * breakpoint.c (resolve_sal_pc): Update.
6291         * blockframe.c (get_frame_block):Make return type const.
6292         (get_pc_function_start, get_frame_function, find_pc_sect_function)
6293         (block_innermost_frame): Update.
6294         * block.h (blockvector_for_pc, blockvector_for_pc_sect)
6295         (block_for_pc, block_for_pc_sect): Update.
6296         * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
6297         'pblock' const.
6298         (block_for_pc_sect, block_for_pc): Make return type const.
6299         * ax-gdb.c (gen_expr): Update.
6300         * alpha-mdebug-tdep.c (find_proc_desc): Update.
6301         * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
6302         (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
6303         (ada_read_var_value): Update.
6304         * ada-exp.y (struct name_info) <block>: Now const.
6305         (%union): Likewise.
6306         (block_lookup): Constify.
6307
6308 2014-06-18  Gary Benson  <[email protected]>
6309
6310         * nat/i386-dregs.h: New file.
6311         * Makefile.in (HFILES_NO_SRCDIR): Add the above.
6312         * i386-nat.h (i386-dregs.h): New include.
6313         (DR_FIRSTADDR): Now in i386-dregs.h.
6314         (DR_LASTADDR): Likewise.
6315         (DR_NADDR): Likewise.
6316         (DR_STATUS): Likewise.
6317         (DR_CONTROL): Likewise.
6318         (i386_debug_reg_state): Likewise.
6319         * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
6320
6321 2014-06-18  Don Breazeal  <[email protected]>
6322
6323         * breakpoint.c (set_longjmp_breakpoint): Call
6324         momentary_breakpoint_from_master with additional argument.
6325         (set_longjmp_breakpoint_for_call_dummy): Call
6326         momentary_breakpoint_from_master with additional argument.
6327         (set_std_terminate_breakpoint): Call
6328         momentary_breakpoint_from_master with additional argument.
6329         (momentary_breakpoint_from_master): Add argument to function
6330         definition and use it to initialize structure member flag.
6331         (clone_momentary_breakpoint): Call
6332         momentary_breakpoint_from_master with additional argument.
6333         * infrun.c (follow_inferior_reset_breakpoints): Clear structure
6334         member flags set in momentary_breakpoint_from_master.
6335
6336 2014-06-18  Gary Benson  <[email protected]>
6337
6338         * i386-nat.c (i386_show_dr): Renamed to
6339         i386_dr_show and made nonstatic.  All uses updated.
6340         (i386_length_and_rw_bits): Renamed to
6341         i386_dr_length_and_rw_bits and made nonstatic.
6342         All uses updated.
6343         (i386_insert_aligned_watchpoint): Renamed to
6344         i386_dr_insert_aligned_watchpoint and made nonstatic.
6345         All uses updated.
6346         (i386_remove_aligned_watchpoint): Renamed to
6347         i386_dr_remove_aligned_watchpoint and made nonstatic.
6348         All uses updated.
6349         (i386_update_inferior_debug_regs): Renamed to
6350         i386_dr_update_inferior_debug_regs and made nonstatic.
6351         All uses updated.
6352
6353 2014-06-18  Gary Benson  <[email protected]>
6354
6355         * i386-nat.c (i386_dr_low_can_set_addr): New macro.
6356         (i386_dr_low_can_set_control): Likewise.
6357         (i386_dr_low_set_addr): Likewise.
6358         (i386_dr_low_set_control): Likewise.
6359         (i386_dr_low_get_addr): Likewise.
6360         (i386_dr_low_get_status): Likewise.
6361         (i386_dr_low_get_control): Likewise.
6362         (i386_insert_aligned_watchpoint): Use new macros.
6363         (i386_update_inferior_debug_regs): Likewise.
6364         (i386_stopped_data_address): Likewise.
6365
6366 2014-06-18  Gary Benson  <[email protected]>
6367
6368         * i386-nat.c (i386_update_inferior_debug_regs) <state>:
6369         New parameter.  All uses updated.
6370
6371 2014-06-18  Gary Benson  <[email protected]>
6372
6373         * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
6374         All uses updated.
6375
6376 2014-06-18  Gary Benson  <[email protected]>
6377
6378         * i386-nat.c (debug_printf): New macro.
6379         (i386_get_debug_register_length): Likewise.
6380         (TARGET_HAS_DR_LEN_8): Use above macro.
6381         (i386_show_dr): Use debug_printf instead of puts_unfiltered
6382         and printf_unfiltered.  Use phex to format values.
6383
6384 2014-06-18  Gary Benson  <[email protected]>
6385
6386         * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
6387         Make const.
6388
6389 2014-06-18  Gary Benson  <[email protected]>
6390
6391         * i386-nat.c: Comment changes.
6392
6393 2014-06-18  Gary Benson  <[email protected]>
6394
6395         * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
6396
6397 2014-06-18  Gary Benson  <[email protected]>
6398
6399         * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
6400         (i386_insert_aligned_watchpoint): Likewise.
6401         (i386_remove_aligned_watchpoint): Likewise.
6402         (i386_handle_nonaligned_watchpoint): Likewise.
6403
6404 2014-06-18  Gary Benson  <[email protected]>
6405
6406         * i386-nat.c: Whitespace changes.
6407
6408 2014-06-17  Samuel Bronson  <[email protected]>
6409
6410         * MAINTAINERS: Update Roland McGrath's email address.
6411         Thanks to Sergio Durigan Junior for pointing out that he left
6412         Red Hat a while ago, and giving me a current address.
6413
6414 2014-06-17  Tom Tromey  <[email protected]>
6415
6416         * utils.h (savestring): Remove declaration.
6417
6418 2014-06-17  Tom Tromey  <[email protected]>
6419
6420         * remote.c (extended_remote_run): Use make_cleanup_freeargv.
6421
6422 2014-06-16  Keith Seitz  <[email protected]>
6423
6424         PR mi/15863
6425         * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
6426         to update the varobj if inferior_ptid is null_ptid.
6427
6428 2014-06-16  Tom Tromey  <[email protected]>
6429
6430         * target.h (struct target_ops) <to_info_proc>: Make parameter
6431         const.
6432         (target_info_proc): Update.
6433         * target.c (target_info_proc): Make "args" const.
6434         * procfs.c (procfs_info_proc): Update.
6435         * linux-tdep.c (linux_info_proc): Update.
6436         (linux_core_info_proc_mappings): Make "args" const.
6437         (linux_core_info_proc): Update.
6438         * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
6439         * gdbarch.c: Rebuild.
6440         * gdbarch.h: Rebuild.
6441         * corelow.c (core_info_proc): Update.
6442
6443 2014-06-16  Tom Tromey  <[email protected]>
6444
6445         * target.h (struct target_ops) <to_disconnect>: Make parameter
6446         const.
6447         (target_disconnect): Update.
6448         * target.c (target_disconnect): Make "args" const.
6449         * target-delegates.c: Rebuild.
6450         * remote.c (remote_disconnect): Update.
6451         * record.h (record_disconnect): Update.
6452         * record.c (record_disconnect): Update.
6453         * inf-child.c (inf_child_disconnect): Update.
6454
6455 2014-06-16  Tom Tromey  <[email protected]>
6456
6457         * target.h (struct target_ops) <to_rcmd>: Make "command" const.
6458         * target.c (debug_to_rcmd, default_rcmd): Update.
6459         * target-delegates.c: Rebuild.
6460         * remote.c (remote_rcmd): Update.
6461         * monitor.c (monitor_rcmd): Update.
6462
6463 2014-06-16  Pedro Alves  <[email protected]>
6464
6465         * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
6466         (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
6467         have OBJF_SHARED set.
6468         * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
6469         (shared_objfile_contains_address_p): ... this.  Check OBJF_SHARED
6470         instead of OBJF_USERLOADED.
6471         * objfiles.h (OBJF_SHARED): Update comment.
6472         (userloaded_objfile_contains_address_p): Rename to ...
6473         (shared_objfile_contains_address_p): ... this, and update
6474         comments.
6475         * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
6476         new objfile.
6477         (remove_symbol_file_command): Skip objfiles that don't have
6478         OBJF_SHARED set.
6479
6480 2014-06-16  Tom Tromey  <[email protected]>
6481
6482         * minsyms.h (prim_record_minimal_symbol)
6483         (prim_record_minimal_symbol_and_info): Update comments.
6484
6485 2014-06-14  Eli Zaretskii  <[email protected]>
6486
6487         * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
6488         or --without-guile, according to how GDB was built.
6489
6490 2014-06-13  Tom Tromey  <[email protected]>
6491
6492         * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
6493         to help_list.
6494         * guile/guile.c (info_guile_command): Pass all_commands, not -1,
6495         to help_list.
6496         * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
6497         help_list.
6498         * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
6499         help_list.Pass all_commands, not -1, to help_list.
6500         * cli/cli-dump.c (dump_command, append_command)
6501         (srec_dump_command, ihex_dump_command, tekhex_dump_command)
6502         (binary_dump_command, binary_append_command): Pass all_commands,
6503         not -1, to help_list.
6504         * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
6505         -1, to help_list.
6506         * valprint.c (set_print, set_print_raw): Pass all_commands, not
6507         -1, to help_list.
6508         * typeprint.c (set_print_type): Pass all_commands, not -1, to
6509         help_list.
6510         * top.c (set_history): Pass all_commands, not -1, to help_list.
6511         * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
6512         all_commands, not -1, to help_list.
6513         * symfile.c (overlay_command): Pass all_commands, not -1, to
6514         help_list.
6515         * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
6516         help_list.
6517         * serial.c (serial_set_cmd): Pass all_commands, not -1, to
6518         help_list.
6519         * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
6520         -1, to help_list.
6521         * remote.c (remote_command, set_remote_cmd): Pass all_commands,
6522         not -1, to help_list.
6523         * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
6524         not -1, to help_list.
6525         * maint.c (maintenance_command, maintenance_info_command)
6526         (maintenance_print_command, maintenance_set_cmd): Pass
6527         all_commands, not -1, to help_list.
6528         * macrocmd.c (macro_command): Pass all_commands, not -1, to
6529         help_list.
6530         * language.c (set_check): Pass all_commands, not -1, to help_list.
6531         * infcmd.c (unset_command): Pass all_commands, not -1, to
6532         help_list.
6533         * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
6534         help_list.
6535         * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
6536         help_list.
6537         * dcache.c (set_dcache_command): Pass all_commands, not -1, to
6538         help_list.
6539         * breakpoint.c (save_command): Pass all_commands, not -1, to
6540         help_list.
6541         * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
6542         all_commands, not -1, to help_list.
6543
6544 2014-06-12  Pierre Langlois  <[email protected]>
6545
6546         * regcache.c (struct register_to_invalidate): New structure.
6547         (do_register_invalidate, make_cleanup_regcache_invalidate): New
6548         functions.
6549         (regcache_raw_write): Call make_cleanup_regcache_invalidate.
6550
6551 2014-06-12  Yao Qi  <[email protected]>
6552
6553         * varobj.c (varobj_get_num_children): Call
6554         varobj_is_dynamic_p.
6555         (varobj_list_children): Likewise.
6556         (varobj_update): Likewise.  Update comments.
6557
6558 2014-06-12  Yao Qi  <[email protected]>
6559
6560         * varobj.c (varobj_pretty_printed_p): Rename to ...
6561         (varobj_is_dynamic_p): ... this.  New function.
6562         * varobj.h (varobj_pretty_printed_p): Remove declaration.
6563         (varobj_is_dynamic_p): Declare.
6564         * mi/mi-cmd-var.c (print_varobj): All callers updated.
6565         (mi_print_value_p, varobj_update_one): Likewise.
6566
6567 2014-06-12  Pedro Alves  <[email protected]>
6568             Yao Qi  <[email protected]>
6569
6570         * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
6571         (varobj_get_iterator): Wrap up code for pretty-printer by
6572         "#if HAVE_PYTHON" and "#endif".
6573         (update_dynamic_varobj_children): Likewise.
6574
6575 2014-06-12  Pedro Alves  <[email protected]>
6576             Yao Qi  <[email protected]>
6577
6578         * python/py-varobj.c (py_varobj_iter_next): Return NULL if
6579         gdb_python_initialized is false.  Move some code from varobj.c.
6580         * varobj-iter.h (struct varobj_item): Moved from varobj.c.
6581         * varobj.c: Move "varobj-iter.h" inclusion earlier.
6582         (struct varobj_item): Moved to varobj-iter.h".
6583         (varobj_clear_saved_item): New function.
6584         (update_dynamic_varobj_children): Move python-related code to
6585         py-varobj.c.
6586         (free_variable): Call varobj_clear_saved_item and
6587         varobj_iter_delete.
6588
6589 2014-06-12  Pedro Alves  <[email protected]>
6590             Yao Qi  <[email protected]>
6591
6592         * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
6593         (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
6594         (HFILES_NO_SRCDIR): Add "varobj-iter.h".
6595         (py-varobj.o): New rule.
6596         * python/py-varobj.c: New file.
6597         * python/python-internal.h (py_varobj_get_iterator): Declare.
6598         * varobj-iter.h: New file.
6599         * varobj.c: Include "varobj-iter.h"
6600         (struct varobj) <child_iter>: Change its type from "PyObject *"
6601         to "struct varobj_iter *".
6602         <saved_item>: Likewise.
6603         [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
6604         [HAVE_PYTHON] (varobj_get_iterator): New function.
6605         (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
6606         python-specific code to python/py-varobj.c.
6607         (install_visualizer): Call varobj_iter_delete instead of
6608         Py_XDECREF.
6609         * varobj.h (varobj_ensure_python_env): Declare.
6610
6611 2014-06-12  Yao Qi  <[email protected]>
6612
6613         * varobj.c (struct varobj_item): New structure.
6614         (create_child_with_value): Update declaration.
6615         (varobj_add_child): Replace arguments 'name' and 'value' with
6616         'item'.  All callers updated.
6617         (install_dynamic_child): Likewise.
6618         (update_dynamic_varobj_children): Likewise.
6619         (varobj_add_child): Likewise.
6620         (create_child_with_value): Likewise.
6621
6622 2014-06-11  Joel Brobecker  <[email protected]>
6623
6624         * NEWS: Create a new section for the next release branch.
6625         Rename the section of the current branch, now that it has
6626         been cut.
6627
6628 2014-06-11  Joel Brobecker  <[email protected]>
6629
6630         GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
6631         * version.in: Bump version to 7.8.50.DATE-cvs.
6632
6633 2014-06-11  Pedro Alves  <[email protected]>
6634
6635         PR remote/17028
6636         * ser-mingw.c (net_windows_socket_check_pending): New function.
6637         (net_windows_select_thread): Ignore spurious wakeups.  Use
6638         net_windows_socket_check_pending.
6639         (net_windows_wait_handle): Check for pending events with
6640         ioctlsocket, through net_windows_socket_check_pending, instead of
6641         checking the socket's event.
6642
6643 2014-06-10  Siva Chandra Reddy  <[email protected]>
6644
6645         * python/python-internal.h (gdb_PyObject_GetAttrString)
6646         (gdb_PyObject_HasAttrString): New inline function definitions.
6647         * py-value.c (get_field_flag): Remove the now unnecessary cast to
6648         char * of the second argument to PyObject_GetAttrString.
6649
6650 2014-06-10  Joel Brobecker  <[email protected]>
6651
6652         * serial.c (serial_write): Fix index of character to be printed
6653         in call to serial_logchar when serial debug traces are enabled.
6654
6655 2014-06-10  Joel Brobecker  <[email protected]>
6656
6657         * gdbtypes (resolve_dynamic_range): Add function description.
6658
6659 2014-06-09  Pedro Alves  <[email protected]>
6660
6661         * linux-nat.c (linux_child_follow_fork): Initialize status with
6662         W_STOPCODE (0) instead of 0.  Remove shodowing 'status' local from
6663         inner block.  Only pass the signal to PTRACE_DETACH if in pass
6664         state.
6665
6666 2014-06-09  Gary Benson  <[email protected]>
6667
6668         * common/signals.c (gdb_signal_from_host): Reorder to separate
6669         the always-available ANSI-standard signals from the signals that
6670         require checking.
6671         (do_gdb_signal_to_host): Likewise.
6672         * proc-events.c (signal_table): Likewise.
6673
6674 2014-06-08  Hui Zhu  <[email protected]>
6675
6676         * common/linux-ptrace.c (linux_disable_event_reporting): New
6677         function.
6678         * common/linux-ptrace.h (linux_disable_event_reporting): New
6679         declaration.
6680         * linux-nat.c (linux_child_follow_fork): Do a single step before
6681         detach.
6682
6683 2014-06-07  Keith Seitz  <[email protected]>
6684
6685         Revert:
6686         PR c++/16253
6687         * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6688         from symbol_matches_domain in symtab.c. All local callers
6689         of symbol_matches_domain updated.
6690         (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6691         search STRUCT_DOMAIN.
6692         (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6693         independently.  standard_lookup will do that automatically.
6694         * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6695         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6696         (cp_lookup_symbol_in_namespace): Likewise.
6697         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6698         (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6699         may return a STRUCT_DOMAIN match.
6700         (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6701         * cp-support.c: Include language.h.
6702         (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6703         VAR_DOMAIN.
6704         * psymtab.c (match_partial_symbol): Compare the requested
6705         domain with the symbol's domain directly.
6706         (lookup_partial_symbol): Likewise.
6707         * symtab.c (lookup_symbol_in_language): Explain when/why
6708         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6709         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6710         appropriate languages.
6711         (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6712         and moved to ada-lang.c
6713         (lookup_block_symbol): Explain that this function only returns
6714         symbol matching the requested DOMAIN.
6715         Compare the requested domain with the symbol's domain directly.
6716         (iterate_over_symbols): Compare the requested domain with the
6717         symbol's domain directly.
6718         * symtab.h (symbol_matches_domain): Remove.
6719
6720 2014-06-06  Doug Evans  <[email protected]>
6721
6722         * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
6723         (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
6724         (gdbscm_guile_version_is_at_least): Declare.
6725         (gdbscm_scm_string_to_int): Declare.
6726         * guile/guile.c (gdbscm_guile_major_version): New global.
6727         (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
6728         (guile_datadir): New static global.
6729         (gdbscm_guile_data_directory): New function.
6730         (initialize_scheme_side): Update.
6731         (misc_guile_functions): Add guile-data-directory.
6732         (initialize_gdb_module): Fetch guile version number.
6733         * guile/lib/gdb.scm: Remove call to add-to-load-path.
6734         * guile/lib/gdb/init.scm (%initialize!): Ditto.
6735         * guile/lib/gdb/boot.scm: Use guile-data-directory.
6736         * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
6737         comments.
6738         * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
6739         * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
6740         * guile/scm-value.c (gdbscm_value_to_string): Only call
6741         scm_port_conversion_strategy if Guile version >= 2.0.6.
6742
6743 2014-06-06  Mingjie Xing  <[email protected]>
6744
6745         * main.c (print_gdb_help): Add -q and --silent.
6746
6747 2014-06-06  Gary Benson  <[email protected]>
6748
6749         * common/signals.c: Remove preprocessor conditionals for
6750         always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6751         SIGSEGV and SIGTERM.
6752         * proc-events.c: Likewise.
6753
6754 2014-06-06  Markus Metzger  <[email protected]>
6755
6756         * symfile.c (symfile_free_objfile): Remove restriction to
6757         OBJF_USERLOADED.
6758         * symfile-mem.c (symbol_file_add_from_memory): Call
6759         add_target_sections_of_objfile.
6760
6761 2014-06-05  Ludovic Courtès  <[email protected]>
6762
6763         * guile/scm-value.c (gdbscm_history_append_x): Use
6764         'vlscm_get_value_smob_arg_unsafe' instead of
6765         'vlscm_scm_to_value'.
6766
6767 2014-06-05  Simon Marchi  <[email protected]>
6768
6769         PR mi/15806
6770         * utils.c (printchar): Don't escape at all if quoter is NUL.
6771         Update function documentation to clarify effect of parameter
6772         QUOTER.
6773         * remote.c (escape_buffer): Pass '\\' as the quoter to
6774         fputstrn_unfiltered.
6775         * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
6776         generate the output.
6777         (mi_solib_unloaded): Same.
6778
6779 2014-06-05  Joel Brobecker  <[email protected]>
6780
6781         * development.sh: Delete.
6782         * Makefile.in (config.status): Adjust dependency on development.sh.
6783         * configure.ac: Adjust development.sh source call.
6784         * configure: Regenerate.
6785
6786 2014-06-04  Doug Evans  <[email protected]>
6787
6788         * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
6789         is_scheme_bkpt, spec.
6790         (bpscm_make_breakpoint_smob): Initialize new members.
6791         (gdbscm_create_breakpoint_x): Split into two ...
6792         (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
6793         (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
6794         (scheme_function breakpoint_functions): Update.
6795         * guile/lib/gdb.scm: Delete create-breakpoint!.  Rename
6796         breakpoint-delete! to delete-breakpoint!.  Add make-breakpoint,
6797         register-breakpoint!.
6798
6799 2014-06-04  Joel Brobecker  <[email protected]>
6800
6801         PR server/17023
6802         * mem-break.c (z_type_supported): Return zero if
6803         THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
6804
6805 2014-06-04  Tom Tromey  <[email protected]>
6806
6807         * ada-lang.c (ada_template_to_fixed_record_type_1): Use
6808         value_from_contents_and_address_unresolved.
6809         (ada_template_to_fixed_record_type_1): Likewise.
6810         (ada_which_variant_applies): Likewise.
6811         * value.h (value_from_contents_and_address_unresolved): Declare.
6812         * value.c (value_from_contents_and_address_unresolved): New
6813         function.
6814         * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
6815         <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
6816         (resolve_dynamic_struct, resolve_dynamic_union): New functions.
6817
6818 2014-06-04  Tom Tromey  <[email protected]>
6819
6820         * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
6821
6822 2014-06-04  Tom Tromey  <[email protected]>
6823
6824         * procfs.c (procfs_attach): Make "args" const.
6825         * windows-nat.c (windows_attach): Make "args" const.
6826         * nto-procfs.c (procfs_attach): Make "args" const.
6827         * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
6828         * go32-nat.c (go32_attach): Make "args" const.
6829         * gnu-nat.c (gnu_attach): Make "args" const.
6830         * darwin-nat.c (darwin_attach): Make "args" const.
6831         * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
6832         * linux-nat.c (linux_nat_attach): Make "args" const.
6833         * remote.c (extended_remote_attach_1, extended_remote_attach):
6834         Make "args" const.
6835         * target.h (struct target_ops) <to_attach>: Make "args" const.
6836         (find_default_attach): Likewise.
6837         * utils.c (parse_pid_to_attach): Make "args" const.
6838         * utils.h (parse_pid_to_attach): Update.
6839
6840 2014-06-04  Tom Tromey  <[email protected]>
6841
6842         * target-delegates.c: Rebuild.
6843         * target.c (default_thread_address_space): New function.
6844         (target_thread_address_space): Simplify.
6845         * target.h (struct target_ops) <to_thread_address_space>: Add
6846         TARGET_DEFAULT_FUNC.
6847
6848 2014-06-04  Doug Evans  <[email protected]>
6849
6850         * guile/scm-type.c (type_smob): Remove duplicate typedef.
6851
6852 2014-06-04  Markus Metzger  <[email protected]>
6853
6854         * record-btrace.c: Include event-loop.h and inf-loop.h.
6855         (record_btrace_resume_exec_dir)
6856         (record_btrace_async_inferior_event_handler)
6857         (record_btrace_handle_async_inferior_event): New.
6858         (record_btrace_open): Create async event handler.
6859         (record_btrace_close): Delete async event handler.
6860         (record_btrace_resume): Set record_btrace_resume_exec_dir,
6861         Mark async event handler.
6862         (record_btrace_execution_direction): New.
6863         (init_record_btrace_ops): Initialize to_execution_direction.
6864
6865 2014-06-03  Doug Evans  <[email protected]>
6866
6867         * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
6868         (gdbscm_make_parameter): Ditto.
6869
6870 2014-06-03  Doug Evans  <[email protected]>
6871
6872         * exec.c (exec_close_1): Call clear_section_table instead of
6873         resize_section_table.
6874         (clear_section_table): New function.
6875         (resize_section_table): Make static.  Rename arg num_added to
6876         adjustment.
6877         * exec.h (clear_section_table): Declare.
6878         (resize_section_table): Delete.
6879         * progspace.c (release_program_space): Call clear_section_table
6880         instead of resize_section_table.
6881
6882 2014-06-03  Siva Chandra Reddy  <[email protected]>
6883
6884         * NEWS (Python Scripting): Add entry about the new xmethods
6885         feature.
6886
6887 2014-06-03  Siva Chandra Reddy  <[email protected]>
6888
6889         * python/py-xmethods.c: New file.
6890         * python/py-objfile.c (objfile_object): New field 'xmethods'.
6891         (objfpy_dealloc): XDECREF on the new xmethods field.
6892         (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6893         field.
6894         (objfpy_get_xmethods): New function.
6895         (objfile_getset): New entry 'xmethods'.
6896         * python/py-progspace.c (pspace_object): New field 'xmethods'.
6897         (pspy_dealloc): XDECREF on the new xmethods field.
6898         (pspy_new, pspace_to_pspace_object): Initialize xmethods
6899         field.
6900         (pspy_get_xmethods): New function.
6901         (pspace_getset): New entry 'xmethods'.
6902         * python/python-internal.h: Add declarations for new functions.
6903         * python/python.c (_initialize_python): Invoke
6904         gdbpy_initialize_xmethods.
6905         * python/lib/gdb/__init__.py (xmethods): New
6906         attribute.
6907         * python/lib/gdb/xmethod.py: New file.
6908         * python/lib/gdb/command/xmethods.py: New file.
6909
6910 2014-06-03  Siva Chandra Reddy  <[email protected]>
6911
6912         * eval.c (evaluate_subexp_standard): Call the xmethod if the
6913         best match method returned by find_overload_match is an xmethod.
6914         * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6915         the best matching operator returned by find_overload_match is an
6916         xmethod.
6917         * valops.c: #include "extension.h".
6918         (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6919         Return void.  The list of matching source methods is returned in
6920         "fn_list" and a vector of matching debug method workers is
6921         returned in "xm_worker_vec".  Update all callers.
6922         (value_find_oload_method_list): Likewise.
6923         (find_oload_champ): Add "xm_worker_vec" parameter.  If it is
6924         non-NULL, then the index of the best matching method in this
6925         vector is returned.  Update all callers.
6926         (find_overload_match): Include xmethods while performing overload
6927         resolution.
6928
6929 2014-06-03  Siva Chandra Reddy  <[email protected]>
6930
6931         * defs.h (enum lval_type): New enumerator "lval_xcallable".
6932         * extension-priv.h (struct extension_language_ops): Add the
6933         xmethod interface.
6934         * extension.c (new_xmethod_worker, clone_xmethod_worker,
6935         get_matching_xmethod_workers, get_xmethod_argtypes,
6936         invoke_xmethod, free_xmethod_worker,
6937         free_xmethod_worker_vec): New functions.
6938         * extension.h: #include "common/vec.h".
6939         New function declarations.
6940         (struct xmethod_worker): New struct.
6941         (VEC (xmethod_worker_ptr)): New vector type.
6942         (xmethod_worker_ptr): New typedef.
6943         (xmethod_worker_vec): Likewise.
6944         * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6945         builtin_type.
6946         * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
6947         (struct builtin_type): New field "xmethod".
6948         * valarith.c (value_ptradd): Assert that the value argument is not
6949         lval_xcallable.
6950         * valops.c (value_must_coerce_to_target): Return 0 for
6951         lval_xcallable values.
6952         * value.c (struct value): New field XM_WORKER in the field
6953         LOCATION.
6954         (value_address, value_raw_address): Return 0 for lval_xcallable
6955         values.
6956         (set_value_address): Assert that the value is not an
6957         lval_xcallable.
6958         (value_free): Free the associated xmethod worker when freeing
6959         lval_xcallable values.
6960         (set_value_component_location): Assert that the WHOLE value is not
6961         lval_xcallable.
6962         (value_of_xmethod, call_xmethod): New functions.
6963         * value.h: Declare "struct xmethod_worker".
6964         Declare new functions value_of_xmethod, call_xmethod.
6965
6966 2014-06-03  Joel Brobecker  <[email protected]>
6967             Pedro Alves  <[email protected]>
6968
6969         PR breakpoints/17000
6970         * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
6971         New function, extracted from software_breakpoint_inserted_here_p.
6972         (software_breakpoint_inserted_here_p): Replace factored out code
6973         by call to find_non_raw_software_breakpoint_inserted_here.
6974         (bp_target_info_copy_insertion_state): New function.
6975         (bkpt_insert_location): Handle the case of a single-step
6976         breakpoint already inserted at the same address.
6977         (bkpt_remove_location): Handle the case of a single-step
6978         breakpoint still inserted at the same address.
6979         (deprecated_insert_raw_breakpoint): Handle the case of non-raw
6980         breakpoint already inserted at the same address.
6981         (deprecated_remove_raw_breakpoint): Handle the case of a
6982         non-raw breakpoint still inserted at the same address.
6983         (find_single_step_breakpoint): New function, extracted from
6984         single_step_breakpoint_inserted_here_p.
6985         (find_single_step_breakpoint): New function,
6986         factored out from single_step_breakpoint_inserted_here_p.
6987         (single_step_breakpoint_inserted_here_p): Reimplement.
6988
6989 2014-06-03  Brad Mouring  <[email protected]>  (tiny patch)
6990
6991         Pushed by Joel Brobecker  <[email protected]>
6992         * source.c (show_substitute_path_command): Fix display of matching
6993         substitution rules.
6994
6995 2014-06-03  Gary Benson  <[email protected]>
6996
6997         * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
6998
6999 2014-06-02  Doug Evans  <[email protected]>
7000
7001         Add parameter support for Guile.
7002         * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
7003         (SUBDIR_GUILE_SRCS): Add scm-param.c.
7004         (scm-param.o): New rule.
7005         * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
7006         (gdbscm_misc_error): Declare.
7007         (gdbscm_canonicalize_command_name): Declare.
7008         (gdbscm_scm_to_host_string): Declare.
7009         (gdbscm_scm_from_host_string): Declare.
7010         (gdbscm_initialize_parameters): Declare.
7011         * guile/guile.c (initialize_gdb_module): Call
7012         gdbscm_initialize_parameters.
7013         * guile/lib/gdb.scm: Export parameter symbols.
7014         * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
7015         cmdscm_canonicalize_name and made public.  All callers updated.
7016         * guile/scm-exception.c (gdbscm_misc_error): New function.
7017         * guile/scm-param.c: New file.
7018         * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
7019         (gdbscm_scm_to_host_string): New function.
7020         (gdbscm_scm_from_host_string): New function.
7021         * scm-utils.c (gdbscm_gc_dup_argv): New function.
7022
7023 2014-06-02  Doug Evans  <[email protected]>
7024
7025         Add command support for Guile.
7026         * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
7027         (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
7028         (scm-cmd.o): New rule.
7029         * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
7030         (gdbscm_user_error_p): Declare.
7031         (gdbscm_parse_command_name): Declare.
7032         (gdbscm_valid_command_class_p): Declare.
7033         (gdbscm_initialize_commands): Declare.
7034         * guile/guile.c (initialize_gdb_module): Call
7035         gdbscm_initialize_commands.
7036         * guile/lib/gdb.scm: Export command symbols.
7037         * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
7038         (throw-user-error): New function.
7039         * guile/scm-cmd.c: New file.
7040         * guile/scm-exception.c (user_error_symbol): New static global.
7041         (gdbscm_user_error_p): New function.
7042         (gdbscm_initialize_exceptions): Set user_error_symbol.
7043         * scm-utils.c (gdbscm_gc_xstrdup): New function.
7044
7045 2014-06-02  Phil Muldoon  <[email protected]>
7046
7047         * top.c (command_loop): Handle comments here...
7048         (command_line_input): ... not here.
7049
7050 2014-06-02  Doug Evans  <[email protected]>
7051
7052         Add progspace support for Guile.
7053         * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
7054         (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
7055         (scm-progspace.o): New rule.
7056         * guile/guile-internal.h (pspace_smob): New typedef.
7057         (psscm_pspace_smob_pretty_printers): Declare.
7058         (psscm_pspace_smob_from_pspace): Declare.
7059         (psscm_scm_from_pspace): Declare.
7060         * guile/guile.c (initialize_gdb_module): Call
7061         gdbscm_initialize_pspaces.
7062         * guile/lib/gdb.scm: Export progspace symbols.
7063         * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
7064         support.
7065         (append-pretty-printer!): Ditto.
7066         * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
7067         Implement.
7068         * guile/scm-progspace.c: New file.
7069
7070 2014-06-03  Alan Modra  <[email protected]>
7071
7072         * ppc64-tdep.c (ppc64_standard_linkage8): New.
7073         (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
7074
7075 2014-06-02  Doug Evans  <[email protected]>
7076
7077         Add support for skeletonless type units.
7078         * dwarf2read.c (struct dwarf2_per_objfile): New member
7079         n_allocated_type_units.
7080         (struct dwarf2_per_objfile) <tu_stats>: New member
7081         nr_all_type_units_reallocs.
7082         (create_signatured_type_table_from_index): Initialize
7083         n_allocated_type_units
7084         (create_all_type_units): Ditto.
7085         (add_type_unit): Move up in file.  New arg slot.
7086         All callers updated.  Increase space for all_type_units more
7087         efficiently.
7088         (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
7089         (lookup_dwo_signatured_type): Handle skeletonless TUs.
7090         (lookup_dwp_signatured_type): Ditto.
7091         (init_tu_and_read_dwo_dies): New arg use_existing_cu.
7092         All callers updated.
7093         (build_type_psymtabs_1): Leave type_unit_groups as
7094         NULL if no TUs present.
7095         (print_tu_stats): New function.
7096         (process_skeletonless_type_unit): New function.
7097         (process_dwo_file_for_skeletonless_type_units): New
7098         function.
7099         (process_skeletonless_type_units): New function.
7100         (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
7101         Call print tu_stats if debugging enabled.
7102
7103 2014-06-02  Pedro Alves  <[email protected]>
7104
7105         * breakpoint.c (build_target_command_list): Don't build a command
7106         list if we have any duplicate location that isn't a dprintf.
7107
7108 2014-06-02  Pedro Alves  <[email protected]>
7109
7110         * breakpoint.c (dprintf_breakpoint_hit): New function.
7111         (initialize_breakpoint_ops): Install it as dprintf's
7112         breakpoint_hit method.
7113
7114 2014-06-02  Joel Brobecker  <[email protected]>
7115
7116         * source.c (substitute_path_rule_matches): Simplify using
7117         filename_ncmp instead of FILENAME_CMP.
7118
7119 2014-06-02  Joel Brobecker  <[email protected]>
7120
7121         * source.c (substitute_path_rule_matches): Remove trailing spaces.
7122
7123 2014-06-01  Ludovic Courtès  <[email protected]>
7124
7125         * configure.ac: When Guile is available, check for the
7126         availability of 'scm_new_smob'.
7127         * configure, config.h.in: Regenerate.
7128         * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
7129         function.
7130
7131 2014-05-30  Andrew Burgess  <[email protected]>
7132
7133         * frame.c (struct frame_info): Add stop_string field.
7134         (get_prev_frame_always_1): Renamed from get_prev_frame_always.
7135         (get_prev_frame_always): Old content moved into
7136         get_prev_frame_always_1.  Call get_prev_frame_always_1 inside
7137         TRY_CATCH, handle MEMORY_ERROR exceptions.
7138         (frame_stop_reason_string): New function definition.
7139         * frame.h (unwind_stop_reason_to_string): Extend comment to
7140         mention frame_stop_reason_string.
7141         (frame_stop_reason_string): New function declaration.
7142         * stack.c (frame_info): Switch to frame_stop_reason_string.
7143         (backtrace_command_1): Switch to frame_stop_reason_string.
7144         * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
7145         (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
7146         * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
7147
7148 2014-05-30  Andrew Burgess  <[email protected]>
7149
7150         * frame.c (frame_stop_reason_string): Rename to ...
7151         (unwind_stop_reason_to_string): this.
7152         * frame.h (frame_stop_reason_string): Rename to ...
7153         (unwind_stop_reason_to_string): this.
7154         * stack.c (frame_info): Update call to frame_stop_reason_string.
7155         (backtrace_command_1): Likewise.
7156         * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
7157         * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
7158
7159 2014-05-30  Andrew Burgess  <[email protected]>
7160
7161         * frame.c (remove_prev_frame): New function.
7162         (get_prev_frame_if_no_cycle): Create / discard cleanup using
7163         remove_prev_frame.
7164
7165 2014-05-29  Pedro Alves  <[email protected]>
7166
7167         * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
7168         and make it const.  When a single-step decays to a continue,
7169         clear 'step', not 'hw_step'.  Pass whether the caller wanted
7170         to step to user_visible_resume_ptid, not what we ask the
7171         target to do.
7172
7173 2014-05-29  Pedro Alves  <[email protected]>
7174
7175         * infrun.c (process_event_stop_test, handle_step_into_function)
7176         (handle_step_into_function_backward): Adjust.
7177         Don't set the even thread's stop_step and call stop_waiting before
7178         calling end_stepping_range.  Instead do that ...
7179         (end_stepping_range): ... here.  Take an ecs pointer parameter.
7180
7181 2014-05-29  Pedro Alves  <[email protected]>
7182
7183         * infrun.c (stop_stepping): Rename to ...
7184         (stop_waiting): ... this.
7185         (proceed): Update comment.
7186         (process_event_stop_test, handle_inferior_event)
7187         (handle_signal_stop, handle_step_into_function)
7188         (handle_step_into_function_backward): Update.
7189
7190 2014-05-29  Pedro Alves  <[email protected]>
7191
7192         * infcall.c (run_inferior_call): Don't check whether the current
7193         thread is running after the proceed call.
7194
7195 2014-05-29  Pedro Alves  <[email protected]>
7196             Tom Tromey  <[email protected]>
7197
7198         * NEWS: Mention "maint set target-async", "set mi-async", and that
7199         background execution commands are now always available.
7200         * target.h (target_async_permitted): Update comment.
7201         * target.c (target_async_permitted, target_async_permitted_1):
7202         Default to 1.
7203         (set_target_async_command): Rename to ...
7204         (maint_set_target_async_command): ... this.
7205         (show_target_async_command): Rename to ...
7206         (maint_show_target_async_command): ... this.
7207         (_initialize_target): Adjust.
7208         * infcmd.c (prepare_execution_command): Make extern.
7209         * inferior.h (prepare_execution_command): Declare.
7210         * infrun.c (set_observer_mode): Leave target async alone.
7211         * mi/mi-interp.c (mi_interpreter_init): Install
7212         mi_on_sync_execution_done as sync_execution_done observer.
7213         (mi_on_sync_execution_done): New function.
7214         (mi_execute_command_input_handler): Don't print the prompt if we
7215         just started a synchronous command with an async target.
7216         (mi_on_resume): Check sync_execution before printing prompt.
7217         * mi/mi-main.h (mi_async_p): Declare.
7218         * mi/mi-main.c: Include gdbcmd.h.
7219         (mi_async_p): New function.
7220         (mi_async, mi_async_1): New globals.
7221         (set_mi_async_command, show_mi_async_command, mi_async): New
7222         functions.
7223         (exec_continue): Call prepare_execution_command.
7224         (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
7225         (mi_execute_async_cli_command): Use mi_async_p.
7226         (_initialize_mi_main): Install "set mi-async".  Make
7227         "target-async" a deprecated alias.
7228
7229 2014-05-29  Pedro Alves  <[email protected]>
7230
7231         * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
7232         (_initialize_cli_interp): Adjust.
7233         * event-loop.c: Include "observer.h".
7234         (start_event_loop): Notify 'command_error' observers instead of
7235         calling display_gdb_prompt.  Remove FIXME comment.
7236         * event-top.c (display_gdb_prompt): Remove call into the
7237         interpreters.
7238         * inf-loop.c: Include "observer.h".
7239         (inferior_event_handler): Notify 'command_error' observers instead
7240         of calling display_gdb_prompt.
7241         * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
7242         observers instead of calling display_gdb_prompt.
7243         * interps.c (interp_set): Don't call display_gdb_prompt.
7244         (current_interp_display_prompt_p): Delete.
7245         * interps.h (interp_prompt_p): Delete declaration.
7246         (interp_prompt_p_ftype): Delete.
7247         (struct interp_procs) <prompt_proc_p>: Delete field.
7248         (current_interp_display_prompt_p): Delete declaration.
7249         * mi-interp.c (mi_interpreter_prompt_p): Delete.
7250         (_initialize_mi_interp): Adjust.
7251         * tui-interp.c (tui_init): Install 'sync_execution_done' and
7252         'command_error' observers.
7253         (tui_on_sync_execution_done, tui_on_command_error): New
7254         functions.
7255         (tui_display_prompt_p): Delete.
7256         (_initialize_tui_interp): Adjust.
7257
7258 2014-05-29  Pedro Alves  <[email protected]>
7259
7260         PR gdb/13860
7261         * cli/cli-interp.c: Include infrun.h and observer.h.
7262         (cli_uiout, cli_interp): New globals.
7263         (cli_on_signal_received, cli_on_end_stepping_range)
7264         (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
7265         functions.
7266         (cli_interpreter_init): Install them as 'end_stepping_range',
7267         'signal_received' 'signal_exited', 'exited' and 'no_history'
7268         observers.
7269         (_initialize_cli_interp): Remove cli_interp local.
7270         * infrun.c (handle_inferior_event): Call the several stop reason
7271         observers instead of printing the stop reason directly.
7272         (end_stepping_range): New function.
7273         (print_end_stepping_range_reason, print_signal_exited_reason)
7274         (print_exited_reason, print_signal_received_reason)
7275         (print_no_history_reason): Make static, and add an uiout
7276         parameter.  Print to that instead of to CURRENT_UIOUT.
7277         * infrun.h (print_end_stepping_range_reason)
7278         (print_signal_exited_reason, print_exited_reason)
7279         (print_signal_received_reason print_no_history_reason): New
7280         declarations.
7281         * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
7282         'mi_uiout'.
7283         <cli_uiout>: New field.
7284         * mi/mi-interp.c (mi_interpreter_init): Adjust.  Create the new
7285         uiout for CLI output.  Install 'signal_received',
7286         'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
7287         observers.
7288         (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
7289         (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
7290         (mi_on_no_history): New functions.
7291         (ui_out_free_cleanup): Delete function.
7292         (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
7293         instead use the one already stored in the MI interpreter data.
7294         (mi_ui_out): Adjust.
7295         * tui/tui-interp.c: Include infrun.h and observer.h.
7296         (tui_interp): New global.
7297         (tui_on_signal_received, tui_on_end_stepping_range)
7298         (tui_on_signal_exited, tui_on_exited)
7299         (tui_on_no_history): New functions.
7300         (tui_init): Install them as 'end_stepping_range',
7301         'signal_received' 'signal_exited', 'exited' and 'no_history'
7302         observers.
7303         (_initialize_tui_interp): Delete tui_interp local.
7304
7305 2014-05-29  Pedro Alves  <[email protected]>
7306
7307         PR gdb/15713
7308         * linux-nat.c (linux_nat_resume_callback): Rename the second
7309         parameter to 'except'.  Skip LP if it points to EXCEPT.
7310         (linux_nat_resume): Don't mark the event lwp as not stopped
7311         before resuming sibling lwps.  Instead ask
7312         linux_nat_resume_callback to skip the event lwp.  Mark it as not
7313         stopped after actually resuming it.
7314         (linux_handle_syscall_trap): Mark the lwp as not stopped after
7315         resuming it.
7316         (wait_lwp): Mark the lwp as stopped here.
7317         (stop_wait_callback): Mark the lwp as not stopped right after
7318         resuming it.  Don't mark lwps as stopped here.
7319         (linux_nat_filter_event): Mark the lwp as stopped earlier.
7320         (linux_nat_wait_1): Don't mark dead lwps as stopped here.
7321
7322 2014-05-29  Pedro Alves  <[email protected]>
7323
7324         PR PR15693
7325         * infrun.c (resume): Determine how much to resume depending on
7326         whether the caller wanted a step, not whether we can hardware step
7327         the target.  Mark all threads that we intend to run as running,
7328         unless we're calling an inferior function.
7329         (normal_stop): If the thread is running an infcall, don't finish
7330         thread state.
7331         * target.c (target_resume): Don't mark threads as running here.
7332
7333 2014-05-28  Joel Brobecker  <[email protected]>
7334
7335         * serial.c (_initialize_serial): Remove support for
7336         the "set remotebaud" and "show remotebaud" commands.
7337         * NEWS: Add entry documenting the removal of that command.
7338
7339 2014-05-28  Yao Qi  <[email protected]>
7340
7341         * charset.c: Fix typo in comments.
7342
7343 2014-05-27  Gary Benson  <[email protected]>
7344
7345         * utils.c (internal_vproblem): Prompt for a bug report.
7346
7347 2014-05-26  Andy Wingo  <[email protected]>
7348
7349         * guile/scm-arch.c (arscm_mark_arch_smob):
7350         * guile/scm-block.c (bkscm_mark_block_smob)
7351         (bkscm_mark_block_syms_progress_smob):
7352         * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
7353         * guile/scm-exception.c (exscm_mark_exception_smob):
7354         * guile/scm-frame.c (frscm_mark_frame_smob):
7355         * guile/scm-iterator.c (itscm_mark_iterator_smob):
7356         * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
7357         * guile/scm-objfile.c (ofscm_mark_objfile_smob):
7358         * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
7359         (ppscm_mark_pretty_printer_worker_smob):
7360         * guile/scm-symbol.c (syscm_mark_symbol_smob):
7361         * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
7362         * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
7363         * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
7364         mark functions.
7365         * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
7366         function.
7367
7368 2014-05-26  Andy Wingo  <[email protected]>
7369             Doug Evans  <[email protected]>
7370
7371         * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
7372         empty_base_class.  All uses updated.
7373         (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
7374         (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
7375         Adapt all callers.
7376         * guile/scm-gsmob.c (gdbscm_mark_gsmob)
7377         (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
7378         (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
7379         (gdbscm_gsmob_has_property_p, add_property_name)
7380         (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
7381         * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
7382         (gdb-object-has-property?, gdb-object-properties): Remove.
7383         (gdb-object-kind): Renamed from gsmob-kind.
7384
7385 2014-05-26  Andy Wingo  <[email protected]>
7386
7387         * configure.ac (try_guile_versions): Allow building with guile 2.2.
7388         * configure: Regenerate.
7389
7390 2014-05-23  Markus Metzger  <[email protected]>
7391
7392         * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
7393
7394 2014-05-23  Markus Metzger  <[email protected]>
7395
7396         * record-btrace.c (record_btrace_allow_memory_access): Remove.
7397         (replay_memory_access_read_only, replay_memory_access_read_write)
7398         (replay_memory_access_types, replay_memory_access)
7399         (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
7400         (cmd_set_record_btrace, cmd_show_record_btrace)
7401         (cmd_show_replay_memory_access): New.
7402         (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
7403         (record_btrace_remove_breakpoint): Replace
7404         record_btrace_allow_memory_access with replay_memory_access.
7405         (_initialize_record_btrace): Add commands.
7406         * NEWS: Announce it.
7407
7408 2014-05-22  Ramana Radhakrishnan  <[email protected]>
7409
7410         * aarch64-linux-nat.c (asm/ptrace.h): Include.
7411
7412 2014-05-22  Ramana Radhakrishnan  <[email protected]>
7413
7414         * MAINTAINERS (Write After Approval): Move self back from
7415         paper trail.
7416
7417 2014-05-22  Pedro Alves  <[email protected]>
7418
7419         * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
7420         (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
7421         (disable_randomization, enum exec_direction_kind)
7422         (execution_direction, stop_registers, start_remote)
7423         (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
7424         (wait_for_inferior, normal_stop, get_last_target_status)
7425         (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
7426         (insert_step_resume_breakpoint_at_sal)
7427         (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
7428         (set_step_info, print_stop_event, signal_stop_state)
7429         (signal_print_state, signal_pass_state, signal_stop_update)
7430         (signal_print_update, signal_pass_update)
7431         (update_signals_program_target, clear_exit_convenience_vars)
7432         (displaced_step_dump_bytes, update_observer_mode)
7433         (signal_catch_update, gdb_signal_from_command): Move
7434         declarations ...
7435         * infrun.h: ... to this new file.
7436         * amd64-tdep.c: Include infrun.h.
7437         * annotate.c: Include infrun.h.
7438         * arch-utils.c: Include infrun.h.
7439         * arm-linux-tdep.c: Include infrun.h.
7440         * arm-tdep.c: Include infrun.h.
7441         * break-catch-sig.c: Include infrun.h.
7442         * breakpoint.c: Include infrun.h.
7443         * common/agent.c: Include infrun.h instead of inferior.h.
7444         * corelow.c: Include infrun.h.
7445         * event-top.c: Include infrun.h.
7446         * go32-nat.c: Include infrun.h.
7447         * i386-tdep.c: Include infrun.h.
7448         * inf-loop.c: Include infrun.h.
7449         * infcall.c: Include infrun.h.
7450         * infcmd.c: Include infrun.h.
7451         * infrun.c: Include infrun.h.
7452         * linux-fork.c: Include infrun.h.
7453         * linux-nat.c: Include infrun.h.
7454         * linux-thread-db.c: Include infrun.h.
7455         * monitor.c: Include infrun.h.
7456         * nto-tdep.c: Include infrun.h.
7457         * procfs.c: Include infrun.h.
7458         * record-btrace.c: Include infrun.h.
7459         * record-full.c: Include infrun.h.
7460         * remote-m32r-sdi.c: Include infrun.h.
7461         * remote-mips.c: Include infrun.h.
7462         * remote-notif.c: Include infrun.h.
7463         * remote-sim.c: Include infrun.h.
7464         * remote.c: Include infrun.h.
7465         * reverse.c: Include infrun.h.
7466         * rs6000-tdep.c: Include infrun.h.
7467         * s390-linux-tdep.c: Include infrun.h.
7468         * solib-irix.c: Include infrun.h.
7469         * solib-osf.c: Include infrun.h.
7470         * solib-svr4.c: Include infrun.h.
7471         * target.c: Include infrun.h.
7472         * top.c: Include infrun.h.
7473         * windows-nat.c: Include infrun.h.
7474         * mi/mi-interp.c: Include infrun.h.
7475         * mi/mi-main.c: Include infrun.h.
7476         * python/py-threadevent.c: Include infrun.h.
7477
7478 2014-05-22  Pedro Alves  <[email protected]>
7479
7480         * infrun.c (handle_inferior_event): Store the exit code for
7481         --return-child-result here, instead of ...
7482         (print_exited_reason): ... here.
7483
7484 2014-05-21  Pedro Alves  <[email protected]>
7485
7486         PR gdb/13860
7487         * gdbthread.h (struct thread_control_state): New field
7488         `command_interp'.
7489         * infrun.c (follow_fork): Copy the new thread control field to the
7490         child fork thread.
7491         (clear_proceed_status_thread): Clear the new thread control field.
7492         (proceed): Set the new thread control field.
7493         * interps.h (command_interp): Declare.
7494         * interps.c (command_interpreter): New global.
7495         (command_interp): New function.
7496         (interp_exec): Set `command_interpreter' while here.
7497         * cli-out.c (cli_uiout_dtor): New function.
7498         (cli_ui_out_impl): Install it.
7499         * mi/mi-interp.c: Include cli-out.h.
7500         (mi_cmd_interpreter_exec): Add comment.
7501         (restore_current_uiout_cleanup): New function.
7502         (ui_out_free_cleanup): New function.
7503         (mi_on_normal_stop): If finishing an execution command started by
7504         a CLI command, or any kind of breakpoint-like event triggered,
7505         print the stop event to the output (CLI) stream.
7506         * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
7507
7508 2014-05-21  Pedro Alves  <[email protected]>
7509
7510         * cli/cli-cmds.c (list_command): Handle the first "list" after the
7511         current source line having changed.
7512         * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
7513         * infrun.c (normal_stop): Adjust call to
7514         set_current_sal_from_frame.
7515         * source.c (clear_lines_listed_range): New function.
7516         (set_current_source_symtab_and_line, identify_source_line): Clear
7517         the lines listed range.
7518         (line_info): Handle the first "info line" after the current source
7519         line having changed.
7520         * stack.c (print_stack_frame): Remove center handling.
7521         (set_current_sal_from_frame): Remove 'center' parameter.  Don't
7522         center sal.line.
7523
7524 2014-05-21  Pedro Alves  <[email protected]>
7525
7526         * inf-child.c (inf_child_mourn_inferior): New function.
7527         * inf-child.h (inf_child_mourn_inferior): New declaration.
7528         * darwin-nat.c (darwin_mourn_inferior): Use
7529         inf_child_mourn_inferior.
7530         * gnu-nat.c (gnu_mourn_inferior): Likewise.
7531         * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
7532         * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
7533         * nto-procfs.c (procfs_mourn_inferior): Likewise.
7534         * windows-nat.c (windows_mourn_inferior): Likewise.
7535
7536 2014-05-21  Doug Evans  <[email protected]>
7537
7538         * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
7539
7540 2014-05-21  Doug Evans  <[email protected]>
7541
7542         * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
7543         (gdbscm_out_of_range_error): Ditto.
7544         (gdbscm_memory_error): Ditto.
7545         * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
7546         * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
7547         (gdbscm_out_of_range_error): Update.
7548         (gdbscm_memory_error): Update.
7549         (gdbscm_scm_to_target_string_unsafe): Delete.
7550
7551 2014-05-21  Pedro Alves  <[email protected]>
7552
7553         * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
7554         globals.
7555         (inf_child_open_target): New function.
7556         (inf_child_open): Use inf_child_open_target to push the target
7557         instead of erroring out.
7558         (inf_child_disconnect, inf_child_close)
7559         (inf_child_maybe_unpush_target): New functions.
7560         (inf_child_target): Install inf_child_disconnect and
7561         inf_child_close.  Store a pointer to the returned object.
7562         * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
7563         declarations.
7564         * target.c (auto_connect_native_target): New global.
7565         (show_default_run_target): New function.
7566         (find_default_run_target): Return NULL if automatically connecting
7567         to the native target is disabled.
7568         (_initialize_target): Install set/show auto-connect-native-target.
7569         * NEWS: Mention "set auto-connect-native-target", and "target
7570         native".
7571         * linux-nat.c (super_close): New global.
7572         (linux_nat_close): Call super_close.
7573         (linux_nat_add_target): Store a pointer to the base class's
7574         to_close method.
7575         * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
7576         inf_child_maybe_unpush.
7577         * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
7578         already pushed.
7579         (inf_ttrace_mourn_inferior): Only unpush the target after mourning
7580         the inferior.  Use inf_child_maybe_unpush_target.
7581         (inf_ttrace_attach): Don't push the target if it is already
7582         pushed.
7583         (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
7584         * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
7585         after mourning the inferior.  Use inf_child_maybe_unpush_target.
7586         (darwin_attach_pid): Don't push the target if it is already
7587         pushed.
7588         * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
7589         mourning the inferior.  Use inf_child_maybe_unpush_target.
7590         (gnu_detach): Use inf_child_maybe_unpush_target.
7591         * go32-nat.c (go32_create_inferior): Don't push the target if it
7592         is already pushed.
7593         (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
7594         * nto-procfs.c (procfs_is_nto_target): Adjust comment.
7595         (procfs_open): Rename to ...
7596         (procfs_open_1): ... this.  Add target_ops parameter.  Adjust
7597         comments.  Can target_preopen before changing node.  Call
7598         inf_child_open_target to push the target explicitly.
7599         (procfs_attach): Don't push the target if it is already pushed.
7600         (procfs_detach): Use inf_child_maybe_unpush_target.
7601         (procfs_create_inferior): Don't push the target if it is already
7602         pushed.
7603         (nto_native_ops): New global.
7604         (procfs_open): Reimplement.
7605         (procfs_native_open): New function.
7606         (init_procfs_targets): Install procfs_native_open as to_open of
7607         "target native".  Store a pointer to the "native" target in
7608         nto_native_ops.
7609         * procfs.c (procfs_attach): Don't push the target if it is already
7610         pushed.
7611         (procfs_detach): Use inf_child_maybe_unpush_target.
7612         (procfs_mourn_inferior): Only unpush the target after mourning the
7613         inferior.  Use inf_child_maybe_unpush_target.
7614         (procfs_init_inferior): Don't push the target if it is already
7615         pushed.
7616         * windows-nat.c (do_initial_windows_stuff): Don't push the target
7617         if it is already pushed.
7618
7619 2014-05-21  Pedro Alves  <[email protected]>
7620
7621         * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
7622         and "procfs" targets are now called "native" instead.
7623
7624 2014-05-21  Pedro Alves  <[email protected]>
7625
7626         * go32-nat.c (go32_open): Delete.
7627         (go32_target): Don't override the to_open method.
7628
7629 2014-05-21  Pedro Alves  <[email protected]>
7630
7631         * nto-procfs.c (procfs_can_run): New function.
7632         (nto_procfs_ops): New global.
7633         (init_procfs_targets): New, based on procfs_target.  Install
7634         "target native" in addition to "target procfs".
7635         (_initialize_procfs): Call init_procfs_targets instead of adding
7636         the target here.
7637
7638 2014-05-21  Pedro Alves  <[email protected]>
7639
7640         * windows-nat.c (windows_target): Don't override to_shortname,
7641         to_longname or to_doc.
7642
7643 2014-05-21  Pedro Alves  <[email protected]>
7644
7645         * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
7646         to_doc.
7647
7648 2014-05-21  Pedro Alves  <[email protected]>
7649
7650         * darwin-nat.c (_initialize_darwin_inferior): Don't override
7651         to_shortname, to_longname or to_doc.
7652
7653 2014-05-21  Pedro Alves  <[email protected]>
7654
7655         * go32-nat.c (go32_target): Don't override to_shortname,
7656         to_longname or to_doc.
7657
7658 2014-05-21  Pedro Alves  <[email protected]>
7659
7660         * inf-child.c (inf_child_open): Remove mention of "child".
7661         (inf_child_target): Rename target to "native" instead of "child".
7662
7663 2014-05-21  Andreas Arnez  <[email protected]>
7664
7665         * Makefile.in (SFILES): Delete "regset.c".
7666         (COMMON_OBS): Delete "regset.o".
7667         * regset.c: Remove.
7668         * regset.h (regset_alloc): Delete prototype.
7669
7670 2014-05-21  Andreas Arnez  <[email protected]>
7671
7672         * sparc-linux-tdep.c (sparc32_linux_gregset)
7673         (sparc32_linux_fpregset): New static regset structures.
7674         (sparc32_linux_init_abi): Drop dynamic regset allocations.
7675         * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
7676         'fpregset' fields.
7677         * sparc64-linux-tdep.c: (sparc64_linux_gregset)
7678         (sparc64_linux_fpregset): New static regset structures.
7679         (sparc64_linux_init_abi): Drop dynamic regset allocations.
7680         * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
7681         New static regset structures.
7682         (sparc64fbsd_init_abi): Drop dynamic regset allocations.
7683         * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
7684         New static regset structures.
7685         (sparc64nbsd_init_abi): Drop dynamic regset allocations.
7686         * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
7687         New static regset structures.
7688         (sparc64obsd_init_abi): Drop dynamic regset allocations.
7689         * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
7690         New static regset structures.
7691         (sparc32nbsd_init_abi): Drop dynamic regset allocations.
7692
7693 2014-05-21  Andreas Arnez  <[email protected]>
7694
7695         * sparc-linux-nat.c (supply_gregset, supply_fpregset)
7696         (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
7697         register maps ("regmaps") from "*regset" to "*regmap".  Do this
7698         for all regmap types and variables.
7699         * sparc-linux-tdep.c (sparc32_linux_step_trap)
7700         (sparc32_linux_supply_core_gregset)
7701         (sparc32_linux_collect_core_gregset)
7702         (sparc32_linux_supply_core_fpregset)
7703         (sparc32_linux_collect_core_fpregset): Likewise.
7704         * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
7705         (sparc_gregmap, sparc_fpregmap): ... these.
7706         (sparc_supply_gregset, sparc_collect_gregset)
7707         (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7708         (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
7709         (_initialize_sparc_nat): Rename regmaps.
7710         * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
7711         (sparc_gregmap, sparc_fpregmap): ... these.
7712         (sparc_supply_gregset, sparc_collect_gregset)
7713         (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7714         * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
7715         Rename macros to...
7716         (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
7717         (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
7718         Likewise.
7719         * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
7720         Rename to...
7721         (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
7722         * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
7723         (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
7724         regmaps.
7725         (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7726         (sparc32_bsd_fpregset): Rename to...
7727         (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7728         (sparc32_bsd_fpregmap): ... these.
7729         * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
7730         (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7731         (sparc32_bsd_fpregset, sparc32_sol2_gregset)
7732         (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
7733         (struct sparc_gregmap, struct sparc_fpregmap)
7734         (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7735         (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
7736         (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
7737         (sparc32_supply_regset, sparc32_collect_gregset)
7738         (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
7739         prototypes.
7740         * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
7741         (sparc64_linux_ptrace_gregmap): ... this.
7742         (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
7743         (_initialize_sparc64_linux_nat): Rename regmaps.
7744         * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
7745         (sparc64_linux_core_gregmap): ... this.
7746         (sparc64_linux_supply_core_gregset)
7747         (sparc64_linux_collect_core_gregset)
7748         (sparc64_linux_supply_core_fpregset)
7749         (sparc64_linux_collect_core_fpregset): Rename regmaps.
7750         * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
7751         (sparc64_sol2_fpregset): Rename to...
7752         (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
7753         * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
7754         (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
7755         regmaps.
7756         * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
7757         (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
7758         (sparc64_bsd_fpregset): Rename to...
7759         (struct sparc_gregmap, sparc64_sol2_gregmap)
7760         (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
7761         (sparc64_bsd_fpregmap): ... these.
7762         (sparc64_supply_gregset, sparc64_collect_gregset)
7763         (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
7764         prototypes.
7765         * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
7766         * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
7767         (sparc64fbsd_gregmap): ... this.
7768         (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
7769         (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
7770         Rename regmaps.
7771         * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
7772         (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
7773         (sparc64nbsd_collect_fpregset): Likewise.
7774         * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
7775         (sparc64nbsd_gregmap): ... this.
7776         (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
7777         regmaps.
7778         * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
7779         * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
7780         (sparc64obsd_gregmap): ... this.
7781         (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
7782         regmaps.
7783         * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
7784         * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
7785         (sparc32nbsd_gregmap): ... this.
7786         (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
7787         regmaps.
7788
7789 2014-05-21  Andreas Arnez  <[email protected]>
7790
7791         * score-tdep.c (score7_linux_gregset): New static regset
7792         structure.
7793         (score7_linux_regset_from_core_section): Remove dynamic regset
7794         allocation.
7795         (score_gdbarch_init): Drop allocation of tdep structure.
7796         * score-tdep.h (struct gdbarch_tdep): Remove declaration.
7797
7798 2014-05-21  Andreas Arnez  <[email protected]>
7799
7800         * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
7801         regset structures.
7802         (am33_regset_from_core_section): Remove dynamic regset
7803         allocations.
7804
7805 2014-05-21  Andreas Arnez  <[email protected]>
7806
7807         * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
7808         (mips_linux_fpregset, mips64_linux_fpregset): New static regset
7809         structures.
7810         (mips_linux_regset_from_core_section): Remove dynamic regset
7811         allocations.
7812         * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7813         'gregset64', 'fpregset', and 'fpregset64'.
7814         * mips-tdep.c (mips_gdbarch_init): Remove initialization of
7815         deleted tdep fields.
7816
7817 2014-05-21  Andreas Arnez  <[email protected]>
7818
7819         * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
7820         regset structures.
7821         (amd64_regset_from_core_section): Remove dynamic regset
7822         allocations.
7823         * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
7824         structure.
7825         (amd64obsd_regset_from_core_section): Remove dynamic regset
7826         allocation.
7827         * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
7828         Likewise.
7829         * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
7830         x86-common regset supply function.
7831         * i386-tdep.c (i386_collect_gregset): Make static.
7832         (i386_gregset): New global regset structure.
7833         (i386_fpregset, i386_xstateregset): New static regset structures.
7834         (i386_regset_from_core_section): Remove dynamic regset
7835         allocations.
7836         (i386_gdbarch_init): Remove initialization of tdep fields
7837         'gregset', 'fpregset', and 'xstateregset'.
7838         * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7839         'fpregset', and 'xstateregset'.
7840         (i386_collect_gregset): Remove prototype.
7841         (i386_gregset): New declaration.
7842         * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
7843         structure.
7844         (i386obsd_aout_regset_from_core_section): Remove dynamic regset
7845         allocation.
7846
7847 2014-05-21  Andreas Arnez  <[email protected]>
7848
7849         * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
7850         (arm_linux_vfpregset): New static regset structures.
7851         (arm_linux_regset_from_core_section): Remove dynamic allocation of
7852         regset structures.
7853         * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
7854         and 'vfpregset' fields.
7855
7856 2014-05-21  Andreas Arnez  <[email protected]>
7857
7858         * aarch64-linux-tdep.c (aarch64_linux_gregset)
7859         (aarch64_linux_fpregset): New static regset structures.
7860         (aarch64_linux_regset_from_core_section): Drop dynamic allocation
7861         of regset structures.
7862         * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
7863         'fpregset' fields.
7864
7865 2014-05-21  Andreas Arnez  <[email protected]>
7866
7867         * regset.h (struct regset): Remove gdbarch field.
7868         * regset.c (regset_alloc): Drop initialization of gdbarch field.
7869         * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7870         * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
7871         Likewise.
7872         * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
7873         (ppc32_linux_fpregset, ppc32_linux_vrregset)
7874         (ppc32_linux_vsxregset): Likewise.
7875         * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
7876         via the regcache instead of the regset.
7877         * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
7878         (i386_supply_fpregset, i386_collect_fpregset): Likewise.
7879         * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
7880         * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
7881         Likewise.
7882
7883 2014-05-21  Andreas Arnez  <[email protected]>
7884
7885         * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
7886         Constify structures.
7887         * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
7888         (alphanbsd_aout_gregset): Likewise.
7889         * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
7890         * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7891         Likewise.
7892         * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7893         * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7894         Likewise.
7895         * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7896         * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7897         * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7898         * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7899         * m88k-tdep.c (m88k_gregset): Likewise.
7900         * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7901         * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7902         * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7903         * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7904         * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7905         * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7906         * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7907         * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7908         * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7909         Likewise.
7910         * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7911         * sh-tdep.h (sh_corefile_gregset): Likewise.
7912         * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7913         * vax-tdep.c (vax_gregset): Likewise.
7914
7915 2014-05-21  Jan Kratochvil  <[email protected]>
7916
7917         Fix TLS access for -static -pthread.
7918         * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7919         (try_thread_db_load_1): Initialize it.
7920         (thread_db_get_thread_local_address): Call it if LM is zero.
7921         * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7922         * target.h (struct target_ops) (to_get_thread_local_address): Add
7923         load_module_addr comment.
7924
7925 2014-05-21  Pedro Alves  <[email protected]>
7926
7927         * dcache.c (dcache_read_memory_partial): If reading the cache line
7928         fails, fallback to reading just the memory the caller wanted.
7929
7930 2014-05-20  Doug Evans  <[email protected]>
7931
7932         * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7933         instead of get_current_arch.
7934
7935 2014-05-20  Pedro Alves  <[email protected]>
7936
7937         * NEWS: Mention that compare-sections now works with all targets.
7938
7939         * remote.c (PACKET_qCRC): New enum value.
7940         (remote_verify_memory): Don't send qCRC if the target has no
7941         execution.  Use packet_support/packet_ok.  If the target doesn't
7942         support the qCRC packet, fallback to a deep memory copy.
7943         (compare_sections_command): Say "target image" instead of "remote
7944         executable".
7945         (_initialize_remote): Add PACKET_qCRC to the list of config
7946         packets that have no associated command.  Extend comment.
7947         * target.c (simple_verify_memory, default_verify_memory): New
7948         function.
7949         * target.h (struct target_ops) <to_verify_memory>: Default to
7950         default_verify_memory.
7951         (simple_verify_memory): New declaration.
7952         * target-delegates.c: Regenerate.
7953
7954 2014-05-20  Markus Metzger  <[email protected]>
7955
7956         * record-btrace.c (record_btrace_step_thread): Check for empty history.
7957
7958 2014-05-20  Hui Zhu  <[email protected]>
7959             Yao Qi  <[email protected]>
7960
7961         PR backtrace/16558
7962         * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
7963         and change address of sp and pc.
7964
7965 2014-05-19  Tom Tromey  <[email protected]>
7966
7967         * gdbtypes.c (rank_function): Use XNEWVEC.
7968         * mi/mi-cmds.c (build_table): Use XCNEWVEC.
7969
7970 2014-05-19  Doug Evans  <[email protected]>
7971
7972         * dwarf2read.c (build_type_psymtabs_1): Renamed from
7973         build_type_unit_groups and moved closer to only caller.  Remove
7974         arguments.  All references updated.  Remove outdated .gdb_index
7975         comment.
7976         (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
7977         build_type_psymtabs_1.
7978
7979 2014-05-19  Doug Evans  <[email protected]>
7980
7981         * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
7982         n_type_unit_groups, all_type_unit_groups.  All uses removed.
7983         (get_type_unit_group, build_type_unit_groups): Delete forward decls.
7984         (dw2_get_cutu): Renamed from dw2_get_cu.  All callers updated.
7985         (dw2_get_cu): Renamed from dw2_get_primary_cu.  All callers updated.
7986         (add_type_unit_group_to_table): Delete.
7987
7988 2014-05-19  Doug Evans  <[email protected]>
7989
7990         * eval.c (evaluate_subexp_standard): Add some comments.
7991
7992 2014-05-17  Doug Evans  <[email protected]>
7993
7994         * progspace.c (remove_program_space): Delete, unused.
7995         * progspace.h (remove_program_space): Ditto.
7996
7997 2014-05-17  Doug Evans  <[email protected]>
7998
7999         * inferior.c (prune_inferiors): Fix comment.
8000         (remove_inferior_command): Call prune_program_spaces.
8001
8002 2014-05-16  Doug Evans  <[email protected]>
8003
8004         New command line option -D.
8005         * NEWS: Mention it.
8006         * main.c (set_gdb_data_directory): New function.
8007         (captured_main): Recognize -D.  Flag error for --data-directory "".
8008         Call set_gdb_data_directory.
8009         (print_gdb_help): Print --data-directory, -D.
8010         * main.h (set_gdb_data_directory): Declare.
8011         * top.c (staged_gdb_datadir): New static global.
8012         (set_gdb_datadir): Call set_gdb_data_directory
8013         (show_gdb_datadir): New function.
8014         (init_main): Update init of data-directory parameter.
8015
8016 2014-05-16  Gregory Fong  <[email protected]>
8017
8018         Import the "dirfd" gnulib module.
8019         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
8020         * gnulib/aclocal.m4: Update.
8021         * gnulib/config.in: Update.
8022         * gnulib/configure: Update.
8023         * gnulib/import/Makefile.am: Update.
8024         * gnulib/import/Makefile.in: Update.
8025         * gnulib/import/dirfd.c: New.
8026         * gnulib/import/m4/dirfd.m4: New.
8027         * gnulib/import/m4/gnulib-cache.m4: Update.
8028         * gnulib/import/m4/gnulib-comp.m4: Update.
8029
8030 2014-05-16  Pierre Muller  <[email protected]>
8031             Yao Qi  <[email protected]>
8032
8033         * valprint.c (print_wchar): Move the code on checking whether
8034         W is a printable wide char to the default branch of switch
8035         statement below.  Call wchar_printable instead of gdb_iswprint.
8036
8037 2014-05-16  Taimoor Mirza  <[email protected]>
8038
8039         * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
8040         ldr.w and ldrd instructions.
8041
8042 2014-05-15  Doug Evans  <[email protected]>
8043
8044         * dwarf2read.c (read_structure_type): Delete outdated comments.
8045
8046 2014-05-14  Tom Tromey  <[email protected]>
8047
8048         * macrocmd.c (print_macro_definition): Reindent.
8049
8050 2014-05-13  Doug Evans  <[email protected]>
8051
8052         * python/py-cmd.c (cmdpy_completer): Add comment.
8053         (completers): Make const.
8054
8055 2014-05-13  Simon Marchi  <[email protected]>
8056
8057         * infrun.c (resume): Remove should_resume (unused).  Move up
8058         declaration of resume_ptid.
8059
8060 2014-05-13  Tom Tromey  <[email protected]>
8061
8062         * language.h (unop_type_check): Remove.
8063         (binop_type_check): Don't declare.
8064
8065 2014-05-13  Andreas Arnez  <[email protected]>
8066
8067         * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
8068         call to regcache_raw_collect.
8069
8070 2014-05-12  Simon Marchi  <[email protected]>
8071
8072         * mi/mi-console.c (mi_console_raw_packet): Use the value from
8073         mi_console->quote as the quoting character.
8074
8075 2014-05-12  Simon Marchi  <[email protected]>
8076
8077         * MAINTAINERS (Write After Approval): Add "Simon Marchi".
8078
8079 2014-04-29  Tom Tromey  <[email protected]>
8080
8081         * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
8082         "show debug varobj".
8083
8084 2014-05-07  Kyle McMartin  <[email protected]>
8085
8086         Pushed by Joel Brobecker  <[email protected]>.
8087         * aarch64-tdep.c (aarch64_software_single_step): New function.
8088         (aarch64_gdbarch_init): Handle single stepping of atomic sequences
8089         with aarch64_software_single_step.
8090
8091 2014-05-05  Joel Brobecker  <[email protected]>
8092
8093         GDB 7.7.1 released.
8094
8095 2014-05-05  Keith Seitz  <[email protected]>
8096
8097         * linespec.c (linespec_parse_basic): Run cleanups if a convenience
8098         variable or history value is successfully parsed.
8099
8100 2014-05-05  Yao Qi  <[email protected]>
8101             Pedro Alves  <[email protected]>
8102
8103         * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
8104         address of blocks that intersects the requested range.  Trim
8105         LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
8106         sections.
8107         * ctf.c (ctf_xfer_partial): Likewise.
8108
8109 2014-05-05  Yao Qi  <[email protected]>
8110
8111         * printcmd.c (display_command): Remove the check to
8112         target_has_execution.
8113
8114 2014-05-03  Mark Kettenis  <[email protected]>
8115
8116         * ppcobsd-nat.c: Include "obsd-nat.h".
8117         (_initialize_ppcobsd_nat): Call obsd_add_target instead of
8118         add_target.
8119         * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
8120
8121 2014-05-02  Sergio Durigan Junior  <[email protected]>
8122
8123         * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
8124         and 16-bit signed and unsigned arguments.  Update comment.
8125         (stap_parse_probe_arguments): Extend code to handle such
8126         arguments.  Use warning instead of complaint to notify about
8127         unrecognized bitness.
8128
8129 2014-05-02  Sergio Durigan Junior  <[email protected]>
8130
8131         PR breakpoints/16889
8132         * stap-probe.c (stap_parse_probe_arguments): Simplify
8133         check for non-prefixed probes (i.e., probes whose
8134         arguments do not start with "N@").  Always set the
8135         argument type to a sane value.
8136
8137 2014-05-01  David Taylor  <[email protected]>
8138
8139         * remote.c (compare_sections_command): Add -r option to compare
8140         all loadable read-only sections.
8141
8142 2014-04-30  Siva Chandra Reddy  <[email protected]>
8143
8144         * dwarf2loc.c (dwarf2_locexpr_baton_eval,
8145         dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
8146         Update all callers.
8147         * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
8148         * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
8149         Remove unused CORE_ADDR argument.  Update all callers.
8150
8151 2014-04-29  Pedro Alves  <[email protected]>
8152
8153         * remote.c (struct packet_config) <detect>: Extend comment.
8154         (add_packet_config_cmd): Don't set the config's detect or support
8155         fields here.
8156         (init_all_packet_configs): Also initialize the config's 'detect'
8157         field.
8158         (reset_all_packet_configs_support): New function.
8159         (remote_open_1): Call reset_all_packet_configs_support instead of
8160         init_all_packet_configs.
8161         (_initialize_remote): Initialize all packet configs.  Assert that
8162         all packets have an associated command, except a few known
8163         outliers.
8164
8165 2014-04-28  Joel Brobecker  <[email protected]>
8166
8167         * dwarf2read.c (read_subrange_type): Handle dynamic
8168         DW_AT_lower_bound attributes.
8169
8170 2014-04-28  Joel Brobecker  <[email protected]>
8171
8172         * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
8173         dynamic bounds before computing its upper bound.
8174         (ada_discrete_type_low_bound): Same as above with the lower bound.
8175
8176 2014-04-28  Joel Brobecker  <[email protected]>
8177
8178         * dwarf2read.c (is_dynamic_type): Return true for dynamic
8179         range types.  Adjust the array handling implementation to
8180         take advantage of this change.
8181         (resolve_dynamic_range): New function, mostly extracted from
8182         resolve_dynamic_bounds.
8183         (resolve_dynamic_array): New function, mostly extracted from
8184         resolve_dynamic_bounds.
8185         (resolve_dynamic_bounds): Delete.
8186         (resolve_dynamic_type): Reimplement.  Add handling of
8187         TYPE_CODE_RANGE types.
8188
8189 2014-04-28  Joel Brobecker  <[email protected]>
8190
8191         * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
8192         handling of parallel ___XA types.
8193
8194 2014-04-28  Joel Brobecker  <[email protected]>
8195
8196         * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
8197         unnecessary second call to static_unwrap_type.
8198
8199 2014-04-27  Hui Zhu  <[email protected]>
8200
8201         * stack.c (print_frame_info): Call do_gdb_disassembly with
8202         DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
8203
8204 2014-04-26  Doug Evans  <[email protected]>
8205
8206         * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
8207
8208 2014-04-25  Pedro Alves  <[email protected]>
8209
8210         PR server/16255
8211         * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
8212         (linux_ptrace_attach_fail_reason): ... this.  Remove "warning: "
8213         and newline from built string.
8214         * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
8215         (linux_ptrace_attach_fail_reason): ... this.
8216         * linux-nat.c (linux_nat_attach): Adjust to use
8217         linux_ptrace_attach_fail_reason.
8218
8219 2014-04-25  Pedro Alves  <[email protected]>
8220
8221         * remote.c (struct remote_state): Remove multi_process_aware,
8222         non_stop_aware, cond_tracepoints, cond_breakpoints,
8223         breakpoint_commands, fast_tracepoints, static_tracepoints,
8224         install_in_trace, disconnected_tracing,
8225         enable_disable_tracepoints, string_tracing, and
8226         augmented_libraries_svr4_read fields.
8227         (remote_multi_process_p): Move further below in the file.
8228         (struct packet_config): Add comments.
8229         (update_packet_config): Delete function.
8230         (show_packet_config_cmd): Use packet_config_support.
8231         (add_packet_config_cmd): Use NULL as set callback.
8232         (packet_ok): "set remote foo-packet"-style commands no longer
8233         change config->supported -- adjust.
8234         (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
8235         (PACKET_BreakpointCommands, PACKET_FastTracepoints)
8236         (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
8237         (PACKET_QNonStop, PACKET_multiprocess_feature)
8238         (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
8239         (PACKET_DisconnectedTracing_feature)
8240         (PACKET_augmented_libraries_svr4_read_feature): New enum values.
8241         (set_remote_protocol_packet_cmd): Delete function.
8242         (packet_config_support, packet_support): New functions.
8243         (set_remote_protocol_Z_packet_cmd): Don't call
8244         update_packet_config.
8245         (remote_query_attached, remote_pass_signals)
8246         (remote_program_signals, remote_threads_info)
8247         (remote_threads_extra_info, remote_start_remote): Use
8248         packet_support.
8249         (remote_start_remote): Use packet_config_support and
8250         packet_support.
8251         (init_all_packet_configs): Set all packets to unknown support,
8252         instead of calling update_packet_config.
8253         (remote_check_symbols): Use packet_support.
8254         (remote_supported_packet): Unconditionally set the packet config's
8255         support status.
8256         (remote_multi_process_feature, remote_non_stop_feature)
8257         (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
8258         (remote_breakpoint_commands_feature)
8259         (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
8260         (remote_install_in_trace_feature)
8261         (remote_disconnected_tracing_feature)
8262         (remote_enable_disable_tracepoint_feature)
8263         (remote_string_tracing_feature)
8264         (remote_augmented_libraries_svr4_read_feature): Delete functions.
8265         (remote_protocol_features): Adjust to use remote_supported_packet
8266         for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
8267         "ConditionalTracepoints", "ConditionalBreakpoints",
8268         "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
8269         "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
8270         "EnableDisableTracepoints", and "tracenz".
8271         (remote_query_supported): Use packet_support.
8272         (remote_open_1): Adjust.
8273         (extended_remote_attach_1): Use packet_support.  Switch on the
8274         result of packet_ok instead of checking whether the packet ended
8275         up disabled.
8276         (remote_vcont_resume): Use packet_support.
8277         (remote_resume, remote_stop_ns, fetch_register_using_p)
8278         (remote_prepare_to_store, store_register_using_P)
8279         (check_binary_download, remote_write_bytes): Use packet_support.
8280         (remote_vkill): Use packet_support.  Switch on the result of
8281         packet_ok instead of checking whether the packet ended up
8282         disabled.
8283         (extended_remote_supports_disable_randomization): Use
8284         packet_support.
8285         (extended_remote_run): Switch on the result of packet_ok instead
8286         of checking whether the packet ended up disabled.
8287         (remote_insert_breakpoint, remote_remove_breakpoint)
8288         (remote_insert_watchpoint, remote_remove_watchpoint)
8289         (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
8290         packet_support.
8291         (remote_search_memory): Use packet_config_support.
8292         (remote_get_thread_local_address, remote_get_tib_address)
8293         (remote_hostio_send_command, remote_can_execute_reverse): Use
8294         packet_support.
8295         (remote_supports_cond_tracepoints)
8296         (remote_supports_cond_breakpoints)
8297         (remote_supports_fast_tracepoints)
8298         (remote_supports_static_tracepoints)
8299         (remote_supports_install_in_trace)
8300         (remote_supports_enable_disable_tracepoint)
8301         (remote_supports_string_tracing)
8302         (remote_can_run_breakpoint_commands): Rewrite, checking whether
8303         the packet config says the feature is enabled or disabled.
8304         (remote_download_tracepoint, remote_trace_set_readonly_regions)
8305         (remote_get_trace_status): Use packet_support.
8306         (remote_set_disconnected_tracing): Adjust to check whether the
8307         feature is enabled with packet_support.
8308         (remote_set_trace_buffer_size, remote_use_agent)
8309         (remote_can_use_agent, remote_supports_btrace): Use
8310         packet_support.
8311         (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
8312         Use packet_config_support.
8313         (remote_augmented_libraries_svr4_read): Rewrite, checking whether
8314         the packet config says the feature is enabled or disabled.
8315         (set_range_stepping): Use packet_support.
8316
8317 2014-04-25  Tom Tromey  <[email protected]>
8318
8319         * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
8320         argument.
8321
8322 2014-04-24  Sanimir Agovic  <[email protected]>
8323
8324         * NEWS: Mention support for C99 variable length arrays.
8325
8326 2014-04-24  Joel Brobecker  <[email protected]>
8327
8328         * ada-lang.c (standard_exc): Expand introductory comment.
8329
8330 2014-04-24  Michael Sturm  <[email protected]>
8331             Walfred Tedeschi  <[email protected]>
8332
8333         * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
8334         AVX512 registers.
8335         (amd64_linux_read_description): Add code to handle AVX512 xstate
8336         mask and return respective tdesc.
8337         * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
8338         and features/i386/x32-avx512-linux.c.
8339         (amd64_linux_gregset_reg_offset): Add AVX512 registers.
8340         (amd64_linux_core_read_description): Add code to handle AVX512
8341         xstate mask and return respective tdesc.
8342         (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
8343         * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
8344         calculation.
8345         (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
8346         (tdesc_amd64_avx512_linux): New prototype.
8347         (tdesc_x32_avx512_linux): Likewise.
8348         * amd64-tdep.c: Include features/i386/amd64-avx512.c and
8349         features/i386/x32-avx512.c.
8350         (amd64_ymm_avx512_names): New register names for pseudo
8351         registers YMM16-31.
8352         (amd64_ymmh_avx512_names): New register names for raw registers
8353         YMMH16-31.
8354         (amd64_k_names): New register names for K registers.
8355         (amd64_zmmh_names): New register names for ZMM raw registers.
8356         (amd64_zmm_names): New registers names for ZMM pseudo registers.
8357         (amd64_xmm_avx512_names): New register names for XMM16-31
8358         registers.
8359         (amd64_pseudo_register_name): Add code to return AVX512 pseudo
8360         registers.
8361         (amd64_init_abi): Add code to intitialize AVX512 tdep variables
8362         if feature is present.
8363         (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
8364         * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
8365         (AMD64_NUM_REGS): Adjust to new number of registers.
8366         * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
8367         registers supplied via XSTATE by AVX512 registers.
8368         (i386_linux_read_description): Add case for AVX512.
8369         * i386-linux-tdep.c: Include i386-avx512-linux.c.
8370         (i386_linux_gregset_reg_offset): Add AVX512 registers.
8371         (i386_linux_core_read_description): Add case for AVX512.
8372         (i386_linux_init_abi): Install supported register note section
8373         for AVX512.
8374         (_initialize_i386_linux_tdep): Add call to tdesc init function for
8375         AVX512.
8376         * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
8377         registers to be number of zmm7h + 1.
8378         (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
8379         * i386-tdep.c: Include features/i386/i386-avx512.c.
8380         (i386_zmm_names): Add ZMM pseudo register names array.
8381         (i386_zmmh_names): Add ZMM raw register names array.
8382         (i386_k_names): Add K raw register names array.
8383         (num_lower_zmm_regs): Add constant for the number of lower ZMM
8384         registers. AVX512 has 16 more ZMM registers than there are YMM
8385         registers.
8386         (i386_zmmh_regnum_p): Add function to look up register number of
8387         ZMM raw registers.
8388         (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
8389         (i386_k_regnum_p): Likewise for K raw registers.
8390         (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
8391         registers added by AVX512.
8392         (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
8393         registers added by AVX512.
8394         (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
8395         added by AVX512.
8396         (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
8397         (i386_pseudo_register_name): Add ZMM pseudo registers.
8398         (i386_zmm_type): Construct and return vector registers type for ZMM
8399         registers.
8400         (i386_pseudo_register_type): Return appropriate type for YMM16-31,
8401         ZMM0-31 pseudo registers and K registers.
8402         (i386_pseudo_register_read_into_value): Add code to read K, ZMM
8403         and YMM16-31 registers from register cache.
8404         (i386_pseudo_register_write): Add code to write  K, ZMM and
8405         YMM16-31 registers.
8406         (i386_register_reggroup_p): Add code to include/exclude AVX512
8407         registers in/from respective register groups.
8408         (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
8409         registers if feature is present in xcr0.
8410         (i386_gdbarch_init): Add code to initialize AVX512 feature
8411         variables in tdep structure, wire in pseudo registers and call
8412         initialize_tdesc_i386_avx512.
8413         * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
8414         variables.
8415         (i386_regnum): Add AVX512 registers.
8416         (I386_SSE_NUM_REGS): New define for number of SSE registers.
8417         (I386_AVX_NUM_REGS): Likewise for AVX registers.
8418         (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
8419         (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
8420         512 bits wide.
8421         (i386_xmm_avx512_regnum_p): New prototype for register look up.
8422         (i386_ymm_avx512_regnum_p): Likewise.
8423         (i386_k_regnum_p): Likewise.
8424         (i386_zmm_regnum_p): Likewise.
8425         (i386_zmmh_regnum_p): Likewise.
8426         * i387-tdep.c : Update year in copyright notice.
8427         (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
8428         XSAVE buffer.
8429         (XSAVE_YMM_AVX512_ADDR): New macro.
8430         (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
8431         XSAVE buffer.
8432         (XSAVE_XMM_AVX512_ADDR): New macro.
8433         (xsave_avx512_k_offset): New table for K register offsets in
8434         XSAVE buffer.
8435         (XSAVE_AVX512_K_ADDR): New macro.
8436         (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
8437         in XSAVE buffer.
8438         (XSAVE_AVX512_ZMM_H_ADDR): New macro.
8439         (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
8440         buffer.
8441         (i387_collect_xsave): Add code to collect AVX512 registers from
8442         XSAVE buffer.
8443         * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
8444         of XMM16-31 registers.
8445         (I387_NUM_K_REGS): New define for number of K registers.
8446         (I387_K0_REGNUM): New define for K0 register number.
8447         (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
8448         (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
8449         (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
8450         registers.
8451         (I387_YMM16H_REGNUM): New define for YMM16H register number.
8452         (I387_XMM16_REGNUM): New define for XMM16 register number.
8453         (I387_YMM0_REGNUM): New define for YMM0 register number.
8454         (I387_KEND_REGNUM): New define for last K register number.
8455         (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
8456         (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
8457         number.
8458         (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
8459         number.
8460         * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
8461         size.
8462         * features/Makefile: Add AVX512 related files.
8463         * features/i386/32bit-avx512.xml: New file.
8464         * features/i386/64bit-avx512.xml: Likewise.
8465         * features/i386/amd64-avx512-linux.c: Likewise.
8466         * features/i386/amd64-avx512-linux.xml: Likewise.
8467         * features/i386/amd64-avx512.c: Likewise.
8468         * features/i386/amd64-avx512.xml: Likewise.
8469         * features/i386/i386-avx512-linux.c: Likewise.
8470         * features/i386/i386-avx512-linux.xml: Likewise.
8471         * features/i386/i386-avx512.c: Likewise.
8472         * features/i386/i386-avx512.xml: Likewise.
8473         * features/i386/x32-avx512-linux.c: Likewise.
8474         * features/i386/x32-avx512-linux.xml: Likewise.
8475         * features/i386/x32-avx512.c: Likewise.
8476         * features/i386/x32-avx512.xml: Likewise.
8477         * regformats/i386/amd64-avx512-linux.dat: New file.
8478         * regformats/i386/amd64-avx512.dat: Likewise.
8479         * regformats/i386/i386-avx512-linux.dat: Likewise.
8480         * regformats/i386/i386-avx512.dat: Likewise.
8481         * regformats/i386/x32-avx512-linux.dat: Likewise.
8482         * regformats/i386/x32-avx512.dat: Likewise.
8483         * NEWS: Add note about new support for AVX512.
8484
8485
8486 2014-04-23  Pedro Alves  <[email protected]>
8487
8488         * breakpoint.c (insert_bp_location): Tolerate errors if the
8489         breakpoint is set in a user-loaded objfile.
8490         (remove_breakpoint_1): Likewise.  Also tolerate errors if the
8491         location is marked shlib_disabled.  If the breakpoint is set in a
8492         user-loaded objfile is a GDB-side memory breakpoint, validate it
8493         before uninsertion.  (disable_breakpoints_in_freed_objfile): Skip
8494         non-OBJF_USERLOADED objfiles.  Don't clear the location's inserted
8495         flag.
8496         * mem-break.c (memory_validate_breakpoint): New function.
8497         * objfiles.c (userloaded_objfile_contains_address_p): New
8498         function.
8499         * objfiles.h (userloaded_objfile_contains_address_p): Declare.
8500         * target.h (memory_validate_breakpoint): New declaration.
8501
8502 2014-04-23  Pedro Alves  <[email protected]>
8503
8504         * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
8505         the breakpoint is set in a shared library, only suppress
8506         errors for software breakpoints, not hardware breakpoints.
8507
8508 2014-04-22  Pedro Alves  <[email protected]>
8509
8510         * infrun.c (schedlock_applies): New function, factored out from
8511         find_thread_needs_step_over.
8512         (find_thread_needs_step_over): Use it.
8513         (switch_back_to_stepped_thread): Always clear trap_expected if the
8514         step over is finished.  Return early if scheduler locking applies.
8515         Look for the stepping thread and a potential step-over thread with
8516         a single loop.
8517         (currently_stepping_or_nexting_callback): Delete.
8518
8519 2014-04-22  Nick Clifton  <[email protected]>
8520
8521         * NEWS: Mention that ARM sim now supports tracing.
8522
8523 2014-04-22  Yao Qi  <[email protected]>
8524
8525         * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
8526         to ...
8527         * tracefile.c (tracefile_fetch_registers): ... it.  New
8528         function.
8529         * tracefile.h (tracefile_fetch_registers): Declare.
8530         * ctf.c (ctf_fetch_registers): Remove the bottom.  Call
8531         tracefile_fetch_registers.
8532
8533 2014-04-19  Eli Zaretskii  <[email protected]>
8534
8535         PR gdb/14018
8536         * windows-nat.c (thread_rec): Don't display a warning when
8537         SuspendThread fails with ERROR_ACCESS_DENIED.  If SuspendThread
8538         fails for any reason, set th->suspended to -1, so that we don't
8539         try to resume such a thread.  Also, don't return NULL in these
8540         cases, to avoid completely ruin the session due to "PC register is
8541         not available" error.
8542         (do_windows_fetch_inferior_registers): Check errors in
8543         GetThreadContext call.
8544         (windows_continue): Accept an additional argument KILLED; if not
8545         zero, ignore errors in the SetThreadContext call, since the
8546         inferior was killed and is shutting down.
8547         (windows_resume, get_windows_debug_event)
8548         (windows_create_inferior, windows_mourn_inferior)
8549         (windows_kill_inferior): All callers of windows_continue changed
8550         to adjust to its new calling sequence.
8551
8552 2014-04-19  Yao Qi  <[email protected]>
8553
8554         * ctf.c (ctf_open): Call post_create_inferior.
8555
8556 2014-04-19  Yao Qi  <[email protected]>
8557
8558         * ctf.c (handle_id): New static variable.
8559         (ctf_open_dir): Get handle_id from bt_context_add_trace return
8560         value.  Get the declaration of event "register" and get length
8561         of field "contents".
8562
8563 2014-04-19  Yao Qi  <[email protected]>
8564
8565         * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
8566
8567 2014-04-18  Siva Chandra Reddy  <[email protected]>
8568
8569         * valops.c (oload_method_static): Remove unnecessary argument
8570         METHOD.  Update all callers.
8571
8572 2014-04-18  Pedro alves  <[email protected]>
8573             Tom Tromey  <[email protected]>
8574
8575         PR backtrace/15558
8576         * frame.c (get_prev_frame_1): Rename to ...
8577         (get_prev_frame_always): ... this, and make extern.  Adjust.
8578         (skip_artificial_frames): Use get_prev_frame_always.
8579         (frame_unwind_caller_id, frame_pop, get_prev_frame)
8580         (get_frame_unwind_stop_reason): Adjust to rename.
8581         * frame.h (get_prev_frame_always): Declare.
8582         * inline-frame.c: Include frame.h.
8583         (inline_frame_this_id): Use get_prev_frame_always.
8584
8585 2014-04-18  Tristan Gingold  <[email protected]>
8586
8587         * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
8588         code by using bfd_mach_o_get_base_address.
8589
8590 2014-04-17  Ulrich Weigand  <[email protected]>
8591
8592         * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
8593         (spu_ax_pseudo_register_collect): New function.
8594         (spu_ax_pseudo_register_push_stack): Likewise.
8595         (spu_dwarf_reg_to_regnum): Likewise.
8596         (spu_gdbarch_init): Install them.  Append DWARF unwinders.
8597
8598 2014-04-17  Ulrich Weigand  <[email protected]>
8599
8600         * gdbarch.sh (value_from_register): Make class "m" instead of "f".
8601         Replace FRAME argument with FRAME_ID.
8602         * gdbarch.c, gdbarch.h: Regenerate.
8603         * findvar.c (default_value_from_register): Add GDBARCH argument;
8604         replace FRAME by FRAME_ID.  No longer call get_frame_id.
8605         (value_from_register): Update call to gdbarch_value_from_register.
8606         * value.h (default_value_from_register): Update prototype.
8607         * s390-linux-tdep.c (s390_value_from_register): Update interface
8608         and call to default_value_from_register.
8609         * spu-tdep.c (spu_value_from_register): Likewise.
8610
8611         * findvar.c (address_from_register): Remove TYPE argument.
8612         Do not call value_from_register; use gdbarch_value_from_register
8613         with null_frame_id instead.
8614         * value.h (address_from_register): Update prototype.
8615         * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
8616         * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
8617         address_from_register interface change.
8618
8619 2014-04-17  Yao Qi  <[email protected]>
8620
8621         * gdbtypes.h: Update comments to link to types and macros'
8622         definitions.
8623
8624 2014-04-16  Siva Chandra Reddy  <[email protected]>
8625
8626         * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
8627
8628 2014-04-16  Keith Seitz  <[email protected]>
8629
8630         PR gdb/15827
8631         * dwarf2read.c (skip_one_die): Check that all relative-offset
8632         sibling DIEs fall within range of the current reader's buffer.
8633         (read_partial_die): Likewise.
8634
8635 2014-04-16  Keith Seitz  <[email protected]>
8636
8637         PR c++/16597
8638         * cp-namespace.c (lookup_symbol_file): If the type name of
8639         `this' is NULL, return immediately.
8640
8641 2014-04-14  Keith Seitz  <[email protected]>
8642
8643         PR c++/16253
8644         * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
8645         from symbol_matches_domain in symtab.c. All local callers
8646         of symbol_matches_domain updated.
8647         (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
8648         search STRUCT_DOMAIN.
8649         (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
8650         independently.  standard_lookup will do that automatically.
8651         * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
8652         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8653         (cp_lookup_symbol_in_namespace): Likewise.
8654         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
8655         (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
8656         may return a STRUCT_DOMAIN match.
8657         (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
8658         * cp-support.c: Include language.h.
8659         (inspect_type): Explicitly search STRUCT_DOMAIN before searching
8660         VAR_DOMAIN.
8661         * psymtab.c (match_partial_symbol): Compare the requested
8662         domain with the symbol's domain directly.
8663         (lookup_partial_symbol): Likewise.
8664         * symtab.c (lookup_symbol_in_language): Explain when/why
8665         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8666         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
8667         appropriate languages.
8668         (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
8669         and moved to ada-lang.c
8670         (lookup_block_symbol): Explain that this function only returns
8671         symbol matching the requested DOMAIN.
8672         Compare the requested domain with the symbol's domain directly.
8673         (iterate_over_symbols): Compare the requested domain with the
8674         symbol's domain directly.
8675         * symtab.h (symbol_matches_domain): Remove.
8676
8677 2014-04-14  Tom Tromey  <[email protected]>
8678
8679         PR c++/15246:
8680         * c-exp.y (type_aggregate_p): New function.
8681         (qualified_name, classify_inner_name): Use it.
8682         * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
8683         and TYPE_TARGET_TYPE of an enum type.
8684         * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
8685         an enum type.
8686         (determine_prefix) <case DW_TAG_enumeration_type>: New case;
8687         handle TYPE_DECLARED_CLASS.
8688         * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
8689         types.
8690         * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
8691         * valops.c (enum_constant_from_type): New function.
8692         (value_aggregate_elt): Use it.
8693         * cp-namespace.c (cp_lookup_nested_symbol): Handle
8694         TYPE_CODE_ENUM.
8695
8696 2014-04-14  Tom Tromey  <[email protected]>
8697
8698         * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
8699         (value_namespace_elt, value_maybe_namespace_elt): Make "name"
8700         const.
8701         * value.h (value_aggregate_elt): Update.
8702
8703 2014-04-14  Tom Tromey  <[email protected]>
8704
8705         * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
8706
8707 2014-04-14  Sanimir Agovic  <[email protected]>
8708
8709         * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8710         (evaluate_subexp_standard): Pass noside argument.
8711         (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8712         if noside equals EVAL_NORMAL. If the subscript yields a vla type
8713         re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8714         * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8715         * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8716
8717 2014-04-14  Sanimir Agovic  <[email protected]>
8718
8719         * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8720         points to a constant blob.
8721
8722 2014-04-14  Sanimir Agovic  <[email protected]>
8723
8724         * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8725         property and store it as the high bound and flag the range accordingly.
8726         * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8727         RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8728         * gdbtypes.h (enum range_flags): New enum.
8729         (struct range_bounds): Add flags member.
8730
8731 2014-04-14  Sanimir Agovic  <[email protected]>
8732
8733         * c-typeprint.c (c_type_print_varspec_suffix): Added
8734         check for not yet resolved high bound. If unresolved, print
8735         "variable length" string to the console instead of random
8736         length.
8737
8738 2014-04-14  Sanimir Agovic  <[email protected]>
8739
8740         * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
8741         value.
8742         (ada_template_to_fixed_record_type_1): Likewise.
8743         (ada_to_fixed_type_1): Likewise.
8744         * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8745         (cp_print_value): Likewise.
8746         * d-valprint.c (dynamic_array_type): Likewise.
8747         * findvar.c (address_of_variable): Likewise.
8748         * jv-valprint.c (java_value_print): Likewise.
8749         * valops.c (value_ind): Likewise.
8750         * value.c (coerce_ref): Likewise.
8751
8752 2014-04-14  Sanimir Agovic  <[email protected]>
8753
8754         * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8755         value and retrieve the dynamic type size.
8756
8757 2014-04-14  Sanimir Agovic  <[email protected]>
8758
8759         * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8760         passed to sizeof is dynamic evaluate the argument to compute the length.
8761
8762 2014-04-14  Sanimir Agovic  <[email protected]>
8763             Joel Brobecker  <[email protected]>
8764
8765         * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8766         (dwarf2_evaluate_property): New function.
8767         * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8768         * dwarf2read.c (attr_to_dynamic_prop): New function.
8769         (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8770         attribute.
8771         * gdbtypes.c: Include dwarf2loc.h.
8772         (is_dynamic_type): New function.
8773         (resolve_dynamic_type): New function.
8774         (resolve_dynamic_bounds): New function.
8775         (get_type_length): New function.
8776         (check_typedef): Use get_type_length to compute type length.
8777         * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8778         (TYPE_LOW_BOUND_KIND): New macro.
8779         (is_dynamic_type): New function prototype.
8780         * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8781         to resolve dynamic properties of the type. Update comment.
8782         * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8783
8784 2014-04-14  Richard Henderson  <[email protected]>
8785
8786         * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
8787
8788 2014-04-12  Siva Chandra Reddy  <[email protected]>
8789             Doug Evans  <[email protected]>
8790
8791         * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
8792         dereference TYPE_CODE_REF values.
8793
8794 2014-04-11  Joel Brobecker  <[email protected]>
8795
8796         Revert the following changes due to regressions:
8797
8798         * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8799         (dwarf2_evaluate_property): New function.
8800         * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8801         * dwarf2read.c (attr_to_dynamic_prop): New function.
8802         (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8803         attribute.
8804         * gdbtypes.c: Include dwarf2loc.h.
8805         (is_dynamic_type): New function.
8806         (resolve_dynamic_type): New function.
8807         (resolve_dynamic_bounds): New function.
8808         (get_type_length): New function.
8809         (check_typedef): Use get_type_length to compute type length.
8810         * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8811         (TYPE_LOW_BOUND_KIND): New macro.
8812         (is_dynamic_type): New function prototype.
8813         * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8814         to resolve dynamic properties of the type. Update comment.
8815         * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8816
8817         * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8818         passed to sizeof is dynamic evaluate the argument to compute the length.
8819
8820         * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8821         value and retrieve the dynamic type size.
8822
8823         * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8824         (ada_template_to_fixed_record_type_1): Likewise.
8825         (ada_to_fixed_type_1): Likewise.
8826         * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8827         (cp_print_value): Likewise.
8828         * d-valprint.c (dynamic_array_type): Likewise.
8829         * eval.c (evaluate_subexp_with_coercion): Likewise.
8830         * findvar.c (address_of_variable): Likewise.
8831         * jv-valprint.c (java_value_print): Likewise.
8832         * valops.c (value_ind): Likewise.
8833         * value.c (coerce_ref): Likewise.
8834
8835         * c-typeprint.c (c_type_print_varspec_suffix): Added
8836         check for not yet resolved high bound. If unresolved, print
8837         "variable length" string to the console instead of random
8838         length.
8839
8840         * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8841         property and store it as the high bound and flag the range accordingly.
8842         * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8843         RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8844         * gdbtypes.h (enum range_flags): New enum.
8845         (struct range_bounds): Add flags member.
8846
8847         * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8848         points to a constant blob.
8849
8850         * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8851         (evaluate_subexp_standard): Pass noside argument.
8852         (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8853         if noside equals EVAL_NORMAL. If the subscript yields a vla type
8854         re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8855         * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8856         * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8857
8858 2014-04-11  Keith Seitz  <[email protected]>
8859
8860         PR c++/16675
8861         * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
8862         * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
8863         reference types.
8864
8865 2014-04-11  Sanimir Agovic  <[email protected]>
8866
8867         * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8868         (evaluate_subexp_standard): Pass noside argument.
8869         (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8870         if noside equals EVAL_NORMAL. If the subscript yields a vla type
8871         re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8872         * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8873         * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8874
8875 2014-04-11  Sanimir Agovic  <[email protected]>
8876
8877         * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8878         points to a constant blob.
8879
8880 2014-04-11  Sanimir Agovic  <[email protected]>
8881
8882         * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8883         property and store it as the high bound and flag the range accordingly.
8884         * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8885         RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8886         * gdbtypes.h (enum range_flags): New enum.
8887         (struct range_bounds): Add flags member.
8888
8889 2014-04-11  Sanimir Agovic  <[email protected]>
8890
8891         * c-typeprint.c (c_type_print_varspec_suffix): Added
8892         check for not yet resolved high bound. If unresolved, print
8893         "variable length" string to the console instead of random
8894         length.
8895
8896 2014-04-11  Sanimir Agovic  <[email protected]>
8897
8898         * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8899         (ada_template_to_fixed_record_type_1): Likewise.
8900         (ada_to_fixed_type_1): Likewise.
8901         * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8902         (cp_print_value): Likewise.
8903         * d-valprint.c (dynamic_array_type): Likewise.
8904         * eval.c (evaluate_subexp_with_coercion): Likewise.
8905         * findvar.c (address_of_variable): Likewise.
8906         * jv-valprint.c (java_value_print): Likewise.
8907         * valops.c (value_ind): Likewise.
8908         * value.c (coerce_ref): Likewise.
8909
8910 2014-04-11  Sanimir Agovic  <[email protected]>
8911
8912         * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8913         value and retrieve the dynamic type size.
8914
8915 2014-04-11  Sanimir Agovic  <[email protected]>
8916
8917         * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8918         passed to sizeof is dynamic evaluate the argument to compute the length.
8919
8920 2014-04-11  Sanimir Agovic  <[email protected]>
8921
8922         * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8923         (dwarf2_evaluate_property): New function.
8924         * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8925         * dwarf2read.c (attr_to_dynamic_prop): New function.
8926         (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8927         attribute.
8928         * gdbtypes.c: Include dwarf2loc.h.
8929         (is_dynamic_type): New function.
8930         (resolve_dynamic_type): New function.
8931         (resolve_dynamic_bounds): New function.
8932         (get_type_length): New function.
8933         (check_typedef): Use get_type_length to compute type length.
8934         * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8935         (TYPE_LOW_BOUND_KIND): New macro.
8936         (is_dynamic_type): New function prototype.
8937         * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8938         to resolve dynamic properties of the type. Update comment.
8939         * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8940
8941 2014-04-11  Sanimir Agovic  <[email protected]>
8942
8943         * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8944         declaring high/low bounds and change uses accordingly. Call
8945         create_range_type instead of create_static_range_type.
8946         * gdbtypes.c (create_range_type): New function.
8947         (create_range_type): Convert bounds into struct bound_prop and pass
8948         them to create_range_type.
8949         * gdbtypes.h (struct bound_prop): New struct.
8950         (create_range_type): New function prototype.
8951         (struct range_bounds): Use struct bound_prop instead of LONGEST for
8952         high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
8953         (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
8954         part of the bound.
8955         * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
8956
8957 2014-04-11  Sanimir Agovic  <[email protected]>
8958
8959         * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
8960         * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
8961         * ada-lang.c: All uses of create_range_type updated.
8962         * coffread.c: All uses of create_range_type updated.
8963         * dwarf2read.c: All uses of create_range_type updated.
8964         * f-exp.y: All uses of create_range_type updated.
8965         * m2-valprint.c: All uses of create_range_type updated.
8966         * mdebugread.c: All uses of create_range_type updated.
8967         * stabsread.c: All uses of create_range_type updated.
8968         * valops.c: All uses of create_range_type updated.
8969         * valprint.c: All uses of create_range_type updated.
8970
8971 2014-04-10  Pedro Alves  <[email protected]>
8972
8973         * breakpoint.c (single_step_breakpoints)
8974         (single_step_gdbarch): Move up in the file.
8975         (one_breakpoint_xfer_memory): New function, factored out from ...
8976         (breakpoint_xfer_memory): ... here.  Also process single-step
8977         breakpoints.
8978
8979 2014-04-09  Tristan Gingold  <[email protected]>
8980
8981         * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
8982         comments.
8983         (darwin_decode_exception_message): Free port only after use.
8984
8985 2014-04-08  Pierre Langlois  <[email protected]>
8986
8987         * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
8988         (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
8989         when setting the size of call_length.
8990
8991 2014-04-07  Siva Chandra Reddy  <[email protected]>
8992
8993         * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
8994         dereference TYPE_CODE_REF values.
8995
8996 2014-04-07  Joel Brobecker  <[email protected]>
8997
8998         * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
8999         end of warning message.
9000
9001 2014-04-03  Doug Evans  <[email protected]>
9002
9003         * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
9004         of stub_comp_unit_die, stub_comp_dir is non-NULL.
9005
9006 2014-04-02  Alan Modra  <[email protected]>
9007
9008         * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
9009         Pass to bfd_elf_bfd_from_remote_memory.  Adjust all callers.
9010         (struct symbol_file_add_from_memory_args): Add size field.
9011         (find_vdso_size): New function.
9012         (add_vsyscall_page): Attempt to find vdso size.
9013
9014 2014-04-01  Doug Evans  <[email protected]>
9015
9016         * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
9017
9018 2014-04-01  Tristan Gingold  <[email protected]>
9019
9020         * darwin-nat.c (darwin_encode_reply): Add prototype.
9021         (darwin_decode_exception_message): Reply to unknown inferiors.
9022         (darwin_decode_message): Handle message by id.  Ignore message
9023         to unknown inferior.
9024         (darwin_wait): Discard unknown messages, add debug trace.
9025
9026 2014-03-31  Doug Evans  <[email protected]>
9027
9028         * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
9029         comp_dir_string.
9030
9031 2014-03-31  Doug Evans  <[email protected]>
9032
9033         New option "set print symbol-loading".
9034         * NEWS: Mention it.
9035         * solib.c (solib_read_symbols): Only print symbol loading messages
9036         if requested.
9037         (solib_add): If symbol loading is in "brief" mode, notify user
9038         symbols are being loaded.
9039         (reload_shared_libraries_1): Ditto.
9040         * symfile.c (print_symbol_loading_off): New static global.
9041         (print_symbol_loading_brief): New static global.
9042         (print_symbol_loading_full): New static global.
9043         (print_symbol_loading_enums): New static global.
9044         (print_symbol_loading): New static global.
9045         (print_symbol_loading_p): New function.
9046         (symbol_file_add_with_addrs): Only print symbol loading messages
9047         if requested.
9048         (_initialize_symfile): Register "print symbol-loading" set/show
9049         command.
9050         * symfile.h (print_symbol_loading_p): Declare.
9051
9052 2014-03-30  Doug Evans  <[email protected]>
9053
9054         * infrun.c (set_last_target_status): New function.
9055         (handle_inferior_event): Call it.
9056
9057 2014-03-30  Doug Evans  <[email protected]>
9058
9059         * inferior.h (enum stop_kind): Improve comment.
9060
9061 2014-03-28  Joel Brobecker  <[email protected]>
9062
9063         * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
9064         a reference, strip the reference layer before calling
9065         the lang_ops value_has_mutated callback.
9066
9067 2014-03-27  Sergio Durigan Junior  <[email protected]>
9068
9069         Remove some globals from our parser.
9070         * language.c (unk_lang_parser): Add "struct parser_state"
9071         argument.
9072         * language.h (struct language_defn) <la_parser>: Likewise.
9073         * parse.c (expout, expout_size, expout_ptr): Remove variables.
9074         (initialize_expout): Add "struct parser_state" argument.
9075         Rewrite function to use the parser state.
9076         (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
9077         write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
9078         write_exp_elt_longcst, write_exp_elt_dblcst,
9079         write_exp_elt_decfloatcst, write_exp_elt_type,
9080         write_exp_elt_intern, write_exp_string, write_exp_string_vector,
9081         write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
9082         write_dollar_variable): Likewise.
9083         (parse_exp_in_context_1): Use parser state.
9084         (insert_type_address_space): Add "struct parser_state" argument.
9085         Use parser state.
9086         (increase_expout_size): New function.
9087         * parser-defs.h: Forward declare "struct language_defn" and
9088         "struct parser_state".
9089         (expout, expout_size, expout_ptr): Remove extern declarations.
9090         (parse_gdbarch, parse_language): Rewrite macro declarations to
9091         accept the parser state.
9092         (struct parser_state): New struct.
9093         (initialize_expout, reallocate_expout, write_exp_elt_opcode,
9094         write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
9095         write_exp_elt_decfloatcst, write_exp_elt_type,
9096         write_exp_elt_intern, write_exp_string, write_exp_string_vector,
9097         write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
9098         write_exp_msymbol, write_dollar_variable,
9099         mark_struct_expression, insert_type_address_space): Add "struct
9100         parser_state" argument.
9101         (increase_expout_size): New function.
9102         * utils.c (do_clear_parser_state): New function.
9103         (make_cleanup_clear_parser_state): Likewise.
9104         * utils.h (make_cleanup_clear_parser_state): New function
9105         prototype.
9106         * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
9107         Update calls to write_exp* in order to pass the parser state.
9108         * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
9109         * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
9110         (i386_stap_parse_special_token_three_arg_disp): Likewise.
9111         * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
9112         * stap-probe.c (stap_parse_register_operand): Likewise.
9113         (stap_parse_single_operand): Likewise.
9114         (stap_parse_argument_1): Likewise.
9115         (stap_parse_argument): Use parser state.
9116         * stap-probe.h: Include "parser-defs.h".
9117         (struct stap_parse_info) <pstate>: New field.
9118         * c-exp.y (parse_type): Rewrite to use parser state.
9119         (yyparse): Redefine to c_parse_internal.
9120         (pstate): New global variable.
9121         (parse_number): Add "struct parser_state" argument.
9122         (write_destructor_name): Likewise.
9123         (type_exp): Update calls to write_exp* and similars in order to
9124         use parser state.
9125         (exp1, exp, variable, qualified_name, space_identifier,
9126         typename, typebase): Likewise.
9127         (write_destructor_name, parse_number, lex_one_token,
9128         classify_name, classify_inner_name, c_parse): Add "struct
9129         parser_state" argument.  Update function to use parser state.
9130         * c-lang.h: Forward declare "struct parser_state".
9131         (c_parse): Add "struct parser_state" argument.
9132         * ada-exp.y (parse_type): Rewrite macro to use parser state.
9133         (yyparse): Redefine macro to ada_parse_internal.
9134         (pstate): New variable.
9135         (write_int, write_object_renaming, write_var_or_type,
9136         write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
9137         type_int, type_long, type_long_long, type_float, type_double,
9138         type_long_double, type_char, type_boolean, type_system_address):
9139         Add "struct parser_state" argument.
9140         (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
9141         or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
9142         var_or_type, aggregate, aggregate_component_list,
9143         positional_list, others, component_group,
9144         component_associations): Update calls to write_exp* and similar
9145         functions in order to use parser state.
9146         (ada_parse, write_var_from_sym, write_int,
9147         write_exp_op_with_string, write_object_renaming,
9148         find_primitive_type, write_selectors, write_ambiguous_var,
9149         write_var_or_type, write_name_assoc, type_int, type_long,
9150         type_long_long, type_float, type_double, type_long_double,
9151         type_char, type_boolean, type_system_address): Add "struct
9152         parser_state" argument.  Adjust function to use parser state.
9153         * ada-lang.c (parse): Likewise.
9154         * ada-lang.h: Forward declare "struct parser_state".
9155         (ada_parse): Add "struct parser_state" argument.
9156         * ada-lex.l (processInt, processReal): Likewise.  Adjust all
9157         calls to both functions.
9158         * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
9159         parser state.
9160         (yyparse): Redefine macro to f_parse_internal.
9161         (pstate): New variable.
9162         (parse_number): Add "struct parser_state" argument.
9163         (type_exp, exp, subrange, typebase): Update calls to write_exp*
9164         and similars in order to use parser state.
9165         (parse_number): Adjust code to use parser state.
9166         (yylex): Likewise.
9167         (f_parse): New function.
9168         * f-lang.h: Forward declare "struct parser_state".
9169         (f_parse): Add "struct parser_state" argument.
9170         * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
9171         parser state.
9172         (yyparse): Redefine macro for java_parse_internal.
9173         (pstate): New variable.
9174         (push_expression_name, push_expression_name, insert_exp): Add
9175         "struct parser_state" argument.
9176         (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
9177         FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
9178         FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
9179         PostIncrementExpression, PostDecrementExpression,
9180         UnaryExpression, PreIncrementExpression, PreDecrementExpression,
9181         UnaryExpressionNotPlusMinus, CastExpression,
9182         MultiplicativeExpression, AdditiveExpression, ShiftExpression,
9183         RelationalExpression, EqualityExpression, AndExpression,
9184         ExclusiveOrExpression, InclusiveOrExpression,
9185         ConditionalAndExpression, ConditionalOrExpression,
9186         ConditionalExpression, Assignment, LeftHandSide): Update
9187         calls to write_exp* and similars in order to use parser state.
9188         (parse_number): Ajust code to use parser state.
9189         (yylex): Likewise.
9190         (java_parse): New function.
9191         (push_variable): Add "struct parser_state" argument.  Adjust
9192         code to user parser state.
9193         (push_fieldnames, push_qualified_expression_name,
9194         push_expression_name, insert_exp): Likewise.
9195         * jv-lang.h: Forward declare "struct parser_state".
9196         (java_parse): Add "struct parser_state" argument.
9197         * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
9198         parser state.
9199         (yyparse): Redefine macro to m2_parse_internal.
9200         (pstate): New variable.
9201         (type_exp, exp, fblock, variable, type): Update calls to
9202         write_exp* and similars to use parser state.
9203         (yylex): Likewise.
9204         (m2_parse): New function.
9205         * m2-lang.h: Forward declare "struct parser_state".
9206         (m2_parse): Add "struct parser_state" argument.
9207         * objc-lang.c (end_msglist): Add "struct parser_state" argument.
9208         * objc-lang.h: Forward declare "struct parser_state".
9209         (end_msglist): Add "struct parser_state" argument.
9210         * p-exp.y (parse_type): Rewrite macro to use parser state.
9211         (yyparse): Redefine macro to pascal_parse_internal.
9212         (pstate): New variable.
9213         (parse_number): Add "struct parser_state" argument.
9214         (type_exp, exp1, exp, qualified_name, variable): Update calls to
9215         write_exp* and similars in order to use parser state.
9216         (parse_number, yylex): Adjust code to use parser state.
9217         (pascal_parse): New function.
9218         * p-lang.h: Forward declare "struct parser_state".
9219         (pascal_parse): Add "struct parser_state" argument.
9220         * go-exp.y (parse_type): Rewrite macro to use parser state.
9221         (yyparse): Redefine macro to go_parse_internal.
9222         (pstate): New variable.
9223         (parse_number): Add "struct parser_state" argument.
9224         (type_exp, exp1, exp, variable, type): Update calls to
9225         write_exp* and similars in order to use parser state.
9226         (parse_number, lex_one_token, classify_name, yylex): Adjust code
9227         to use parser state.
9228         (go_parse): Likewise.
9229         * go-lang.h: Forward declare "struct parser_state".
9230         (go_parse): Add "struct parser_state" argument.
9231
9232 2014-03-27  Doug Evans  <[email protected]>
9233
9234         * dwarf2read.c (read_str_index): Delete arg cu.  All callers updated.
9235
9236 2014-03-27  Doug Evans  <[email protected]>
9237
9238         * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
9239         Remove argument abbrev_section.  All callers updated.
9240
9241 2014-03-27  Doug Evans  <[email protected]>
9242
9243         * dwarf2read.c (struct dwarf2_cu): Improve comments for members
9244         addr_base, ranges_base.
9245
9246 2014-03-26  Keith Seitz  <[email protected]>
9247
9248         * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
9249         types, not VAR_DOMAIN.
9250
9251 2014-03-25  Sandra Loosemore  <[email protected]>
9252
9253         * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
9254         "ra" registers.
9255         * features/nios2-linux.c: Regenerated.
9256         * features/nios2.c: Regenerated.
9257
9258 2014-03-25  Pedro Alves  <[email protected]>
9259
9260         * cli/cli-script.c (script_from_file): Force the interpreter to
9261         sync mode.
9262
9263 2014-03-24  Pierre Langlois  <[email protected]>
9264
9265         * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
9266         small stack allocation.
9267
9268 2014-03-24  Tristan Gingold  <[email protected]>
9269
9270         * darwin-nat.c (exc_server): Remove unused prototype.
9271         (darwin_dump_message): Correctly display data on x86_64.
9272         (darwin_encode_reply): Fix style.
9273         Add comments and fix indentation.
9274
9275 2014-03-24  Pierre Langlois  <[email protected]>
9276
9277         * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
9278
9279 2014-03-22  Doug Evans  <[email protected]>
9280
9281         * infcmd.c: Whitespace fixes.
9282         (interrupt_command): Merge two function comments into one.
9283
9284 2014-03-22  Doug Evans  <[email protected]>
9285
9286         * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
9287         All uses updated.
9288
9289 2014-03-22  Yao Qi  <[email protected]>
9290
9291         * remote.c (target_read_live_memory): Remove.
9292         (memory_xfer_live_readonly_partial): Rename it to
9293         remote_xfer_live_readonly_partial.  Remove argument 'object'.
9294         All callers updated.  Call remote_read_bytes_1
9295         instead of target_read_live_memory.
9296         * tracepoint.c (set_traceframe_number): Remove.
9297         (make_cleanup_restore_traceframe_number): Likewise .
9298         * tracepoint.h (set_traceframe_number): Remove declaration.
9299         (make_cleanup_restore_traceframe_number): Likewise.
9300
9301 2014-03-22  Yao Qi  <[email protected]>
9302
9303         * remote.c (remote_read_bytes): Move code on reading from the
9304         remote stub to ...
9305         (remote_read_bytes_1): ... here.  New function.
9306
9307 2014-03-22  Yao Qi  <[email protected]>
9308
9309         * ctf.c (ctf_xfer_partial): Check the return value of
9310         exec_read_partial_read_only, if it is not TARGET_XFER_OK,
9311         return TARGET_XFER_UNAVAILABLE.
9312         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9313         * target.c (target_read_live_memory): Move it to remote.c.
9314         (memory_xfer_live_readonly_partial): Likewise.
9315         (memory_xfer_partial_1): Move some code to remote_read_bytes.
9316         * remote.c (target_read_live_memory): Moved from target.c.
9317         (memory_xfer_live_readonly_partial): Likewise.
9318         (remote_read_bytes): Factored out from
9319         memory_xfer_partial_1.
9320
9321 2014-03-21  Daniel Gutson  <[email protected]>
9322
9323         * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
9324         NULL pointer.
9325
9326 2014-03-21  Pedro Alves  <[email protected]>
9327
9328         * infrun.c (normal_stop): Extend comment.
9329
9330 2014-03-21  Hui Zhu  <[email protected]>
9331             Pedro Alves  <[email protected]>
9332
9333         * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
9334         static buffer.
9335         * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
9336         * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
9337         * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
9338
9339 2014-03-20  Maciej W. Rozycki  <[email protected]>
9340
9341         * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
9342         `z' formatted output modifier.
9343
9344 2014-03-20  Tom Tromey  <[email protected]>
9345             Sergio Durigan Junior  <[email protected]>
9346
9347         * probe.c (parse_probes): Turn assert into an ordinary error.
9348         * break-catch-throw.c (re_set_exception_catchpoint): Ignore
9349         exceptions when parsing probes.  Rearrange the code for clarity.
9350
9351 2014-03-20  Tom Tromey  <[email protected]>
9352
9353         PR gdb/14135
9354         * top.c (execute_command): Only dispatch events if the command
9355         started the target.
9356
9357 2014-03-20  Tom Tromey  <[email protected]>
9358
9359         PR cli/15718
9360         * infcall.c: Include event-top.h.
9361         (run_inferior_call): Call async_disable_stdin if needed.
9362
9363 2014-03-20  Pedro Alves  <[email protected]>
9364
9365         * infrun.c (prepare_to_proceed): Delete.
9366         (thread_still_needs_step_over): New function.
9367         (find_thread_needs_step_over): New function.
9368         (proceed): If the current thread needs a step-over, set its
9369         steping_over_breakpoint flag.  Adjust to use
9370         find_thread_needs_step_over instead of prepare_to_proceed.
9371         (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
9372         BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
9373         breakpoint.
9374         (switch_back_to_stepped_thread): Step over breakpoints of all
9375         threads not the stepping thread, before switching back to the
9376         stepping thread.
9377
9378 2014-03-20  Pedro Alves  <[email protected]>
9379
9380         * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
9381         extern.
9382         * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
9383         * infrun.c (saved_singlestep_ptid)
9384         (stepping_past_singlestep_breakpoint): Delete.
9385         (resume): Remove stepping_past_singlestep_breakpoint handling.
9386         (proceed): Store the prev_pc of the stepping thread too.
9387         (init_wait_for_inferior): Adjust.  Clear singlestep_ptid and
9388         singlestep_pc.
9389         (enum infwait_states): Delete infwait_thread_hop_state.
9390         (struct execution_control_state) <hit_singlestep_breakpoint>: New
9391         field.
9392         (handle_inferior_event): Adjust.
9393         (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
9394         handling and the thread-hop code.  Before removing single-step
9395         breakpoints, check whether the thread hit a single-step breakpoint
9396         of another thread.  If it did, the trap is not a random signal.
9397         (switch_back_to_stepped_thread): If the event thread hit a
9398         single-step breakpoint, unblock it before switching to the
9399         stepping thread.  Handle the case of the stepped thread having
9400         advanced already.
9401         (keep_going): Handle the case of the current thread moving past a
9402         single-step breakpoint.
9403
9404 2014-03-20  Pedro Alves  <[email protected]>
9405
9406         PR breakpoints/7143
9407         * breakpoint.c (should_be_inserted): Don't insert breakpoints that
9408         are being stepped over.
9409         (breakpoint_address_match): Make extern.
9410         * breakpoint.h (breakpoint_address_match): New declaration.
9411         * inferior.h (stepping_past_instruction_at): New declaration.
9412         * infrun.c (struct step_over_info): New type.
9413         (step_over_info): New global.
9414         (set_step_over_info, clear_step_over_info)
9415         (stepping_past_instruction_at): New functions.
9416         (handle_inferior_event): Clear the step-over info when
9417         trap_expected is cleared.
9418         (resume): Remove now stale comment.
9419         (clear_proceed_status): Clear step-over info.
9420         (proceed): Adjust step-over handling to set or clear the step-over
9421         info instead of removing all breakpoints.
9422         (handle_signal_stop): When setting up a thread-hop, don't remove
9423         breakpoints here.
9424         (stop_stepping): Clear step-over info.
9425         (keep_going): Adjust step-over handling to set or clear step-over
9426         info and then always inserting breakpoints, instead of removing
9427         all breakpoints when stepping over one.
9428
9429 2014-03-20  Pedro Alves  <[email protected]>
9430
9431         * infrun.c (previous_inferior_ptid): Adjust comment.
9432         (deferred_step_ptid): Delete.
9433         (infrun_thread_ptid_changed, prepare_to_proceed)
9434         (init_wait_for_inferior): Adjust.
9435         (handle_signal_stop): Delete deferred_step_ptid handling.
9436
9437 2014-03-18  Jan Kratochvil  <[email protected]>
9438
9439         PR gdb/15358
9440         * defs.h (sync_quit_force_run): New declaration.
9441         (QUIT): Check also SYNC_QUIT_FORCE_RUN.
9442         * event-top.c (async_sigterm_handler): New declaration.
9443         (async_sigterm_token): New variable.
9444         (async_init_signals): Create also async_sigterm_token.
9445         (async_sigterm_handler): New function.
9446         (sync_quit_force_run): New variable.
9447         (handle_sigterm): Replace quit_force call by other calls.
9448         * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
9449
9450 2014-03-18  Maciej W. Rozycki  <[email protected]>
9451
9452         * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
9453         offset into SPE pseudo registers.
9454
9455 2014-03-18  Pedro Alves  <[email protected]>
9456
9457         PR gdb/13860
9458         * inferior.h (print_stop_event): Declare.
9459         * infrun.c (print_stop_event): New, factored out from ...
9460         (normal_stop): ... this.
9461         * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
9462         of bpstat_print/print_stack_frame.
9463
9464 2014-03-17  Tom Tromey  <[email protected]>
9465
9466         * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
9467
9468 2014-03-17  Pierre-Marie de Rodat  <[email protected]>
9469
9470         * ada-lang.c (decode_constrained_packed_array): Perform a
9471         minimal coercion for reference with coerce_ref instead of
9472         ada_coerce_ref.
9473
9474 2014-03-17  Tristan Gingold  <[email protected]>
9475
9476         * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
9477         (darwin_solib_create_inferior_hook): Emit a warning if version
9478         is unhandled.
9479
9480 2014-03-16  Ulrich Weigand  <[email protected]>
9481
9482         * python/py-value.c (get_field_flag): Cast flag_name argument to
9483         PyObject_GetAttrString to support Python 2.4.
9484
9485 2014-03-14  Jan Kratochvil  <[email protected]>
9486
9487         * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
9488         (Global Maintainers): Remove Jan Kratochvil.
9489
9490 2014-03-14  Pedro Alves  <[email protected]>
9491
9492         * inferior.h (terminal_ours_for_output): Rename to ...
9493         (child_terminal_ours_for_output): ... this.
9494         (terminal_save_ours): Rename to ...
9495         (child_terminal_save_ours): ... this.
9496         (terminal_ours): Rename to ...
9497         (child_terminal_ours): ... this.
9498         (terminal_inferior): Rename to ...
9499         (child_terminal_inferior): ... this.
9500         (terminal_init_inferior): Rename to ...
9501         (child_terminal_init_inferior): ... this.
9502         (terminal_init_inferior_with_pgrp): Rename to ...
9503         (child_terminal_init_inferior_with_pgrp): ... this.
9504         * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
9505         (child_terminal_init_with_pgrp): ... this.
9506         (terminal_save_ours): Rename to ...
9507         (child_terminal_save_ours): ... this.
9508         (terminal_init_inferior): Rename to ...
9509         (child_terminal_init): ... this.  Adjust.
9510         (terminal_inferior): Rename to ...
9511         (child_terminal_inferior): ... this.
9512         (terminal_ours_for_output): Rename to ...
9513         (child_terminal_ours_for_output): ... this.  Adjust.
9514         (terminal_ours): Rename to ...
9515         (child_terminal_ours): ... this.
9516         (terminal_ours_1): Rename to ...
9517         (child_terminal_ours_1): ... this.  Adjust.
9518         * linux-nat.c (linux_nat_terminal_inferior): Adjust.
9519         * windows-nat.c (do_initial_windows_stuff): Adjust.
9520         * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
9521         (gnu_terminal_init): ... this.  Adjust.
9522         (gnu_target): Adjust.
9523         * inf-child.c (inf_child_target): Adjust.
9524
9525 2014-03-13  Doug Evans  <[email protected]>
9526
9527         PR guile/16612
9528         * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
9529         new eq?-hashtab.
9530
9531 2014-03-13  Doug Evans  <[email protected]>
9532
9533         * value.c (record_latest_value): Call release_value_or_incref
9534         instead of release_value.
9535
9536 2014-03-13  Pedro Alves  <[email protected]>
9537
9538         * procfs.c (procfs_target): Don't override to_shortname,
9539         to_longname or to_doc.
9540
9541 2014-03-13  Pedro Alves  <[email protected]>
9542
9543         * inf-child.c (inf_child_open, inf_child_target): Don't mention
9544         Unix in user visible strings.
9545
9546 2014-03-12  Stan Shebs  <[email protected]>
9547
9548         * gdbtypes.h: Annotate comments for Doxygen, add a page
9549         block comment with some general info.
9550
9551 2014-03-12  Pedro Alves  <[email protected]>
9552
9553         * infcmd.c (prepare_execution_command): New function, factored out
9554         from several execution commands.
9555         (run_command_1, continue_command, step_1, jump_command)
9556         (signal_command, until_command, advance_command, finish_command)
9557         (attach_command): Use prepare_execution_command.
9558
9559 2014-03-12  Omair Javaid  <[email protected]>
9560
9561         * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
9562         (MAX_BPTS): Define.
9563         (MAX_WPTS): Define.
9564         (struct arm_linux_thread_points): Removed.
9565         (struct arm_linux_process_info): New.
9566         (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
9567         (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
9568         (arm_linux_find_breakpoints_by_tid): Removed.
9569         (struct arch_lwp_info): New.
9570         (arm_linux_find_process_pid): New functions.
9571         (arm_linux_add_process): New functions.
9572         (arm_linux_process_info_get): New functions.
9573         (arm_linux_forget_process): New function.
9574         (arm_linux_get_debug_reg_state): New function.
9575         (struct update_registers_data): New.
9576         (update_registers_callback): New function.
9577         (arm_linux_insert_hw_breakpoint1): Updated.
9578         (arm_linux_remove_hw_breakpoint1): Updated.
9579         (arm_linux_insert_hw_breakpoint): Updated.
9580         (arm_linux_remove_hw_breakpoint): Updated.
9581         (arm_linux_insert_watchpoint): Updated.
9582         (arm_linux_remove_watchpoint): Updated.
9583         (arm_linux_new_thread): Updated.
9584         (arm_linux_prepare_to_resume): New function.
9585         (arm_linux_new_fork): New function.
9586         (_initialize_arm_linux_nat): Updated.
9587
9588 2014-03-12  Pedro Alves  <[email protected]>
9589
9590         * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
9591
9592 2014-03-12  Tom Tromey  <[email protected]>
9593
9594         * inf-child.c (return_zero): New function.
9595         (inf_child_target): Set to_can_async_p, to_supports_non_stop.
9596         * aix-thread.c (aix_thread_inferior_created): New function.
9597         (aix_thread_attach): Remove.
9598         (init_aix_thread_ops): Don't set to_attach.
9599         (_initialize_aix_thread): Register inferior_created observer.
9600         * corelow.c (init_core_ops): Don't set to_attach or
9601         to_create_inferior.
9602         * exec.c (init_exec_ops): Don't set to_attach or
9603         to_create_inferior.
9604         * infcmd.c (run_command_1): Use find_run_target.  Make direct
9605         target calls.
9606         (attach_command): Use find_attach_target.  Make direct target
9607         calls.
9608         * record-btrace.c (init_record_btrace_ops): Don't set
9609         to_create_inferior.
9610         * record-full.c (record_full_can_async_p, record_full_is_async_p):
9611         Remove.
9612         (init_record_full_ops, init_record_full_core_ops): Update.  Don't
9613         set to_create_inferior.
9614         * target.c (complete_target_initialization): Add assertion.
9615         (target_create_inferior): Remove.
9616         (find_default_attach, find_default_create_inferior): Remove.
9617         (find_attach_target, find_run_target): New functions.
9618         (find_default_is_async_p, find_default_can_async_p)
9619         (target_supports_non_stop, target_attach): Remove.
9620         (init_dummy_target): Don't set to_create_inferior or
9621         to_supports_non_stop.
9622         * target.h (struct target_ops) <to_attach>: Add comment.  Remove
9623         TARGET_DEFAULT_FUNC.
9624         <to_create_inferior>: Add comment.
9625         <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
9626         TARGET_DEFAULT_RETURN.
9627         <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
9628         (find_attach_target, find_run_target): Declare.
9629         (target_create_inferior): Remove.
9630         (target_has_execution_1): Update comment.
9631         (target_supports_non_stop): Remove.
9632         * target-delegates.c: Rebuild.
9633
9634 2014-03-12  Pedro Alves  <[email protected]>
9635
9636         * inf-child.h: Update comment to not mention Unix.
9637
9638 2014-03-12  Pedro Alves  <[email protected]>
9639
9640         * inf-child.c: Update top comment to not mention Unix.  Add
9641         generic comment describing how this target is meant to be used.
9642         (inf_child_post_attach, inf_child_post_startup_inferior)
9643         (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
9644         Unix in comment.
9645
9646 2014-03-12  Pedro Alves  <[email protected]>
9647
9648         * nto-procfs.c: Include inf-child.h.
9649         (procfs_ops): Delete global.
9650         (procfs_can_run): Delete method.
9651         (procfs_detach, procfs_mourn_inferior): Unpush the passed in
9652         target pointer instead of referencing procfs_ops.
9653         (procfs_prepare_to_store): Delete.
9654         (init_procfs_ops): Delete function.
9655         (procfs_target): New function, based on init_procfs_ops, but
9656         inherit inf_child_target.
9657         (_initialize_procfs): Use procfs_target.
9658
9659 2014-03-12  Pedro Alves  <[email protected]>
9660
9661         * windows-nat.c: Include inf-child.h.
9662         (windows_ops): Delete global.
9663         (windows_open, windows_prepare_to_store, windows_can_run): Delete
9664         methods.
9665         (init_windows_ops): Delete function.
9666         (windows_target): New function, based on init_windows_ops, but
9667         inherit inf_child_target.
9668         (_initialize_windows_nat): Use windows_target.  Install x86
9669         specific target methods here.
9670
9671 2014-03-10  Doug Evans  <[email protected]>
9672
9673         * guile/guile.c (call_initialize_gdb_module): New function.
9674         (initialize_guile): Replace call to scm_init_guile with call to
9675         scm_with_guile.
9676
9677 2014-03-10  Joel Brobecker  <[email protected]>
9678
9679         * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
9680         in call to TYPE_CODE macro.
9681
9682 2014-03-10  Jerome Guitton  <[email protected]>
9683
9684         * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
9685         Resolve tagged types to full view.
9686
9687 2014-03-10  Hui Zhu  <[email protected]>
9688
9689         * target.h (target_insert_breakpoint): Remove "hardware" from its
9690         comments.
9691
9692 2014-03-07  Doug Evans  <[email protected]>
9693
9694         * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
9695
9696 2014-03-07  Doug Evans  <[email protected]>
9697
9698         * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
9699         Remove unused local comp_dir_attr.  Assert exactly one of
9700         stub_comp_unit_die, stub_comp_dir is non-NULL.
9701
9702 2014-03-07  Joel Brobecker  <[email protected]>
9703
9704         * target.h (complete_target_initialization, add_target):
9705         Add comment.
9706
9707 2014-03-07  Pedro Alves  <[email protected]>
9708
9709         * go32-nat.c: Include inf-child.h.
9710         (go32_ops): Delete global.
9711         (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
9712         Delete methods.
9713         (go32_create_inferior): Push the passed in target pointer instead
9714         of referencing go32_ops.
9715         (init_go32_ops): Delete function.  Moved parts to _initialize_go32_nat.
9716         (go32_target): New function, based on init_go32_ops, but inherit
9717         inf_child_target.
9718         (_initialize_go32_nat): Use go32_target.  Move parts of
9719         init_go32_ops here.
9720
9721 2014-03-06  Joel Brobecker  <[email protected]>
9722
9723         * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
9724         (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
9725         SYMBOL_VALUE_ADDRESS.
9726         (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
9727
9728 2014-03-06  Yao Qi  <[email protected]>
9729
9730         * breakpoint.c (get_tracepoint_by_number): Remove argument
9731         optional_p.  All callers updated.  Adjust comments.  Update
9732         output message.
9733         * breakpoint.h (get_tracepoint_by_number): Update declaration.
9734
9735 2014-03-06  Yao Qi  <[email protected]>
9736
9737         * reverse.c (goto_bookmark_command): Add local 'p'.  Emit error
9738         early if get_number returns zero.  Use 'p' instead of 'args'.
9739
9740 2014-03-06  Yao Qi  <[email protected]>
9741
9742         * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
9743         message.
9744
9745 2014-03-06  Yao Qi  <[email protected]>
9746
9747         PR breakpoints/16508
9748         * tracepoint.c (check_trace_running): New function.
9749         (trace_find_command): Move code to check_trace_running and
9750         call check_trace_running.
9751         (trace_find_pc_command): Likewise.
9752         (trace_find_tracepoint_command): Likewise.
9753         (trace_find_line_command): Likewise.
9754         (trace_find_range_command): Likewise.
9755         * tracepoint.h (check_trace_running): Likewise.
9756         * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
9757
9758 2014-03-06  Yao Qi  <[email protected]>
9759
9760         * target.h (struct target_ops) <to_traceframe_info>: Use
9761         TARGET_DEFAULT_NORETURN (tcomplain ()).
9762         * target-delegates.c: Regenerated.
9763
9764 2014-03-05  Pedro Alves  <[email protected]>
9765
9766         PR gdb/16575
9767         * dcache.c (dcache_poke_byte): Constify ptr parameter.  Return
9768         void.  Update comment.
9769         (dcache_xfer_memory): Delete.
9770         (dcache_read_memory_partial): New, based on the read bits of
9771         dcache_xfer_memory.
9772         (dcache_update): Add status parameter.  Use ULONGEST for len, and
9773         adjust.  Discard cache lines if the reason for the update was
9774         error.
9775         * dcache.h (dcache_xfer_memory): Delete declaration.
9776         (dcache_read_memory_partial): New declaration.
9777         (dcache_update): Update prototype.
9778         * target.c (raw_memory_xfer_partial): Update the dcache here.
9779         (memory_xfer_partial_1): Don't handle dcache writes here.
9780
9781 2014-03-05  Mike Frysinger  <[email protected]>
9782
9783         * remote-sim.c (gdbsim_load): Add const to prog.
9784
9785 2014-03-03  Tom Tromey  <[email protected]>
9786
9787         * elfread.c (probe_key): Change to bfd_data.
9788         (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
9789         now per-BFD, not per-objfile.
9790         * stap-probe.c (stap_probe_destroy): Update comment.
9791         (handle_stap_probe): Allocate on the per-BFD obstack.
9792
9793 2014-03-03  Tom Tromey  <[email protected]>
9794
9795         * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
9796         * breakpoint.c (create_longjmp_master_breakpoint): Use
9797         get_probe_address.
9798         (add_location_to_breakpoint, bkpt_probe_insert_location)
9799         (bkpt_probe_remove_location): Update.
9800         * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
9801         * elfread.c (elf_symfile_relocate_probe): Remove.
9802         (elf_probe_fns): Update.
9803         (insert_exception_resume_breakpoint): Change type of "probe"
9804         parameter to bound_probe.
9805         (check_exception_resume): Update.
9806         * objfiles.c (objfile_relocate1): Don't relocate probes.
9807         * probe.c (bound_probe_s): New typedef.
9808         (parse_probes): Use get_probe_address.  Set sal's objfile.
9809         (find_probe_by_pc): Return a bound_probe.
9810         (collect_probes): Return a VEC(bound_probe_s).
9811         (compare_probes): Update.
9812         (gen_ui_out_table_header_info): Change type of "probes"
9813         parameter.  Update.
9814         (info_probes_for_ops): Update.
9815         (get_probe_address): New function.
9816         (probe_safe_evaluate_at_pc): Update.
9817         * probe.h (struct probe_ops) <get_probe_address>: New field.
9818         <set_semaphore, clear_semaphore>: Add objfile parameter.
9819         (struct probe) <objfile>: Remove field.
9820         <arch>: New field.
9821         <address>: Update comment.
9822         (struct bound_probe): New.
9823         (find_probe_by_pc): Return a bound_probe.
9824         (get_probe_address): Declare.
9825         * solib-svr4.c (struct probe_and_action) <address>: New field.
9826         (hash_probe_and_action, equal_probe_and_action): Update.
9827         (register_solib_event_probe): Add address parameter.
9828         (solib_event_probe_at): Update.
9829         (svr4_create_probe_breakpoints): Add objfile parameter.  Use
9830         get_probe_address.
9831         * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
9832         (stap_get_probe_address): New function.
9833         (stap_can_evaluate_probe_arguments, compute_probe_arg)
9834         (compile_probe_arg): Update.
9835         (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
9836         address.
9837         (handle_stap_probe): Don't relocate the probe.
9838         (stap_relocate): Remove.
9839         (stap_gen_info_probes_table_values): Update.
9840         (stap_probe_ops): Remove stap_relocate.
9841         * symfile-debug.c (debug_sym_relocate_probe): Remove.
9842         (debug_sym_probe_fns): Update.
9843         * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
9844         * symtab.c (init_sal): Use memset.
9845         * symtab.h (struct symtab_and_line) <objfile>: New field.
9846         * tracepoint.c (start_tracing, stop_tracing): Update.
9847
9848 2014-03-03  Tom Tromey  <[email protected]>
9849
9850         * probe.h (parse_probes, find_probe_by_pc)
9851         (find_probes_in_objfile): Fix comments.
9852
9853 2014-03-02  Doug Evans  <[email protected]>
9854
9855         * infrun.c (handle_signal_stop): Replace test for
9856         TARGET_WAITKIND_STOPPED with an assert.
9857
9858 2014-03-02  Doug Evans  <[email protected]>
9859
9860         * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
9861
9862 2014-03-02  Doug Evans  <[email protected]>
9863
9864         * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
9865
9866 2014-03-01  Mark Kettenis  <[email protected]>
9867
9868         * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
9869
9870 2014-03-01  Mark Kettenis  <[email protected]>
9871
9872         * i386obsd-nat.c: Include "obsd-nat.h".
9873         (_initialize_i386obsd_nat): Call obsd_add_target instead of
9874         add_target.
9875         * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
9876
9877 2014-03-01  Mark Kettenis  <[email protected]>
9878
9879         * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
9880
9881 2014-03-01  Mark Kettenis  <[email protected]>
9882
9883         * mips64obsd-nat.c: Include "obsd-nath".
9884         (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9885         add_target
9886         * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9887
9888 2014-03-01  Mark Kettenis  <[email protected]>
9889
9890         * amd64obsd-nat.c: Include "obsd-nat,h.
9891         (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9892         add_target.
9893         * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9894
9895 2014-02-28  Siva Chandra Reddy  <[email protected]>
9896
9897         * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9898         (find_overload_match): Update call to find_oload_champ.
9899         (find_oload_champ_namespace_loop): Likewise
9900
9901 2014-02-28  Mark Kettenis  <[email protected]>
9902
9903         * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9904
9905         * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9906         * config/sparc/obsd64.mh: New file.
9907         * sparc64obsd-nat.c: New file.
9908
9909         * obsd-nat.h: New file.
9910         * obsd-nat.c: New file.
9911         * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9912         (ALLDEPFILES): Add obsd-nat.c.
9913
9914 2014-02-28  Tom Tromey  <[email protected]>
9915
9916         * cli-out.c (cli_ui_out_impl): Now const.  Remove comment.
9917         * cli-out.h (cli_ui_out_impl): Now const.
9918         * mi/mi-out.c (mi_ui_out_impl): Now const.  Remove comment.
9919         * ui-out.c (struct ui_out) <impl>: Now const.
9920         (default_ui_out_impl): Now const.
9921         (ui_out_new): Make 'impl' parameter const.
9922         * ui-out.h (ui_out_new): Update.
9923
9924 2014-02-27  Mark Kettenis  <[email protected]>
9925
9926         * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9927
9928 2014-02-27  Mark Kettenis  <[email protected]>
9929
9930         * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9931
9932 2014-02-27  Jan Kratochvil  <[email protected]>
9933
9934         Additional PR 8882 fix.
9935         * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9936
9937 2014-02-27  Pedro Alves  <[email protected]>
9938
9939         * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9940         isn't set.
9941
9942 2014-02-27  Pedro Alves  <[email protected]>
9943
9944         PR 12702
9945         * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
9946         * nat/linux-waitpid.c: Include string.h.
9947         (status_to_str): Moved here and made extern.
9948         * nat/linux-waitpid.h (status_to_str): New declaration.
9949
9950 2014-02-27  Hui Zhu  <[email protected]>
9951
9952         PR 12702
9953         * infrun.c (ptid_match): Move ...
9954         * common/ptid.c (ptid_match): ... here.
9955         * inferior.h (ptid_match): Move ...
9956         * common/ptid.h (ptid_match): ... here.
9957
9958 2014-02-27  Mark Kettenis  <[email protected]>
9959
9960         * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
9961         * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
9962         gdb_target_obs.
9963
9964 2014-02-27  Mark Kettenis  <[email protected]>
9965
9966         * obsd-tdep.c (obsd_auxv_parse): New function.
9967         (obsd_init_abi): Set auxv_parse.
9968
9969         * gdbarch.sh (auxv_parse): New.
9970         * gdbarch.h: Regenerated.
9971         * gdbarch.c: Regenerated.
9972         * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
9973
9974 2014-02-26  Ludovic Courtès  <[email protected]>
9975
9976         * guile/scm-value.c (gdbscm_history_append_x): New function.
9977         (value_functions): Add it.
9978
9979 2014-02-27  Joel Brobecker  <[email protected]>
9980
9981         * dwarf2read.c (attr_value_as_address): New function.
9982         (dwarf2_find_base_address, read_call_site_scope): Use
9983         attr_value_as_address in place of DW_ADDR.
9984         (dwarf2_get_pc_bounds): Use attr_value_as_address to get
9985         the low and high addresses.  Slight rework of the handling
9986         of the high pc being a constant form, and limit it to
9987         DWARF verson 4 or higher.
9988         (dwarf2_record_block_ranges): Likewise.
9989         (read_partial_die): Likewise.
9990         (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
9991
9992 2014-02-26  Tom Tromey  <[email protected]>
9993
9994         * exec.c (exec_file_attach): Hold a reference to exec_bfd.
9995
9996 2014-02-26  Tom Tromey  <[email protected]>
9997
9998         * elfread.c (elf_read_minimal_symbols): Return early if
9999         minimal symbols have already been read.  Add "ei" parameter.
10000         (elf_symfile_read): Call elf_read_minimal_symbols earlier.
10001         * minsyms.c (prim_record_minimal_symbol_full): Update.
10002         * objfiles.h (struct objstats) <n_minsyms>: Move...
10003         (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
10004         * symmisc.c (print_objfile_statistics): Update.
10005
10006 2014-02-26  Tom Tromey  <[email protected]>
10007
10008         * elfread.c (elf_read_minimal_symbols): New function, from
10009         elf_symfile_read.
10010         (elf_symfile_read): Call it.
10011
10012 2014-02-26  Tom Tromey  <[email protected]>
10013
10014         * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
10015         (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
10016         (lookup_minimal_symbol_solib_trampoline)
10017         (lookup_minimal_symbol_by_pc_section_1)
10018         (lookup_minimal_symbol_and_objfile): Update.
10019         (prim_record_minimal_symbol_full): Use the per-BFD obstack.
10020         Don't allocate a minimal symbol if minsyms have already been read.
10021         (build_minimal_symbol_hash_tables): Update.
10022         (install_minimal_symbols): Do nothing if minsyms already read.
10023         Use the per-BFD obstack.
10024         (terminate_minimal_symbol_table): Use the per-BFD obstack.
10025         * objfiles.c (allocate_objfile): Call
10026         terminate_minimal_symbol_table later.
10027         (have_minimal_symbols): Update.
10028         * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
10029         minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
10030         Move from struct objfile.
10031         <minsyms_read>: New field.
10032         (struct objfile) <msymbols, minimal_symbol_count,
10033         msymbol_hash, msymbol_demangled_hash>: Move.
10034         (ALL_OBJFILE_MSYMBOLS): Update.
10035         * symfile.c (read_symbols): Set minsyms_read.
10036         (reread_symbols): Update.
10037         * symmisc.c (dump_objfile, dump_msymbols): Update.
10038
10039 2014-02-26  Tom Tromey  <[email protected]>
10040
10041         * minsyms.c (msymbols_sort): Remove.
10042         * minsyms.h (msymbols_sort): Remove.
10043         * objfiles.c (objfile_relocate1): Don't relocate minsyms.
10044         * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
10045         * elfread.c (elf_symtab_read): Don't add section offsets.
10046         * xcoffread.c (record_minimal_symbol): Don't add section offset
10047         to minimal symbol address.
10048         * somread.c (text_offset, data_offset): Remove.
10049         (som_symtab_read): Don't add section offsets to minimal symbol
10050         addresses.
10051         * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
10052         Don't add section offsets to minimal symbols.
10053         * coffread.c (coff_symtab_read): Don't add section offsets
10054         to minimal symbol addresses.
10055         * machoread.c (macho_symtab_add_minsym): Don't add section offset
10056         to minimal symbol addresses.
10057         * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
10058         section offset to minimal symbol addresses.
10059         * mdebugread.c (parse_partial_symbols): Don't add section
10060         offset to minimal symbol addresses.
10061         * dbxread.c (read_dbx_dynamic_symtab): Don't add section
10062         offset to minimal symbol addresses.
10063
10064 2014-02-26  Tom Tromey  <[email protected]>
10065
10066         * ada-lang.c (ada_main_name): Update.
10067         (ada_add_standard_exceptions): Update.
10068         * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
10069         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
10070         * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
10071         * auxv.c (ld_so_xfer_auxv): Update.
10072         * avr-tdep.c (avr_scan_prologue): Update.
10073         * ax-gdb.c (gen_var_ref): Update.
10074         * blockframe.c (get_pc_function_start)
10075         (find_pc_partial_function_gnu_ifunc): Update.
10076         * breakpoint.c (create_overlay_event_breakpoint)
10077         (create_longjmp_master_breakpoint)
10078         (create_std_terminate_master_breakpoint)
10079         (create_exception_master_breakpoint): Update.
10080         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
10081         * c-valprint.c (c_val_print): Update.
10082         * coff-pe-read.c (add_pe_forwarded_sym): Update.
10083         * common/agent.c (agent_look_up_symbols): Update.
10084         * dbxread.c (find_stab_function_addr, end_psymtab): Update.
10085         * dwarf2loc.c (call_site_to_target_addr): Update.
10086         * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
10087         * elfread.c (elf_gnu_ifunc_record_cache)
10088         (elf_gnu_ifunc_resolve_by_got): Update.
10089         * findvar.c (default_read_var_value): Update.
10090         * frame.c (inside_main_func): Update.
10091         * frv-tdep.c (frv_frame_this_id): Update.
10092         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
10093         * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
10094         Update.
10095         * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
10096         (hppa_hpux_find_dummy_bpaddr): Update.
10097         * hppa-tdep.c (hppa_symbol_address): Update.
10098         * infcmd.c (until_next_command): Update.
10099         * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
10100         Update.
10101         * linespec.c (minsym_found, add_minsym): Update.
10102         * linux-nat.c (get_signo): Update.
10103         * linux-thread-db.c (inferior_has_bug): Update.
10104         * m32c-tdep.c (m32c_return_value)
10105         (m32c_m16c_address_to_pointer): Update.
10106         * m32r-tdep.c (m32r_frame_this_id): Update.
10107         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
10108         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
10109         * maint.c (maintenance_translate_address): Update.
10110         * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
10111         (frob_address): New function.
10112         (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
10113         frob_address.  Rename parameter to "pc_in".
10114         (compare_minimal_symbols, compact_minimal_symbols): Use raw
10115         addresses.
10116         (find_solib_trampoline_target, minimal_symbol_upper_bound):
10117         Update.
10118         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
10119         * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
10120         * objc-lang.c (find_objc_msgsend): Update.
10121         * objfiles.c (objfile_relocate1): Update.
10122         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
10123         * p-valprint.c (pascal_val_print): Update.
10124         * parse.c (write_exp_msymbol): Update.
10125         * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
10126         (ppc_elfv2_skip_entrypoint): Update.
10127         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
10128         * printcmd.c (build_address_symbolic, msym_info)
10129         (address_info): Update.
10130         * proc-service.c (ps_pglobal_lookup): Update.
10131         * psymtab.c (find_pc_sect_psymtab_closer)
10132         (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
10133         Change msymbol parameter to bound_minimal_symbol.
10134         * ravenscar-thread.c (get_running_thread_id): Update.
10135         * remote.c (remote_check_symbols): Update.
10136         * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
10137         address.
10138         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
10139         * solib-dsbt.c (lm_base): Update.
10140         * solib-frv.c (lm_base, main_got): Update.
10141         * solib-irix.c (locate_base): Update.
10142         * solib-som.c (som_solib_create_inferior_hook)
10143         (link_map_start): Update.
10144         * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
10145         * solib-svr4.c (elf_locate_base, enable_break): Update.
10146         * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
10147         (flush_ea_cache): Update.
10148         * stabsread.c (define_symbol, scan_file_globals): Update.
10149         * stack.c (find_frame_funname): Update.
10150         * symfile-debug.c (debug_qf_expand_symtabs_matching)
10151         (debug_qf_find_pc_sect_symtab): Update.
10152         * symfile.c (simple_read_overlay_table)
10153         (simple_overlay_update): Update.
10154         * symfile.h (struct quick_symbol_functions)
10155         <find_pc_sect_symtab>: Change type of msymbol to
10156         bound_minimal_symbol.
10157         * symmisc.c (dump_msymbols): Update.
10158         * symtab.c (find_pc_sect_symtab_via_partial)
10159         (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
10160         (search_symbols, print_msymbol_info): Update.
10161         * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
10162         (MSYMBOL_VALUE_ADDRESS): Redefine.
10163         (BMSYMBOL_VALUE_ADDRESS): New macro.
10164         * tracepoint.c (scope_info): Update.
10165         * tui/tui-disasm.c (tui_find_disassembly_address)
10166         (tui_get_begin_asm_address): Update.
10167         * valops.c (find_function_in_inferior): Update.
10168         * value.c (value_static_field, value_fn_field): Update.
10169
10170 2014-02-26  Tom Tromey  <[email protected]>
10171
10172         * ada-lang.c (ada_update_initial_language): Update.
10173         (ada_main_name, ada_has_this_exception_support): Update.
10174         * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
10175         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
10176         * arm-tdep.c (arm_skip_stub): Update.
10177         * auxv.c (ld_so_xfer_auxv): Update.
10178         * avr-tdep.c (avr_scan_prologue): Update.
10179         * ax-gdb.c (gen_var_ref): Update.
10180         * breakpoint.c (struct breakpoint_objfile_data)
10181         <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
10182         type to bound_minimal_symbol.
10183         (create_overlay_event_breakpoint)
10184         (create_longjmp_master_breakpoint)
10185         (create_std_terminate_master_breakpoint)
10186         (create_exception_master_breakpoint): Update.
10187         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
10188         * c-exp.y (classify_name): Update.
10189         * coffread.c (coff_symfile_read): Update.
10190         * common/agent.c (agent_look_up_symbols): Update.
10191         * d-lang.c (d_main_name): Update.
10192         * dbxread.c (find_stab_function_addr, end_psymtab): Update.
10193         * dec-thread.c (enable_dec_thread): Update.
10194         * dwarf2loc.c (call_site_to_target_addr): Update.
10195         * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
10196         * eval.c (evaluate_subexp_standard): Update.
10197         * findvar.c (struct minsym_lookup_data) <result>: Change type
10198         to bound_minimal_symbol.
10199         <objfile>: Remove.
10200         (minsym_lookup_iterator_cb, default_read_var_value): Update.
10201         * frame.c (inside_main_func): Update.
10202         * frv-tdep.c (frv_frame_this_id): Update.
10203         * gcore.c (call_target_sbrk): Update.
10204         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
10205         * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
10206         Update.
10207         * go-lang.c (go_main_name): Update.
10208         * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
10209         (hppa_hpux_find_import_stub_for_addr): Update.
10210         * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
10211         Update.  Change return type.
10212         * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
10213         type.
10214         * jit.c (jit_breakpoint_re_set_internal): Update.
10215         * linux-fork.c (inferior_call_waitpid, checkpoint_command):
10216         Update.
10217         * linux-nat.c (get_signo): Update.
10218         * linux-thread-db.c (inferior_has_bug): Update
10219         * m32c-tdep.c (m32c_return_value)
10220         (m32c_m16c_address_to_pointer): Update.
10221         * m32r-tdep.c (m32r_frame_this_id): Update.
10222         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
10223         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
10224         * minsyms.c (lookup_minimal_symbol_internal): Rename to
10225         lookup_minimal_symbol.  Change return type.
10226         (lookup_minimal_symbol): Remove.
10227         (lookup_bound_minimal_symbol): Update.
10228         (lookup_minimal_symbol_text): Change return type.
10229         (lookup_minimal_symbol_solib_trampoline): Change return type.
10230         * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
10231         (lookup_minimal_symbol_solib_trampoline): Change return type.
10232         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
10233         * objc-lang.c (lookup_objc_class, lookup_child_selector)
10234         (value_nsstring, find_imps): Update.
10235         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
10236         * p-lang.c (pascal_main_name): Update.
10237         * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
10238         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
10239         * proc-service.c (ps_pglobal_lookup): Update.
10240         * ravenscar-thread.c (get_running_thread_msymbol): Change
10241         return type.
10242         (has_ravenscar_runtime, get_running_thread_id): Update.
10243         * remote.c (remote_check_symbols): Update.
10244         * sol-thread.c (ps_pglobal_lookup): Update.
10245         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
10246         * solib-dsbt.c (lm_base): Update.
10247         * solib-frv.c (lm_base, frv_relocate_section_addresses):
10248         Update.
10249         * solib-irix.c (locate_base): Update.
10250         * solib-som.c (som_solib_create_inferior_hook)
10251         (som_solib_desire_dynamic_linker_symbols, link_map_start):
10252         Update.
10253         * solib-spu.c (spu_enable_break): Update.
10254         * solib-svr4.c (elf_locate_base, enable_break): Update.
10255         * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
10256         (flush_ea_cache): Update.
10257         * stabsread.c (define_symbol): Update.
10258         * symfile.c (simple_read_overlay_table): Update.
10259         * symtab.c (find_pc_sect_line): Update.
10260         * tracepoint.c (scope_info): Update.
10261         * tui-disasm.c (tui_get_begin_asm_address): Update.
10262         * value.c (value_static_field): Update.
10263
10264 2014-02-26  Tom Tromey  <[email protected]>
10265
10266         * minsyms.c (prim_record_minimal_symbol_full): Use
10267         SET_MSYMBOL_VALUE_ADDRESS.
10268         * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
10269         * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
10270         SET_MSYMBOL_VALUE_ADDRESS.
10271         * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
10272         (SET_MSYMBOL_VALUE_ADDRESS): New macro.
10273
10274 2014-02-26  Tom Tromey  <[email protected]>
10275
10276         * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
10277         (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
10278         (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
10279         (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
10280         (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
10281         (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
10282         (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
10283         * ada-lang.c (ada_main_name): Update.
10284         (ada_lookup_simple_minsym): Update.
10285         (ada_make_symbol_completion_list): Update.
10286         (ada_add_standard_exceptions): Update.
10287         * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
10288         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
10289         * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
10290         * arm-tdep.c (skip_prologue_function): Update.
10291         (arm_skip_stack_protector, arm_skip_stub): Update.
10292         * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
10293         (arm_wince_skip_main_prologue): Update.
10294         * auxv.c (ld_so_xfer_auxv): Update.
10295         * avr-tdep.c (avr_scan_prologue): Update.
10296         * ax-gdb.c (gen_var_ref): Update.
10297         * block.c (call_site_for_pc): Update.
10298         * blockframe.c (get_pc_function_start): Update.
10299         (find_pc_partial_function_gnu_ifunc): Update.
10300         * breakpoint.c (create_overlay_event_breakpoint): Update.
10301         (create_longjmp_master_breakpoint): Update.
10302         (create_std_terminate_master_breakpoint): Update.
10303         (create_exception_master_breakpoint): Update.
10304         (resolve_sal_pc): Update.
10305         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
10306         * btrace.c (ftrace_print_function_name, ftrace_function_switched):
10307         Update.
10308         * c-valprint.c (c_val_print): Update.
10309         * coff-pe-read.c (add_pe_forwarded_sym): Update.
10310         * coffread.c (coff_symfile_read): Update.
10311         * common/agent.c (agent_look_up_symbols): Update.
10312         * dbxread.c (find_stab_function_addr): Update.
10313         (end_psymtab): Update.
10314         * dwarf2loc.c (call_site_to_target_addr): Update.
10315         (func_verify_no_selftailcall): Update.
10316         (tailcall_dump): Update.
10317         (call_site_find_chain_1): Update.
10318         (dwarf_expr_reg_to_entry_parameter): Update.
10319         * elfread.c (elf_gnu_ifunc_record_cache): Update.
10320         (elf_gnu_ifunc_resolve_by_got): Update.
10321         * f-valprint.c (info_common_command): Update.
10322         * findvar.c (read_var_value): Update.
10323         * frame.c (get_prev_frame_1): Update.
10324         (inside_main_func): Update.
10325         * frv-tdep.c (frv_skip_main_prologue): Update.
10326         (frv_frame_this_id): Update.
10327         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
10328         * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
10329         * gnu-v3-abi.c (gnuv3_rtti_type): Update.
10330         (gnuv3_skip_trampoline): Update.
10331         * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
10332         (hppa64_hpux_in_solib_call_trampoline): Update.
10333         (hppa_hpux_skip_trampoline_code): Update.
10334         (hppa64_hpux_search_dummy_call_sequence): Update.
10335         (hppa_hpux_find_import_stub_for_addr): Update.
10336         (hppa_hpux_find_dummy_bpaddr): Update.
10337         * hppa-tdep.c (hppa_symbol_address)
10338         (hppa_lookup_stub_minimal_symbol): Update.
10339         * i386-tdep.c (i386_skip_main_prologue): Update.
10340         (i386_pe_skip_trampoline_code): Update.
10341         * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
10342         * infcall.c (get_function_name): Update.
10343         * infcmd.c (until_next_command): Update.
10344         * jit.c (jit_breakpoint_re_set_internal): Update.
10345         (jit_inferior_init): Update.
10346         * linespec.c (minsym_found): Update.
10347         (add_minsym): Update.
10348         * linux-fork.c (info_checkpoints_command): Update.
10349         * linux-nat.c (get_signo): Update.
10350         * linux-thread-db.c (inferior_has_bug): Update.
10351         * m32c-tdep.c (m32c_return_value): Update.
10352         (m32c_m16c_address_to_pointer): Update.
10353         (m32c_m16c_pointer_to_address): Update.
10354         * m32r-tdep.c (m32r_frame_this_id): Update.
10355         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
10356         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
10357         * maint.c (maintenance_translate_address): Update.
10358         * minsyms.c (add_minsym_to_hash_table): Update.
10359         (add_minsym_to_demangled_hash_table): Update.
10360         (msymbol_objfile): Update.
10361         (lookup_minimal_symbol): Update.
10362         (iterate_over_minimal_symbols): Update.
10363         (lookup_minimal_symbol_text): Update.
10364         (lookup_minimal_symbol_by_pc_name): Update.
10365         (lookup_minimal_symbol_solib_trampoline): Update.
10366         (lookup_minimal_symbol_by_pc_section_1): Update.
10367         (lookup_minimal_symbol_and_objfile): Update.
10368         (prim_record_minimal_symbol_full): Update.
10369         (compare_minimal_symbols): Update.
10370         (compact_minimal_symbols): Update.
10371         (build_minimal_symbol_hash_tables): Update.
10372         (install_minimal_symbols): Update.
10373         (terminate_minimal_symbol_table): Update.
10374         (find_solib_trampoline_target): Update.
10375         (minimal_symbol_upper_bound): Update.
10376         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
10377         * mips-tdep.c (mips_stub_frame_sniffer): Update.
10378         (mips_skip_pic_trampoline_code): Update.
10379         * msp430-tdep.c (msp430_skip_trampoline_code): Update.
10380         * objc-lang.c (selectors_info): Update.
10381         (classes_info): Update.
10382         (find_methods): Update.
10383         (find_imps): Update.
10384         (find_objc_msgsend): Update.
10385         * objfiles.c (objfile_relocate1): Update.
10386         * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
10387         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
10388         * p-valprint.c (pascal_val_print): Update.
10389         * parse.c (write_exp_msymbol): Update.
10390         * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
10391         (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
10392         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
10393         * printcmd.c (build_address_symbolic): Update.
10394         (sym_info): Update.
10395         (address_info): Update.
10396         * proc-service.c (ps_pglobal_lookup): Update.
10397         * psymtab.c (find_pc_sect_psymtab_closer): Update.
10398         (find_pc_sect_psymtab): Update.
10399         * python/py-framefilter.c (py_print_frame): Update.
10400         * ravenscar-thread.c (get_running_thread_id): Update.
10401         * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
10402         Update.
10403         * remote.c (remote_check_symbols): Update.
10404         * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
10405         (rs6000_skip_trampoline_code): Update.
10406         * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
10407         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
10408         * solib-dsbt.c (lm_base): Update.
10409         * solib-frv.c (lm_base): Update.
10410         (main_got): Update.
10411         * solib-irix.c (locate_base): Update.
10412         * solib-som.c (som_solib_create_inferior_hook): Update.
10413         (som_solib_desire_dynamic_linker_symbols): Update.
10414         (link_map_start): Update.
10415         * solib-spu.c (spu_enable_break): Update.
10416         (ocl_enable_break): Update.
10417         * solib-svr4.c (elf_locate_base): Update.
10418         (enable_break): Update.
10419         * spu-tdep.c (spu_get_overlay_table): Update.
10420         (spu_catch_start): Update.
10421         (flush_ea_cache): Update.
10422         * stabsread.c (define_symbol): Update.
10423         (scan_file_globals): Update.
10424         * stack.c (find_frame_funname): Update.
10425         (frame_info): Update.
10426         * symfile.c (simple_read_overlay_table): Update.
10427         (simple_overlay_update): Update.
10428         * symmisc.c (dump_msymbols): Update.
10429         * symtab.c (fixup_section): Update.
10430         (find_pc_sect_line): Update.
10431         (skip_prologue_sal): Update.
10432         (search_symbols): Update.
10433         (print_msymbol_info): Update.
10434         (rbreak_command): Update.
10435         (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
10436         (completion_list_objc_symbol): Update.
10437         (default_make_symbol_completion_list_break_on): Update.
10438         * tracepoint.c (scope_info): Update.
10439         * tui/tui-disasm.c (tui_find_disassembly_address): Update.
10440         (tui_get_begin_asm_address): Update.
10441         * valops.c (find_function_in_inferior): Update.
10442         * value.c (value_static_field): Update.
10443         (value_fn_field): Update.
10444
10445 2014-02-26  Tom Tromey  <[email protected]>
10446
10447         * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
10448         bound minimal symbols.  Move code that knows about minsym
10449         table layout...
10450         * minsyms.c (minimal_symbol_upper_bound): ... here.  New
10451         function.
10452         * minsyms.h (minimal_symbol_upper_bound): Declare.
10453         * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
10454         minimal_symbol_upper_bound.
10455
10456 2014-02-27  Joel Brobecker  <[email protected]>
10457
10458         * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
10459         Use the type's name if its basic type does not have a tag.
10460
10461 2014-02-27  Joel Brobecker  <[email protected]>
10462
10463         * dwarf2read.c (read_subrange_type): Add comment.
10464
10465 2014-02-27  Joel Brobecker  <[email protected]>
10466
10467         * dwarf2read.c (update_enumeration_type_from_children): New
10468         function, mostly extracted from process_structure_scope.
10469         (read_enumeration_type): Call update_enumeration_type_from_children.
10470         (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
10471         and flag_flag_enum fields.
10472
10473 2014-02-26  Pedro Alves  <[email protected]>
10474
10475         * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
10476         (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
10477         to_xfer_partial method.
10478
10479 2014-02-26  Pedro Alves  <[email protected]>
10480
10481         * target.c (complete_target_initialization): Don't install
10482         default_xfer_partial as to_xfer_partial hook.
10483         (nomemory): Delete.
10484         (update_current_target): Don't INHERIT nor de_fault
10485         deprecated_xfer_memory.  Delete de_fault macro.
10486         (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
10487         (setup_target_debug): Don't install a deprecated_xfer_memory hook.
10488         * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
10489         field.
10490
10491 2014-02-26  Pedro Alves  <[email protected]>
10492
10493         * go32-nat.c (my_write_child): New function.
10494         (go32_xfer_memory): Rewrite as to_xfer_partial helper.
10495         (go32_xfer_partial): New function.
10496         (init_go32_ops): Don't install a deprecated_xfer_memory hook.
10497         Instead install a to_xfer_partial hook.
10498
10499 2014-02-26  Pedro Alves  <[email protected]>
10500
10501         * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
10502         to_xfer_partial helper.  Rewrite.
10503         (procfs_xfer_partial): New function.
10504         (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
10505         Install a to_xfer_partial hook.
10506
10507 2014-02-26  Pedro Alves  <[email protected]>
10508
10509         * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
10510         (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
10511         (m32r_xfer_partial): New function.
10512         (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
10513         Install a to_xfer_partial hook.
10514
10515 2014-02-26  Pedro Alves  <[email protected]>
10516
10517         * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
10518         helper.
10519         (mips_xfer_partial): New function.
10520         (_initialize_remote_mips): Don't install a deprecated_xfer_memory
10521         hook.  Install a to_xfer_partial hook.
10522
10523 2014-02-26  Joel Brobecker  <[email protected]>
10524
10525         * gdbtypes.h (create_array_type_with_stride): Add declaration.
10526         * gdbtypes.c (create_array_type_with_stride): New function,
10527         renaming create_array_type, but with an added parameter
10528         called "bit_stride".
10529         (create_array_type): Re-implement using
10530         create_array_type_with_stride.
10531         * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
10532         and DW_AT_bit_stride attributes.
10533
10534 2014-02-26  Pedro Alves  <[email protected]>
10535
10536         * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
10537         task-specific breakpoints.
10538
10539 2014-02-25  Pedro Alves  <[email protected]>
10540
10541         * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
10542         handling of object == TARGET_OBJECT_UNWIND_TABLE.
10543
10544 2014-02-25  Stan Shebs  <[email protected]>
10545
10546         * defs.h: Annotate comments for Doxygen.
10547
10548 2014-02-25  Tom Tromey  <[email protected]>
10549
10550         * target.h (target_ignore): Don't declare.
10551         * target.c (target_ignore): Remove.
10552
10553 2014-02-25  Jan Kratochvil  <[email protected]>
10554
10555         PR gdb/16626
10556         * auto-load.c (auto_load_objfile_script_1): Change filename to
10557         debugfile.
10558
10559 2014-02-25  Joel Brobecker  <[email protected]>
10560
10561         * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
10562         documentation.  Adjust prototype to match the target_ops
10563         to_xfer_partial method.  Adjust implementation accordingly.
10564
10565 2014-02-25  Hui Zhu  <[email protected]>
10566
10567         * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
10568         to_traceframe_info.
10569
10570 2014-02-25  Kevin Buettner  <[email protected]>
10571
10572         * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
10573         (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
10574         (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
10575         (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
10576         (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
10577         (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
10578         (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
10579         (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
10580         New constants.
10581         (rl78_register_type): Use a data pointer type for SP and
10582         new pseudo registers mentioned above.  Use a 16 bit integer
10583         type for all other register pairs.
10584         (rl78_register_name, rl78_g10_register_name): Update for
10585         new pseudo registers.
10586         (rl78_pseudo_register_read): Likewise.
10587         (rl78_pseudo_register_write): Likewise.
10588         (rl78_dwarf_reg_to_regnum): Return register numbers representing
10589         to the newly added pseudo registers.
10590
10591 2014-02-24  Doug Evans  <[email protected]>
10592
10593         * value.c (record_latest_value): Fix comment.
10594         * printcmd.c (print_command_1): Remove code to handle -1 return from
10595         record_latest_value.
10596
10597 2014-02-24  Pedro Alves  <[email protected]>
10598
10599         * procfs.c (procfs_target): Don't install procfs_xfer_memory as
10600         deprecated_xfer_memory hook.
10601         (procfs_xfer_partial): Call procfs_xfer_memory instead
10602         of the deprecated_xfer_memory target hook.
10603         (procfs_xfer_memory): Adjust interface as a to_xfer_partial
10604         helper.
10605
10606 2014-02-24  Yuanhui Zhang  <[email protected]>
10607
10608         * windows-nat.c (windows_xfer_shared_libraries): Return
10609         TARGET_XFER_EOF if LEN is zero to fix an assert failure when
10610         requested object is TARGET_OBJECT_LIBRARIES.
10611
10612 2014-02-24  Yao Qi  <[email protected]>
10613
10614         * target.h (enum target_xfer_status)
10615         <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
10616         <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
10617         explicitly.  New.
10618         * corefile.c (memory_error_message): User updated.
10619         * exec.c (section_table_read_available_memory): Likewise.
10620         * record-btrace.c (record_btrace_xfer_partial): Likewise.
10621         * target.c (target_xfer_status_to_string): Likewise.
10622         (raw_memory_xfer_partial): Likewise.
10623         (memory_xfer_partial_1, target_xfer_partial): Likewise.
10624         * valops.c (read_value_memory): Likewise.
10625         * exec.h: Update comments.
10626
10627 2014-02-24  Yao Qi  <[email protected]>
10628
10629         * target.c (target_xfer_status_to_string): Rename argument err
10630         to status.
10631         * target.h (target_xfer_status_to_string): Update declaration.
10632         Replace target_xfer_error_to_string with
10633         target_xfer_status_to_string in comment.
10634
10635 2014-02-24  Yao Qi  <[email protected]>
10636
10637         * mips-linux-nat.c (super_close): Update its type.
10638         (mips_linux_close): Pass 'self' to super_close.
10639
10640 2014-02-24  Yao Qi  <[email protected]>
10641
10642         * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
10643         * corefile.c (read_memory): Adjusted.
10644         * target.c (target_write_with_progress): Adjusted.
10645
10646 2014-02-23  Yao Qi  <[email protected]>
10647
10648         Revert two patches:
10649
10650         2013-10-25  Yao Qi  <[email protected]>
10651
10652         * remote.c (remote_traceframe_info): Return early if
10653         traceframe is not selected.
10654
10655         2013-07-19  Yao Qi  <[email protected]>
10656
10657         * target.c (update_current_target): Change the default action
10658         of 'to_traceframe_info' from tcomplain to return_zero.
10659         * target.h (struct target_ops) <to_traceframe_info>: Add more
10660         comments.
10661
10662 2014-02-23  Yao Qi  <[email protected]>
10663
10664         * valops.c (read_value_memory): Rewrite it.  Call
10665         target_xfer_partial in a loop.
10666         * exec.h (section_table_available_memory): Remove declaration.
10667         Move comments to ...
10668         * exec.c (section_table_available_memory): ... here.  Make it
10669         static.
10670
10671 2014-02-23  Yao Qi  <[email protected]>
10672
10673         * exec.c (section_table_read_available_memory): New function.
10674         * exec.h (section_table_read_available_memory): Declare.
10675         * ctf.c (ctf_xfer_partial): Call
10676         section_table_read_available_memory.
10677         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10678
10679 2014-02-23  Yao Qi  <[email protected]>
10680
10681         * ctf.c (ctf_xfer_partial): Move code to ...
10682         * exec.c (exec_read_partial_read_only): ... it.  New function.
10683         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10684         * tracefile.c: Include "exec.h".
10685         * exec.h (exec_read_partial_read_only): Declare.
10686
10687 2014-02-23  Yao Qi  <[email protected]>
10688
10689         * tracefile-tfile.c (tfile_has_all_memory): Remove.
10690         (tfile_has_memory): Remove.
10691         (init_tfile_ops): Don't set fields to_has_all_memory and
10692         to_has_memory of tfile_ops.
10693         * tracefile.c (tracefile_has_all_memory): New function.
10694         (tracefile_has_memory): New function.
10695         (init_tracefile_ops): Initialize fields to_has_all_memory and
10696         to_has_memory of 'ops'.
10697
10698 2014-02-23  Yao Qi  <[email protected]>
10699
10700         * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
10701         (ctf_thread_alive, ctf_get_trace_status): Remove.
10702         (init_ctf_ops): Don't set some fields of ctf_ops.  Call
10703         init_tracefile_ops.
10704         * tracefile-tfile.c (tfile_get_trace_status): Remove.
10705         (tfile_has_stack, tfile_has_registers): Remove.
10706         (tfile_thread_alive): Remove.
10707         (init_tfile_ops): Don't set some fields of tfile_ops.  Call
10708         init_tracefile_ops.
10709         * tracefile.c (tracefile_has_stack): New function.
10710         (tracefile_has_registers): New function.
10711         (tracefile_thread_alive): New function.
10712         (tracefile_get_trace_status): New function.
10713         (init_tracefile_ops): New function.
10714         * tracefile.h (init_tracefile_ops): Declare.
10715
10716 2014-02-23  Yao Qi  <[email protected]>
10717
10718         * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
10719         (O_LARGEFILE): Likewise.
10720         (tfile_ops): Likewise.
10721         (TRACE_HEADER_SIZE): Likewise.
10722         (trace_fd, trace_frames_offset, cur_offset): Likewise.
10723         (cur_data_size): Likewise.
10724         (tfile_read, tfile_open, tfile_interp_line): Likewise.
10725         (tfile_close, tfile_files_info): Likewise.
10726         (tfile_get_trace_status): Likewise.
10727         (tfile_get_tracepoint_status): Likewise.
10728         (tfile_get_traceframe_address): Likewise.
10729         (tfile_trace_find, match_blocktype): Likewise.
10730         (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
10731         (tfile_fetch_registers, tfile_xfer_partial): Likewise.
10732         (tfile_get_trace_state_variable_value): Likewise.
10733         (tfile_has_all_memory, tfile_has_memory): Likewise.
10734         (tfile_has_stack, tfile_has_registers): Likewise.
10735         (tfile_thread_alive, build_traceframe_info): Likewise.
10736         (tfile_traceframe_info, init_tfile_ops): Likewise.
10737         (_initialize_tracepoint): Don't call init_tfile_ops
10738         and add_target_with_completer.
10739         * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
10740         exec.h, completer.h and filenames.h.
10741         (_initialize_tracefile_tfile): New function.
10742
10743 2014-02-23  Yao Qi  <[email protected]>
10744
10745         * Makefile.in (REMOTE_OBS): Append tracefile.o and
10746         tracefile-tfile.o.
10747         (HFILES_NO_SRCDIR): Add tracefile.h.
10748         * ctf.c: Include "tracefile.h".
10749         * tracefile.h: New file.
10750         * tracefile.c: New file
10751         * tracefile-tfile.c: New file.
10752         * tracepoint.c: Include "tracefile.h".
10753         (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
10754         (stop_reason_names): Add const.
10755         (trace_file_writer_xfree): Move it to tracefile.c.
10756         (trace_save, trace_save_command, trace_save_tfile): Likewise.
10757         (trace_save_ctf): Likewise.
10758         (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
10759         (tfile_target_save, tfile_dtor, tfile_start): Likewise.
10760         (tfile_write_header, tfile_write_regblock_type): Likewise.
10761         (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
10762         (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
10763         (tfile_write_raw_data, tfile_end): Likewise.
10764         (tfile_trace_file_writer_new): Likewise.
10765         (free_uploaded_tp): Make it extern.
10766         (free_uploaded_tsv): Make it extern.
10767         (_initialize_tracepoint): Move code to register command 'tsave'
10768         to tracefile.c.
10769         * tracepoint.h (stop_reason_names): Declare.
10770         (struct trace_frame_write_ops): Move it to tracefile.h.
10771         (struct trace_file_write_ops): Likewise.
10772         (struct trace_file_writer): Likewise.
10773         (free_uploaded_tsvs, free_uploaded_tps): Declare.
10774
10775 2014-02-21  Jan Kratochvil  <[email protected]>
10776
10777         PR gdb/16594
10778         * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
10779         process name.
10780         (get_cores_used_by_process): New parameter num_cores, use it.
10781         (linux_xfer_osdata_processes): Pass num_cores to it.
10782         * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
10783         process name.
10784
10785 2014-02-21  Andreas Arnez  <[email protected]>
10786
10787         * target.c (memory_xfer_partial): Fix length arg in call to
10788         breakpoint_xfer_memory.
10789
10790 2014-02-20  Sergio Durigan Junior  <[email protected]>
10791
10792         PR tdep/16397
10793         * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
10794         number comes after the + or - signs.  Adjust length of register
10795         name to be extracted.
10796
10797 2014-02-20  Tom Tromey  <[email protected]>
10798
10799         * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
10800         (ada_varobj_ops): Mark "extern".
10801
10802 2014-02-20  Tom Tromey  <[email protected]>
10803
10804         * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
10805
10806 2014-02-20  Doug Evans  <[email protected]>
10807
10808         * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
10809         All callers updated.
10810         (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
10811         All callers updated.
10812         * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
10813         (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
10814
10815 2014-02-20  lin zuojian  <[email protected]>
10816             Joel Brobecker  <[email protected]>
10817             Doug Evans  <[email protected]>
10818
10819         PR symtab/16581
10820         * dwarf2read.c (struct die_info): New member in_process.
10821         (reset_die_in_process): New function.
10822         (process_die): Set it at the start, reset when returning.
10823         (inherit_abstract_dies): Only call process_die if origin_child_die
10824         not already being processed.
10825
10826 2014-02-20  Joel Brobecker  <[email protected]>
10827
10828         * windows-nat.c (handle_unload_dll): Add function documentation.
10829         (do_initial_windows_stuff): Add comment explaining why we wait
10830         until after inferior initialization has finished before
10831         processing all DLLs.
10832
10833 2014-02-20  Joel Brobecker  <[email protected]>
10834
10835         * windows-nat.c (get_module_name): Delete.
10836         (windows_get_exec_module_filename): New function, mostly
10837         inspired from get_module_name.
10838         (windows_pid_to_exec_file): Replace call to get_module_name
10839         by call to windows_get_exec_module_filename.
10840
10841 2014-02-20  Joel Brobecker  <[email protected]>
10842
10843         * windows-nat.c (handle_load_dll): Rewrite this function's
10844         introductory comment.  Remove code using get_module_name
10845         to get the DLL's name.
10846
10847 2014-02-20  Joel Brobecker  <[email protected]>
10848
10849         * windows-nat.c (get_windows_debug_event): Ignore
10850         LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
10851         if windows_initialization_done == 0.
10852         (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
10853         Adjust implementation to always load all DLLs.
10854         (do_initial_windows_stuff): Replace call to
10855         windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
10856
10857 2014-02-20  Joel Brobecker  <[email protected]>
10858
10859         * windows-nat.c (_initialize_windows_nat): Deprecate the
10860         "dll-symbols" command.  Turn the "add-shared-symbol-files"
10861         and "assf" aliases into commands, and deprecate them as well.
10862         * NEWS: Add entry explaining that "dll-symbols" and its two
10863         aliases are now deprecated.
10864
10865 2014-02-20  Joel Brobecker  <[email protected]>
10866
10867         * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
10868         new-line in debug string.  Remove trailing spaces.
10869
10870 2014-02-19  Stan Shebs  <[email protected]>
10871
10872         * darwin-nat.c (darwin_xfer_partial): Fix return type.
10873
10874 2014-02-19  Siva Chandra Reddy  <[email protected]>
10875
10876         * NEWS: Add entry for the new feature
10877         * python/py-value.c (valpy_binop): Call value_x_binop for struct
10878         and class values.
10879
10880 2014-02-19  Stan Shebs  <[email protected]>
10881
10882         * MAINTAINERS: List Yao Qi as nios2 maintainer.
10883
10884 2014-02-19  Pedro Alves  <[email protected]>
10885
10886         * common/ptid.h (struct ptid): Mention that process_stratum
10887         targets should prefer ptid.lwp.
10888
10889 2014-02-19  Pedro Alves  <[email protected]>
10890
10891         * remote.c (remote_thread_alive, write_ptid, read_ptid)
10892         (read_ptid, remote_newthread_step, remote_threads_extra_info)
10893         (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10894         (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10895         store remote thread ids rather than ptid.tid.
10896         (_initialize_remote): Adjust.
10897
10898 2014-02-19  Tom Tromey  <[email protected]>
10899
10900         * target.c (target_get_unwinder): Rewrite.
10901         (target_get_tailcall_unwinder): Rewrite.
10902         * record-btrace.c (record_btrace_to_get_unwinder): New function.
10903         (record_btrace_to_get_tailcall_unwinder): New function.
10904         (init_record_btrace_ops): Update.
10905         * target.h (struct target_ops) <to_get_unwinder,
10906         to_get_tailcall_unwinder>: Now function pointers.  Use
10907         TARGET_DEFAULT_RETURN.
10908
10909 2014-02-19  Tom Tromey  <[email protected]>
10910
10911         * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10912         argument.
10913         (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10914
10915 2014-02-19  Tom Tromey  <[email protected]>
10916
10917         * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10918         directly.
10919         * target-delegates.c: Rebuild.
10920         * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10921         TARGET_DEFAULT_FUNC.
10922         * target.c (default_target_decr_pc_after_break): Rename from
10923         forward_target_decr_pc_after_break.  Simplify.
10924         (target_decr_pc_after_break): Rely on delegation.
10925
10926 2014-02-19  Tom Tromey  <[email protected]>
10927
10928         * target.c (update_current_target): Do not INHERIT to_doc or
10929         to_magic.  Do not de_fault to_open or to_close.
10930
10931 2014-02-19  Tom Tromey  <[email protected]>
10932
10933         * gcore.h (objfile_find_memory_regions): Declare.
10934         * gcore.c (objfile_find_memory_regions): No longer static.  Add
10935         "self" argument.
10936         (_initialize_gcore): Don't call exec_set_find_memory_regions.
10937         * exec.c: Include gcore.h.
10938         (exec_set_find_memory_regions): Remove.
10939         (exec_find_memory_regions): Remove.
10940         (exec_do_find_memory_regions): Remove.
10941         (init_exec_ops): Update.
10942         * defs.h (exec_set_find_memory_regions): Remove.
10943
10944 2014-02-19  Tom Tromey  <[email protected]>
10945
10946         * target-delegates.c: Rebuild.
10947         * target.h (struct target_ops) <to_extra_thread_info,
10948         to_thread_name, to_pid_to_exec_file, to_get_section_table,
10949         to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
10950         not 0, in TARGET_DEFAULT_RETURN.
10951
10952 2014-02-19  Tom Tromey  <[email protected]>
10953
10954         * target.c (complete_target_initialization): Remove casts.  Use
10955         return_zero_has_execution.
10956         (return_zero): Add "ignore" argument.
10957         (return_zero_has_execution): New function.
10958         (init_dummy_target): Remove casts.  Use
10959         return_zero_has_execution.
10960
10961 2014-02-19  Tom Tromey  <[email protected]>
10962
10963         * target.c (update_current_target): Update comments.  Do not
10964         INHERIT to_stratum.
10965
10966 2014-02-19  Tom Tromey  <[email protected]>
10967
10968         * arm-linux-nat.c (arm_linux_read_description): Delegate when
10969         needed.
10970         * corelow.c (core_read_description): Delegate when needed.
10971         * remote.c (remote_read_description): Delegate when needed.
10972         * target-delegates.c: Rebuild.
10973         * target.c (target_read_description): Rewrite.
10974         * target.h (struct target_ops) <to_read_description>: Update
10975         comment.  Use TARGET_DEFAULT_RETURN.
10976
10977 2014-02-19  Tom Tromey  <[email protected]>
10978
10979         * target-delegates.c: Rebuild.
10980         * target.c (update_current_target): Don't inherit or default
10981         to_can_run.
10982         (find_default_run_target): Check against delegate_can_run.
10983         * target.h (struct target_ops) <to_can_run>: Use
10984         TARGET_DEFAULT_RETURN.
10985
10986 2014-02-19  Tom Tromey  <[email protected]>
10987
10988         * target-delegates.c: Rebuild.
10989         * target.c (target_disconnect): Unconditionally delegate.
10990         * target.h (struct target_ops) <to_disconnect>: Use
10991         TARGET_DEFAULT_NORETURN.
10992
10993 2014-02-19  Tom Tromey  <[email protected]>
10994
10995         * record.c (record_stop): Unconditionally delegate.
10996         * target-delegates.c: Rebuild.
10997         * target.c (target_stop_recording): Unconditionally delegate.
10998         * target.h (struct target_ops) <to_stop_recording>: Use
10999         TARGET_DEFAULT_IGNORE.
11000
11001 2014-02-19  Tom Tromey  <[email protected]>
11002
11003         * target-delegates.c: Rebuild.
11004         * target.c (target_enable_btrace): Unconditionally delegate.
11005         * target.h (struct target_ops) <to_enable_btrace>: Use
11006         TARGET_DEFAULT_NORETURN.
11007
11008 2014-02-19  Tom Tromey  <[email protected]>
11009
11010         * target-delegates.c: Rebuild.
11011         * target.c (target_read_btrace): Unconditionally delegate.
11012         * target.h (struct target_ops) <to_read_btrace>: Use
11013         TARGET_DEFAULT_NORETURN.
11014
11015 2014-02-19  Tom Tromey  <[email protected]>
11016
11017         * target-delegates.c: Rebuild.
11018         * target.c (target_teardown_btrace): Unconditionally delegate.
11019         * target.h (struct target_ops) <to_teardown_btrace>: Use
11020         TARGET_DEFAULT_NORETURN.
11021
11022 2014-02-19  Tom Tromey  <[email protected]>
11023
11024         * target-delegates.c: Rebuild.
11025         * target.c (target_disable_btrace): Unconditionally delegate.
11026         * target.h (struct target_ops) <to_disable_btrace>: Use
11027         TARGET_DEFAULT_NORETURN.
11028
11029 2014-02-19  Tom Tromey  <[email protected]>
11030
11031         * target-delegates.c: Rebuild.
11032         * target.c (default_search_memory): New function.
11033         (simple_search_memory): Update comment.
11034         (target_search_memory): Unconditionally delegate.
11035         * target.h (struct target_ops) <to_search_memory>: Use
11036         TARGET_DEFAULT_FUNC.
11037
11038 2014-02-19  Tom Tromey  <[email protected]>
11039
11040         * auxv.c (default_auxv_parse): No longer static.
11041         (target_auxv_parse): Unconditionally delegate.
11042         * auxv.h (default_auxv_parse): Declare.
11043         * target-delegates.c: Rebuild.
11044         * target.c: Include auxv.h.
11045         * target.h (struct target_ops) <to_auxv_parse>: Use
11046         TARGET_DEFAULT_FUNC.
11047
11048 2014-02-19  Tom Tromey  <[email protected]>
11049
11050         * target-delegates.c: Rebuild.
11051         * target.c (target_memory_map): Unconditionally delegate.
11052         * target.h (struct target_ops) <to_memory_map>: Use
11053         TARGET_DEFAULT_RETURN.
11054
11055 2014-02-19  Tom Tromey  <[email protected]>
11056
11057         * target-delegates.c: Rebuild.
11058         * target.c (target_thread_alive): Unconditionally delegate.
11059         * target.h (struct target_ops) <to_thread_alive>: Use
11060         TARGET_DEFAULT_RETURN.
11061
11062 2014-02-19  Tom Tromey  <[email protected]>
11063
11064         * target-delegates.c: Rebuild.
11065         * target.c (target_save_record): Unconditionally delegate.
11066         * target.h (struct target_ops) <to_save_record>: Use
11067         TARGET_DEFAULT_NORETURN.
11068
11069 2014-02-19  Tom Tromey  <[email protected]>
11070
11071         * target-delegates.c: Rebuild.
11072         * target.c (target_delete_record): Unconditionally delegate.
11073         * target.h (struct target_ops) <to_delete_record>: Use
11074         TARGET_DEFAULT_NORETURN.
11075
11076 2014-02-19  Tom Tromey  <[email protected]>
11077
11078         * target-delegates.c: Rebuild.
11079         * target.c (target_record_is_replaying): Unconditionally
11080         delegate.
11081         * target.h (struct target_ops) <to_record_is_replaying>: Use
11082         TARGET_DEFAULT_RETURN.
11083
11084 2014-02-19  Tom Tromey  <[email protected]>
11085
11086         * target-delegates.c: Rebuild.
11087         * target.c (target_goto_record_begin): Unconditionally delegate.
11088         * target.h (struct target_ops) <to_goto_record_begin>: Use
11089         TARGET_DEFAULT_NORETURN.
11090
11091 2014-02-19  Tom Tromey  <[email protected]>
11092
11093         * target-delegates.c: Rebuild.
11094         * target.c (target_goto_record_end): Unconditionally delegate.
11095         * target.h (struct target_ops) <to_goto_record_end>: Use
11096         TARGET_DEFAULT_NORETURN.
11097
11098 2014-02-19  Tom Tromey  <[email protected]>
11099
11100         * target-delegates.c: Rebuild.
11101         * target.c (target_goto_record): Unconditionally delegate.
11102         * target.h (struct target_ops) <to_goto_record>: Use
11103         TARGET_DEFAULT_NORETURN.
11104
11105 2014-02-19  Tom Tromey  <[email protected]>
11106
11107         * target-delegates.c: Rebuild.
11108         * target.c (target_insn_history): Unconditionally delegate.
11109         * target.h (struct target_ops) <to_insn_history>: Use
11110         TARGET_DEFAULT_NORETURN.
11111
11112 2014-02-19  Tom Tromey  <[email protected]>
11113
11114         * target-delegates.c: Rebuild.
11115         * target.c (target_insn_history_from): Unconditionally delegate.
11116         * target.h (struct target_ops) <to_insn_history_from>: Use
11117         TARGET_DEFAULT_NORETURN.
11118
11119 2014-02-19  Tom Tromey  <[email protected]>
11120
11121         * target-delegates.c: Rebuild.
11122         * target.c (target_insn_history_range): Unconditionally delegate.
11123         * target.h (struct target_ops) <to_insn_history_range>: Use
11124         TARGET_DEFAULT_NORETURN.
11125
11126 2014-02-19  Tom Tromey  <[email protected]>
11127
11128         * target-delegates.c: Rebuild.
11129         * target.c (target_call_history): Unconditionally delegate.
11130         * target.h (struct target_ops) <to_call_history>: Use
11131         TARGET_DEFAULT_NORETURN.
11132
11133 2014-02-19  Tom Tromey  <[email protected]>
11134
11135         * target-delegates.c: Rebuild.
11136         * target.c (target_call_history_from): Unconditionally delegate.
11137         * target.h (struct target_ops) <to_call_history_from>: Use
11138         TARGET_DEFAULT_NORETURN.
11139
11140 2014-02-19  Tom Tromey  <[email protected]>
11141
11142         * target-delegates.c: Rebuild.
11143         * target.c (target_call_history_range): Unconditionally delegate.
11144         * target.h (struct target_ops) <to_call_history_range>: Use
11145         TARGET_DEFAULT_NORETURN.
11146
11147 2014-02-19  Tom Tromey  <[email protected]>
11148
11149         * target-delegates.c: Rebuild.
11150         * target.c (target_verify_memory): Unconditionally delegate.
11151         * target.h (struct target_ops) <to_verify_memory>: Use
11152         TARGET_DEFAULT_NORETURN.
11153
11154 2014-02-19  Tom Tromey  <[email protected]>
11155
11156         * target-delegates.c: Rebuild.
11157         * target.c (target_core_of_thread): Unconditionally delegate.
11158         * target.h (struct target_ops) <to_core_of_thread>: Use
11159         TARGET_DEFAULT_RETURN.
11160
11161 2014-02-19  Tom Tromey  <[email protected]>
11162
11163         * target-delegates.c: Rebuild.
11164         * target.c (target_flash_done): Unconditionally delegate.
11165         * target.h (struct target_ops) <to_flash_done>: Use
11166         TARGET_DEFAULT_NORETURN.
11167
11168 2014-02-19  Tom Tromey  <[email protected]>
11169
11170         * target-delegates.c: Rebuild.
11171         * target.c (target_flash_erase): Unconditionally delegate.
11172         * target.h (struct target_ops) <to_flash_erase>: Use
11173         TARGET_DEFAULT_NORETURN.
11174
11175 2014-02-19  Tom Tromey  <[email protected]>
11176
11177         * target-delegates.c: Rebuild.
11178         * target.c (target_get_section_table): Unconditionally delegate.
11179         * target.h (struct target_ops) <to_get_section_table>: Use
11180         TARGET_DEFAULT_RETURN.
11181
11182 2014-02-19  Tom Tromey  <[email protected]>
11183
11184         * target-delegates.c: Rebuild.
11185         * target.c (target_pid_to_str): Unconditionally delegate.
11186         (init_dummy_target): Don't initialize to_pid_to_str.
11187         (default_pid_to_str): Rename from dummy_pid_to_str.
11188         * target.h (struct target_ops) <to_pid_to_str>: Use
11189         TARGET_DEFAULT_FUNC.
11190
11191 2014-02-19  Tom Tromey  <[email protected]>
11192
11193         * target-delegates.c: Rebuild.
11194         * target.c (target_find_new_threads): Unconditionally delegate.
11195         * target.h (struct target_ops) <to_find_new_threads>: Use
11196         TARGET_DEFAULT_RETURN.
11197
11198 2014-02-19  Tom Tromey  <[email protected]>
11199
11200         * target-delegates.c: Rebuild.
11201         * target.c (target_program_signals): Unconditionally delegate.
11202         * target.h (struct target_ops) <to_program_signals>: Use
11203         TARGET_DEFAULT_IGNORE.
11204
11205 2014-02-19  Tom Tromey  <[email protected]>
11206
11207         * target-delegates.c: Rebuild.
11208         * target.c (target_pass_signals): Unconditionally delegate.
11209         * target.h (struct target_ops) <to_pass_signals>: Use
11210         TARGET_DEFAULT_IGNORE.
11211
11212 2014-02-19  Tom Tromey  <[email protected]>
11213
11214         * target-delegates.c: Rebuild.
11215         * target.c (default_mourn_inferior): New function.
11216         (target_mourn_inferior): Unconditionally delegate.
11217         * target.h (struct target_ops) <to_mourn_inferior>: Use
11218         TARGET_DEFAULT_FUNC.
11219
11220 2014-02-19  Tom Tromey  <[email protected]>
11221
11222         * target-delegates.c: Rebuild.
11223         * target.c (default_follow_fork): New function.
11224         (target_follow_fork): Unconditionally delegate.
11225         * target.h (struct target_ops) <to_follow_fork>: Use
11226         TARGET_DEFAULT_FUNC.
11227
11228 2014-02-19  Tom Tromey  <[email protected]>
11229
11230         * target-delegates.c: Rebuild.
11231         * target.c (target_kill): Unconditionally delegate.
11232         * target.h (struct target_ops) <to_kill>: Use
11233         TARGET_DEFAULT_NORETURN.
11234
11235 2014-02-19  Tom Tromey  <[email protected]>
11236
11237         * target-delegates.c: Rebuild.
11238         * target.c (target_masked_watch_num_registers): Unconditionally
11239         delegate.
11240         * target.h (struct target_ops) <to_masked_watch_num_registers>:
11241         Use TARGET_DEFAULT_RETURN.
11242
11243 2014-02-19  Tom Tromey  <[email protected]>
11244
11245         * target-delegates.c: Rebuild.
11246         * target.c (target_remove_mask_watchpoint): Unconditionally
11247         delegate.
11248         * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
11249         TARGET_DEFAULT_RETURN.
11250
11251 2014-02-19  Tom Tromey  <[email protected]>
11252
11253         * target-delegates.c: Rebuild.
11254         * target.c (target_insert_mask_watchpoint): Unconditionally
11255         delegate.
11256         * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
11257         TARGET_DEFAULT_RETURN.
11258
11259 2014-02-19  Tom Tromey  <[email protected]>
11260
11261         * target-delegates.c: Rebuild.
11262         * target.c (target_ranged_break_num_registers): Unconditionally
11263         delegate.
11264         * target.h (struct target_ops) <to_ranged_break_num_registers>:
11265         Use TARGET_DEFAULT_RETURN.
11266
11267 2014-02-19  Tom Tromey  <[email protected]>
11268
11269         * target-delegates.c: Rebuild.
11270         * target.c (target_fetch_registers): Unconditionally delegate.
11271         * target.h (struct target_ops) <to_fetch_registers>: Use
11272         TARGET_DEFAULT_NORETURN.
11273
11274 2014-02-19  Tom Tromey  <[email protected]>
11275
11276         * target-delegates.c: Rebuild.
11277         * target.c (update_current_target): Don't inherit or default
11278         to_stop.
11279         * target.h (struct target_ops) <to_stop>: Use
11280         TARGET_DEFAULT_IGNORE.
11281
11282 2014-02-19  Tom Tromey  <[email protected]>
11283
11284         * target-delegates.c: Rebuild.
11285         * target.c (update_current_target): Don't inherit or default
11286         to_can_run_breakpoint_commands.
11287         * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11288         Use TARGET_DEFAULT_RETURN.
11289
11290 2014-02-19  Tom Tromey  <[email protected]>
11291
11292         * target-delegates.c: Rebuild.
11293         * target.c (update_current_target): Don't inherit or default
11294         to_supports_evaluation_of_breakpoint_conditions.
11295         * target.h (struct target_ops)
11296         <to_supports_evaluation_of_breakpoint_conditions>: Use
11297         TARGET_DEFAULT_RETURN.
11298
11299 2014-02-19  Tom Tromey  <[email protected]>
11300
11301         * target-delegates.c: Rebuild.
11302         * target.c (update_current_target): Don't inherit or default
11303         to_augmented_libraries_svr4_read.
11304         * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11305         Use TARGET_DEFAULT_RETURN.
11306
11307 2014-02-19  Tom Tromey  <[email protected]>
11308
11309         * target-delegates.c: Rebuild.
11310         * target.c (update_current_target): Don't inherit or default
11311         to_can_use_agent.
11312         * target.h (struct target_ops) <to_can_use_agent>: Use
11313         TARGET_DEFAULT_RETURN.
11314
11315 2014-02-19  Tom Tromey  <[email protected]>
11316
11317         * target-delegates.c: Rebuild.
11318         * target.c (update_current_target): Don't inherit or default
11319         to_use_agent.
11320         * target.h (struct target_ops) <to_use_agent>: Use
11321         TARGET_DEFAULT_NORETURN.
11322
11323 2014-02-19  Tom Tromey  <[email protected]>
11324
11325         * target-delegates.c: Rebuild.
11326         * target.c (update_current_target): Don't inherit or default
11327         to_traceframe_info.
11328         (return_null): Remove.
11329         * target.h (struct target_ops) <to_traceframe_info>: Use
11330         TARGET_DEFAULT_RETURN.
11331
11332 2014-02-19  Tom Tromey  <[email protected]>
11333
11334         * target-delegates.c: Rebuild.
11335         * target.c (update_current_target): Don't inherit or default
11336         to_static_tracepoint_markers_by_strid.
11337         * target.h (struct target_ops)
11338         <to_static_tracepoint_markers_by_strid>: Use
11339         TARGET_DEFAULT_NORETURN.
11340
11341 2014-02-19  Tom Tromey  <[email protected]>
11342
11343         * target-delegates.c: Rebuild.
11344         * target.c (update_current_target): Don't inherit or default
11345         to_static_tracepoint_marker_at.
11346         * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11347         Use TARGET_DEFAULT_RETURN.
11348
11349 2014-02-19  Tom Tromey  <[email protected]>
11350
11351         * target-delegates.c: Rebuild.
11352         * target.c (update_current_target): Don't inherit or default
11353         to_set_permissions.
11354         * target.h (struct target_ops) <to_set_permissions>: Use
11355         TARGET_DEFAULT_IGNORE.
11356
11357 2014-02-19  Tom Tromey  <[email protected]>
11358
11359         * target-delegates.c: Rebuild.
11360         * target.c (update_current_target): Don't inherit or default
11361         to_get_tib_address.
11362         * target.h (struct target_ops) <to_get_tib_address>: Use
11363         TARGET_DEFAULT_NORETURN.
11364
11365 2014-02-19  Tom Tromey  <[email protected]>
11366
11367         * target-delegates.c: Rebuild.
11368         * target.c (update_current_target): Don't inherit or default
11369         to_set_trace_notes.
11370         * target.h (struct target_ops) <to_set_trace_notes>: Use
11371         TARGET_DEFAULT_RETURN.
11372
11373 2014-02-19  Tom Tromey  <[email protected]>
11374
11375         * target-delegates.c: Rebuild.
11376         * target.c (update_current_target): Don't initialize
11377         to_set_trace_buffer_size.
11378         * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
11379         TARGET_DEFAULT_IGNORE.
11380
11381 2014-02-19  Tom Tromey  <[email protected]>
11382
11383         * target-delegates.c: Rebuild.
11384         * target.c (update_current_target): Don't inherit or default
11385         to_set_circular_trace_buffer.
11386         * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
11387         TARGET_DEFAULT_IGNORE.
11388
11389 2014-02-19  Tom Tromey  <[email protected]>
11390
11391         * target-delegates.c: Rebuild.
11392         * target.c (update_current_target): Don't inherit or default
11393         to_set_disconnected_tracing.
11394         * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
11395         TARGET_DEFAULT_IGNORE.
11396
11397 2014-02-19  Tom Tromey  <[email protected]>
11398
11399         * target-delegates.c: Rebuild.
11400         * target.c (update_current_target): Don't inherit or default
11401         to_get_min_fast_tracepoint_insn_len.
11402         (return_minus_one): Remove.
11403         * target.h (struct target_ops)
11404         <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
11405
11406 2014-02-19  Tom Tromey  <[email protected]>
11407
11408         * target-delegates.c: Rebuild.
11409         * target.c (update_current_target): Don't inherit or default
11410         to_get_raw_trace_data.
11411         * target.h (struct target_ops) <to_get_raw_trace_data>: Use
11412         TARGET_DEFAULT_NORETURN.
11413
11414 2014-02-19  Tom Tromey  <[email protected]>
11415
11416         * target-delegates.c: Rebuild.
11417         * target.c (update_current_target): Don't inherit or default
11418         to_upload_trace_state_variables.
11419         * target.h (struct target_ops) <to_upload_trace_state_variables>:
11420         Use TARGET_DEFAULT_RETURN.
11421
11422 2014-02-19  Tom Tromey  <[email protected]>
11423
11424         * target-delegates.c: Rebuild.
11425         * target.c (update_current_target): Don't inherit or default
11426         to_upload_tracepoints.
11427         * target.h (struct target_ops) <to_upload_tracepoints>: Use
11428         TARGET_DEFAULT_RETURN.
11429
11430 2014-02-19  Tom Tromey  <[email protected]>
11431
11432         * target-delegates.c: Rebuild.
11433         * target.c (update_current_target): Don't inherit or default
11434         to_save_trace_data.
11435         * target.h (struct target_ops) <to_save_trace_data>: Use
11436         TARGET_DEFAULT_NORETURN.
11437
11438 2014-02-19  Tom Tromey  <[email protected]>
11439
11440         * target-delegates.c: Rebuild.
11441         * target.c (update_current_target): Don't inherit or default
11442         to_get_trace_state_variable_value.
11443         * target.h (struct target_ops)
11444         <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
11445
11446 2014-02-19  Tom Tromey  <[email protected]>
11447
11448         * target-delegates.c: Rebuild.
11449         * target.c (update_current_target): Don't inherit or default
11450         to_trace_find.
11451         * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
11452
11453 2014-02-19  Tom Tromey  <[email protected]>
11454
11455         * target-delegates.c: Rebuild.
11456         * target.c (update_current_target): Don't inherit or default
11457         to_trace_stop.
11458         * target.h (struct target_ops) <to_trace_stop>: Use
11459         TARGET_DEFAULT_NORETURN.
11460
11461 2014-02-19  Tom Tromey  <[email protected]>
11462
11463         * target-delegates.c: Rebuild.
11464         * target.c (update_current_target): Don't inherit or default
11465         to_get_tracepoint_status.
11466         * target.h (struct target_ops) <to_get_tracepoint_status>: Use
11467         TARGET_DEFAULT_NORETURN.
11468
11469 2014-02-19  Tom Tromey  <[email protected]>
11470
11471         * target-delegates.c: Rebuild.
11472         * target.c (update_current_target): Don't inherit or default
11473         to_get_trace_status.
11474         * target.h (struct target_ops) <to_get_trace_status>: Use
11475         TARGET_DEFAULT_RETURN.
11476
11477 2014-02-19  Tom Tromey  <[email protected]>
11478
11479         * target-delegates.c: Rebuild.
11480         * target.c (update_current_target): Don't inherit or default
11481         to_trace_start.
11482         * target.h (struct target_ops) <to_trace_start>: Use
11483         TARGET_DEFAULT_NORETURN.
11484
11485 2014-02-19  Tom Tromey  <[email protected]>
11486
11487         * target-delegates.c: Rebuild.
11488         * target.c (update_current_target): Don't inherit or default
11489         to_trace_set_readonly_regions.
11490         * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11491         Use TARGET_DEFAULT_NORETURN.
11492
11493 2014-02-19  Tom Tromey  <[email protected]>
11494
11495         * target-delegates.c: Rebuild.
11496         * target.c (update_current_target): Don't inherit or default
11497         to_disable_tracepoint.
11498         * target.h (struct target_ops) <to_disable_tracepoint>: Use
11499         TARGET_DEFAULT_NORETURN.
11500
11501 2014-02-19  Tom Tromey  <[email protected]>
11502
11503         * target-delegates.c: Rebuild.
11504         * target.c (update_current_target): Don't inherit or default
11505         to_enable_tracepoint.
11506         * target.h (struct target_ops) <to_enable_tracepoint>: Use
11507         TARGET_DEFAULT_NORETURN.
11508
11509 2014-02-19  Tom Tromey  <[email protected]>
11510
11511         * target-delegates.c: Rebuild.
11512         * target.c (update_current_target): Don't inherit or default
11513         to_download_trace_state_variable.
11514         * target.h (struct target_ops) <to_download_trace_state_variable>:
11515         Use TARGET_DEFAULT_NORETURN.
11516
11517 2014-02-19  Tom Tromey  <[email protected]>
11518
11519         * target-delegates.c: Rebuild.
11520         * target.c (update_current_target): Don't inherit or default
11521         to_can_download_tracepoint.
11522         * target.h (struct target_ops) <to_can_download_tracepoint>: Use
11523         TARGET_DEFAULT_RETURN.
11524
11525 2014-02-19  Tom Tromey  <[email protected]>
11526
11527         * target-delegates.c: Rebuild.
11528         * target.c (update_current_target): Don't inherit or default
11529         to_download_tracepoint.
11530         * target.h (struct target_ops) <to_download_tracepoint>: Use
11531         TARGET_DEFAULT_NORETURN.
11532
11533 2014-02-19  Tom Tromey  <[email protected]>
11534
11535         * target-delegates.c: Rebuild.
11536         * target.c (update_current_target): Don't inherit or default
11537         to_trace_init.
11538         * target.h (struct target_ops) <to_trace_init>: Use
11539         TARGET_DEFAULT_RETURN.
11540
11541 2014-02-19  Tom Tromey  <[email protected]>
11542
11543         * target-delegates.c: Rebuild.
11544         * target.c (update_current_target): Don't inherit or default
11545         to_supports_string_tracing.
11546         * target.h (struct target_ops) <to_supports_string_tracing>: Use
11547         TARGET_DEFAULT_RETURN.
11548
11549 2014-02-19  Tom Tromey  <[email protected]>
11550
11551         * target-delegates.c: Rebuild.
11552         * target.c (update_current_target): Don't inherit or default
11553         to_supports_enable_disable_tracepoint.
11554         * target.h (struct target_ops)
11555         <to_supports_enable_disable_tracepoint>: Use
11556         TARGET_DEFAULT_RETURN.
11557
11558 2014-02-19  Tom Tromey  <[email protected]>
11559
11560         * target-delegates.c: Rebuild.
11561         * target.c (update_current_target): Don't inherit or default
11562         to_supports_multi_process.
11563         * target.h (struct target_ops) <to_supports_multi_process>: Use
11564         TARGET_DEFAULT_RETURN.
11565
11566 2014-02-19  Tom Tromey  <[email protected]>
11567
11568         * target-delegates.c: Rebuild.
11569         * target.c (update_current_target): Don't inherit or default
11570         to_get_ada_task_ptid.
11571         * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
11572         TARGET_DEFAULT_FUNC.
11573
11574 2014-02-19  Tom Tromey  <[email protected]>
11575
11576         * target-delegates.c: Rebuild.
11577         * target.c (update_current_target): Don't inherit or default
11578         to_thread_architecture.
11579         * target.h (struct target_ops) <to_thread_architecture>: Use
11580         TARGET_DEFAULT_FUNC.
11581
11582 2014-02-19  Tom Tromey  <[email protected]>
11583
11584         * target-delegates.c: Rebuild.
11585         * target.c (update_current_target): Don't inherit or default
11586         to_execution_direction.
11587         * target.h (struct target_ops) <to_execution_direction>: Use
11588         TARGET_DEFAULT_FUNC.
11589
11590 2014-02-19  Tom Tromey  <[email protected]>
11591
11592         * target-delegates.c: Rebuild.
11593         * target.c (update_current_target): Don't inherit or default
11594         to_can_execute_reverse.
11595         * target.h (struct target_ops) <to_can_execute_reverse>: Use
11596         TARGET_DEFAULT_RETURN.
11597         (target_can_execute_reverse): Unconditionally delegate.
11598
11599 2014-02-19  Tom Tromey  <[email protected]>
11600
11601         * target-delegates.c: Rebuild.
11602         * target.c (update_current_target): Don't inherit or default
11603         to_goto_bookmark.
11604         (dummy_goto_bookmark): Remove.
11605         (init_dummy_target): Don't inherit or default to_goto_bookmark.
11606         * target.h (struct target_ops) <to_goto_bookmark>: Use
11607         TARGET_DEFAULT_NORETURN.
11608
11609 2014-02-19  Tom Tromey  <[email protected]>
11610
11611         * target-delegates.c: Rebuild.
11612         * target.c (update_current_target): Don't inherit or default
11613         to_get_bookmark.
11614         (dummy_get_bookmark): Remove.
11615         (init_dummy_target): Don't inherit or default to_get_bookmark.
11616         * target.h (struct target_ops) <to_get_bookmark>: Use
11617         TARGET_DEFAULT_NORETURN
11618
11619 2014-02-19  Tom Tromey  <[email protected]>
11620
11621         * target-delegates.c: Rebuild.
11622         * target.c (update_current_target): Don't inherit or default
11623         to_make_corefile_notes.
11624         (init_dummy_target): Don't initialize to_make_corefile_notes.
11625         * target.h (struct target_ops) <to_make_corefile_notes>: Use
11626         TARGET_DEFAULT_FUNC.
11627
11628 2014-02-19  Tom Tromey  <[email protected]>
11629
11630         * target-delegates.c: Rebuild.
11631         * target.c (update_current_target): Don't inherit or default
11632         to_find_memory_regions.
11633         (init_dummy_target): Don't initialize to_find_memory_regions.
11634         * target.h (struct target_ops) <to_find_memory_regions>: Use
11635         TARGET_DEFAULT_FUNC.
11636
11637 2014-02-19  Tom Tromey  <[email protected]>
11638
11639         * target-delegates.c: Rebuild.
11640         * target.c (update_current_target): Don't inherit or default
11641         to_log_command.
11642         * target.h (struct target_ops) <to_log_command>: Use
11643         TARGET_DEFAULT_IGNORE.
11644         (target_log_command): Unconditionally delegate.
11645
11646 2014-02-19  Tom Tromey  <[email protected]>
11647
11648         * target-delegates.c: Rebuild.
11649         * target.c (update_current_target): Don't inherit or default
11650         to_pid_to_exec_file.
11651         * target.h (struct target_ops) <to_pid_to_exec_file>: Use
11652         TARGET_DEFAULT_RETURN.
11653
11654 2014-02-19  Tom Tromey  <[email protected]>
11655
11656         * target-delegates.c: Rebuild.
11657         * target.c (update_current_target): Don't inherit or default
11658         to_thread_name.
11659         (target_thread_name): Unconditionally delegate.
11660         * target.h (struct target_ops) <to_thread_name>: Use
11661         TARGET_DEFAULT_RETURN.
11662
11663 2014-02-19  Tom Tromey  <[email protected]>
11664
11665         * target-delegates.c: Rebuild.
11666         * target.c (update_current_target): Don't inherit or default
11667         to_extra_thread_info.
11668         * target.h (struct target_ops) <to_extra_thread_info>: Use
11669         TARGET_DEFAULT_RETURN.
11670
11671 2014-02-19  Tom Tromey  <[email protected]>
11672
11673         * target-delegates.c: Rebuild.
11674         * target.c (update_current_target): Don't inherit or default
11675         to_has_exited.
11676         * target.h (struct target_ops) <to_has_exited>: Use
11677         TARGET_DEFAULT_RETURN..
11678
11679 2014-02-19  Tom Tromey  <[email protected]>
11680
11681         * target-delegates.c: Rebuild.
11682         * target.c (update_current_target): Don't inherit or default
11683         to_set_syscall_catchpoint.
11684         (return_one): Remove.
11685         * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
11686         TARGET_DEFAULT_RETURN.
11687
11688 2014-02-19  Tom Tromey  <[email protected]>
11689
11690         * target-delegates.c: Rebuild.
11691         * target.c (update_current_target): Don't inherit or default
11692         to_insert_exec_catchpoint.
11693         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11694         TARGET_DEFAULT_RETURN.
11695
11696 2014-01-08  Tom Tromey  <[email protected]>
11697
11698         * target-delegates.c: Rebuild.
11699         * target.c (update_current_target): Don't inherit or default
11700         to_insert_exec_catchpoint.
11701         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11702         TARGET_DEFAULT_RETURN.
11703
11704 2014-02-19  Tom Tromey  <[email protected]>
11705
11706         * target-delegates.c: Rebuild.
11707         * target.c (update_current_target): Don't inherit or default
11708         to_remove_vfork_catchpoint.
11709         * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
11710         TARGET_DEFAULT_RETURN.
11711
11712 2014-02-19  Tom Tromey  <[email protected]>
11713
11714         * target-delegates.c: Rebuild.
11715         * target.c (update_current_target): Don't inherit or default
11716         to_insert_vfork_catchpoint.
11717         * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
11718         TARGET_DEFAULT_RETURN.
11719
11720 2014-02-19  Tom Tromey  <[email protected]>
11721
11722         * target-delegates.c: Rebuild.
11723         * target.c (update_current_target): Don't inherit or default
11724         to_remove_fork_catchpoint.
11725         * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
11726         TARGET_DEFAULT_RETURN.
11727
11728 2014-02-19  Tom Tromey  <[email protected]>
11729
11730         * target-delegates.c: Rebuild.
11731         * target.c (update_current_target): Don't inherit or default
11732         to_insert_fork_catchpoint.
11733         * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
11734         TARGET_DEFAULT_RETURN.
11735
11736 2014-02-19  Tom Tromey  <[email protected]>
11737
11738         * target-delegates.c: Rebuild.
11739         * target.c (update_current_target): Don't inherit or default
11740         to_post_startup_inferior.
11741         * target.h (struct target_ops) <to_post_startup_inferior>: Use
11742         TARGET_DEFAULT_IGNORE.
11743
11744 2014-02-19  Tom Tromey  <[email protected]>
11745
11746         * target-delegates.c: Rebuild.
11747         * target.c (update_current_target): Don't inherit or default
11748         to_load.
11749         * target.h (struct target_ops) <to_load>: Use
11750         TARGET_DEFAULT_NORETURN.
11751
11752 2014-02-19  Tom Tromey  <[email protected]>
11753
11754         * target-delegates.c: Rebuild.
11755         * target.c (update_current_target): Don't inherit or default
11756         to_terminal_info.
11757         * target.h (struct target_ops) <to_terminal_info>: Use
11758         TARGET_DEFAULT_FUNC.
11759
11760 2014-02-19  Tom Tromey  <[email protected]>
11761
11762         * target-delegates.c: Rebuild.
11763         * target.c (update_current_target): Don't inherit or default
11764         to_terminal_save_ours.
11765         * target.h (struct target_ops) <to_terminal_save_ours>: Use
11766         TARGET_DEFAULT_IGNORE.
11767
11768 2014-02-19  Tom Tromey  <[email protected]>
11769
11770         * target-delegates.c: Rebuild.
11771         * target.c (update_current_target): Don't inherit or default
11772         to_terminal_ours.
11773         * target.h (struct target_ops) <to_terminal_ours>: Use
11774         TARGET_DEFAULT_IGNORE.
11775
11776 2014-02-19  Tom Tromey  <[email protected]>
11777
11778         * target-delegates.c: Rebuild.
11779         * target.c (update_current_target): Don't inherit or default
11780         to_terminal_ours_for_output.
11781         * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
11782         TARGET_DEFAULT_IGNORE.
11783
11784 2014-02-19  Tom Tromey  <[email protected]>
11785
11786         * target-delegates.c: Rebuild.
11787         * target.c (update_current_target): Don't inherit or default
11788         to_terminal_inferior.
11789         * target.h (struct target_ops) <to_terminal_inferior>: Use
11790         TARGET_DEFAULT_IGNORE.
11791
11792 2014-02-19  Tom Tromey  <[email protected]>
11793
11794         * target-delegates.c: Rebuild.
11795         * target.c (update_current_target): Don't inherit or default
11796         to_terminal_init.
11797         * target.h (struct target_ops) <to_terminal_init>: Use
11798         TARGET_DEFAULT_IGNORE.
11799
11800 2014-02-19  Tom Tromey  <[email protected]>
11801
11802         * target-delegates.c: Rebuild.
11803         * target.c (update_current_target): Don't inherit or default
11804         to_can_accel_watchpoint_condition.
11805         * target.h (struct target_ops)
11806         <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
11807
11808 2014-02-19  Tom Tromey  <[email protected]>
11809
11810         * target-delegates.c: Rebuild.
11811         * target.c (update_current_target): Don't inherit or default
11812         to_region_ok_for_hw_watchpoint.
11813         * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11814         Use TARGET_DEFAULT_FUNC.
11815
11816 2014-02-19  Tom Tromey  <[email protected]>
11817
11818         * target-delegates.c: Rebuild.
11819         * target.c (update_current_target): Don't inherit or default
11820         to_watchpoint_addr_within_range.
11821         * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
11822         Use TARGET_DEFAULT_FUNC.
11823
11824 2014-02-19  Tom Tromey  <[email protected]>
11825
11826         * target-delegates.c: Rebuild.
11827         * target.c (update_current_target): Don't inherit or default
11828         to_remove_watchpoint.
11829         * target.h (struct target_ops) <to_remove_watchpoint>: Use
11830         TARGET_DEFAULT_NORETURN.
11831
11832 2014-02-19  Tom Tromey  <[email protected]>
11833
11834         * target-delegates.c: Rebuild.
11835         * target.c (update_current_target): Don't inherit or default
11836         to_insert_watchpoint.
11837         * target.h (struct target_ops) <to_insert_watchpoint>: Use
11838         TARGET_DEFAULT_RETURN.
11839
11840 2014-02-19  Tom Tromey  <[email protected]>
11841
11842         * target-delegates.c: Rebuild.
11843         * target.c (update_current_target): Don't inherit or default
11844         to_remove_hw_breakpoint.
11845         * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
11846         TARGET_DEFAULT_RETURN.
11847
11848 2014-02-19  Tom Tromey  <[email protected]>
11849
11850         * target-delegates.c: Rebuild.
11851         * target.c (update_current_target): Don't inherit or default
11852         to_insert_hw_breakpoint.
11853         * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
11854         TARGET_DEFAULT_RETURN.
11855
11856 2014-02-19  Tom Tromey  <[email protected]>
11857
11858         * target-delegates.c: Rebuild.
11859         * target.c (update_current_target): Don't inherit or default
11860         to_can_use_hw_breakpoint.
11861         * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
11862         TARGET_DEFAULT_RETURN.
11863
11864 2014-02-19  Tom Tromey  <[email protected]>
11865
11866         * target-delegates.c: Rebuild.
11867         * target.c (update_current_target): Don't inherit or default
11868         to_files_info.
11869         * target.h (struct target_ops) <to_files_info>: Use
11870         TARGET_DEFAULT_IGNORE.
11871
11872 2014-02-19  Tom Tromey  <[email protected]>
11873
11874         * target-delegates.c: Rebuild.
11875         * target.c (update_current_target): Don't inherit or default
11876         to_store.
11877         * target.h (struct target_ops) <to_store>: Use
11878         TARGET_DEFAULT_NORETURN.
11879
11880 2014-02-19  Tom Tromey  <[email protected]>
11881
11882         * target-delegates.c: Rebuild.
11883         * target.c (update_current_target): Don't inherit or default
11884         to_post_attach.
11885         * target.h (struct target_ops) <to_post_attach>: Use
11886         TARGET_DEFAULT_IGNORE.
11887
11888 2014-02-19  Tom Tromey  <[email protected]>
11889
11890         * target-delegates.c: Rebuild.
11891         * target.c (update_current_target): Don't inherit or default
11892         to_rcmd.
11893         (default_rcmd): New function.
11894         (do_monitor_command): Unconditionally delegate.
11895         * target.h (struct target_ops) <to_rmcd>: Use
11896         TARGET_DEFAULT_FUNC.
11897
11898 2014-02-19  Tom Tromey  <[email protected]>
11899
11900         * target-delegates.c: Rebuild.
11901         * target.c (init_dummy_target): Don't initialize to_attach.
11902         (target_attach): Unconditionally delegate.
11903         * target.h (struct target_ops) <to_attach>: Use
11904         TARGET_DEFAULT_FUNC.
11905
11906 2014-02-19  Tom Tromey  <[email protected]>
11907
11908         * target-delegates.c: Rebuild.
11909         * target.c (target_detach): Unconditionally delegate.
11910         (init_dummy_target): Don't initialize to_detach.
11911         * target.h (struct target_ops) <to_detach>: Use
11912         TARGET_DEFAULT_IGNORE.
11913
11914 2014-02-19  Tom Tromey  <[email protected]>
11915
11916         * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11917         Add argument.
11918         (target_augmented_libraries_svr4_read): Add argument.
11919         * target.c (update_current_target): Update.
11920         * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11921         argument.
11922
11923 2014-02-19  Tom Tromey  <[email protected]>
11924
11925         * target.h (struct target_ops) <to_call_history_range>: Add
11926         argument.
11927         * target.c (target_call_history_range): Add argument.
11928         * record-btrace.c (record_btrace_call_history_range): Add 'self'
11929         argument.
11930         (record_btrace_call_history_from): Update.
11931
11932 2014-02-19  Tom Tromey  <[email protected]>
11933
11934         * target.h (struct target_ops) <to_call_history_from>: Add
11935         argument.
11936         * target.c (target_call_history_from): Add argument.
11937         * record-btrace.c (record_btrace_call_history_from): Add 'self'
11938         argument.
11939
11940 2014-02-19  Tom Tromey  <[email protected]>
11941
11942         * target.h (struct target_ops) <to_call_history>: Add argument.
11943         * target.c (target_call_history): Add argument.
11944         * record-btrace.c (record_btrace_call_history): Add 'self'
11945         argument.
11946
11947 2014-02-19  Tom Tromey  <[email protected]>
11948
11949         * target.h (struct target_ops) <to_insn_history_range>: Add
11950         argument.
11951         * target.c (target_insn_history_range): Add argument.
11952         * record-btrace.c (record_btrace_insn_history_range): Add 'self'
11953         argument.
11954         (record_btrace_insn_history_from): Update.
11955
11956 2014-02-19  Tom Tromey  <[email protected]>
11957
11958         * target.h (struct target_ops) <to_insn_history_from>: Add
11959         argument.
11960         * target.c (target_insn_history_from): Add argument.
11961         * record-btrace.c (record_btrace_insn_history_from): Add 'self'
11962         argument.
11963
11964 2014-02-19  Tom Tromey  <[email protected]>
11965
11966         * target.h (struct target_ops) <to_insn_history>: Add argument.
11967         * target.c (target_insn_history): Add argument.
11968         * record-btrace.c (record_btrace_insn_history): Add 'self'
11969         argument.
11970
11971 2014-02-19  Tom Tromey  <[email protected]>
11972
11973         * target.h (struct target_ops) <to_goto_record>: Add argument.
11974         * target.c (target_goto_record): Add argument.
11975         * record-full.c (record_full_goto): Add 'self' argument.
11976         * record-btrace.c (record_btrace_goto): Add 'self' argument.
11977
11978 2014-02-19  Tom Tromey  <[email protected]>
11979
11980         * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11981         * target.c (target_goto_record_end): Add argument.
11982         * record-full.c (record_full_goto_end): Add 'self' argument.
11983         * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
11984
11985 2014-02-19  Tom Tromey  <[email protected]>
11986
11987         * target.h (struct target_ops) <to_goto_record_begin>: Add
11988         argument.
11989         * target.c (target_goto_record_begin): Add argument.
11990         * record-full.c (record_full_goto_begin): Add 'self' argument.
11991         * record-btrace.c (record_btrace_goto_begin): Add 'self'
11992         argument.
11993
11994 2014-02-19  Tom Tromey  <[email protected]>
11995
11996         * target.h (struct target_ops) <to_record_is_replaying>: Add
11997         argument.
11998         * target.c (target_record_is_replaying): Add argument.
11999         * record-full.c (record_full_is_replaying): Add 'self' argument.
12000         * record-btrace.c (record_btrace_is_replaying): Add 'self'
12001         argument.
12002         (record_btrace_xfer_partial, record_btrace_store_registers)
12003         (record_btrace_prepare_to_store, record_btrace_resume)
12004         (record_btrace_wait, record_btrace_decr_pc_after_break)
12005         (record_btrace_find_new_threads, record_btrace_thread_alive):
12006         Update.
12007
12008 2014-02-19  Tom Tromey  <[email protected]>
12009
12010         * target.h (struct target_ops) <to_delete_record>: Add argument.
12011         * target.c (target_delete_record): Add argument.
12012         * record-full.c (record_full_delete): Add 'self' argument.
12013
12014 2014-02-19  Tom Tromey  <[email protected]>
12015
12016         * target.h (struct target_ops) <to_save_record>: Add argument.
12017         * target.c (target_save_record): Add argument.
12018         * record-full.c (record_full_save): Add 'self' argument.
12019         (record_full_save): Add 'self' argument.
12020
12021 2014-02-19  Tom Tromey  <[email protected]>
12022
12023         * target.h (struct target_ops) <to_info_record>: Add argument.
12024         * target.c (target_info_record): Add argument.
12025         * record.c (info_record_command): Add argument.
12026         * record-full.c (record_full_info): Add 'self' argument.
12027         * record-btrace.c (record_btrace_info): Add 'self' argument.
12028
12029 2014-02-19  Tom Tromey  <[email protected]>
12030
12031         * target.h (struct target_ops) <to_stop_recording>: Add argument.
12032         * target.c (target_stop_recording): Add argument.
12033         * record.c (record_stop): Add argument.
12034         * record-btrace.c (record_btrace_stop_recording): Add 'self'
12035         argument.
12036
12037 2014-02-19  Tom Tromey  <[email protected]>
12038
12039         * target.h (struct target_ops) <to_read_btrace>: Add argument.
12040         * target.c (struct target_ops) <to_read_btrace>: Add argument.
12041         * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
12042         argument.
12043         * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
12044         (_initialize_amd64_linux_nat): Use it.
12045         * i386-linux-nat.c (i386_linux_read_btrace): New function.
12046         (_initialize_i386_linux_nat): Use it.
12047
12048 2014-02-19  Tom Tromey  <[email protected]>
12049
12050         * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
12051         * target.c (target_teardown_btrace): Add argument.
12052         * remote.c (remote_teardown_btrace): Add 'self' argument.
12053         * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
12054         argument.
12055         * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
12056         argument.
12057
12058 2014-02-19  Tom Tromey  <[email protected]>
12059
12060         * target.h (struct target_ops) <to_disable_btrace>: Add argument.
12061         * target.c (target_disable_btrace): Add argument.
12062         * remote.c (remote_disable_btrace): Add 'self' argument.
12063         * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
12064         argument.
12065         * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
12066         argument.
12067
12068 2014-02-19  Tom Tromey  <[email protected]>
12069
12070         * target.h (struct target_ops) <to_enable_btrace>: Add argument.
12071         * target.c (target_enable_btrace): Add argument.
12072         * remote.c (remote_enable_btrace): Add 'self' argument.
12073         * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
12074         argument.
12075         * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
12076         argument.
12077
12078 2014-02-19  Tom Tromey  <[email protected]>
12079
12080         * target.h (struct target_ops) <to_can_use_agent>: Add argument.
12081         (target_can_use_agent): Add argument.
12082         * target.c (update_current_target): Update.
12083         * remote.c (remote_can_use_agent): Add 'self' argument.
12084         * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
12085
12086 2014-02-19  Tom Tromey  <[email protected]>
12087
12088         * target.h (struct target_ops) <to_use_agent>: Add argument.
12089         (target_use_agent): Add argument.
12090         * target.c (update_current_target): Update.
12091         * remote.c (remote_use_agent): Add 'self' argument.
12092         * inf-child.c (inf_child_use_agent): Add 'self' argument.
12093
12094 2014-02-19  Tom Tromey  <[email protected]>
12095
12096         * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
12097         * target.h (struct target_ops) <to_traceframe_info>: Add argument.
12098         (target_traceframe_info): Add argument.
12099         * target.c (update_current_target): Update.
12100         * remote.c (remote_traceframe_info): Add 'self' argument.
12101         * ctf.c (ctf_traceframe_info): Add 'self' argument.
12102
12103 2014-02-19  Tom Tromey  <[email protected]>
12104
12105         * target.h (target_static_tracepoint_markers_by_strid): Add
12106         argument.
12107         (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
12108         'self' argument.
12109         * target.c (update_current_target): Update.
12110         * remote.c (struct target_ops)
12111         <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
12112         * linux-nat.c (struct target_ops)
12113         <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
12114
12115 2014-02-19  Tom Tromey  <[email protected]>
12116
12117         * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
12118         Add argument.
12119         (target_static_tracepoint_marker_at): Add argument.
12120         * target.c (update_current_target): Update.
12121         * remote.c (remote_static_tracepoint_marker_at): Add 'self'
12122         argument.
12123
12124 2014-02-19  Tom Tromey  <[email protected]>
12125
12126         * target.h (struct target_ops) <to_set_permissions>: Add argument.
12127         (target_set_permissions): Add argument.
12128         * target.c (update_current_target): Update.
12129         * remote.c (remote_set_permissions): Add 'self' argument.
12130         (remote_start_remote): Update.
12131
12132 2014-02-19  Tom Tromey  <[email protected]>
12133
12134         * windows-nat.c (windows_get_tib_address): Add 'self' argument.
12135         * target.h (struct target_ops) <to_get_tib_address>: Add argument.
12136         (target_get_tib_address): Add argument.
12137         * target.c (update_current_target): Update.
12138         * remote.c (remote_get_tib_address): Add 'self' argument.
12139
12140 2014-02-19  Tom Tromey  <[email protected]>
12141
12142         * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
12143         (target_set_trace_notes): Add argument.
12144         * target.c (update_current_target): Update.
12145         * remote.c (remote_set_trace_notes): Add 'self' argument.
12146
12147 2014-02-19  Tom Tromey  <[email protected]>
12148
12149         * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
12150         argument.
12151         (target_set_trace_buffer_size): Add argument.
12152         * target.c (update_current_target): Update.
12153         * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
12154
12155 2014-02-19  Tom Tromey  <[email protected]>
12156
12157         * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
12158         argument.
12159         (target_set_circular_trace_buffer): Add argument.
12160         * target.c (update_current_target): Update.
12161         * remote.c (remote_set_circular_trace_buffer): Add 'self'
12162         argument.
12163
12164 2014-02-19  Tom Tromey  <[email protected]>
12165
12166         * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
12167         argument.
12168         (target_set_disconnected_tracing): Add argument.
12169         * target.c (update_current_target): Update.
12170         * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
12171
12172 2014-02-19  Tom Tromey  <[email protected]>
12173
12174         * target.h (struct target_ops)
12175         <to_get_min_fast_tracepoint_insn_len>: Add argument.
12176         (target_get_min_fast_tracepoint_insn_len): Add argument.
12177         * target.c (update_current_target): Update.
12178         * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
12179         argument.
12180
12181 2014-02-19  Tom Tromey  <[email protected]>
12182
12183         * target.h (struct target_ops) <to_get_raw_trace_data>: Add
12184         argument.
12185         (target_get_raw_trace_data): Add argument.
12186         * target.c (update_current_target): Update.
12187         * remote.c (remote_get_raw_trace_data): Add 'self' argument.
12188
12189 2014-02-19  Tom Tromey  <[email protected]>
12190
12191         * target.h (struct target_ops) <to_upload_trace_state_variables>:
12192         Add argument.
12193         (target_upload_trace_state_variables): Add argument.
12194         * target.c (update_current_target): Update.
12195         * remote.c (remote_upload_trace_state_variables): Add 'self'
12196         argument.
12197         (remote_start_remote): Update.
12198
12199 2014-02-19  Tom Tromey  <[email protected]>
12200
12201         * target.h (struct target_ops) <to_upload_tracepoints>: Add
12202         argument.
12203         (target_upload_tracepoints): Add argument.
12204         * target.c (update_current_target): Update.
12205         * remote.c (remote_upload_tracepoints): Add 'self' argument.
12206         (remote_start_remote): Update.
12207
12208 2014-02-19  Tom Tromey  <[email protected]>
12209
12210         * target.h (struct target_ops) <to_save_trace_data>: Add argument.
12211         (target_save_trace_data): Add argument.
12212         * target.c (update_current_target): Update.
12213         * remote.c (remote_save_trace_data): Add 'self' argument.
12214
12215 2014-02-19  Tom Tromey  <[email protected]>
12216
12217         * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
12218         argument.
12219         * target.h (struct target_ops)
12220         <to_get_trace_state_variable_value>: Add argument.
12221         (target_get_trace_state_variable_value): Add argument.
12222         * target.c (update_current_target): Update.
12223         * remote.c (remote_get_trace_state_variable_value): Add 'self'
12224         argument.
12225         * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
12226
12227 2014-02-19  Tom Tromey  <[email protected]>
12228
12229         * tracepoint.c (tfile_trace_find): Add 'self' argument.
12230         * target.h (struct target_ops) <to_trace_find>: Add argument.
12231         (target_trace_find): Add argument.
12232         * target.c (update_current_target): Update.
12233         * remote.c (remote_trace_find): Add 'self' argument.
12234         * ctf.c (ctf_trace_find): Add 'self' argument.
12235
12236 2014-02-19  Tom Tromey  <[email protected]>
12237
12238         * target.h (struct target_ops) <to_trace_stop>: Add argument.
12239         (target_trace_stop): Add argument.
12240         * target.c (update_current_target): Update.
12241         * remote.c (remote_trace_stop): Add 'self' argument.
12242
12243 2014-02-19  Tom Tromey  <[email protected]>
12244
12245         * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
12246         * target.h (struct target_ops) <to_get_tracepoint_status>: Add
12247         argument.
12248         (target_get_tracepoint_status): Add argument.
12249         * target.c (update_current_target): Update.
12250         * remote.c (remote_get_tracepoint_status): Add 'self' argument.
12251
12252 2014-02-19  Tom Tromey  <[email protected]>
12253
12254         * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
12255         * target.h (struct target_ops) <to_get_trace_status>: Add
12256         argument.
12257         (target_get_trace_status): Add argument.
12258         * target.c (update_current_target): Update.
12259         * remote.c (remote_get_trace_status): Add 'self' argument.
12260         (remote_start_remote, remote_can_download_tracepoint): Update.
12261         * ctf.c (ctf_get_trace_status): Add 'self' argument.
12262
12263 2014-02-19  Tom Tromey  <[email protected]>
12264
12265         * target.h (struct target_ops) <to_trace_start>: Add argument.
12266         (target_trace_start): Add argument.
12267         * target.c (update_current_target): Update.
12268         * remote.c (remote_trace_start): Add 'self' argument.
12269
12270 2014-02-19  Tom Tromey  <[email protected]>
12271
12272         * target.h (struct target_ops) <to_trace_set_readonly_regions>:
12273         Add argument.
12274         (target_trace_set_readonly_regions): Add argument.
12275         * target.c (update_current_target): Update.
12276         * remote.c (remote_trace_set_readonly_regions): Add 'self'
12277         argument.
12278
12279 2014-02-19  Tom Tromey  <[email protected]>
12280
12281         * target.h (struct target_ops) <to_disable_tracepoint>: Add
12282         argument.
12283         (target_disable_tracepoint): Add argument.
12284         * target.c (update_current_target): Update.
12285         * remote.c (remote_disable_tracepoint): Add 'self' argument.
12286
12287 2014-02-19  Tom Tromey  <[email protected]>
12288
12289         * target.h (struct target_ops) <to_enable_tracepoint>: Add
12290         argument.
12291         (target_enable_tracepoint): Add argument.
12292         * target.c (update_current_target): Update.
12293         * remote.c (remote_enable_tracepoint): Add 'self' argument.
12294
12295 2014-02-19  Tom Tromey  <[email protected]>
12296
12297         * target.h (struct target_ops) <to_download_trace_state_variable>:
12298         Add argument.
12299         (target_download_trace_state_variable): Add argument.
12300         * target.c (update_current_target): Update.
12301         * remote.c (remote_download_trace_state_variable): Add 'self'
12302         argument.
12303
12304 2014-02-19  Tom Tromey  <[email protected]>
12305
12306         * target.h (struct target_ops) <to_can_download_tracepoint>: Add
12307         argument.
12308         (target_can_download_tracepoint): Add argument.
12309         * target.c (update_current_target): Update.
12310         * remote.c (remote_can_download_tracepoint): Add 'self' argument.
12311
12312 2014-02-19  Tom Tromey  <[email protected]>
12313
12314         * target.h (struct target_ops) <to_download_tracepoint>: Add
12315         argument.
12316         (target_download_tracepoint): Add argument.
12317         * target.c (update_current_target): Update.
12318         * remote.c (remote_download_tracepoint): Add 'self' argument.
12319
12320 2014-02-19  Tom Tromey  <[email protected]>
12321
12322         * target.h (struct target_ops) <to_trace_init>: Add argument.
12323         (target_trace_init): Add argument.
12324         * target.c (update_current_target): Update.
12325         * remote.c (remote_trace_init): Add 'self' argument.
12326
12327 2014-02-19  Tom Tromey  <[email protected]>
12328
12329         * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
12330         * target.c (target_fileio_readlink): Add argument.
12331         * remote.c (remote_hostio_readlink): Add 'self' argument.
12332         * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
12333
12334 2014-02-19  Tom Tromey  <[email protected]>
12335
12336         * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
12337         * target.c (target_fileio_unlink): Add argument.
12338         * remote.c (remote_hostio_unlink): Add 'self' argument.
12339         (remote_file_delete): Update.
12340         * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
12341
12342 2014-02-19  Tom Tromey  <[email protected]>
12343
12344         * target.h (struct target_ops) <to_fileio_close>: Add argument.
12345         * target.c (target_fileio_close): Add argument.
12346         * remote.c (remote_hostio_close): Add 'self' argument.
12347         (remote_hostio_close_cleanup): Update.
12348         (remote_bfd_iovec_close, remote_file_put, remote_file_get):
12349         Update.
12350         * inf-child.c (inf_child_fileio_close): Add 'self' argument.
12351
12352 2014-02-19  Tom Tromey  <[email protected]>
12353
12354         * target.h (struct target_ops) <to_fileio_pread>: Add argument.
12355         * target.c (target_fileio_pread): Add argument.
12356         * remote.c (remote_hostio_pread): Add 'self' argument.
12357         (remote_bfd_iovec_pread, remote_file_get): Update.
12358         * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
12359
12360 2014-02-19  Tom Tromey  <[email protected]>
12361
12362         * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
12363         * target.c (target_fileio_pwrite): Add argument.
12364         * remote.c (remote_hostio_pwrite): Add 'self' argument.
12365         (remote_file_put): Update.
12366         * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
12367
12368 2014-02-19  Tom Tromey  <[email protected]>
12369
12370         * target.h (struct target_ops) <to_fileio_open>: Add argument.
12371         * target.c (target_fileio_open): Add argument.
12372         * remote.c (remote_hostio_open): Add 'self' argument.
12373         (remote_bfd_iovec_open): Add 'self' argument.
12374         (remote_file_put): Add 'self' argument.
12375         (remote_file_get): Add 'self' argument.
12376         * inf-child.c (inf_child_fileio_open): Add 'self' argument.
12377
12378 2014-02-19  Tom Tromey  <[email protected]>
12379
12380         * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
12381         Add argument.
12382         (target_can_run_breakpoint_commands): Add argument.
12383         * target.c (update_current_target): Update.
12384         * remote.c (remote_can_run_breakpoint_commands): Add 'self'
12385         argument.
12386         (remote_insert_breakpoint): Add 'self' argument.
12387         (remote_insert_hw_breakpoint): Add 'self' argument.
12388         (remote_can_run_breakpoint_commands): Add 'self' argument.
12389
12390 2014-02-19  Tom Tromey  <[email protected]>
12391
12392         * target.h (struct target_ops)
12393         <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
12394         (target_supports_evaluation_of_breakpoint_conditions): Add
12395         argument.
12396         * target.c (update_current_target): Update.
12397         * remote.c (remote_supports_cond_breakpoints): Add 'self'
12398         argument.
12399         (remote_insert_breakpoint): Add 'self' argument.
12400         (remote_insert_hw_breakpoint): Add 'self' argument.
12401         (remote_supports_cond_breakpoints): Add 'self' argument.
12402
12403 2014-02-19  Tom Tromey  <[email protected]>
12404
12405         * target.h (struct target_ops) <to_supports_string_tracing>: Add
12406         argument.
12407         (target_supports_string_tracing): Add argument.
12408         * target.c (update_current_target): Update.
12409         * remote.c (remote_supports_string_tracing): Add 'self' argument.
12410
12411 2014-02-19  Tom Tromey  <[email protected]>
12412
12413         * target.h (struct target_ops)
12414         <to_supports_disable_randomization>: Add argument.
12415         * target.c (find_default_supports_disable_randomization): Add
12416         argument.
12417         (target_supports_disable_randomization): Add argument.
12418         (find_default_supports_disable_randomization): Add 'self'
12419         argument.
12420         * remote.c (extended_remote_supports_disable_randomization): Add
12421         'self' argument.
12422         (remote_supports_disable_randomization): Add 'self' argument.
12423         (extended_remote_create_inferior): Update.
12424         * linux-nat.c (linux_nat_supports_disable_randomization): Add
12425         'self' argument.
12426
12427 2014-02-19  Tom Tromey  <[email protected]>
12428
12429         * target.h (struct target_ops)
12430         <to_supports_enable_disable_tracepoint>: Add argument.
12431         (target_supports_enable_disable_tracepoint): Add argument.
12432         * target.c (update_current_target): Update.
12433         * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
12434         argument.
12435
12436 2014-02-19  Tom Tromey  <[email protected]>
12437
12438         * target.h (struct target_ops) <to_supports_multi_process>: Add
12439         argument.
12440         (target_supports_multi_process): Add argument.
12441         * target.c (update_current_target): Update.
12442         * remote.c (remote_supports_multi_process): Add 'self' argument.
12443         * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
12444         argument.
12445         * darwin-nat.c (darwin_supports_multi_process): Add 'self'
12446         argument.
12447
12448 2014-02-19  Tom Tromey  <[email protected]>
12449
12450         * target.h (struct target_ops) <to_execution_direction>: Add
12451         argument.
12452         (target_execution_direction): Add argument.
12453         * target.c (default_execution_direction): Add 'self' argument.
12454         * record-full.c (record_full_execution_direction): Add 'self'
12455         argument.
12456
12457 2014-02-19  Tom Tromey  <[email protected]>
12458
12459         * target.h (struct target_ops) <to_can_execute_reverse>: Add
12460         argument.
12461         (target_can_execute_reverse): Add argument.
12462         * remote.c (remote_can_execute_reverse): Add 'self' argument.
12463         * record-full.c (record_full_can_execute_reverse): Add 'self'
12464         argument.
12465         * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
12466         argument.
12467
12468 2014-02-19  Tom Tromey  <[email protected]>
12469
12470         * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
12471         * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
12472         argument.
12473         (target_get_ada_task_ptid): Add argument.
12474         * target.c (update_current_target): Update.
12475         (default_get_ada_task_ptid): Add 'self' argument.
12476         * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
12477         * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
12478         * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
12479         argument.
12480         * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
12481         argument.
12482         * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
12483         argument.
12484         * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
12485         argument.
12486         * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
12487         * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
12488         argument.
12489
12490 2014-02-19  Tom Tromey  <[email protected]>
12491
12492         * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
12493         (target_goto_bookmark): Add argument.
12494         * target.c (dummy_goto_bookmark): Add 'self' argument.
12495         * record-full.c (record_full_goto_bookmark): Add 'self' argument.
12496
12497 2014-02-19  Tom Tromey  <[email protected]>
12498
12499         * target.h (struct target_ops) <to_get_bookmark>: Add argument.
12500         (target_get_bookmark): Add argument.
12501         * target.c (dummy_get_bookmark): Add 'self' argument.
12502         * record-full.c (record_full_get_bookmark): Add 'self' argument.
12503
12504 2014-02-19  Tom Tromey  <[email protected]>
12505
12506         * target.h (struct target_ops) <to_make_corefile_notes>: Add
12507         argument.
12508         (target_make_corefile_notes): Add argument.
12509         * target.c (dummy_make_corefile_notes): Add 'self' argument.
12510         * procfs.c (procfs_make_note_section): Add 'self' argument.
12511         (procfs_make_note_section): Add 'self' argument.
12512         (procfs_make_note_section): Add 'self' argument.
12513         * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
12514         argument.
12515         * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
12516         * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
12517         * exec.c (exec_make_note_section): Add 'self' argument.
12518         (exec_make_note_section): Add 'self' argument.
12519
12520 2014-02-19  Tom Tromey  <[email protected]>
12521
12522         * target.h (struct target_ops) <to_find_memory_regions>: Add
12523         argument.
12524         (target_find_memory_regions): Add argument.
12525         * target.c (dummy_find_memory_regions): Add 'self' argument.
12526         * procfs.c (proc_find_memory_regions): Add 'self' argument.
12527         * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
12528         * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
12529         * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
12530         * exec. (exec_do_find_memory_regions): New global.
12531         (exec_set_find_memory_regions): Rewrite.
12532         (exec_find_memory_regions): New function.
12533         (init_exec_ops): Use exec_find_memory_regions.
12534
12535 2014-02-19  Tom Tromey  <[email protected]>
12536
12537         * target.h (struct target_ops) <to_supports_non_stop>: Add
12538         argument.
12539         * target.c (find_default_supports_non_stop): Add argument.
12540         (target_supports_non_stop): Add argument.
12541         (find_default_supports_non_stop): Add 'self' argument.
12542         * remote.c (remote_supports_non_stop): Add 'self' argument.
12543         * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
12544
12545 2014-02-19  Tom Tromey  <[email protected]>
12546
12547         * target.h (struct target_ops) <to_log_command>: Add argument.
12548         (target_log_command): Add argument.
12549         * serial.h (serial_log_command): Add 'self' argument.
12550         * serial.c (serial_log_command): Add 'self' argument.
12551
12552 2014-02-19  Tom Tromey  <[email protected]>
12553
12554         * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
12555         * target.h (struct target_ops) <to_pid_to_exec_file>: Add
12556         argument.
12557         (target_pid_to_exec_file): Add argument.
12558         * target.c (debug_to_pid_to_exec_file): Add argument.
12559         (update_current_target): Update.
12560         * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
12561         * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
12562         * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
12563         (linux_handle_extended_wait): Update.
12564         * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
12565         * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
12566         * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
12567         * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
12568
12569 2014-02-19  Tom Tromey  <[email protected]>
12570
12571         * target.h (struct target_ops) <to_rcmd>: Add argument.
12572         (target_rcmd): Add argument.
12573         * target.c (debug_to_rcmd): Add argument.
12574         (update_current_target, do_monitor_command): Update.
12575         * remote.c (remote_rcmd): Add 'self' argument.
12576         * monitor.c (monitor_rcmd): Add 'self' argument.
12577
12578 2014-02-19  Tom Tromey  <[email protected]>
12579
12580         * windows-nat.c (windows_stop): Add 'self' argument.
12581         * target.h (struct target_ops) <to_stop>: Add argument.
12582         * target.c (target_stop): Add argument.
12583         (debug_to_stop): Add argument.
12584         (update_current_target): Update.
12585         * remote.c (remote_stop): Add 'self' argument.
12586         * remote-sim.c (gdbsim_stop): Add 'self' argument.
12587         (gdbsim_cntrl_c): Update.
12588         * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
12589         * procfs.c (procfs_stop): Add 'self' argument.
12590         * nto-procfs.c (procfs_stop): Add 'self' argument.
12591         * monitor.c (monitor_stop): Add 'self' argument.
12592         (monitor_open): Update.
12593         * linux-nat.c (linux_nat_stop): Add argument.
12594         * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
12595         * gnu-nat.c (gnu_stop): Add 'self' argument.
12596         * darwin-nat.c (darwin_stop): Add 'self' argument.
12597
12598 2014-02-19  Tom Tromey  <[email protected]>
12599
12600         * target.h (struct target_ops) <to_thread_name>: Add argument.
12601         * target.c (target_thread_name): Add argument.
12602         (update_current_target): Update.
12603         * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
12604
12605 2014-02-19  Tom Tromey  <[email protected]>
12606
12607         * target.h (struct target_ops) <to_extra_thread_info>: Add
12608         argument.
12609         (target_extra_thread_info): Add argument.
12610         * target.c (update_current_target): Update.
12611         * remote.c (remote_threads_extra_info): Add 'self' argument.
12612         * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
12613         argument.
12614         * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
12615         * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
12616         * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
12617         argument.
12618         * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
12619         argument.
12620         * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
12621         argument.
12622         * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
12623         argument.
12624
12625 2014-02-19  Tom Tromey  <[email protected]>
12626
12627         * target.h (struct target_ops) <to_program_signals>: Add argument.
12628         * target.c (target_program_signals): Add argument.
12629         * remote.c (remote_program_signals): Add 'self' argument.
12630
12631 2014-02-19  Tom Tromey  <[email protected]>
12632
12633         * target.h (struct target_ops) <to_pass_signals>: Add argument.
12634         * target.c (target_pass_signals): Add argument.
12635         * remote.c (remote_pass_signals): Add 'self' argument.
12636         (remote_start_remote): Update.
12637         * procfs.c (procfs_pass_signals): Add 'self' argument.
12638         * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
12639         * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
12640         (linux_nat_create_inferior, linux_nat_attach): Update.
12641
12642 2014-02-19  Tom Tromey  <[email protected]>
12643
12644         * windows-nat.c (windows_can_run): Add 'self' argument.
12645         * target.h (struct target_ops) <to_can_run>: Add argument.
12646         (target_can_run): Add argument.
12647         * target.c (debug_to_can_run): Add argument.
12648         (update_current_target): Update.
12649         * nto-procfs.c (procfs_can_run): Add 'self' argument.
12650         * inf-child.c (inf_child_can_run): Add 'self' argument.
12651         * go32-nat.c (go32_can_run): Add 'self' argument.
12652
12653 2014-02-19  Tom Tromey  <[email protected]>
12654
12655         * target.h (struct target_ops) <to_has_exited>: Add argument.
12656         (target_has_exited): Add argument.
12657         * target.c (debug_to_has_exited): Add argument.
12658         (update_current_target): Update.
12659
12660 2014-02-19  Tom Tromey  <[email protected]>
12661
12662         * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
12663         argument.
12664         (target_set_syscall_catchpoint): Add argument.
12665         * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
12666         argument.
12667         * target.c (update_current_target): Update.
12668
12669 2014-02-19  Tom Tromey  <[email protected]>
12670
12671         * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
12672         argument.
12673         (target_remove_exec_catchpoint): Add argument.
12674         * target.c (debug_to_remove_exec_catchpoint): Add argument.
12675         (update_current_target): Update.
12676         * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
12677         argument.
12678
12679 2014-02-19  Tom Tromey  <[email protected]>
12680
12681         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
12682         argument.
12683         (target_insert_exec_catchpoint): Add argument.
12684         * target.c (debug_to_insert_exec_catchpoint): Add argument.
12685         (update_current_target): Update.
12686         * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
12687         argument.
12688
12689 2014-02-19  Tom Tromey  <[email protected]>
12690
12691         * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
12692         argument.
12693         (target_remove_vfork_catchpoint): Add argument.
12694         * target.c (debug_to_remove_vfork_catchpoint): Add argument.
12695         (update_current_target): Update.
12696         * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
12697         argument.
12698
12699 2014-02-19  Tom Tromey  <[email protected]>
12700
12701         * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
12702         argument.
12703         (target_insert_vfork_catchpoint): Add argument.
12704         * target.c (debug_to_insert_vfork_catchpoint): Add argument.
12705         (update_current_target): Update.
12706         * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
12707         argument.
12708
12709 2014-02-19  Tom Tromey  <[email protected]>
12710
12711         * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
12712         argument.
12713         (target_remove_fork_catchpoint): Add argument.
12714         * target.c (debug_to_remove_fork_catchpoint): Add argument.
12715         (update_current_target): Update.
12716         * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
12717         argument.
12718
12719 2014-02-19  Tom Tromey  <[email protected]>
12720
12721         * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
12722         argument.
12723         (target_insert_fork_catchpoint): Add argument.
12724         * target.c (debug_to_insert_fork_catchpoint): Add argument.
12725         (update_current_target): Update.
12726         * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
12727         argument.
12728
12729 2014-02-19  Tom Tromey  <[email protected]>
12730
12731         * target.h (struct target_ops) <to_post_startup_inferior>: Add
12732         argument.
12733         (target_post_startup_inferior): Add argument.
12734         * target.c (debug_to_post_startup_inferior): Add argument.
12735         (update_current_target): Update.
12736         * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
12737         argument.
12738         * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
12739         argument.
12740         * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
12741         argument.
12742         * inf-child.c (inf_child_post_startup_inferior): Add 'self'
12743         argument.
12744         * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
12745         'self' argument.
12746         (super_post_startup_inferior): Likewise.
12747         * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
12748         'self' argument.
12749         (super_post_startup_inferior): Likewise.
12750         * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
12751         Add 'self' argument.
12752         (super_post_startup_inferior): Likewise.
12753
12754 2014-02-19  Tom Tromey  <[email protected]>
12755
12756         * target.h (struct target_ops) <to_load>: Add argument.
12757         * target.c (target_load): Add argument.
12758         (debug_to_load): Add argument.
12759         (update_current_target): Update.
12760         * remote.c (remote_load): Add 'self' argument.
12761         * remote-sim.c (gdbsim_load): Add 'self' argument.
12762         * remote-mips.c (mips_load): Add 'self' argument.
12763         * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
12764         * monitor.c (monitor_load): Add 'self' argument.
12765         * m32r-rom.c (m32r_load_gen): Add 'self' argument.
12766
12767 2014-02-19  Tom Tromey  <[email protected]>
12768
12769         * target.h (struct target_ops) <to_terminal_info>: Add argument.
12770         (target_terminal_info): Add argument.
12771         * target.c (debug_to_terminal_info): Add argument.
12772         (default_terminal_info): Likewise.
12773         * inflow.c (child_terminal_info): Add 'self' argument.
12774         * inferior.h (child_terminal_info): Add 'self' argument.
12775         * go32-nat.c (go32_terminal_info): Add 'self' argument.
12776
12777 2014-02-19  Tom Tromey  <[email protected]>
12778
12779         * target.h (struct target_ops) <to_terminal_save_ours>: Add
12780         argument.
12781         (target_terminal_save_ours): Add argument.
12782         * target.c (debug_to_terminal_save_ours): Add argument.
12783         (update_current_target): Update.
12784         * inflow.c (terminal_save_ours): Add 'self' argument.
12785         * inferior.h (terminal_save_ours): Add 'self' argument.
12786
12787 2014-02-19  Tom Tromey  <[email protected]>
12788
12789         * target.h (struct target_ops) <to_terminal_ours>: Add argument.
12790         (target_terminal_ours): Add argument.
12791         * target.c (debug_to_terminal_ours): Add argument.
12792         (update_current_target): Update.
12793         * remote.c (remote_terminal_ours): Add 'self' argument.
12794         (remote_close): Update.
12795         * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
12796         * inflow.c (terminal_ours): Add 'self' argument.
12797         * inferior.h (terminal_ours): Add 'self' argument.
12798         * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12799
12800 2014-02-19  Pedro Alves  <[email protected]>
12801             Tom Tromey  <[email protected]>
12802
12803         * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
12804         argument.
12805         (target_terminal_ours_for_output): Add argument.
12806         * target.c (debug_to_terminal_ours_for_output): Add argument.
12807         (update_current_target): Update.
12808         * inflow.c (terminal_ours_for_output): Add 'self' argument.
12809         * inferior.h (terminal_ours_for_output): Add 'self' argument.
12810         * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12811
12812 2014-02-19  Tom Tromey  <[email protected]>
12813
12814         * target.h (struct target_ops) <to_terminal_inferior>: Add
12815         argument.
12816         * target.c (target_terminal_inferior): Add argument.
12817         (update_current_target): Update.
12818         * remote.c (remote_terminal_inferior): Add 'self' argument.
12819         * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
12820         * inflow.c (terminal_inferior): Add 'self' argument.
12821         * inferior.h (terminal_inferior): Add 'self' argument.
12822         * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
12823         (go32_terminal_inferior): Add 'self' argument.
12824
12825 2014-02-19  Tom Tromey  <[email protected]>
12826
12827         * target.h (struct target_ops) <to_terminal_init>: Add argument.
12828         (target_terminal_init): Add argument.
12829         * target.c (debug_to_terminal_init): Add argument.
12830         (update_current_target): Update.
12831         * inflow.c (terminal_init_inferior): Add 'self' argument.
12832         * inferior.h (terminal_init_inferior): Add 'self' argument.
12833         * go32-nat.c (go32_terminal_init): Add 'self' argument.
12834         * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
12835
12836 2014-02-19  Tom Tromey  <[email protected]>
12837
12838         * target.h (struct target_ops)
12839         <to_can_accel_watchpoint_condition>: Add argument.
12840         (target_can_accel_watchpoint_condition): Add argument.
12841         * target.c (debug_to_can_accel_watchpoint_condition): Add
12842         argument.
12843         (update_current_target): Update.
12844         * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
12845         'self' argument.
12846
12847 2014-02-19  Tom Tromey  <[email protected]>
12848
12849         * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
12850         Add argument.
12851         (target_region_ok_for_hw_watchpoint): Add argument.
12852         * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
12853         (default_region_ok_for_hw_watchpoint): Add argument.
12854         * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
12855         * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
12856         argument.
12857         * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
12858         argument.
12859         * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
12860         argument.
12861         * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
12862         'self' argument.
12863         * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
12864         'self' argument.
12865         * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
12866         'self' argument.
12867         * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
12868         * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
12869         'self' argument.
12870         * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
12871         Add 'self' argument.
12872
12873 2014-02-19  Tom Tromey  <[email protected]>
12874
12875         * target.h (struct target_ops) <to_insert_watchpoint>: Add
12876         argument.
12877         (target_insert_watchpoint): Add argument.
12878         * target.c (debug_to_insert_watchpoint): Add argument.
12879         (update_current_target): Update.
12880         * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
12881         * remote.c (remote_insert_watchpoint): Add 'self' argument.
12882         * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
12883         * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
12884         * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
12885         * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
12886         argument.
12887         * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
12888         (procfs_insert_hw_watchpoint): Add 'self' argument.
12889         * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
12890         argument.
12891         * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12892         argument.
12893         * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12894         argument.
12895         * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12896         * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12897         argument.
12898         * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12899         'self' argument.
12900
12901 2014-02-19  Tom Tromey  <[email protected]>
12902
12903         * target.h (struct target_ops) <to_remove_watchpoint>: Add
12904         argument.
12905         (target_remove_watchpoint): Add argument.
12906         * target.c (debug_to_remove_watchpoint): Add argument.
12907         (update_current_target): Update.
12908         * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12909         * remote.c (remote_remove_watchpoint): Add 'self' argument.
12910         * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12911         * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12912         * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12913         * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12914         argument.
12915         * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12916         * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12917         argument.
12918         * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12919         argument.
12920         * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12921         argument.
12922         * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12923         * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12924         argument.
12925         * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12926         'self' argument.
12927
12928 2014-02-19  Tom Tromey  <[email protected]>
12929
12930         * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12931         argument.
12932         (target_remove_hw_breakpoint): Add argument.
12933         * target.c (debug_to_remove_hw_breakpoint): Add argument.
12934         (update_current_target): Update.
12935         * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12936         * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12937         argument.
12938         * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12939         * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12940         argument.
12941         * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12942         'self' argument.
12943
12944 2014-02-19  Tom Tromey  <[email protected]>
12945
12946         * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
12947         argument.
12948         (target_insert_hw_breakpoint): Add argument.
12949         * target.c (debug_to_insert_hw_breakpoint): Add argument.
12950         (update_current_target): Update.
12951         * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
12952         * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
12953         argument.
12954         * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
12955         * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
12956         * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
12957         argument.
12958         * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
12959         'self' argument.
12960
12961 2014-02-19  Tom Tromey  <[email protected]>
12962
12963         * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
12964         argument.
12965         (target_can_use_hardware_watchpoint): Add argument.
12966         * target.c (debug_to_can_use_hw_breakpoint): Add argument.
12967         (update_current_target): Update.
12968         * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
12969         argument.
12970         * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
12971         argument.
12972         * remote.c (remote_check_watch_resources): Add 'self' argument.
12973         * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
12974         * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
12975         argument.
12976         * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
12977         * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
12978         argument.
12979         * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
12980         argument.
12981         * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
12982         argument.
12983         * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
12984         argument.
12985         * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
12986         argument.
12987         * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
12988         argument.
12989         * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
12990         * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
12991         argument.
12992         * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
12993         'self' argument.
12994
12995 2014-02-19  Tom Tromey  <[email protected]>
12996
12997         * target.h (struct target_ops) <to_post_attach>: Add argument.
12998         (target_post_attach): Add argument.
12999         * target.c (debug_to_post_attach): Add argument.
13000         (update_current_target): Update.
13001         * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
13002         * nto-procfs.c (procfs_post_attach): Add 'self' argument.
13003         * linux-nat.c (linux_child_post_attach): Add 'self' argument.
13004         * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
13005         * inf-child.c (inf_child_post_attach): Add 'self' argument.
13006
13007 2014-02-19  Tom Tromey  <[email protected]>
13008
13009         * windows-nat.c (windows_close): Add 'self' argument.
13010         * tracepoint.c (tfile_close): Add 'self' argument.
13011         * target.h (struct target_ops) <to_close>: Add argument.
13012         * target.c (target_close): Add argument.
13013         (update_current_target): Update.
13014         * remote.c (remote_close): Add 'self' argument.
13015         * remote-sim.c (gdbsim_close): Add 'self' argument.
13016         * remote-mips.c (mips_close): Add 'self' argument.
13017         * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
13018         * record-full.c (record_full_close): Add 'self' argument.
13019         * record-btrace.c (record_btrace_close): Add 'self' argument.
13020         * monitor.h (monitor_close): Add 'self' argument.
13021         * monitor.c (monitor_close): Add 'self' argument.
13022         * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
13023         * linux-nat.c (linux_nat_close): Add argument.
13024         * go32-nat.c (go32_close): Add 'self' argument.
13025         * exec.c (exec_close_1): Add 'self' argument.
13026         * ctf.c (ctf_close): Add 'self' argument.
13027         * corelow.c (core_close): Add 'self' argument.
13028         (core_close_cleanup): Update.
13029         * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
13030         * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
13031
13032 2014-02-19  Tom Tromey  <[email protected]>
13033
13034         * remote.c (remote_load): New function.
13035         (init_remote_ops): Use it.
13036
13037 2014-02-19  Tom Tromey  <[email protected]>
13038
13039         * common/linux-btrace.c (linux_supports_btrace): Add "ops"
13040         argument.
13041         * common/linux-btrace.h (linux_supports_btrace): Update.
13042         * remote.c (remote_supports_btrace): Add "self" argument.
13043         * target-delegates.c: Rebuild.
13044         * target.c (target_supports_btrace): Remove.
13045         * target.h (struct target_ops) <to_supports_btrace>: Add
13046         target_ops argument.
13047         (target_supports_btrace): New define.
13048
13049 2014-02-19  Tom Tromey  <[email protected]>
13050
13051         * record-full.c (record_full_beneath_to_resume_ops)
13052         (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
13053         (record_full_beneath_to_wait)
13054         (record_full_beneath_to_store_registers_ops)
13055         (record_full_beneath_to_store_registers)
13056         (record_full_beneath_to_xfer_partial_ops)
13057         (record_full_beneath_to_xfer_partial)
13058         (record_full_beneath_to_insert_breakpoint_ops)
13059         (record_full_beneath_to_insert_breakpoint)
13060         (record_full_beneath_to_remove_breakpoint_ops)
13061         (record_full_beneath_to_remove_breakpoint)
13062         (record_full_beneath_to_stopped_by_watchpoint)
13063         (record_full_beneath_to_stopped_data_address)
13064         (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
13065         (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
13066         (tmp_to_store_registers, tmp_to_xfer_partial_ops)
13067         (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
13068         (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
13069         (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
13070         (tmp_to_stopped_data_address, tmp_to_async): Remove.
13071         (record_full_open_1, record_full_open): Update.  Use RECORD_IS_USED.
13072         (record_full_resume, record_full_wait_1)
13073         (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
13074         (record_full_store_registers, record_full_xfer_partial)
13075         (record_full_insert_breakpoint, record_full_remove_breakpoint)
13076         (record_full_async, record_full_core_xfer_partial): Use target
13077         delegation.
13078         * target-delegates.c: Rebuild.
13079         * target.c (current_xfer_partial): Remove.
13080         (update_current_target): Do not INHERIT or de_fault
13081         to_insert_breakpoint, to_remove_breakpoint,
13082         to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
13083         to_is_async_p, to_async.  Do not set to_xfer_partial field.
13084         (default_xfer_partial): Simplify.
13085         (current_xfer_partial): Remove.
13086         (target_wait, target_resume): Simplify.
13087         (find_default_can_async_p, find_default_is_async_p): Update.
13088         (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
13089         to_xfer_partial, to_stopped_by_watchpoint,
13090         to_stopped_data_address.
13091         (target_store_registers): Simplify.
13092         (forward_target_remove_breakpoint)
13093         (forward_target_insert_breakpoint): Remove.
13094         (target_remove_breakpoint, target_insert_breakpoint)
13095         (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
13096         * target.h (struct target_ops) <to_resume, to_wait,
13097         to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
13098         to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
13099         to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
13100         markup.
13101         (forward_target_remove_breakpoint)
13102         (forward_target_insert_breakpoint): Remove.
13103         * record-btrace.c (record_btrace_remove_breakpoint): Delegate
13104         directly.
13105         (record_btrace_insert_breakpoint): Delegate directly.
13106
13107 2014-02-19  Tom Tromey  <[email protected]>
13108
13109         PR build/7701:
13110         * target-delegates.c: New file.
13111         * target.c: Include target-delegates.c.
13112         (init_dummy_target): Call install_dummy_methods.
13113         (complete_target_initialization): Call install_delegators.
13114         * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
13115         (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
13116         * make-target-delegates: New file.
13117
13118 2014-02-19  Tom Tromey  <[email protected]>
13119
13120         * record.c (find_record_target): Use find_target_at.
13121         * target.c (find_target_at): New function.
13122         * target.h (find_target_at): Declare.
13123
13124 2014-02-19  Tom Tromey  <[email protected]>
13125
13126         * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
13127         Add 'ops' argument.
13128         * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
13129         'ops' argument.
13130         * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
13131         * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
13132         'ops' argument.
13133         * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
13134         argument.
13135         * linux-nat.c (save_sigtrap): Update.
13136         (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
13137         (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
13138         (linux_nat_close): Update.
13139         * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
13140         argument.
13141         * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
13142         argument.
13143         * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
13144         * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
13145         (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
13146         (tmp_to_async): Add 'ops' argument.
13147         (record_full_stopped_by_watchpoint, record_full_async)
13148         (record_full_can_async_p, record_full_is_async_p): Add 'ops'
13149         argument.
13150         * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
13151         (m32r_stopped_by_watchpoint): Add 'ops' argument.
13152         * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
13153         * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
13154         (remote_is_async_p, remote_async): Add 'ops' argument.
13155         (remote_stopped_data_address): Update.
13156         * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
13157         * target.c (update_current_target)
13158         (find_default_can_async_p, find_default_is_async_p): Update.
13159         (init_dummy_target): Update.
13160         (debug_to_stopped_by_watchpoint): Add 'ops' argument.
13161         * target.h (struct target_ops) <to_stopped_by_watchpoint,
13162         to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
13163         (target_can_async_p, target_is_async_p, target_async)
13164         (target_stopped_by_watchpoint): Update.
13165
13166 2014-02-19  Yao Qi  <[email protected]>
13167
13168         PR gdb/16220
13169         * gdbarch.sh: Remove startup_gdbarch.
13170         * gdbarch.c: Regenerated.
13171         * gdbarch.h: Likewise.
13172
13173 2014-02-17  Kevin Buettner  <[email protected]>
13174
13175         * rl78-tdep.c (rl78_g10_register_name): New function.
13176         (rl78_return_value): Add g10 support.
13177         (rl78_gdbarch_init): Register rl78_g10_register_name for the
13178         g10.
13179
13180 2014-02-17  Doug Evans  <[email protected]>
13181
13182         * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
13183         (SUBDIR_GUILE_SRCS): Ditto.
13184         (scm-gsmob.o): Ditto.
13185
13186 2014-02-17  Yao Qi  <[email protected]>
13187
13188         * gnu-nat.c (ILL_RPC): Declare defined function.
13189
13190 2014-02-17  Yao Qi  <[email protected]>
13191
13192         * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
13193         mach_msg_type_number_t.
13194         (gnu_write_inferior): Likewise.
13195
13196 2014-02-17  Yao Qi  <[email protected]>
13197
13198         * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
13199         in format string.
13200         (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
13201         (inf_validate_procs, inf_signal): Likewise.
13202         (S_exception_raise_request): Likewise.
13203         (do_mach_notify_dead_name): Likewise.
13204         (steal_exc_port): Likewise.
13205         (gnu_read_inferior): Change 'copy_count''s type to
13206         mach_msg_type_number_t.
13207         (gnu_write_inferior): Likewise.  Use 'lx' instead of 'x' in
13208         format string.
13209
13210 2014-02-16  Thomas Schwinge  <[email protected]>
13211
13212         * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
13213         flag.  Adjust all users; in particular...
13214         (gnu_wait): ..., don't decrement its value in here...
13215         (gnu_create_inferior): ..., and instead set the flag in here,
13216         around the startup_inferior call, and call that one with
13217         START_INFERIOR_TRAPS_EXPECTED.
13218
13219         * gnu-nat.c (ill_rpc): Remove function; replaced with this...
13220         (ILL_RPC): ... new macro.
13221         (do_mach_notify_no_senders, do_mach_notify_port_deleted)
13222         (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
13223         (do_mach_notify_send_once, S_proc_setmsgport_reply)
13224         (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
13225         functions with ILL_RPC macro.
13226         (S_proc_pid2task_reply, S_proc_task2pid_reply)
13227         (S_proc_task2proc_reply, S_proc_proc2task_reply)
13228         (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
13229         (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
13230         (S_proc_getloginid_reply, S_proc_getloginpids_reply)
13231         (S_proc_getlogin_reply, S_proc_getsid_reply)
13232         (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
13233         (S_proc_getsidport_reply, S_proc_getpgrp_reply)
13234         (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
13235         (S_proc_getnports_reply, S_proc_is_important_reply)
13236         (S_proc_get_code_reply): New stub functions, generated with
13237         ILL_RPC macro.
13238
13239         * reply_mig_hack.awk: In phase 5, keep going if we have not yet
13240         collected the type check structures.
13241
13242         * reply_mig_hack.awk: Don't expect to see the auto keyword.
13243
13244 2014-02-14  Doug Evans  <[email protected]>
13245
13246         * target.c (target_write_partial): Fix result type.
13247
13248 2014-02-14  Jose E. Marchesi  <[email protected]>
13249
13250         * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
13251         the proper offsets to access fpregset_t.
13252
13253 2014-02-13  Sanimir Agovic  <[email protected]>
13254
13255         * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
13256         (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
13257         * h8300-tdep.c (setmachinelist): Remove global.
13258         * hppa-tdep.c (hppa_sigtramp): Remove global.
13259         * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
13260         RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
13261         * ravenscar-thread.c (update_target_observer): Remove global.
13262         * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
13263
13264 2014-02-12  Tom Tromey  <[email protected]>
13265
13266         * common/rsp-low.c: Update comments.
13267         * common/rsp-low.h: Update comments.
13268
13269 2014-02-12  Tom Tromey  <[email protected]>
13270
13271         * common/rsp-low.c (convert_ascii_to_int): Remove.
13272         * common/rsp-low.h (convert_ascii_to_int): Don't declare.
13273
13274 2014-02-12  Tom Tromey  <[email protected]>
13275
13276         * common/rsp-low.h (unhexify): Don't declare.
13277         * common/rsp-low.c (unhexify): Remove.
13278
13279 2014-02-12  Tom Tromey  <[email protected]>
13280
13281         * common/rsp-low.h (convert_int_to_ascii): Don't declare.
13282         * common/rsp-low.c (convert_int_to_ascii): Remove.
13283
13284 2014-02-12  Tom Tromey  <[email protected]>
13285
13286         * common/rsp-low.h (hexify): Don't declare.
13287         * common/rsp-low.c (hexify): Remove.
13288
13289 2014-02-12  Tom Tromey  <[email protected]>
13290
13291         * common/rsp-low.c (hexify): Never take strlen of argument.
13292
13293 2014-02-12  Tom Tromey  <[email protected]>
13294
13295         * common/rsp-low.c (bin2hex): Never take strlen of argument.
13296         * remote.c (extended_remote_run, remote_rcmd)
13297         (remote_download_trace_state_variable, remote_save_trace_data)
13298         (remote_set_trace_notes): Update.
13299         * tracepoint.c (encode_source_string, tfile_write_status)
13300         (tfile_write_uploaded_tsv): Update.
13301
13302 2014-02-12  Tom Tromey  <[email protected]>
13303
13304         * tracepoint.c: Include rsp-low.h.
13305         * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
13306         * remote.c: Include rsp-low.h.
13307         (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
13308         (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
13309         (remote_unescape_input): Move to common/rsp-low.c.
13310         * common/rsp-low.h: New file.
13311         * common/rsp-low.c: New file.
13312         * Makefile.in (SFILES): Add common/rsp-low.c.
13313         (HFILES_NO_SRCDIR): Add common/rsp-low.h.
13314         (COMMON_OBS): Add rsp-low.o.
13315         (rsp-low.o): New target.
13316
13317 2014-02-12  Tom Tromey  <[email protected]>
13318
13319         * utils.h: Include print-utils.h.
13320         (host_address_to_string, plongest, pulongest, phex, phex_nz)
13321         (int_string, core_addr_to_string, core_addr_to_string_nz)
13322         (hex_string, hex_string_custom): Don't declare.
13323         * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
13324         (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
13325         (hex_string_custom, int_string, core_addr_to_string)
13326         (core_addr_to_string_nz, host_address_to_string): Move to
13327         common/print-utils.c.
13328         * common/print-utils.h: New file.
13329         * common/print-utils.c: New file
13330         * Makefile.in (SFILES): Add common/print-utils.c.
13331         (HFILES_NO_SRCDIR): Add common/print-utils.h.
13332         (COMMON_OBS): Add print-utils.o.
13333         (print-utils.o): New target.
13334
13335 2014-02-12  Tom Tromey  <[email protected]>
13336
13337         * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
13338
13339 2014-02-12  Mark Kettenis  <[email protected]>
13340
13341         * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
13342
13343 2014-02-12  Mark Kettenis  <[email protected]>
13344
13345         * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
13346         if a PT_IO ptrace request returns sucessfully but indicates that 0
13347         bytes were transferred.
13348
13349 2014-02-12  Pedro Alves  <[email protected]>
13350             Kevin Buettner <[email protected]>
13351
13352         * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
13353         TYPE_INSTANCE_FLAG_CODE_SPACE.
13354
13355 2014-02-12  Pedro Alves  <[email protected]>
13356
13357         * h8300-tdep.c (pseudo_from_raw_register)
13358         (raw_from_pseudo_register): New functions.
13359         (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
13360         them.
13361
13362 2014-02-12  Pedro Alves  <[email protected]>
13363
13364         * h8300-tdep.c (h8300_register_sim_regno): New function.
13365         (h8300_gdbarch_init): Install h8300_register_sim_regno as
13366         gdbarch_register_sim_regno hook.
13367
13368 2014-02-12  Sanimir Agovic  <[email protected]>
13369
13370         * nios2-tdep.c (nios2_stub_frame_base): Remove global.
13371
13372 2014-02-12  Sanimir Agovic  <[email protected]>
13373
13374         * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
13375
13376 2014-02-12  Mark Kettenis  <[email protected]>
13377
13378         * obsd-tdep.h (obsd_init_abi): New prototype.
13379         * obsd-tdep.c: Define enum with OpenBSD signal numbers.
13380         (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
13381         (obsd_init_abi): New functions.
13382         * i386obsd-tdep.c: Include "obsd-tdep.h".
13383         (i386obsd_init_abi): Call obsd_init_abi.
13384         * amd64obsd-tdep.c: Include "obsd-tdep.h".
13385         (amd64obsd_init_abi): Call obsd_init_abi.
13386         * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
13387         obsd-tdep.c to gdb_target_obs.
13388
13389 2014-02-11  Jose E. Marchesi  <[email protected]>
13390
13391         * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
13392         double float arguments to 16-byte in the argument slots.
13393
13394 2014-02-11  Doug Evans  <[email protected]>
13395
13396         * configure.ac: Don't crash if pkg-config is not found and guile
13397         wasn't explicitly requested.  Use AC_MSG_ERROR instead of AC_ERROR
13398         in guile checks.
13399         * configure: Regenerate.
13400
13401 2014-02-11  Yao Qi  <[email protected]>
13402
13403         * aix-thread.c (aix_thread_xfer_partial): Update comments.
13404         * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
13405         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
13406         * gnu-nat.c (gnu_xfer_memory): Likewise.
13407         * inf-ptrace.c (inf_ptrace_xfer_partial):  Likewise.
13408         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13409         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13410         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13411
13412 2014-02-11  Yao Qi  <[email protected]>
13413
13414         * target.h (enum target_xfer_error): Rename to ...
13415         (enum target_xfer_status): ... it.  New.  All users updated.
13416         (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
13417         New.
13418         (TARGET_XFER_STATUS_ERROR_P): New macro.
13419         (target_xfer_error_to_string): Remove declaration.
13420         (target_xfer_status_to_string): Declare.
13421         (target_xfer_partial_ftype): Adjust it.
13422         (struct target_ops) <to_xfer_partial>: Return
13423         target_xfer_status.  Add argument xfered_len.  Update
13424         comments.
13425         * target.c (target_xfer_error_to_string): Rename to ...
13426         (target_xfer_status_to_string): ... it.  New.  All callers
13427         updated.
13428         (target_read_live_memory): Likewise.  Call target_xfer_partial
13429         instead of target_read.
13430         (memory_xfer_live_readonly_partial): Return
13431         target_xfer_status.  Add argument xfered_len.
13432         (raw_memory_xfer_partial): Likewise.
13433         (memory_xfer_partial_1): Likewise.
13434         (memory_xfer_partial): Likewise.
13435         (target_xfer_partial): Likewise.  Check *XFERED_LEN is set
13436         properly.  Update debug message.
13437         (default_xfer_partial, current_xfer_partial): Likewise.
13438         (target_write_partial): Likewise.
13439         (target_read_partial): Likewise.  All callers updated.
13440         (read_whatever_is_readable): Likewise.
13441         (target_write_with_progress): Likewise.
13442         (target_read_alloc_1): Likewise.
13443
13444         * aix-thread.c (aix_thread_xfer_partial): Likewise.
13445         * auxv.c (procfs_xfer_auxv): Likewise.
13446         (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
13447         * bfd-target.c (target_bfd_xfer_partial): Likewise.
13448         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13449         * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
13450         * corefile.c (read_memory): Adjust.
13451         * corelow.c (core_xfer_partial): Likewise.
13452         * ctf.c (ctf_xfer_partial): Likewise.
13453         * darwin-nat.c (darwin_read_dyld_info): Likewise.  All callers
13454         updated.
13455         (darwin_xfer_partial): Likewise.
13456         * exec.c (section_table_xfer_memory_partial): Likewise.  All
13457         callers updated.
13458         (exec_xfer_partial): Likewise.
13459         * exec.h (section_table_xfer_memory_partial): Update
13460         declaration.
13461         * gnu-nat.c (gnu_xfer_memory): Likewise.  Assert 'res' is not
13462         negative.
13463         (gnu_xfer_partial): Likewise.
13464         * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
13465         (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
13466         (ia64_hpux_xfer_solib_got): Likewise.
13467         * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.  Change
13468         type of 'partial_len' to ULONGEST.
13469         * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13470         * linux-nat.c (linux_xfer_siginfo ): Likewise.
13471         (linux_nat_xfer_partial): Likewise.
13472         (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
13473         (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
13474         * monitor.c (monitor_xfer_memory): Likewise.
13475         (monitor_xfer_partial): Likewise.
13476         * procfs.c (procfs_xfer_partial): Likewise.
13477         * record-btrace.c (record_btrace_xfer_partial): Likewise.
13478         * record-full.c (record_full_xfer_partial): Likewise.
13479         (record_full_core_xfer_partial): Likewise.
13480         * remote-sim.c (gdbsim_xfer_memory): Likewise.
13481         (gdbsim_xfer_partial): Likewise.
13482         * remote.c (remote_write_bytes_aux): Likewise.  All callers
13483         updated.
13484         (remote_write_bytes, remote_read_bytes): Likewise.  All
13485         callers updated.
13486         (remote_flash_erase): Likewise.  All callers updated.
13487         (remote_write_qxfer): Likewise.  All callers updated.
13488         (remote_read_qxfer): Likewise.  All callers updated.
13489         (remote_xfer_partial): Likewise.
13490         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13491         (rs6000_xfer_shared_libraries): Likewise.
13492         * sol-thread.c (sol_thread_xfer_partial): Likewise.
13493         (sol_thread_xfer_partial): Likewise.
13494         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13495         (sparc_xfer_partial): Likewise.
13496         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.  All callers
13497         updated.
13498         (spu_xfer_partial): Likewise.
13499         * spu-multiarch.c (spu_xfer_partial): Likewise.
13500         * tracepoint.c (tfile_xfer_partial): Likewise.
13501         * windows-nat.c (windows_xfer_memory): Likewise.
13502         (windows_xfer_shared_libraries): Likewise.
13503         (windows_xfer_partial): Likewise.
13504         * valprint.c: Replace 'target_xfer_error' with
13505         'target_xfer_status' in comments.
13506
13507 2014-02-11  Simon Marchi  <[email protected]>  (tiny patch)
13508
13509         Checked in by Joel Brobecker <[email protected]>.
13510         * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
13511
13512 2014-02-11  Joel Brobecker  <[email protected]>
13513
13514         * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
13515         function parameters.
13516
13517 2014-02-10  Will Newton  <[email protected]>
13518
13519         * elfread.c (elf_rel_plt_read): Look for a .got section if
13520         looking up .got.plt fails.
13521         (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
13522         on address passed to elf_gnu_ifunc_record_cache.
13523         (elf_gnu_ifunc_resolve_addr): Likewise.
13524         (elf_gnu_ifunc_resolver_return_stop): Likewise.
13525
13526 2014-02-10  Jose E. Marchesi  <[email protected]>
13527
13528         * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
13529         (X_RETTURN): New macro.
13530         * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
13531
13532         * sparc64-tdep.c (sparc64_init_abi): Hook
13533         sparc_in_function_epilogue_p.
13534
13535 2014-02-10  Gary Benson  <[email protected]>
13536
13537         * symfile-debug.c (debug_qf_expand_symtabs_matching):
13538         Rename name_matcher to symbol_matcher.
13539
13540 2014-02-10  Gary Benson  <[email protected]>
13541
13542         * symfile-debug.c (debug_qf_expand_symtabs_matching):
13543         Use expand_symtabs_file_matcher_ftype and
13544         expand_symtabs_symbol_matcher_ftype.
13545
13546 2014-02-10  Joel Brobecker  <[email protected]>
13547
13548         * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
13549         (struct ada_symbol_cache): New.
13550         (ada_free_symbol_cache): Forward declare.
13551         (struct ada_pspace_data): New.
13552         (ada_pspace_data_handle): New static global.
13553         (get_ada_pspace_data, ada_pspace_data_cleanup)
13554         (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
13555         (cache_space, cache): Delete, now folded inside struct
13556         ada_pspace_data.
13557         (ada_get_symbol_cache): New function.
13558         (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
13559         implementation.
13560         (_initialize_ada_language): Remove initialization of cache_space.
13561         Move call to observer_attach_inferior_exit up, grouping it
13562         with the other observer registrations inside this function.
13563         Rename command to be more general.  Add call to
13564         register_program_space_data_with_cleanup.
13565
13566 2014-02-10  Joel Brobecker  <[email protected]>
13567
13568         * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
13569         ada_new_objfile_observer.
13570         (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
13571         (_initialize_tasks): Update uses of ada_new_objfile_observer
13572         and ada_tasks_normal_stop_observer.
13573
13574 2014-02-10  Joel Brobecker  <[email protected]>
13575
13576         * ada-lang.c (ada_evaluate_subexp): Set the type of the value
13577         returned by the 'Length attribute to integer.
13578
13579 2014-02-10  Joel Brobecker  <[email protected]>
13580
13581         * ada-lang.c (_initialize_ada_language): Initialize
13582         cache_space obstack.
13583
13584 2014-02-10  Joel Brobecker  <[email protected]>
13585
13586         * ada-lang.c (HASH_SIZE): New macro.
13587         (struct cache_entry): New type.
13588         (cache_space, cache): New static globals.
13589         (ada_clear_symbol_cache, find_entry): New functions.
13590         (lookup_cached_symbol, cache_symbol): Implement.
13591         (ada_new_objfile_observer, ada_free_objfile_observer): New.
13592         (_initialize_ada_language): Attach ada_new_objfile_observer
13593         and ada_free_objfile_observer.
13594
13595 2014-02-10  Joel Brobecker  <[email protected]>
13596
13597         * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
13598         (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
13599         struct block * parameter.
13600         (ada_lookup_symbol_list_worker): Constify local variable "block".
13601         Remove cast which is no longer necessary.
13602
13603 2014-02-10  Doug Evans  <[email protected]>
13604
13605         Add Guile as an extension language.
13606         * NEWS: Mention Guile scripting.
13607         * Makefile.in (SUBDIR_GUILE_OBS): New variable.
13608         (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
13609         (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
13610         (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
13611         (CLIBS): Add GUILE_LIBS.
13612         (install-guile): New rule.
13613         (guile.o): New rule.
13614         (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
13615         (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
13616         (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
13617         (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
13618         (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
13619         (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
13620         (scm-type.o, scm-utils.o, scm-value.o): New rules.
13621         * configure.ac: New option --with-guile.
13622         * configure: Regenerate.
13623         * config.in: Regenerate.
13624         * auto-load.c: Remove #include "python/python.h".  Add #include
13625         "gdb/section-scripts.h".
13626         (source_section_scripts): Handle Guile scripts.
13627         (_initialize_auto_load): Add name of Guile objfile script to
13628         scripts-directory help text.
13629         * breakpoint.c (condition_command): Tweak comment to include Scheme.
13630         * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
13631         (struct breakpoint): New member scm_bp_object.
13632         * defs.h (enum command_control_type): New value guile_control.
13633         * cli/cli-cmds.c: Remove #include "python/python.h".  Add #include
13634         "extension.h".
13635         (show_user): Update comment.
13636         (_initialize_cli_cmds): Update help text for "show user".  Update help
13637         text for max-user-call-depth.
13638         * cli/cli-script.c: Remove #include "python/python.h".  Add #include
13639         "extension.h".
13640         (multi_line_command_p): Add guile_control.
13641         (print_command_lines): Handle guile_control.
13642         (execute_control_command, recurse_read_control_structure): Ditto.
13643         (process_next_line): Recognize "guile" commands.
13644         * disasm.c (gdb_disassemble_info): Make non-static.
13645         * disasm.h: #include "dis-asm.h".
13646         (struct gdbarch): Add forward decl.
13647         (gdb_disassemble_info): Declare.
13648         * extension.c: #include "guile/guile.h".
13649         (extension_languages): Add guile.
13650         (get_ext_lang_defn): Handle EXT_LANG_GDB.
13651         * extension.h (enum extension_language): New value EXT_LANG_GUILE.
13652         * gdbtypes.c (get_unsigned_type_max): New function.
13653         (get_signed_type_minmax): New function.
13654         * gdbtypes.h (get_unsigned_type_max): Declare.
13655         (get_signed_type_minmax): Declare.
13656         * guile/README: New file.
13657         * guile/guile-internal.h: New file.
13658         * guile/guile.c: New file.
13659         * guile/guile.h: New file.
13660         * guile/scm-arch.c: New file.
13661         * guile/scm-auto-load.c: New file.
13662         * guile/scm-block.c: New file.
13663         * guile/scm-breakpoint.c: New file.
13664         * guile/scm-disasm.c: New file.
13665         * guile/scm-exception.c: New file.
13666         * guile/scm-frame.c: New file.
13667         * guile/scm-gsmob.c: New file.
13668         * guile/scm-iterator.c: New file.
13669         * guile/scm-lazy-string.c: New file.
13670         * guile/scm-math.c: New file.
13671         * guile/scm-objfile.c: New file.
13672         * guile/scm-ports.c: New file.
13673         * guile/scm-pretty-print.c: New file.
13674         * guile/scm-safe-call.c: New file.
13675         * guile/scm-string.c: New file.
13676         * guile/scm-symbol.c: New file.
13677         * guile/scm-symtab.c: New file.
13678         * guile/scm-type.c: New file.
13679         * guile/scm-utils.c: New file.
13680         * guile/scm-value.c: New file.
13681         * guile/lib/gdb.scm: New file.
13682         * guile/lib/gdb/boot.scm: New file.
13683         * guile/lib/gdb/experimental.scm: New file.
13684         * guile/lib/gdb/init.scm: New file.
13685         * guile/lib/gdb/iterator.scm: New file.
13686         * guile/lib/gdb/printing.scm: New file.
13687         * guile/lib/gdb/types.scm: New file.
13688         * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
13689         (VPATH): Add $(GUILE_SRCDIR).
13690         (GUILE_DIR): New variable.
13691         (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
13692         (all): Add stamp-guile dependency.
13693         (stamp-guile): New rule.
13694         (clean-guile, install-guile, uninstall-guile): New rules.
13695         (install-only): Add install-guile dependency.
13696         (uninstall): Add uninstall-guile dependency.
13697         (clean): Add clean-guile dependency.
13698
13699 2014-02-09  Doug Evans  <[email protected]>
13700
13701         Revert this patch (which I approved, mea culpa).
13702
13703         2014-02-08  Mark Kettenis  <[email protected]>
13704
13705         * Makefile.in (all-lib): Remove.
13706         ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13707
13708 2014-02-09  Jan Kratochvil  <[email protected]>
13709
13710         Fix Python stack corruption.
13711         * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
13712         gdb_py_longest.
13713
13714 2014-02-08  Mark Kettenis  <[email protected]>
13715
13716         * Makefile.in (all-lib): Remove.
13717         ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13718
13719 2014-02-07  Doug Evans  <[email protected]>
13720
13721         * extension-priv.h (extension_language_script_ops): Add comment.
13722         (extension_language_ops): Add comment.
13723         (active_ext_lang_state): Fix typo in comment.
13724
13725 2014-02-07  Pedro Alves  <[email protected]>
13726
13727         PR breakpoints/16292
13728         * infrun.c (handle_signal_stop) <signal arrives while stepping
13729         over a breakpoint>: Switch back to the stepping thread.
13730
13731 2014-02-07  Yao Qi  <[email protected]>
13732
13733         * target.c (target_xfer_partial): Return zero if LEN is zero.
13734
13735 2014-02-07  Yao Qi  <[email protected]>
13736
13737         * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
13738         (ld_so_xfer_auxv): Likewise.
13739         * bfd-target.c (target_bfd_xfer_partial): Likewise.
13740         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13741         * corelow.c (core_xfer_partial): Likewise.
13742         * ctf.c (ctf_xfer_partial): Likewise.
13743         * darwin-nat.c (darwin_read_dyld_info): Likewise.
13744         (darwin_xfer_partial): Likewise.
13745         * exec.c (exec_xfer_partial): Likewise.
13746         * gnu-nat.c (gnu_xfer_partial): Likewise.
13747         * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
13748         * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
13749         * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13750         * linux-nat.c (linux_xfer_siginfo): Likewise.
13751         (linux_proc_xfer_spu): Likewise.
13752         * procfs.c (procfs_xfer_partial): Likewise.
13753         * record-full.c (record_full_xfer_partial): Likewise.
13754         (record_full_core_xfer_partial): Likewise.
13755         * remote-sim.c (gdbsim_xfer_partial): Likewise.
13756         * remote.c (remote_write_qxfer): Likewise.
13757         (remote_write_qxfer, remote_read_qxfer): Likewise.
13758         (remote_xfer_partial): Likewise.
13759         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13760         (rs6000_xfer_shared_libraries): Likewise.
13761         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13762         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13763         (spu_xfer_partial): Likewise.
13764         * target.c (memory_xfer_partial_1): Likewise.
13765         * tracepoint.c (tfile_xfer_partial): Likewise.
13766         * windows-nat.c (windows_xfer_shared_libraries): Likewise.
13767         (windows_xfer_partial): Likewise.
13768
13769 2014-02-07  Yao Qi  <[email protected]>
13770
13771         * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST.  Add
13772         comments.
13773         (core_xfer_shared_libraries_aix): Likewise.
13774         * gdbarch.c, gdbarch.h: Regenerated.
13775         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
13776         ULONGEST.  Change 'len_avail' type to ULONGEST.
13777         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13778         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13779         declaration.
13780         (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
13781
13782 2014-02-07  Yao Qi  <[email protected]>
13783
13784         * corefile.c (memory_error): Get 'exception' from ERR and pass
13785         'exception' to throw_error.
13786
13787 2014-02-06  Doug Evans  <[email protected]>
13788
13789         * configure.ac (libpython checking): Remove all but python.o from
13790         CONFIG_OBS.  Remove all but python.c from CONFIG_SRCS.
13791         * configure: Regenerate.
13792
13793         * Makefile.in (SFILES): Add extension.c.
13794         (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
13795         (COMMON_OBS): Add extension.o.
13796         * extension.h: New file.
13797         * extension-priv.h: New file.
13798         * extension.c: New file.
13799
13800         * python/python-internal.h: #include "extension.h".
13801         (gdbpy_auto_load_enabled): Declare.
13802         (gdbpy_apply_val_pretty_printer): Declare.
13803         (gdbpy_apply_frame_filter): Declare.
13804         (gdbpy_preserve_values): Declare.
13805         (gdbpy_breakpoint_cond_says_stop): Declare.
13806         (gdbpy_breakpoint_has_cond): Declare.
13807         (void source_python_script_for_objfile): Delete.
13808         * python/python.c: #include "extension-priv.h".
13809         Delete inclusion of "observer.h".
13810         (extension_language_python): Moved here and renamed from
13811         script_language_python in py-auto-load.c.
13812         Redefined to be of type extension_language_defn.
13813         (python_extension_script_ops): New global.
13814         (python_extension_ops): New global.
13815         (struct python_env): New member previous_active.
13816         (restore_python_env): Call restore_active_ext_lang.
13817         (ensure_python_env): Call set_active_ext_lang.
13818         (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
13819         New arg extlang.
13820         (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
13821         New arg extlang.
13822         (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
13823         New arg extlang.
13824         (gdbpy_eval_from_control_command): Renamed from
13825         eval_python_from_control_command, made static.  New arg extlang.
13826         (gdbpy_source_script) Renamed from source_python_script, made static.
13827         New arg extlang.
13828         (gdbpy_before_prompt_hook): Renamed from before_prompt_hook.  Change
13829         result to int.  New arg extlang.
13830         (gdbpy_source_objfile_script): Renamed from
13831         source_python_script_for_objfile, made static.  New arg extlang.
13832         (gdbpy_start_type_printers): Renamed from start_type_printers, made
13833         static.  New args extlang, extlang_printers.  Change result type to
13834         "void".
13835         (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
13836         static.  New arg extlang.  Rename arg printers to extlang_printers
13837         and change type to ext_lang_type_printers *.
13838         (gdbpy_free_type_printers): Renamed from free_type_printers, made
13839         static.  Replace argument arg with extlang, extlang_printers.
13840         (!HAVE_PYTHON, eval_python_from_control_command): Delete.
13841         (!HAVE_PYTHON, source_python_script): Delete.
13842         (!HAVE_PYTHON, gdbpy_should_stop): Delete.
13843         (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
13844         (!HAVE_PYTHON, start_type_printers): Delete.
13845         (!HAVE_PYTHON, apply_type_printers): Delete.
13846         (!HAVE_PYTHON, free_type_printers): Delete.
13847         (_initialize_python): Delete call to observer_attach_before_prompt.
13848         (finalize_python): Set/restore active extension language.
13849         (gdbpy_finish_initialization) Renamed from
13850         finish_python_initialization, made static.  New arg extlang.
13851         (gdbpy_initialized): New function.
13852         * python/python.h: #include "extension.h".  Delete #include
13853         "value.h", "mi/mi-cmds.h".
13854         (extension_language_python): Declare.
13855         (GDBPY_AUTO_FILE_NAME): Delete.
13856         (enum py_bt_status): Moved to extension.h and renamed to
13857         ext_lang_bt_status.
13858         (enum frame_filter_flags): Moved to extension.h.
13859         (enum py_frame_args): Moved to extension.h and renamed to
13860         ext_lang_frame_args.
13861         (finish_python_initialization): Delete.
13862         (eval_python_from_control_command): Delete.
13863         (source_python_script): Delete.
13864         (apply_val_pretty_printer): Delete.
13865         (apply_frame_filter): Delete.
13866         (preserve_python_values): Delete.
13867         (gdbpy_script_language_defn): Delete.
13868         (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
13869         (start_type_printers, apply_type_printers, free_type_printers): Delete.
13870
13871         * auto-load.c: #include "extension.h".
13872         (GDB_AUTO_FILE_NAME): Delete.
13873         (auto_load_gdb_scripts_enabled): Make public.  New arg extlang.
13874         (script_language_gdb): Delete, moved to extension.c and renamed to
13875         extension_language_gdb.
13876         (source_gdb_script_for_objfile): Delete.
13877         (auto_load_pspace_info): New member unsupported_script_warning_printed.
13878         (loaded_script): Change type of language member to
13879         struct extension_language_defn *.
13880         (init_loaded_scripts_info): Initialize
13881         unsupported_script_warning_printed.
13882         (maybe_add_script): Make static.  Change type of language arg to
13883         struct extension_language_defn *.
13884         (clear_section_scripts): Reset unsupported_script_warning_printed.
13885         (auto_load_objfile_script_1): Rewrite to use extension language API.
13886         (auto_load_objfile_script): Make public.  Remove support-compiled-in
13887         and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
13888         (source_section_scripts): Rewrite to use extension language API.
13889         (load_auto_scripts_for_objfile): Rewrite to use
13890         auto_load_scripts_for_objfile.
13891         (collect_matching_scripts_data): Change type of language member to
13892         struct extension_language_defn *.
13893         (auto_load_info_scripts): Change type of language arg to
13894         struct extension_language_defn *.
13895         (unsupported_script_warning_print): New function.
13896         (script_not_found_warning_print): Make static.
13897         (_initialize_auto_load): Rewrite construction of scripts-directory
13898         help.
13899         * auto-load.h (struct objfile): Add forward decl.
13900         (struct script_language): Delete.
13901         (struct auto_load_pspace_info): Add forward decl.
13902         (struct extension_language_defn): Add forward decl.
13903         (maybe_add_script): Delete.
13904         (auto_load_objfile_script): Declare.
13905         (script_not_found_warning_print): Delete.
13906         (auto_load_info_scripts): Update prototype.
13907         (auto_load_gdb_scripts_enabled): Declare.
13908         * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13909         auto_load_python_scripts_enabled and made public.
13910         (script_language_python): Delete, moved to python.c.
13911         (gdbpy_script_language_defn): Delete.
13912         (info_auto_load_python_scripts): Update to use
13913         extension_language_python.
13914
13915         * breakpoint.c (condition_command): Replace call to
13916         gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13917         (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13918         with call to breakpoint_ext_lang_cond_says_stop.
13919         * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13920         from gdbpy_should_stop.  Change result type to enum scr_bp_stop.
13921         New arg slang.  Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13922         (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13923         New arg slang.
13924         (local_setattro): Print name of extension language with existing
13925         stop condition.
13926
13927         * valprint.c (val_print, value_print): Update to call
13928         apply_ext_lang_val_pretty_printer.
13929         * cp-valprint.c (cp_print_value): Update call to
13930         apply_ext_lang_val_pretty_printer.
13931         * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13932         (gdbpy_apply_val_pretty_printer): Renamed from
13933         apply_val_pretty_printer.  New arg extlang.
13934         (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13935
13936         * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13937         extension language API.
13938         * cli/cli-script.c (execute_control_command): Update to call
13939         eval_ext_lang_from_control_command.
13940
13941         * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13942         enum ext_lang_bt_status values.  Update call to
13943         apply_ext_lang_frame_filter.
13944         (mi_cmd_stack_list_locals): Ditto.
13945         (mi_cmd_stack_list_args): Ditto.
13946         (mi_cmd_stack_list_variables): Ditto.
13947         * mi/mi-main.c: Delete #include "python/python-internal.h".
13948         Add #include "extension.h".
13949         (mi_cmd_list_features): Replace reference to python internal variable
13950         gdb_python_initialized with call to ext_lang_initialized_p.
13951
13952         * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
13953         Update to use enum ext_lang_frame_args.  Update to call
13954         apply_ext_lang_frame_filter.
13955         * python/py-framefilter.c (extract_sym): Update to use enum
13956         ext_lang_bt_status.
13957         (extract_value, py_print_type, py_print_value): Ditto.
13958         (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
13959         (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
13960         (py_print_frame): Ditto.
13961         (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
13962         New arg extlang.  Update to use enum ext_lang_bt_status.
13963
13964         * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
13965         finish_python_initialization.  Replace with call to
13966         finish_ext_lang_initialization.
13967
13968         * typeprint.c (do_free_global_table): Update to call
13969         free_ext_lang_type_printers.
13970         (create_global_typedef_table): Update to call
13971         start_ext_lang_type_printers.
13972         (find_global_typedef): Update to call apply_ext_lang_type_printers.
13973         * typeprint.h (struct ext_lang_type_printers): Add forward decl.
13974         (type_print_options): Change type of global_printers from "void *"
13975         to "struct ext_lang_type_printers *".
13976
13977         * value.c (preserve_values): Update to call preserve_ext_lang_values.
13978         * python/py-value.c: Remove #ifdef HAVE_PYTHON.
13979         (gdbpy_preserve_values): Renamed from preserve_python_values.
13980         New arg extlang.
13981         (!HAVE_PYTHON, preserve_python_values): Delete.
13982
13983         * utils.c (quit_flag): Delete, moved to extension.c.
13984         (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
13985         extension.c.
13986
13987         * eval.c: Delete #include "python/python.h".
13988         * main.c: Delete #include "python/python.h".
13989
13990         * defs.h: Update comment.
13991
13992 2014-02-06  Joel Brobecker  <[email protected]>
13993
13994         GDB 7.7 released.
13995
13996 2014-02-05  Mark Kettenis  <[email protected]>
13997
13998         * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
13999         defined.
14000
14001 2014-02-05  Yao Qi  <[email protected]>
14002
14003         * remote.c (remote_pass_signals): Remove local 'buf' and use
14004         rs->buf.
14005         (remote_program_signals): Likewise.
14006
14007 2014-02-05  Yao Qi  <[email protected]>
14008
14009         * ctf.c: Include "inferior.h" and "gdbthread.h".
14010         (CTF_PID): A new macro.
14011         (ctf_open): Call inferior_appeared and add_thread_silent.
14012         (ctf_close): Call exit_inferior_silent and set inferior_ptid.
14013         (ctf_thread_alive): New function.
14014         (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
14015
14016 2014-02-05  Yao Qi  <[email protected]>
14017
14018         Revert this patch:
14019
14020         2013-05-24  Yao Qi  <[email protected]>
14021
14022         * tracepoint.c (TFILE_PID): Remove.
14023         (tfile_open): Don't add thread and inferior.
14024         (tfile_close): Don't set 'inferior_ptid'.  Don't call
14025         exit_inferior_silent.
14026         (tfile_thread_alive): Remove.
14027         (init_tfile_ops): Don't set field 'to_thread_alive' of
14028         tfile_ops.
14029
14030 2014-02-04  Christian Eggers  <[email protected]>  (tiny change)
14031
14032         * remote.c (remote_start_remote): Call remote_check_symbols even
14033         if only symbol-file (not file) has been given.
14034
14035 2014-02-04  Ulrich Weigand  <[email protected]>
14036
14037         * gdbarch.sh (skip_entrypoint): New callback.
14038         * gdbarch.c, gdbarch.h: Regenerate.
14039         * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
14040         * infrun.c (fill_in_stop_func): Likewise.
14041         * ppc-linux-tdep.c: Include "elf/ppc64.h".
14042         (ppc_elfv2_elf_make_msymbol_special): New function.
14043         (ppc_elfv2_skip_entrypoint): Likewise.
14044         (ppc_linux_init_abi): Install them for ELFv2.
14045
14046 2014-02-04  Ulrich Weigand  <[email protected]>
14047
14048         * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
14049         (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
14050         (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
14051         (ppc64_sysv_abi_return_value): Likewise.  Also, handle small
14052         structures returned in GPRs.
14053
14054 2014-02-04  Ulrich Weigand  <[email protected]>
14055
14056         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
14057         offset to the stack parameter list for the ELFv2 ABI.
14058
14059 2014-02-04  Ulrich Weigand  <[email protected]>
14060
14061         * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
14062         set_gdbarch_convert_from_func_ptr_addr and
14063         set_gdbarch_elf_make_msymbol_special for ELFv1.
14064         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
14065         function descriptors on ELFv1.
14066         (ppc64_sysv_abi_push_dummy_call): Likewise.  On ELFv2,
14067         set up r12 at function entry.
14068
14069 2014-02-04  Ulrich Weigand  <[email protected]>
14070
14071         * ppc-tdep.h (enum powerpc_elf_abi): New data type.
14072         (struct gdbarch_tdep): New member elf_abi.
14073
14074         * rs6000-tdep.c: Include "elf/ppc64.h".
14075         (rs6000_gdbarch_init): Detect ELF ABI version.
14076
14077 2014-02-04  Ulrich Weigand  <[email protected]>
14078
14079         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
14080         within a register pair holding a DFP 128-bit value on little-endian.
14081         (ppc64_sysv_abi_return_value_base): Likewise.
14082         * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
14083         (dfp_pseudo_register_write): Likewise.
14084
14085 2014-02-04  Ulrich Weigand  <[email protected]>
14086
14087         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
14088         offset on little-endian when passing _Decimal32.
14089         (ppc64_sysv_abi_return_value_base): Likewise for return values.
14090
14091 2014-02-04  Ulrich Weigand  <[email protected]>
14092
14093         * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
14094         of the overlapped FP register within the VSX register on little-
14095         endian platforms.
14096         (efpr_pseudo_register_write): Likewise.
14097
14098 2014-02-04  Ulrich Weigand  <[email protected]>
14099
14100         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
14101         offset on little-endian when passing small structures.
14102
14103 2014-02-04  Ulrich Weigand  <[email protected]>
14104
14105         * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
14106         (struct ppc64_sysv_argpos): New data structure.
14107         (ppc64_sysv_abi_push_float): Remove.
14108         (ppc64_sysv_abi_push_val): New function.
14109         (ppc64_sysv_abi_push_integer): Likewise.
14110         (ppc64_sysv_abi_push_freg): Likewise.
14111         (ppc64_sysv_abi_push_vreg): Likewise.
14112         (ppc64_sysv_abi_push_param): Likewise.
14113         (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
14114         (ppc64_sysv_abi_return_value_base): New function.
14115         (ppc64_sysv_abi_return_value): Refactor to use it.
14116
14117 2014-02-04  Ulrich Weigand  <[email protected]>
14118
14119         * NEWS: Document new target powerpc64le-*-linux*.
14120
14121 2014-02-04  Mark Kettenis  <[email protected]>
14122
14123         * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
14124         (sparc64obsd_supply_gregset): Handle registers sets used in ELF
14125         core dumps.
14126         (sparc64obsd_init_abi): Adjust minimum size of the general purpose
14127         register set used in ELF core dumps.  Add floating-point register set.
14128
14129 2014-02-03  Kevin Buettner  <[email protected]>
14130
14131         * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
14132         dwarf2_to_gdb[] table using symbolic constants.  Adjust
14133         penultimate entry from number representing the PC register
14134         to symbolic constant representing the MDR register.  Add
14135         constant for the PC register to the end of the table.
14136
14137 2014-02-03  Mark Kettenis  <[email protected]>
14138
14139         * bsd-kvm.c: Include <sys/param.h>
14140
14141 2014-02-03  Mark Kettenis  <[email protected]>
14142
14143         * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
14144
14145 2014-01-31  Joel Brobecker  <[email protected]>
14146
14147         * ada-lang.h (clear_ada_sym_cache): Delete.
14148
14149 2014-01-30  Ulrich Weigand  <[email protected]>
14150
14151         * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
14152
14153 2014-01-29  Jose E. Marchesi  <[email protected]>
14154
14155         * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
14156           the sigreturn register save area only if the syscall is
14157           sigreturn.
14158
14159 2014-01-29  Joel Brobecker  <[email protected]>
14160
14161         * valops.c (value_slice): Minor reformatting.
14162
14163 2014-01-28  Ulrich Weigand  <[email protected]>
14164
14165         * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
14166
14167 2014-01-28  Joel Brobecker  <[email protected]>
14168
14169         * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
14170         New static globals.
14171         (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
14172         (ada_ignore_descriptive_types_p): New static global.
14173         (find_parallel_type_by_descriptive_type): Return immediately
14174         if ada_ignore_descriptive_types_p is set.
14175         (_initialize_ada_language): Register new commands "maintenance
14176         set ada", "maintenance show ada", "maintenance set ada
14177         ignore-descriptive-types" and "maintenance show ada
14178         ignore-descriptive-types".
14179         * NEWS: Add entry for new "maint ada set/show
14180         ignore-descriptive-types" commands.
14181
14182 2014-01-27  Markus Metzger  <[email protected]>
14183
14184         * record-btrace.c (record_btrace_close): Call btrace_teardown
14185         for all threads.
14186
14187 2014-01-27  Joel Brobecker  <[email protected]>
14188
14189         * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
14190         "ui-out.h".
14191
14192 2014-01-27  Joel Brobecker  <[email protected]>
14193
14194         * ada-typeprint (type_is_full_subrange_of_target_type):
14195         New function.
14196         (print_range): Add parameter bounds_prefered_p.  If not set,
14197         try printing range types using the name of their base type.
14198         (print_range_type): Add parameter bounds_prefered_p.
14199         Use it in call to print_range.
14200         (print_array_type, ada_print_type): Update calls to print_range
14201         and print_range_type.
14202
14203 2014-01-27  Joel Brobecker  <[email protected]>
14204
14205         * ada-typeprint.c (print_array_type, print_choices, print_range)
14206         (print_range_bound, print_dynamic_range_bound, print_range_type):
14207         Remove declaration.
14208
14209 2014-01-27  Joel Brobecker  <[email protected]>
14210
14211         * ada-typeprint.c (print_range): Add missing empty line
14212         after local declaration.
14213
14214 2014-01-27  Joel Brobecker  <[email protected]>
14215
14216         * ada-valprint.c (print_optional_low_bound): Get index_type's
14217         target type for as long as it is a TYPE_CODE_RANGE.
14218
14219 2014-01-27  Joel Brobecker  <[email protected]>
14220
14221         * procfs.c (procfs_make_note_section): Remove assertion and
14222         associated comment.
14223
14224 2014-01-24  Yao Qi  <[email protected]>
14225
14226         * remote.c (remote_read_bytes): Change type of len to ULONGEST.
14227         * corelow.c (get_core_siginfo): Likewise.
14228
14229 2014-01-24  Yao Qi  <[email protected]>
14230
14231         * remote.c (remote_write_bytes_aux): Change type of 'len' to
14232         ULONGEST.  Don't check 'len' is negative.
14233         (remote_write_bytes):  Change type of 'len' to ULONGEST.
14234
14235 2014-01-23  Tom Tromey  <[email protected]>
14236
14237         PR python/16485:
14238         * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
14239         Handle exception from frame.block.
14240         (FrameVars.fetch_frame_locals): Likewise.
14241
14242 2014-01-23  Tom Tromey  <[email protected]>
14243
14244         PR python/16487:
14245         * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
14246         on a NULL pointer.  Move "goto error" to correct place.
14247
14248 2014-01-23  Tom Tromey  <[email protected]>
14249
14250         PR python/16491:
14251         * python/py-framefilter.c (apply_frame_filter): Call
14252         ensure_python_env after computing gdbarch.
14253
14254 2014-01-23  Yao Qi  <[email protected]>
14255
14256         * target.c (raw_memory_xfer_partial): Change argument type
14257         from void * to gdb_byte *.
14258         (memory_xfer_partial_1, memory_xfer_partial): Likewise.
14259
14260 2014-01-22  Doug Evans  <[email protected]>
14261
14262         New gdbserver option --debug-format=timestamp.
14263         * NEWS: Mention it.
14264
14265 2014-01-22  Andreas Arnez  <[email protected]>
14266
14267         * syscalls/s390x-linux.xml: New file.
14268         * syscalls/s390-linux.xml: New file.
14269         * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
14270         (XML_SYSCALL_FILENAME_S390X): Likewise.
14271         (op_svc): New enum value for SVC opcode.
14272         (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
14273         (s390_linux_get_syscall_number): New function.
14274         (s390_gdbarch_init): Register '*get_syscall_number' and the
14275         syscall xml file name.
14276         * data-directory/Makefile.in (SYSCALLS_FILES): Add
14277         "s390-linux.xml" and "s390x-linux.xml".
14278         * NEWS: Announce new feature.
14279
14280 2014-01-22  Baruch Siach  <[email protected]>
14281
14282         * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
14283
14284 2014-01-22  Pedro Alves  <[email protected]>
14285
14286         * xtensa-config.c: Include defs.h.
14287
14288 2014-01-22  Joel Brobecker  <[email protected]>
14289
14290         * common/common-utils.h: Add "ARI:" comment beside __func__
14291         reference.
14292
14293 2014-01-22  Joel Brobecker  <[email protected]>
14294
14295         * common/common-utils.h (FUNCTION_NAME): Expand the macro's
14296         documentation a bit.
14297
14298 2014-01-21  Roland McGrath  <[email protected]>
14299
14300         * configure.ac: Call AM_PROG_INSTALL_STRIP.
14301         * configure: Regenerate.
14302         * aclocal.m4: Regenerate.
14303         * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
14304         New substituted variables.
14305         (install-strip): New target.
14306         (INSTALL_SCRIPT): New substituted variable.
14307         (FLAGS_TO_PASS): Add it.
14308         (install-only): Use $(INSTALL_SCRIPT) rather than
14309         $(INSTALL_PROGRAM) for gcore.
14310
14311 2014-01-20  Tom Tromey  <[email protected]>
14312
14313         * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
14314         together.
14315
14316 2014-01-20  Tom Tromey  <[email protected]>
14317
14318         * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
14319         (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
14320         (deprecated_cmd_warning, complete_on_cmdlist): Update.
14321         * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
14322         (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
14323         (struct cmd_list_element) <flags>: Remove.
14324         <cmd_deprecated, deprecated_warn_user, malloced_replacement,
14325         doc_allocated>: New fields.
14326         <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
14327         bitfields.
14328         * maint.c (maintenance_do_deprecate): Update.
14329         * top.c (execute_command): Update.
14330
14331 2014-01-20  Baruch Siach  <[email protected]>
14332
14333         * xtensa-linux-nat.c: Include asm/ptrace.h.
14334
14335 2014-01-17  Iain Buclaw  <[email protected]>
14336
14337         * Makefile.in (SFILES): Add d-support.c.
14338         (COMMON_OBS): Add d-support.o.
14339         * d-lang.h (d_parse_symbol): Add comment, now defined in
14340         d-support.c.
14341         * d-lang.c (parse_call_convention)
14342         (parse_attributes, parse_function_types)
14343         (parse_function_args, parse_type, parse_identifier)
14344         (call_convention_p, d_parse_symbol): Move functions to ...
14345         * d-support.c: ... New file.
14346
14347 2014-01-17  Iain Buclaw  <[email protected]>
14348
14349         * d-lang.h (d_parse_symbol): Add declaration.
14350         * d-lang.c (extract_identifiers)
14351         (extract_type_info): Remove functions.
14352         (parse_call_convention, parse_attributes)
14353         (parse_function_types, parse_function_args)
14354         (parse_type, parse_identifier, call_convention_p)
14355         (d_parse_symbol): New functions.
14356         (d_demangle): Use d_parse_symbol to demangle D symbols.
14357
14358 2014-01-17  Iain Buclaw  <[email protected]>
14359
14360         * d-lang.h (struct builtin_d_type): New data type.
14361         (builtin_d_type): Add declaration.
14362         * d-lang.c (d_language_arch_info, build_d_types)
14363         (builtin_d_type): New functions.
14364         (enum d_primitive_types): New data type.
14365         (d_language_defn): Change c_language_arch_info to
14366         d_language_arch_info.
14367         (d_type_data): New static variable.
14368         (_initialize_d_language): Initialize d_type_data.
14369
14370 2014-01-17  Iain Buclaw  <[email protected]>
14371
14372         * d-lang.h (d_main_name): Add declaration.
14373         * d-lang.c (d_main_name): New function.
14374         * symtab.c (find_main_name): Add call to d_main_name.
14375
14376 2014-01-17  Iain Buclaw  <[email protected]>
14377
14378         * d-lang.c (d_language_defn): Change macro_expansion_c to
14379         macro_expansion_no.
14380
14381 2014-01-17  Iain Buclaw  <[email protected]>
14382
14383         * MAINTAINERS: Add myself as a write-after-approval maintainer.
14384
14385 2014-01-17  Sergio Durigan Junior  <[email protected]>
14386
14387         * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
14388         gdb_exception" declaration.
14389         * remote.c (getpkt_or_notif_sane): Likewise.
14390
14391 2014-01-17  Doug Evans  <[email protected]>
14392
14393         * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
14394         function, contents of dirnames_to_char_ptr_vec_append moved here.
14395         (delim_string_to_char_ptr_vec): New function.
14396         (dirnames_to_char_ptr_vec_append): Rewrite.
14397         * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
14398
14399 2014-01-17  Doug Evans  <[email protected]>
14400
14401         * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
14402         and moved here ...
14403         * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
14404         #include "common-utils.h".
14405         (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
14406         * common/vec.h (VEC_ASSERT_PASS): Update.
14407         * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
14408         (MACH_CHECK_ERROR): Update.
14409
14410 2014-01-17  Simon Marchi  <[email protected]>
14411
14412         * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
14413         comments.
14414         * gdbarch.h: Regenerate.
14415
14416 2014-01-16  Tom Tromey  <[email protected]>
14417
14418         * value.c (struct value) <regnum>: Move earlier.
14419
14420 2014-01-16  Tom Tromey  <[email protected]>
14421
14422         * remote.c (extended_remote_create_inferior): Rename from
14423         extended_remote_create_inferior_1.  Add "ops" argument.  Remove
14424         old implementation.
14425
14426 2014-01-16  Pedro Alves  <[email protected]>
14427
14428         * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
14429         NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
14430         the backchain.
14431
14432 2014-01-16  Doug Evans  <[email protected]>
14433
14434         * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
14435
14436 2014-01-16  Markus Metzger  <[email protected]>
14437
14438         * btrace.h (btrace_thread_flag): New.
14439         (struct btrace_thread_info) <flags>: New.
14440         * record-btrace.c (record_btrace_resume_thread)
14441         (record_btrace_find_thread_to_move, btrace_step_no_history)
14442         (btrace_step_stopped, record_btrace_start_replaying)
14443         (record_btrace_step_thread, record_btrace_decr_pc_after_break)
14444         (record_btrace_find_resume_thread): New.
14445         (record_btrace_resume, record_btrace_wait): Extend.
14446         (record_btrace_can_execute_reverse): New.
14447         (record_btrace_open): Fail in non-stop mode.
14448         (record_btrace_set_replay): Split into this, ...
14449         (record_btrace_stop_replaying): ... this, ...
14450         (record_btrace_clear_histories): ... and this.
14451         (init_record_btrace_ops): Init to_can_execute_reverse.
14452         * NEWS: Announce it.
14453
14454 2014-01-16  Markus Metzger  <[email protected]>
14455
14456         * target.h (struct target_ops) <to_decr_pc_after_break>: New.
14457         (forward_target_decr_pc_after_break)
14458         (target_decr_pc_after_break): New.
14459         * target.c (forward_target_decr_pc_after_break)
14460         (target_decr_pc_after_break): New.
14461         * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
14462         instead of gdbarch_decr_pc_after_break.
14463         * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
14464         instead of gdbarch_decr_pc_after_break.
14465         * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
14466         instead of gdbarch_decr_pc_after_break.
14467         * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
14468         instead of gdbarch_decr_pc_after_break.
14469         * linux-thread-db.c (check_event): Call target_decr_pc_after_break
14470         instead of gdbarch_decr_pc_after_break.
14471         * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
14472         instead of gdbarch_decr_pc_after_break.
14473
14474 2014-01-16  Markus Metzger  <[email protected]>
14475
14476         * btrace.c: Include regcache.h.
14477         (btrace_add_pc): New.
14478         (btrace_enable): Call btrace_add_pc.
14479         (btrace_is_empty): New.
14480         * btrace.h (btrace_is_empty): New.
14481         * record-btrace.c (require_btrace, record_btrace_info): Call
14482         btrace_is_empty.
14483
14484 2014-01-16  Markus Metzger  <[email protected]>
14485
14486         * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
14487         Support delta reads.
14488         (linux_disable_btrace): Change return type.
14489         * common/linux-btrace.h (linux_read_btrace): Change parameters
14490         and return type to allow error reporting.  Update users.
14491         (linux_disable_btrace): Change return type.  Update users.
14492         * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
14493         New.
14494         (btrace_error): New.
14495         (btrace_block) <begin>: Comment on BEGIN == 0.
14496         * btrace.c (btrace_compute_ftrace): Start from the end of
14497         the current trace.
14498         (btrace_stitch_trace, btrace_clear_history): New.
14499         (btrace_fetch): Read delta trace, return if replaying.
14500         (btrace_clear): Move clear history code to btrace_clear_history.
14501         (parse_xml_btrace): Throw an error if parsing failed.
14502         * target.h (struct target_ops) <to_read_btrace>: Change parameters
14503         and return type to allow error reporting.
14504         (target_read_btrace): Change parameters and return type to allow
14505         error reporting.
14506         * target.c (target_read_btrace): Update.
14507         * remote.c (remote_read_btrace): Support delta reads.  Pass
14508         errors on.
14509         * NEWS: Announce it.
14510
14511 2014-01-16  Markus Metzger  <[email protected]>
14512
14513         * record.h (record_btrace_frame_unwind)
14514         (record_btrace_tailcall_frame_unwind): New declarations.
14515         * dwarf2-frame: Include record.h
14516         (dwarf2_frame_cfa): Throw an error for btrace frames.
14517         * record-btrace.c: Include hashtab.h.
14518         (btrace_get_bfun_name): New.
14519         (btrace_call_history): Call btrace_get_bfun_name.
14520         (struct btrace_frame_cache): New.
14521         (bfcache): New.
14522         (bfcache_hash, bfcache_eq, bfcache_new): New.
14523         (btrace_get_frame_function): New.
14524         (record_btrace_frame_unwind_stop_reason): Allow unwinding.
14525         (record_btrace_frame_this_id): Compute own id.
14526         (record_btrace_frame_prev_register): Provide PC, throw_error
14527         for all other registers.
14528         (record_btrace_frame_sniffer): Detect btrace frames.
14529         (record_btrace_tailcall_frame_sniffer): New.
14530         (record_btrace_frame_dealloc_cache): New.
14531         (record_btrace_frame_unwind): Add new functions.
14532         (record_btrace_tailcall_frame_unwind): New.
14533         (_initialize_record_btrace): Allocate cache.
14534         * btrace.c (btrace_clear): Call reinit_frame_cache.
14535         * NEWS: Announce it.
14536
14537 2014-01-16  Markus Metzger  <[email protected]>
14538
14539         * record-btrace.c (record_btrace_set_replay)
14540         (record_btrace_goto_begin, record_btrace_goto_end)
14541         (record_btrace_goto): New.
14542         (init_record_btrace_ops): Initialize them.
14543         * NEWS: Announce it.
14544
14545 2014-01-16  Markus Metzger  <[email protected]>
14546
14547         * record-btrace.c (record_btrace_find_new_threads)
14548         (record_btrace_thread_alive): New.
14549         (init_record_btrace_ops): Initialize to_find_new_threads and
14550         to_thread_alive.
14551
14552 2014-01-16  Markus Metzger  <[email protected]>
14553
14554         * record-btrace.c (record_btrace_resume): New.
14555         (record_btrace_wait): New.
14556         (init_record_btrace_ops): Initialize to_wait and to_resume.
14557
14558 2014-01-16  Markus Metzger  <[email protected]>
14559
14560         * record-btrace.c (record_btrace_xfer_partial)
14561         (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
14562         (record_btrace_allow_memory_access): New.
14563         (init_record_btrace_ops): Initialize new methods.
14564         * target.c (raw_memory_xfer_partial): Bail out if target reports
14565         that this memory is not available.
14566
14567 2014-01-16  Markus Metzger  <[email protected]>
14568
14569         * target.h (target_ops) <to_insert_breakpoint>
14570         <to_remove_breakpoint>: Add target_ops parameter.
14571         (forward_target_insert_breakpoint): New.
14572         (forward_target_remove_breakpoint): New.
14573         (memory_remove_breakpoint, memory_insert_breakpoint):
14574         Add target_ops parameter.
14575         * target.c (target_insert_breakpoint): Split into this and ...
14576         (forward_target_insert_breakpoint): ... this.
14577         (target_remove_breakpoint): Split into this and ...
14578         (forward_target_remove_breakpoint): ... this.
14579         (debug_to_insert_breakpoint): Add target_ops parameter.
14580         Call forward_target_insert_breakpoint.
14581         (debug_to_remove_breakpoint): Add target_ops parameter.
14582         Call forward_target_remove_breakpoint.
14583         (update_current_target): Do not inherit or default to_insert_breakpoint
14584         and to_remove_breakpoint.
14585         * corelow.c (ignore): Add target_ops parameter.
14586         * exec.c (ignore): Add target_ops parameter.
14587         * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
14588         Add target_ops parameter.
14589         * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
14590         Add target_ops parameter.
14591         * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
14592         Add target_ops parameter.
14593         * record-full.c (record_full_beneath_to_insert_breakpoint)
14594         (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
14595         (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
14596         (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
14597         (record_full_core_remove_breakpoint): Add target_ops parameter.
14598         Update users.
14599         (record_full_beneath_to_insert_breakpoint_ops)
14600         (record_full_beneath_to_remove_breakpoint_ops)
14601         (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
14602         (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
14603         tmp_to_remove_breakpoint_ops,
14604         record_full_beneath_to_insert_breakpoint_ops, and
14605         record_full_beneath_to_remove_breakpoint_ops.
14606         * remote-m32r-sdi.c (m32r_insert_breakpoint)
14607         (m32r_remove_breakpoint): Add target_ops parameter.
14608         * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
14609         Add target_ops parameter.
14610         * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
14611         Add target_ops parameter.
14612
14613 2014-01-16  Jan Kratochvil  <[email protected]>
14614             Markus Metzger  <[email protected]>
14615
14616         * record-btrace.c: Include frame-unwind.h.
14617         (record_btrace_frame_unwind_stop_reason)
14618         (record_btrace_frame_this_id, record_btrace_frame_prev_register)
14619         (record_btrace_frame_sniffer, record_btrace_frame_unwind):
14620         New.
14621         (init_record_btrace_ops): Install it.
14622
14623 2014-01-16  Jan Kratochvil  <[email protected]>
14624
14625         * frame.c (get_frame_unwind_stop_reason): Unconditionally call
14626         get_prev_frame_1.
14627
14628 2014-01-16  Jan Kratochvil  <[email protected]>
14629
14630         * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
14631         earlier.
14632
14633 2014-01-16  Jan Kratochvil  <[email protected]>
14634
14635         * frame-unwind.c: Include target.h.
14636         (frame_unwind_try_unwinder): New function with code from ...
14637         (frame_unwind_find_by_frame): ... here.  New variable
14638         unwinder_from_target, call also target_get_unwinder)
14639         (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
14640         * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
14641         * target.h (struct target_ops): New fields to_get_unwinder and
14642         to_get_tailcall_unwinder.
14643         (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
14644
14645 2014-01-16  Markus Metzger  <[email protected]>
14646
14647         * record-btrace.c (record_btrace_fetch_registers)
14648         (record_btrace_store_registers)
14649         (record_btrace_to_prepare_to_store): New.
14650         (init_record_btrace_ops): Add the above.
14651
14652 2014-01-16  Tom Tromey  <[email protected]>
14653
14654         * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
14655         * target.h (struct target_ops) <to_prepare_to_store>: Add
14656         argument.
14657         (target_prepare_to_store): Add argument.
14658         * target.c (debug_to_prepare_to_store): Add argument.
14659         (update_current_target): Update.
14660         * remote.c (remote_prepare_to_store): Add 'self' argument.
14661         * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
14662         * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
14663         * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
14664         * record-full.c (record_full_core_prepare_to_store): Add 'self'
14665         argument.
14666         * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
14667         * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
14668         * monitor.c (monitor_prepare_to_store): Add 'self' argument.
14669         * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
14670         * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
14671
14672 2014-01-16  Markus Metzger  <[email protected]>
14673
14674         * btrace.h (replay) <replay>: New.
14675         (btrace_is_replaying): New.
14676         * btrace.c (btrace_clear): Free replay iterator.
14677         (btrace_is_replaying): New.
14678         * record-btrace.c (record_btrace_is_replaying): New.
14679         (record_btrace_info): Print insn number if replaying.
14680         (record_btrace_insn_history): Start at replay position.
14681         (record_btrace_call_history): Start at replay position.
14682         (init_record_btrace_ops): Init to_record_is_replaying.
14683
14684 2014-01-16  Markus Metzger  <[email protected]>
14685
14686         * record-btrace.c (record_btrace_insn_history_range): Include
14687         end.
14688         (record_btrace_insn_history_from): Adjust range.
14689         (record_btrace_call_history_range): Include
14690         end.
14691         (record_btrace_call_history_from): Adjust range.
14692         * NEWS: Announce changes.
14693
14694 2014-01-16  Markus Metzger  <[email protected]>
14695
14696         * record.h (enum record_print_flag)
14697         <record_print_indent_calls>: New.
14698         * record.c (get_call_history_modifiers): Recognize /c modifier.
14699         (_initialize_record): Document /c modifier.
14700         * record-btrace.c (btrace_call_history): Add btinfo parameter.
14701         Reorder fields.  Optionally indent the function name.  Update
14702         all users.
14703         * NEWS: Announce changes.
14704
14705 2014-01-16  Markus Metzger  <[email protected]>
14706
14707         * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
14708
14709 2014-01-16  Markus Metzger  <[email protected]>
14710
14711         * btrace.c (ftrace_new_function): Start counting at one.
14712         * record-btrace.c (record_btrace_info): Adjust number of calls
14713         and insns.
14714         * NEWS: Announce it.
14715
14716 2014-01-16  Markus Metzger  <[email protected]>
14717
14718         * record-btrace.c (btrace_call_history_insn_range): Print
14719         insn range as [begin, end].
14720
14721 2014-01-16  Markus Metzger  <[email protected]>
14722
14723         * btrace.h (struct btrace_func_link): New.
14724         (enum btrace_function_flag): New.
14725         (struct btrace_inst): Rename to ...
14726         (struct btrace_insn): ...this. Update all users.
14727         (struct btrace_func) <ibegin, iend>: Remove.
14728         (struct btrace_func_link): New.
14729         (struct btrace_func): Rename to ...
14730         (struct btrace_function): ...this. Update all users.
14731         (struct btrace_function) <segment, flow, up, insn, insn_offset)
14732         (number, level, flags>: New.
14733         (struct btrace_insn_iterator): Rename to ...
14734         (struct btrace_insn_history): ...this.
14735         Update all users.
14736         (struct btrace_insn_iterator, btrace_call_iterator): New.
14737         (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
14738         (struct btrace_target_info) <begin, end, level>
14739         <insn_history, call_history>: New.
14740         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14741         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14742         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14743         (btrace_call_number, btrace_call_begin, btrace_call_end)
14744         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14745         (btrace_find_function_by_number, btrace_set_insn_history)
14746         (btrace_set_call_history): New.
14747         * btrace.c (btrace_init_insn_iterator)
14748         (btrace_init_func_iterator, compute_itrace): Remove.
14749         (ftrace_print_function_name, ftrace_print_filename)
14750         (ftrace_skip_file): Change
14751         parameter to const.
14752         (ftrace_init_func): Remove.
14753         (ftrace_debug): Use new btrace_function fields.
14754         (ftrace_function_switched): Also consider gaining and
14755         losing symbol information).
14756         (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
14757         (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
14758         (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
14759         New.
14760         (ftrace_new_function): Move. Remove debug print.
14761         (ftrace_update_lines, ftrace_update_insns): New.
14762         (ftrace_update_function): Check for call, ret, and jump.
14763         (compute_ftrace): Renamed to ...
14764         (btrace_compute_ftrace): ...this. Rewritten to compute call
14765         stack.
14766         (btrace_fetch, btrace_clear): Updated.
14767         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14768         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14769         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14770         (btrace_call_number, btrace_call_begin, btrace_call_end)
14771         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14772         (btrace_find_function_by_number, btrace_set_insn_history)
14773         (btrace_set_call_history): New.
14774         * record-btrace.c (require_btrace): Use new btrace thread
14775         info fields.
14776         (record_btrace_info, btrace_insn_history)
14777         (record_btrace_insn_history, record_btrace_insn_history_range):
14778         Use new btrace thread info fields and new iterator.
14779         (btrace_func_history_src_line): Rename to ...
14780         (btrace_call_history_src_line): ...this. Use new btrace
14781         thread info fields.
14782         (btrace_func_history): Rename to ...
14783         (btrace_call_history): ...this. Use new btrace thread info
14784         fields and new iterator.
14785         (record_btrace_call_history, record_btrace_call_history_range):
14786         Use new btrace thread info fields and new iterator.
14787
14788 2014-01-16  Markus Metzger  <[email protected]>
14789
14790         * frame.h (frame_id_build_unavailable_stack_special): New.
14791         * frame.c (frame_id_build_unavailable_stack_special): New.
14792
14793 2014-01-16  Markus Metzger  <[email protected]>
14794
14795         * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
14796         (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
14797         (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
14798         to gdbarch.
14799         * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
14800         (i386_insn_is_jump, i386_jmp_p): New.
14801         (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
14802         insn_is_jump to gdbarch.
14803         * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
14804         * gdbarch.h: Regenerated.
14805         * gdbarch.c: Regenerated.
14806         * arch-utils.h (default_insn_is_call, default_insn_is_ret)
14807         (default_insn_is_jump): New.
14808         * arch-utils.c (default_insn_is_call, default_insn_is_ret)
14809         (default_insn_is_jump): New.
14810
14811 2014-01-16  Markus Metzger  <[email protected]>
14812
14813         * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
14814         Change to ...
14815         (btrace_read_type) <BTRACE_READ_ALL>: ... this.  Update users.
14816         (btrace_read_type) <btrace_read_new>: Change to ...
14817         (btrace_read_type) <BTRACE_READ_NEW>: ... this.  Update users.
14818
14819 2014-01-16  Markus Metzger  <[email protected]>
14820
14821         * common/linux-btrace.c (linux_read_btrace): Free trace from
14822         previous iteration.
14823
14824 2014-01-15  Doug Evans  <[email protected]>
14825
14826         * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
14827         uint32_t.
14828
14829 2014-01-15  Tom Tromey  <[email protected]>
14830
14831         * dbxread.c (process_one_symbol): Use set_objfile_main_name.
14832         * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
14833         * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
14834         (set_objfile_main_name): New function.
14835         * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
14836         language_of_main>: New fields.
14837         (set_objfile_main_name): Declare.
14838         * symtab.c (find_main_name): Loop over objfiles to find the main
14839         name and language.
14840         (set_main_name): Now static.
14841         (get_main_info): Add comment.
14842         * symtab.h (set_main_name): Don't declare.
14843
14844 2014-01-15  Tom Tromey  <[email protected]>
14845
14846         * symtab.c (main_progspace_key): New global.
14847         (struct main_info): New.
14848         (name_of_main, language_of_main): Remove.
14849         (get_main_info, main_info_cleanup): New function.
14850         (set_main_name, main_name, main_language): Use get_main_info.
14851         (_initialize_symtab): Initialize main_progspace_key.
14852
14853 2014-01-15  Tom Tromey  <[email protected]>
14854
14855         * dbxread.c (process_one_symbol): Update.
14856         * dwarf2read.c (read_partial_die): Update.
14857         * symfile.c (set_initial_language): Call main_language.
14858         * symtab.c (language_of_main): Now static.
14859         (set_main_name): Add 'lang' parameter.
14860         (find_main_name): Update.
14861         (main_language): New function.
14862         (symtab_observer_executable_changed): Update.
14863         * symtab.h (set_main_name): Update.
14864         (language_of_main): Remove.
14865         (main_language): Declare.
14866
14867 2014-01-15  Tom Tromey  <[email protected]>
14868
14869         * symfile.c (init_entry_point_info): Use new "initialized" field.
14870         Update.
14871         * objfiles.h (struct entry_point) <initialized>: New field.
14872         (struct objfile_per_bfd_storage) <ei>: New field, moved from...
14873         (struct objfile) <ei>: ...here.  Remove.
14874         * objfiles.c (entry_point_address_query): Update.
14875
14876 2014-01-15  Tom Tromey  <[email protected]>
14877
14878         * objfiles.c (entry_point_address_query): Relocate entry point
14879         address.
14880         (objfile_relocate1): Do not relocate entry point address.
14881         * objfiles.h (struct entry_info) <entry_point>: Update comment.
14882         <the_bfd_section_index>: New field.
14883         * symfile.c (init_entry_point_info): Find the entry point's
14884         section.
14885
14886 2014-01-15  Tom Tromey  <[email protected]>
14887
14888         * solib-frv.c (enable_break): Use entry_point_address_query.
14889
14890 2014-01-15  Omair Javaid  <[email protected]>
14891
14892         * NEWS: Add note on improved process record-replay on
14893         arm*-linux* targets.
14894
14895 2014-01-15  Omair Javaid  <[email protected]>
14896
14897         * arm-tdep.c (enum arm_record_result): New enum.
14898         (arm_record_unsupported_insn): New function.
14899         (arm_record_coproc_data_proc): Removed.
14900         (thumb2_record_ld_st_multiple): New function.
14901         (thumb2_record_ld_st_dual_ex_tbb): New function.
14902         (thumb2_record_data_proc_sreg_mimm): New function.
14903         (thumb2_record_ps_dest_generic): New function.
14904         (thumb2_record_branch_misc_cntrl): New function.
14905         (thumb2_record_str_single_data): New function.
14906         (thumb2_record_ld_mem_hints): New function.
14907         (thumb2_record_ld_word): New function.
14908         (thumb2_record_lmul_lmla_div): New function.
14909         (thumb2_record_decode_insn_handler): New function.
14910         (decode_insn): Add thumb32 instruction handlers.
14911
14912 2014-01-15  Omair Javaid  <[email protected]>
14913
14914         * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14915         (struct arm_linux_record_tdep): Declare.
14916         (arm_canonicalize_syscall): New function.
14917         (arm_all_but_pc_registers_record): New function.
14918         (arm_linux_syscall_record): New function.
14919         (arm_linux_init_abi): Add syscall recording constructs.
14920         * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14921         decoding.  (arm_record_coproc_data_proc): Update arm syscall
14922         decoding.
14923         * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14924         <arm_syscall_record>: New field.
14925         * configure.tgt (arm*-*-linux*): Add linux-record.o to
14926         gdb_target_obs.
14927
14928 2014-01-15  Omair Javaid  <[email protected]>
14929
14930         * arm-tdep.c (thumb_record_misc): Update to use sp as base
14931         register for push instruction recording.
14932
14933 2014-01-15  Omair Javaid  <[email protected]>
14934
14935         * arm-tdep.c (thumb_record_misc): Update to correct logical
14936         error while recording ldm, ldmia and pop instructions.
14937
14938 2014-01-15  Omair Javaid  <[email protected]>
14939
14940         * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14941
14942 2014-01-15  Pedro Alves  <[email protected]>
14943
14944         * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14945         (go32_resume, go32_fetch_registers, store_register)
14946         (go32_store_registers, go32_prepare_to_store)
14947         (go32_xfer_memory, go32_files_info, go32_kill_inferior)
14948         (go32_create_inferior, go32_can_run, go32_terminal_init)
14949         (go32_terminal_inferior, go32_terminal_ours): Delete forward
14950         declarations.
14951
14952 2014-01-15  Tom Tromey  <[email protected]>
14953
14954         * target.h (async_callback_ftype): New typedef.
14955         (struct target_ops) <to_async>: Use it.
14956
14957 2014-01-15  Joel Brobecker  <[email protected]>
14958
14959         * python/py-value.c (get_field_type): Remove unnecessary curly
14960         braces for single-statement if block.
14961
14962 2014-01-15  Joel Brobecker  <[email protected]>
14963
14964         * python/py-type.c (convert_field): Add missing empty line
14965         after declarations.
14966
14967 2014-01-14  Doug Evans  <[email protected]>
14968
14969         * symfile.h (expand_symtabs_matching): Renamed from
14970         expand_partial_symbol_names.  Update prototype.
14971         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14972         * symfile.c (expand_symtabs_matching): Renamed from
14973         expand_partial_symbol_names.  New args file_matcher, kind.
14974         Rename arg fun to symbol_matcher.
14975         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14976         * ada-lang.c (ada_complete_symbol_matcher): Renamed from
14977         ada_expand_partial_symbol_name.
14978         (ada_make_symbol_completion_list): Update to call
14979         expand_symtabs_matching.
14980         (ada_add_global_exceptions): Call expand_symtabs_matching.
14981         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
14982         call map_symbol_filenames.
14983         * symtab.c (sources_info): Update to call map_symbol_filenames.
14984         (search_symbols): Call expand_symtabs_matching.
14985         (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
14986         (default_make_symbol_completion_list_break_on): Update to call
14987         expand_symtabs_matching.
14988         (make_source_files_completion_list): Update to call
14989         map_symbol_filenames.
14990
14991 2014-01-14  Doug Evans  <[email protected]>
14992
14993         * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
14994         (expand_symtabs_symbol_matcher_ftype): New typedef.
14995         (quick_symbol_functions.expand_symtabs_matching): Update to use.
14996         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14997         * symfile.c (expand_partial_symbol_names): Update to use
14998         expand_symtabs_symbol_matcher_ftype.
14999         * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
15000         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
15001         Arg name_matcher renamed to symbol_matcher.
15002         * psymtab.c (recursively_search_psymtabs): Update to use
15003         expand_symtabs_symbol_matcher_ftype.  Arg name_matcher renamed to
15004         sym_matcher.
15005         (expand_symtabs_matching_via_partial): Update to use
15006         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
15007         Arg name_matcher renamed to symbol_matcher.
15008
15009 2014-01-14  Doug Evans  <[email protected]>
15010
15011         * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
15012         (map_partial_symbol_filenames): Ditto.
15013         * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
15014         (map_partial_symbol_filenames): Ditto.
15015         * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
15016         (map_partial_symbol_filenames): Ditto.
15017         * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
15018         (map_partial_symbol_filenames): Ditto.
15019         * symtab.c: Delete #include "psymtab.h".
15020
15021 2014-01-14  Pedro Alves  <[email protected]>
15022             Tom Tromey  <[email protected]>
15023
15024         * infrun.c (use_displaced_stepping): Use find_record_target
15025         instead of RECORD_IS_USED.
15026         (adjust_pc_after_break): Use record_full_is_used instead of
15027         RECORD_IS_USED.
15028         * record-btrace.c (record_btrace_open): Call record_preopen
15029         instead of checking RECORD_IS_USED.
15030         * record-full.c (record_full_shortname)
15031         (record_full_core_shortname): New globals.
15032         (record_full_is_used): New function.
15033         (find_full_open): Call record_preopen instead of checking
15034         RECORD_IS_USED.
15035         (init_record_full_ops): Set the target's shortname to
15036         record_full_shortname.
15037         (init_record_full_core_ops): Set the target's shortname to
15038         record_full_core_shortname.
15039         * record-full.h (record_full_is_used): Declare.
15040         * record.c (find_record_target): Make extern.
15041         (record_preopen): New function.
15042         * record.h (RECORD_IS_USED): Delete macro.
15043         (find_record_target, record_preopen): Declare functions.
15044
15045 2014-01-14  Yao Qi  <[email protected]>
15046
15047         * gdbarch.sh (core_xfer_shared_libraries): Change its argument
15048         'len''s type to ULONGEST.
15049         (core_xfer_shared_libraries_aix): Likewise.
15050         * gdbarch.c, gdbarch.h: Regenerated.
15051         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
15052         Change type of 'len' to ULONGEST.
15053         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
15054         (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
15055
15056 2014-01-14  Yao Qi  <[email protected]>
15057
15058         * common/linux-osdata.c (linux_xfer_osdata_processes): Change
15059         type of 'len' to ULONGEST.
15060         (linux_xfer_osdata_processgroups): Likewise.
15061         (linux_xfer_osdata_threads): Likewise.
15062         (linux_xfer_osdata_fds): Likewise.
15063         (linux_xfer_osdata_isockets): Likewise.
15064         (linux_xfer_osdata_shm): Likewise.
15065         (linux_xfer_osdata_sem): Likewise.
15066         (linux_xfer_osdata_msg): Likewise.
15067         (linux_common_xfer_osdata): Likewise.
15068         (struct osdata_type) <getter>: Likewise.
15069         * common/linux-osdata.h (linux_common_xfer_osdata): Update
15070         the declaration.
15071
15072 2014-01-14  Yao Qi  <[email protected]>
15073
15074         * target.h (target_xfer_partial_ftype): Update.
15075         (struct target_ops) <to_xfer_partial>: Change 'len' type to
15076         ULONGEST.
15077         * aix-thread.c (aix_thread_xfer_partial): Change type of
15078         argument 'len' to ULONGEST.
15079         * auxv.c (procfs_xfer_auxv): Likewise.
15080         (ld_so_xfer_auxv): Likewise.
15081         (memory_xfer_auxv): Likewise.
15082         * bfd-target.c (target_bfd_xfer_partial): Likewise.
15083         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
15084         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
15085         * corelow.c (core_xfer_partial): Likewise.
15086         * ctf.c (ctf_xfer_partial): Likewise.
15087         * darwin-nat.c (darwin_read_write_inferior): Likewise.  Use
15088         '%u'.
15089         (darwin_read_dyld_info): Likewise.
15090         (darwin_xfer_partial): Likewise.
15091         * exec.c (section_table_xfer_memory_partial): Likewise.
15092         (exec_xfer_partial): Likewise.
15093         * exec.h (section_table_xfer_memory_partial): Update
15094         declaration.
15095         * gnu-nat.c (gnu_xfer_memory): Likewise.  Call pulongest
15096         instead of plongest.
15097         (gnu_xfer_partial): Likewise.
15098         * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
15099         (ia64_hpux_xfer_solib_got): Likewise.
15100         (ia64_hpux_xfer_partial): Likewise.
15101         * ia64-linux-nat.c (ia64_linux_xfer_partial):
15102         * inf-ptrace.c (inf_ptrace_xfer_partial):
15103         * inf-ttrace.c (inf_ttrace_xfer_partial):
15104         * linux-nat.c (linux_xfer_siginfo): Likewise.
15105         (linux_nat_xfer_partial): Likewise.
15106         (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
15107         (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
15108         * monitor.c (monitor_xfer_memory): Likewise.
15109         (monitor_xfer_partial): Likewise.
15110         * procfs.c (procfs_xfer_partial): Likewise.
15111         * record-full.c (record_full_xfer_partial): Likewise.
15112         (record_full_core_xfer_partial): Likewise.
15113         * remote-sim.c (gdbsim_xfer_memory): Likewise.  Call pulongest
15114         instead of plongest.
15115         (gdbsim_xfer_partial): Likewise.
15116         * remote.c (remote_xfer_partial): Likewise.
15117         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
15118         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
15119         declaration.
15120         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
15121         (rs6000_xfer_shared_libraries): Likewise.
15122         * sol-thread.c (sol_thread_xfer_partial): Likewise.
15123         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
15124         (sparc_xfer_partial): Likewise.
15125         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
15126         (spu_xfer_partial): Likewise.
15127         * spu-multiarch.c (spu_xfer_partial): Likewise.
15128         * target.c (target_read_live_memory): Likewise.
15129         (memory_xfer_live_readonly_partial): Likewise.
15130         (memory_xfer_partial, memory_xfer_partial_1): Likewise.
15131         (target_xfer_partial, default_xfer_partial): Likewise.
15132         (current_xfer_partial): Likewise.
15133         * tracepoint.c (tfile_xfer_partial): Likewise.
15134         * windows-nat.c (windows_xfer_memory): Likewise.  Call
15135         pulongest instead of plongest.
15136         (windows_xfer_partial): Likewise.
15137         (windows_xfer_shared_libraries): Likewise.
15138
15139 2014-01-14  Yao Qi  <[email protected]>
15140
15141         * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
15142         target_xfer_partial_ftype.
15143
15144 2014-01-13  Siva Chandra Reddy  <[email protected]>
15145
15146         PR python/15464
15147         PR python/16113
15148         * valops.c (value_struct_elt_bitpos): New function
15149         * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
15150         object to 'None' if the field name is an empty string ("").
15151         * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
15152         attribute to look for a field when 'name' is 'None'.
15153         (get_field_type): New function
15154
15155 2014-01-13  Doug Evans  <[email protected]>
15156
15157         PR symtab/16426
15158         * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
15159         (try_open_dwop_file): Ditto.
15160         * gdb_bfd.c: #include "vec.h".
15161         (bfdp): New typedef.
15162         (struct gdb_bfd_data): New member included_bfds.
15163         (gdb_bfd_unref): Unref all included bfds.
15164         (gdb_bfd_record_inclusion): New function.
15165         * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
15166
15167 2014-01-13  Tom Tromey  <[email protected]>
15168
15169         * gdbcore.h (deprecated_core_resize_section_table): Remove.
15170
15171 2014-01-13  Tom Tromey  <[email protected]>
15172
15173         * defs.h (use_windows): Remove.
15174         * gdb.c (main): Update.
15175         * main.c (captured_main, gdb_main): Update.
15176         * main.h (struct captured_main_args) <use_windows>: Remove.
15177         * top.c (use_windows): Remove.
15178
15179 2014-01-13  Tom Tromey  <[email protected]>
15180
15181         * defs.h (deprecated_flush_hook): Remove.
15182
15183 2014-01-13  Jan Kratochvil  <[email protected]>
15184
15185         PR threads/16216
15186         * linux-thread-db.c (try_thread_db_load): Add parameter
15187         check_auto_load_safe.  Move here the file_is_auto_load_safe call.
15188         (try_thread_db_load_from_pdir_1): Move it there from here.
15189         (try_thread_db_load_from_sdir): Update caller.
15190         (try_thread_db_load_from_dir): Move it there from here.
15191
15192 2014-01-13  Patrick Palka  <[email protected]>
15193
15194         * regformats/regdat.sh: Always rewrite the register file.
15195
15196 2014-01-13  Pedro Alves  <[email protected]>
15197
15198         * Makefile.in (CHECK_HEADERS): New variable.
15199         (check-headers:): New rule.
15200
15201 2014-01-13  Tom Tromey  <[email protected]>
15202
15203         * cli/cli-setshow.c (do_set_command): Update.
15204         * defs.h (deprecated_set_hook): Remove.
15205         * top.c (deprecated_set_hook): Remove.
15206
15207 2014-01-13  Pedro Alves  <[email protected]>
15208
15209         * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
15210         the tracepoint if the PC is a pseudo-register.
15211
15212 2014-01-13  Tom Tromey  <[email protected]>
15213
15214         * defs.h (XCALLOC): Remove.
15215         * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
15216         (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
15217         * dwarf2loc.c (allocate_piece_closure): Likewise.
15218         * elfread.c (elf_symfile_segments): Likewise.
15219         (elf_symfile_segments): Likewise.
15220         * gdbtypes.c (copy_type_recursive): Likewise.
15221         * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
15222         * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
15223         * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
15224         XCALLOC.
15225         * mt-tdep.c (mt_gdbarch_init): Likewise.
15226         * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
15227         XCALLOC.
15228         * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
15229         * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
15230         * registry.c (registry_alloc_data): Likewise.
15231         * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
15232         * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
15233         * serial.c (serial_fdopen_ops): Likewise.
15234         * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
15235         XCALLOC.
15236         * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
15237         * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
15238         not XCALLOC.
15239
15240 2014-01-13  Tom Tromey  <[email protected]>
15241
15242         * defs.h (XMALLOC): Remove.
15243         * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
15244         * bfin-tdep.c (bfin_gdbarch_init): Likewise.
15245         * cli-out.c (struct ui_out *): Likewise.
15246         * cli/cli-dump.c (add_dump_command): Likewise.
15247         (add_dump_command): Likewise.
15248         * complaints.c (get_complaints): Likewise.
15249         (find_complaint): Likewise.
15250         * dwarf2-frame.c (execute_cfa_program): Likewise.
15251         * dwarf2read.c (abbrev_table_read_table): Likewise.
15252         * gdbarch.sh: Likewise.
15253         * gdbarch.c: Rebuild.
15254         * inf-ttrace.c (inf_ttrace_add_page): Likewise.
15255         * interps.c (interp_new): Likewise.
15256         * lm32-tdep.c (lm32_gdbarch_init): Likewise.
15257         * m32r-tdep.c (m32r_gdbarch_init): Likewise.
15258         * mi/mi-console.c (mi_console_file_new): Likewise.
15259         * mi/mi-interp.c (mi_interpreter_init): Likewise.
15260         * mi/mi-out.c (mi_out_new): Likewise.
15261         * mi/mi-parse.c (mi_parse): Likewise.
15262         * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
15263         * moxie-tdep.c (moxie_gdbarch_init): Likewise.
15264         * observer.c (xalloc_observer_list_node): Likewise.
15265         * regcache.c (regcache_xmalloc_1): Likewise.
15266         * reggroups.c (reggroup_new): Likewise.
15267         (_initialize_reggroup): Likewise.
15268         * registry.c (register_data_with_cleanup): Likewise.
15269         * remote.c (remote_notif_stop_alloc_reply): Likewise.
15270         * ser-base.c (serial_ttystate): Likewise.
15271         * ser-mingw.c (make_pipe_state): Likewise.
15272         * ser-pipe.c (pipe_open): Likewise.
15273         * serial.c (serial_open): Likewise.
15274         * sh64-tdep.c (sh64_gdbarch_init): Likewise.
15275         * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
15276         (tui_alloc_win_info): Likewise.
15277         (tui_add_content_elements): Likewise.
15278         * tui/tui-file.c (tui_file_new): Likewise.
15279         * tui/tui-out.c (tui_out_new): Likewise.
15280         * ui-file.c (mem_file_new): Likewise.
15281         * ui-out.c (push_level): Likewise.
15282         (make_cleanup_ui_out_end): Likewise.
15283         (append_header_to_list): Likewise.
15284         (ui_out_new): Likewise.
15285         * user-regs.c (user_reg_add_builtin): Likewise.
15286
15287 2014-01-13  Tom Tromey  <[email protected]>
15288
15289         * defs.h (XZALLOC): Remove.
15290         * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
15291         * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
15292         (get_ada_tasks_inferior_data): Likewise.
15293         * auto-load.c (get_auto_load_pspace_data): Likewise.
15294         * auxv.c (get_auxv_inferior_data): Likewise.
15295         * bfd-target.c (target_bfd_reopen): Likewise.
15296         * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
15297         (deprecated_insert_raw_breakpoint): Likewise.
15298         * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
15299         * corelow.c (core_open): Likewise.
15300         * darwin-nat.c (darwin_check_new_threads): Likewise.
15301         (darwin_attach_pid): Likewise.
15302         * dummy-frame.c (dummy_frame_push): Likewise.
15303         * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
15304         * dwarf2loc.c (allocate_piece_closure): Likewise.
15305         * elfread.c (elf_symfile_segments): Likewise.
15306         * eval.c (ptrmath_type_p): Likewise.
15307         * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
15308         * gdbtypes.c (alloc_type_arch): Likewise.
15309         (alloc_type_instance): Likewise.
15310         * hppa-tdep.c (hppa_gdbarch_init): Likewise.
15311         * inf-child.c (inf_child_can_use_agent): Likewise.
15312         * inflow.c (get_inflow_inferior_data): Likewise.
15313         * infrun.c (save_infcall_suspend_state): Likewise.
15314         * jit.c (jit_reader_load): Likewise.
15315         (get_jit_objfile_data): Likewise.
15316         (get_jit_program_space_data): Likewise.
15317         (jit_object_open_impl): Likewise.
15318         (jit_symtab_open_impl): Likewise.
15319         (jit_block_open_impl): Likewise.
15320         (jit_frame_sniffer): Likewise.
15321         * linux-fork.c (add_fork): Likewise.
15322         * maint.c (make_command_stats_cleanup): Likewise.
15323         * objfiles.c (get_objfile_pspace_data): Likewise.
15324         * opencl-lang.c (struct lval_closure): Likewise.
15325         * osdata.c (osdata_start_osdata): Likewise.
15326         * progspace.c (new_address_space): Likewise.
15327         (add_program_space): Likewise.
15328         * remote-sim.c (get_sim_inferior_data): Likewise.
15329         * sh-tdep.c (sh_gdbarch_init): Likewise.
15330         * skip.c (Ignore): Likewise.
15331         (skip_delete_command): Likewise.
15332         * solib-aix.c (get_solib_aix_inferior_data): Likewise.
15333         (library_list_start_library): Likewise.
15334         (solib_aix_current_sos): Likewise.
15335         * solib-darwin.c (get_darwin_info): Likewise.
15336         (darwin_current_sos): Likewise.
15337         * solib-dsbt.c (get_dsbt_info): Likewise.
15338         * solib-ia64-hpux.c (new_so_list): Likewise.
15339         (ia64_hpux_get_solib_linkage_addr): Likewise.
15340         * solib-spu.c (append_ocl_sos): Likewise.
15341         (spu_current_sos): Likewise.
15342         * solib-svr4.c (get_svr4_info): Likewise.
15343         (svr4_keep_data_in_core): Likewise.
15344         (library_list_start_library): Likewise.
15345         (svr4_default_sos): Likewise.
15346         (svr4_read_so_list): Likewise.
15347         * solib-target.c (library_list_start_library): Likewise.
15348         (solib_target_current_sos): Likewise.
15349         * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
15350         * symfile-debug.c (install_symfile_debug_logging): Likewise.
15351         * symfile.c (default_symfile_segments): Likewise.
15352         * target-descriptions.c (tdesc_data_init): Likewise.
15353         (tdesc_create_reg): Likewise.
15354         (struct tdesc_type *): Likewise.
15355         (tdesc_create_vector): Likewise.
15356         (tdesc_set_struct_size): Likewise.
15357         (struct tdesc_type *): Likewise.
15358         (tdesc_free_feature): Likewise.
15359         (tdesc_create_feature): Likewise.
15360         * windows-nat.c (windows_add_thread): Likewise.
15361         (windows_make_so): Likewise.
15362         * xml-support.c (gdb_xml_body_text): Likewise.
15363         (gdb_xml_create_parser_and_cleanup): Likewise.
15364         (xml_process_xincludes): Likewise.
15365         * xml-syscall.c (allocate_syscalls_info): Likewise.
15366         (syscall_create_syscall_desc): Likewise.
15367
15368 2014-01-12  Sergio Durigan Junior  <[email protected]>
15369
15370         * i386-tdep.c (i386_stap_parse_special_token_triplet): New
15371         function, with code from i386_stap_parse_special_token.
15372         (i386_stap_parse_special_token_three_arg_disp): Likewise.
15373         (i386_stap_parse_special_token): Move code to the two functions
15374         above; simplify it.
15375
15376 2014-01-09  Pedro Alves  <[email protected]>
15377             Hui Zhu  <[email protected]>
15378
15379         PR gdb/16101
15380         * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
15381         bp_err_string.  Don't mark the location shlib_disabled if the
15382         error thrown wasn't a generic or memory error.  Catch errors
15383         thrown while inserting breakpoints in overlayed code.  Output
15384         error message of software breakpoints.
15385         * remote.c (remote_insert_breakpoint): If this breakpoint has
15386         target-side commands but this stub doesn't support Z0 packets,
15387         throw NOT_SUPPORTED_ERROR error.
15388         * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
15389         * target.h (target_insert_breakpoint): Extend comment.
15390         (target_insert_hw_breakpoint): Add comment.
15391
15392 2014-01-08  Pedro Alves  <[email protected]>
15393
15394         * remote.c (remote_add_thread): Add threads silently if starting
15395         up.
15396         (remote_notice_new_inferior): If in all-stop, and starting up,
15397         don't call notice_new_inferior.
15398         (get_current_thread): New function, factored out from ...
15399         (add_current_inferior_and_thread): ... this.  Adjust.
15400         (remote_start_remote) <all-stop>: Fetch the thread list.  If we
15401         found any thread, then select the remote's current thread as GDB's
15402         current thread too.
15403
15404 2014-01-08  Joel Brobecker  <[email protected]>
15405
15406         * NEWS: Create a new section for the next release branch.
15407         Rename the section of the current branch, now that it has
15408         been cut.
15409
15410 2014-01-08  Joel Brobecker  <[email protected]>
15411
15412         GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
15413         * version.in: Bump version to 7.7.50.DATE-cvs.
15414
15415 2014-01-08  Yao Qi  <[email protected]>
15416
15417         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
15418         type of 'id' to gdb_byte.  Cast 'id' to 'const char *'.
15419         (spu_xfer_partial): Cast 'buf' to 'const char *'.
15420
15421 2014-01-08  Yao Qi  <[email protected]>
15422
15423         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
15424         return value of bfd_get_filename to symbol_file_add_from_bfd.
15425
15426 2014-01-08  Pierre Muller  <[email protected]>
15427
15428         Fix PR16201.
15429         * coff-pe-read.c (struct read_pe_section_data): Add index field.
15430         (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
15431         to prim_record_mininal_symbol_and_info.
15432         (add_pe_forwarded_sym): Use known section number of forwarded symbol
15433         in call to prim_record_minimal_symbol_and_info.
15434         (read_pe_exported_syms): Set index field of section_data.
15435
15436 2014-01-07  Andrew Pinski  <[email protected]>
15437
15438         * features/aarch64-core.xml (cpsr): Change to be 64bit.
15439         * features/aarch64.c: Regenerate.
15440
15441 2014-01-07  Andreas Schwab  <[email protected]>
15442
15443         * target.c (return_null): Define.
15444         (update_current_target): Use it instead of return_zero for
15445         functions that return a pointer.
15446
15447 2014-01-07  Edjunior Barbosa Machado  <[email protected]>
15448
15449         * source.c (add_path): Fix check for duplicated paths in the previously
15450         included paths.
15451
15452 2014-01-07  Honggyu Kim  <[email protected]>
15453
15454         * ada-lang.c: Remove duplicated include statements.
15455         * alphabsd-nat.c: Ditto.
15456         * amd64-darwin-tdep.c: Ditto.
15457         * amd64fbsd-nat.c: Ditto.
15458         * auto-load.c: Ditto.
15459         * ax-gdb.c: Ditto.
15460         * breakpoint.c: Ditto.
15461         * dbxread.c: Ditto.
15462         * fork-child.c: Ditto.
15463         * gdb_usleep.c: Ditto.
15464         * i386-darwin-tdep.c: Ditto.
15465         * i386fbsd-nat.c: Ditto.
15466         * infcmd.c: Ditto.
15467         * inferior.c: Ditto.
15468         * jv-lang.c: Ditto.
15469         * linux-nat.c: Ditto.
15470         * linux-tdep.c: Ditto.
15471         * m68kbsd-nat.c: Ditto.
15472         * m68klinux-nat.c: Ditto.
15473         * microblaze-tdep.c: Ditto.
15474         * mips-linux-tdep.c: Ditto.
15475         * mn10300-tdep.c: Ditto.
15476         * nto-tdep.c: Ditto.
15477         * opencl-lang.c: Ditto.
15478         * osdata.c: Ditto.
15479         * printcmd.c: Ditto.
15480         * regcache.c: Ditto.
15481         * remote-m32r-sdi.c: Ditto.
15482         * remote.c: Ditto.
15483         * symfile.c: Ditto.
15484         * symtab.c: Ditto.
15485         * tilegx-linux-nat.c: Ditto.
15486         * tilegx-tdep.c: Ditto.
15487         * tracepoint.c: Ditto.
15488         * valops.c: Ditto.
15489         * vaxbsd-nat.c: Ditto.
15490         * windows-nat.c: Ditto.
15491         * xtensa-tdep.c: Ditto.
15492
15493 2014-01-07  Yao Qi  <[email protected]>
15494
15495         * spu-linux-nat.c (_initialize_spu_nat): Declare.
15496
15497 2014-01-07  Yao Qi  <[email protected]>
15498             Joel Brobecker  <[email protected]>
15499
15500         * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
15501         (pdc_write_regs): Likewise.
15502         (fetch_regs_kernel_thread): Likewise.
15503         (store_regs_kernel_thread): Likewise.
15504
15505 2014-01-07  Joel Brobecker  <[email protected]>
15506
15507         * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
15508         tagged type objects to their actual type.
15509
15510 2014-01-07  Joel Brobecker  <[email protected]>
15511
15512         * ada-valprint.c (print_field_values): Add "language" parameter.
15513         Update calls to print_field_values and print_variant_part.
15514         Pass new parameter "language" in call to val_print instead
15515         of "current_language".  Replace call to ada_val_print by call
15516         to val_print.
15517         (print_variant_part): Add "language" parameter.
15518         (ada_val_print_struct_union): Update call to print_field_values.
15519
15520 2014-01-07  Joel Brobecker  <[email protected]>
15521
15522         * ada-valprint.c (ui_memcpy): Delete.
15523         (ada_print_floating): Update documentation.  Add empty line
15524         between between function documentation and implementation.
15525         Delete variable "buffer".  Use ui_file_xstrdup in place of
15526         ui_file_put.  Minor adjustments following this change.
15527
15528 2014-01-07  Joel Brobecker  <[email protected]>
15529
15530         * ada-valprint.c (ada_val_print_string): New function,
15531         extracted from ada_val_print_array.
15532         (ada_val_print_array): Replace extracted code by call
15533         to ada_val_print_string followed by a return.  Move
15534         "else" branch to the function's top block.
15535
15536 2014-01-07  Joel Brobecker  <[email protected]>
15537
15538         * ada-valprint.c (ada_val_print_array): Move implementation
15539         down.  Rename parameter "offset" and "val" into "offset_aligned"
15540         and "original_value" respectively.  Add parameter "offset".
15541
15542 2014-01-07  Joel Brobecker  <[email protected]>
15543
15544         * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
15545         re-organizing the code. Change the "???" message printed
15546         when target type is a TYPE_CODE_UNDEF into
15547         "<ref to undefined type>".
15548
15549 2014-01-07  Joel Brobecker  <[email protected]>
15550
15551         * ada-valprint.c (print_record): Delete, implementation inlined...
15552         (ada_val_print_struct_union): ... here.  Remove call to
15553         ada_check_typedef in inlined implementation.
15554
15555 2014-01-07  Joel Brobecker  <[email protected]>
15556
15557         * ada-valprint.c (ada_val_print_gnat_array): New function,
15558         extracted from ada_val_print_1;
15559         (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
15560         (ada_val_print_flt, ada_val_print_struct_union)
15561         (ada_val_print_ref): Likewise.
15562         (ada_val_print_1): Delete variables i and elttype.
15563         Replace extracted-out code by call to corresponding
15564         new functions.
15565
15566 2014-01-07  Joel Brobecker  <[email protected]>
15567
15568         * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
15569
15570 2014-01-07  Joel Brobecker  <[email protected]>
15571
15572         * ada-valprint.c (ada_val_print_1): Replace calls to
15573         ada_val_print_1 by calls to val_print.
15574
15575 2014-01-07  Joel Brobecker  <[email protected]>
15576
15577         * ada-valprint.c (ada_val_print_1): Add parameter "language".
15578         Update calls to self accordingly.  Replace calls to c_val_print
15579         by calls to val_print.
15580
15581 2014-01-07  Joel Brobecker  <[email protected]>
15582
15583         * ada-valprint.c (print_record): Delete declaration.
15584         (adjust_type_signedness, ada_val_print_1): Likewise.
15585         (ada_val_print): Move function implementation down.
15586         (print_variant_part, print_field_values, print_record):
15587         Move function implementation up.
15588
15589 2014-01-07  Joel Brobecker  <[email protected]>
15590
15591         * python/py-type.c (typy_get_name): New function.
15592         (type_object_getset): Add entry for attribute "name".
15593         * NEWS: Add entry mentioning this new attribute.
15594
15595 2014-01-07  Yao Qi  <[email protected]>
15596
15597         * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
15598         statement.
15599
15600 2014-01-07  Yao Qi  <[email protected]>
15601
15602         * gnu-nat.c (info_port_rights): Add qualifier const to
15603         argument args.
15604
15605 2014-01-07  Yao Qi  <[email protected]>
15606
15607         * gnu-nat.c (trace_me): Use 'void' for empty argument list.
15608
15609 2014-01-07  Yao Qi  <[email protected]>
15610
15611         * gnu-nat.c (make_inf) Update declaration.
15612         (make_inf): Make it static.
15613         (inf_set_traced): Likewise.
15614         (inf_port_to_thread, inf_task_died_status): Likewise.
15615
15616 2014-01-07  Yao Qi  <[email protected]>
15617
15618         * gnu-nat.c (inf_tid_to_proc): Remove declaration.
15619
15620 2014-01-07  Yao Qi  <[email protected]>
15621
15622         * gnu-nat.c (_initialize_gnu_nat): Declare.
15623
15624 2014-01-07  Yao Qi  <[email protected]>
15625
15626         * gdbarch.sh (byte_order, byte_order_for_code): Change type to
15627         'enum bfd_endian'.
15628         (struct gdbarch_info) <byte_order>: Change type to
15629         'enum bfd_endian'.
15630         <byte_order_for_code>: Likewise.
15631         * gdbarch.c, gdbarch.h: Regenerated.
15632
15633 2014-01-06  Sasha Smundak  <[email protected]>
15634
15635         * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
15636
15637 2014-01-06  Tom Tromey  <[email protected]>
15638
15639         * doublest.c (convert_doublest_to_floatformat): Use const, not
15640         CONST.
15641         * somread.c (som_symtab_read): Likewise.
15642
15643 2014-01-07  Hui Zhu  <[email protected]>
15644
15645         * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
15646         (gdb_bfd_open): Removed gdb_bfd_stash_filename.
15647         (gdb_bfd_fopen): Ditto.
15648         (gdb_bfd_openr): Ditto.
15649         (gdb_bfd_openw): Ditto.
15650         (gdb_bfd_openr_iovec): Ditto.
15651         (gdb_bfd_fdopenr): Ditto.
15652         * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
15653         * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
15654         with xstrdup.
15655         * solib-darwin.c (darwin_bfd_open): Alloc res->filename
15656         with xstrdup.
15657         * symfile-mem.c (symbol_file_add_from_memory): Removed
15658         gdb_bfd_stash_filename.
15659
15660 2014-01-03  Doug Evans  <[email protected]>
15661
15662         * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
15663         output.
15664
15665 2014-01-01  Joel Brobecker  <[email protected]>
15666
15667         Update year range in copyright notice of all files.
15668
15669 2014-01-01  Joel Brobecker  <[email protected]>
15670
15671         * top.c (print_gdb_version): Set copyright year to 2014.
15672
15673 2014-01-01  Joel Brobecker  <[email protected]>
15674
15675         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
15676
15677 For older changes see ChangeLog-2013.
15678 \f
15679 Local Variables:
15680 mode: change-log
15681 left-margin: 8
15682 fill-column: 74
15683 version-control: never
15684 coding: utf-8
15685 End:
This page took 0.881391 seconds and 4 git commands to generate.