]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/ChangeLog
Make IMPORTED_GNULIB_MODULES in alphabetical order
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
1 2014-11-21 Yao Qi <yao@codesourcery.com>
2
3 * gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in
4 alphabetical order.
5
6 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7
8 * gdbtypes.c (create_range_type): Unset RESULT_TYPE's
9 flag_unsigned if HIGH_BOUND is constant and negative.
10
11 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12
13 PR breakpoints/10737
14 * xml-syscall.c (set_xml_syscall_file_name): Remove "const"
15 modifier from "struct gdbarch" when compiling without Expat (XML)
16 support.
17 (get_syscall_by_number): Likewise.
18 (get_syscall_by_name): Likewise.
19 (get_syscall_names): Likewise.
20
21 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
22
23 PR breakpoints/10737
24 * amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to
25 set_xml_syscall_file_name to provide gdbarch.
26 * arm-linux-tdep.c (arm_linux_init_abi): Likewise.
27 * bfin-linux-tdep.c (bfin_linux_init_abi): Likewise.
28 * breakpoint.c (print_it_catch_syscall): Adjust call to
29 get_syscall_by_number to provide gdbarch.
30 (print_one_catch_syscall): Likewise.
31 (print_mention_catch_syscall): Likewise.
32 (print_recreate_catch_syscall): Likewise.
33 (catch_syscall_split_args): Adjust calls to get_syscall_by_number
34 and get_syscall_by_name to provide gdbarch.
35 (catch_syscall_completer): Adjust call to get_syscall_names to
36 provide gdbarch.
37 * gdbarch.c: Regenerate.
38 * gdbarch.h: Likewise.
39 * gdbarch.sh: Forward declare "struct syscalls_info".
40 (xml_syscall_file): New variable.
41 (syscalls_info): Likewise.
42 * i386-linux-tdep.c (i386_linux_init_abi): Adjust call to
43 set_xml_syscall_file_name to provide gdbarch.
44 * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
45 * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
46 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
47 * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
48 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise.
49 * xml-syscall.c: Include gdbarch.h.
50 (set_xml_syscall_file_name): Accept gdbarch parameter.
51 (get_syscall_by_number): Likewise.
52 (get_syscall_by_name): Likewise.
53 (get_syscall_names): Likewise.
54 (my_gdb_datadir): Delete global variable.
55 (struct syscalls_info) <my_gdb_datadir>: New variable.
56 (struct syscalls_info) <sysinfo>: Rename variable to
57 "syscalls_info".
58 (sysinfo): Delete global variable.
59 (have_initialized_sysinfo): Likewise.
60 (xml_syscall_file): Likewise.
61 (sysinfo_free_syscalls_desc): Rename to...
62 (syscalls_info_free_syscalls_desc): ... this.
63 (free_syscalls_info): Rename "sysinfo" to "syscalls_info". Adjust
64 code to the new layout of "struct syscalls_info".
65 (make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to
66 "syscalls_info".
67 (syscall_create_syscall_desc): Likewise.
68 (syscall_start_syscall): Likewise.
69 (syscall_parse_xml): Likewise.
70 (xml_init_syscalls_info): Likewise. Drop "const" from return value.
71 (init_sysinfo): Rename to...
72 (init_syscalls_info): ...this. Add gdbarch as a parameter.
73 Adjust function to deal with gdbarch.
74 (xml_get_syscall_number): Delete parameter sysinfo. Accept
75 gdbarch as a parameter. Adjust code.
76 (xml_get_syscall_name): Likewise.
77 (xml_list_of_syscalls): Likewise.
78 (set_xml_syscall_file_name): Accept gdbarch as parameter.
79 (get_syscall_by_number): Likewise.
80 (get_syscall_by_name): Likewise.
81 (get_syscall_names): Likewise.
82 * xml-syscall.h (set_xml_syscall_file_name): Likewise.
83 (get_syscall_by_number): Likewise.
84 (get_syscall_by_name): Likewise.
85 (get_syscall_names): Likewise.
86
87 2014-11-20 Doug Evans <xdje42@gmail.com>
88
89 Split struct symtab into two: struct symtab and compunit_symtab.
90 * amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit.
91 * block.c (blockvector_for_pc_sect): Change "struct symtab *" argument
92 to "struct compunit_symtab *". All callers updated.
93 (set_block_compunit_symtab): Renamed from set_block_symtab. Change
94 "struct symtab *" argument to "struct compunit_symtab *".
95 All callers updated.
96 (get_block_compunit_symtab): Renamed from get_block_symtab. Change
97 result to "struct compunit_symtab *". All callers updated.
98 (find_iterator_compunit_symtab): Renamed from find_iterator_symtab.
99 Change result to "struct compunit_symtab *". All callers updated.
100 * block.h (struct global_block) <compunit_symtab>: Renamed from symtab.
101 hange type to "struct compunit_symtab *". All uses updated.
102 (struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab".
103 Change type to "struct compunit_symtab *". All uses updated.
104 * buildsym.c (struct buildsym_compunit): New struct.
105 (subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete.
106 (buildsym_compunit): New static global.
107 (finish_block_internal): Update to fetch objfile from
108 buildsym_compunit.
109 (make_blockvector): Delete objfile argument.
110 (start_subfile): Rewrite to use buildsym_compunit. Don't initialize
111 debugformat, producer.
112 (start_buildsym_compunit): New function.
113 (free_buildsym_compunit): Renamed from free_subfiles_list.
114 All callers updated.
115 (patch_subfile_names): Rewrite to use buildsym_compunit.
116 (get_compunit_symtab): New function.
117 (get_macro_table): Delete argument comp_dir. All callers updated.
118 (start_symtab): Change result to "struct compunit_symtab *".
119 All callers updated. Create the subfile of the main source file.
120 (watch_main_source_file_lossage): Rewrite to use buildsym_compunit.
121 (reset_symtab_globals): Update.
122 (end_symtab_get_static_block): Update to use buildsym_compunit.
123 (end_symtab_without_blockvector): Rewrite.
124 (end_symtab_with_blockvector): Change result to
125 "struct compunit_symtab *". All callers updated.
126 Update to use buildsym_compunit. Don't set symtab->dirname,
127 instead set it in the compunit.
128 Explicitly make sure main symtab is first in its list.
129 Set debugformat, producer, blockvector, block_line_section, and
130 macrotable in the compunit.
131 (end_symtab_from_static_block): Change result to
132 "struct compunit_symtab *". All callers updated.
133 (end_symtab, end_expandable_symtab): Ditto.
134 (set_missing_symtab): Change symtab argument to
135 "struct compunit_symtab *". All callers updated.
136 (augment_type_symtab): Ditto.
137 (record_debugformat): Update to use buildsym_compunit.
138 (record_producer): Update to use buildsym_compunit.
139 * buildsym.h (struct subfile) <dirname>: Delete.
140 <producer, debugformat>: Delete.
141 <buildsym_compunit>: New member.
142 (get_compunit_symtab): Declare.
143 * dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed
144 from primary_symtab. Change type to "struct compunit_symtab *".
145 All uses updated.
146 (dwarf2_start_symtab): Change result to "struct compunit_symtab *".
147 All callers updated.
148 (dwarf_decode_macros): Delete comp_dir argument. All callers updated.
149 (struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from
150 symtab. Change type to "struct compunit_symtab *". All uses updated.
151 (dw2_instantiate_symtab): Change result to "struct compunit_symtab *".
152 All callers updated.
153 (dw2_find_last_source_symtab): Ditto.
154 (dw2_lookup_symbol): Ditto.
155 (recursively_find_pc_sect_compunit_symtab): Renamed from
156 recursively_find_pc_sect_symtab. Change result to
157 "struct compunit_symtab *". All callers updated.
158 (dw2_find_pc_sect_compunit_symtab): Renamed from
159 dw2_find_pc_sect_symtab. Change result to
160 "struct compunit_symtab *". All callers updated.
161 (get_compunit_symtab): Renamed from get_symtab. Change result to
162 "struct compunit_symtab *". All callers updated.
163 (recursively_compute_inclusions): Change type of immediate_parent
164 argument to "struct compunit_symtab *". All callers updated.
165 (compute_compunit_symtab_includes): Renamed from
166 compute_symtab_includes. All callers updated. Rewrite to compute
167 includes of compunit_symtabs and not symtabs.
168 (process_full_comp_unit): Update to work with struct compunit_symtab.
169 (process_full_type_unit): Ditto.
170 (dwarf_decode_lines_1): Delete argument comp_dir. All callers updated.
171 (dwarf_decode_lines): Remove special case handling of main subfile.
172 (macro_start_file): Delete argument comp_dir. All callers updated.
173 (dwarf_decode_macro_bytes): Ditto.
174 * guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to
175 use struct compunit_symtab.
176 * i386-tdep.c (i386_skip_prologue): Fetch producer from compunit.
177 * jit.c (finalize_symtab): Build compunit_symtab.
178 * jv-lang.c (get_java_class_symtab): Change result to
179 "struct compunit_symtab *". All callers updated.
180 * macroscope.c (sal_macro_scope): Fetch macro table from compunit.
181 * macrotab.c (struct macro_table) <compunit_symtab>: Renamed from
182 comp_dir. Change type to "struct compunit_symtab *".
183 All uses updated.
184 (new_macro_table): Change comp_dir argument to cust,
185 "struct compunit_symtab *". All callers updated.
186 * maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from
187 nr_primary_symtabs. All uses updated.
188 (count_symtabs_and_blocks): Update to handle compunits.
189 (report_command_stats): Update output, "primary symtabs" renamed to
190 "compunits".
191 * mdebugread.c (new_symtab): Change result to
192 "struct compunit_symtab *". All callers updated.
193 (parse_procedure): Change type of search_symtab argument to
194 "struct compunit_symtab *". All callers updated.
195 * objfiles.c (objfile_relocate1): Loop over blockvectors in a
196 separate loop.
197 * objfiles.h (struct objfile) <compunit_symtabs>: Renamed from
198 symtabs. Change type to "struct compunit_symtab *". All uses updated.
199 (ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS.
200 All uses updated.
201 (ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS.
202 All uses updated.
203 (ALL_FILETABS): Renamed from ALL_SYMTABS. All uses updated.
204 (ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS. All uses updated.
205 * psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from
206 symtab. Change type to "struct compunit_symtab *". All uses updated.
207 * psymtab.c (psymtab_to_symtab): Change result type to
208 "struct compunit_symtab *". All callers updated.
209 (find_pc_sect_compunit_symtab_from_partial): Renamed from
210 find_pc_sect_symtab_from_partial. Change result type to
211 "struct compunit_symtab *". All callers updated.
212 (lookup_symbol_aux_psymtabs): Change result type to
213 "struct compunit_symtab *". All callers updated.
214 (find_last_source_symtab_from_partial): Ditto.
215 * python/py-symtab.c (stpy_get_producer): Fetch producer from compunit.
216 * source.c (forget_cached_source_info_for_objfile): Fetch debugformat
217 and macro_table from compunit.
218 * symfile-debug.c (debug_qf_find_last_source_symtab): Change result
219 type to "struct compunit_symtab *". All callers updated.
220 (debug_qf_lookup_symbol): Ditto.
221 (debug_qf_find_pc_sect_compunit_symtab): Renamed from
222 debug_qf_find_pc_sect_symtab, change result type to
223 "struct compunit_symtab *". All callers updated.
224 * symfile.c (allocate_symtab): Delete objfile argument.
225 New argument cust.
226 (allocate_compunit_symtab): New function.
227 (add_compunit_symtab_to_objfile): New function.
228 * symfile.h (struct quick_symbol_functions) <lookup_symbol>:
229 Change result type to "struct compunit_symtab *". All uses updated.
230 <find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab.
231 Change result type to "struct compunit_symtab *". All uses updated.
232 * symmisc.c (print_objfile_statistics): Compute blockvector count in
233 separate loop.
234 (dump_symtab_1): Update test for primary source symtab.
235 (maintenance_info_symtabs): Update to handle compunit symtabs.
236 (maintenance_check_symtabs): Ditto.
237 * symtab.c (set_primary_symtab): Delete.
238 (compunit_primary_filetab): New function.
239 (compunit_language): New function.
240 (iterate_over_some_symtabs): Change type of arguments "first",
241 "after_last" to "struct compunit_symtab *". All callers updated.
242 Update to loop over symtabs in each compunit.
243 (error_in_psymtab_expansion): Rename symtab argument to cust,
244 and change type to "struct compunit_symtab *". All callers updated.
245 (find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab.
246 Change result type to "struct compunit_symtab *". All callers updated.
247 (find_pc_compunit_symtab): Renamed from find_pc_symtab.
248 Change result type to "struct compunit_symtab *". All callers updated.
249 (find_pc_sect_line): Only loop over symtabs within selected compunit
250 instead of all symtabs in the objfile.
251 * symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab.
252 <compunit_symtab> New member.
253 <block_line_section>: Moved to compunit_symtab.
254 <locations_valid>: Ditto.
255 <epilogue_unwind_valid>: Ditto.
256 <macro_table>: Ditto.
257 <dirname>: Ditto.
258 <debugformat>: Ditto.
259 <producer>: Ditto.
260 <objfile>: Ditto.
261 <call_site_htab>: Ditto.
262 <includes>: Ditto.
263 <user>: Ditto.
264 <primary>: Delete
265 (SYMTAB_COMPUNIT): New macro.
266 (SYMTAB_BLOCKVECTOR): Update definition.
267 (SYMTAB_OBJFILE): Update definition.
268 (SYMTAB_DIRNAME): Update definition.
269 (struct compunit_symtab): New type. Common members among all source
270 symtabs within a compilation unit moved here. All uses updated.
271 (COMPUNIT_OBJFILE): New macro.
272 (COMPUNIT_FILETABS): New macro.
273 (COMPUNIT_DEBUGFORMAT): New macro.
274 (COMPUNIT_PRODUCER): New macro.
275 (COMPUNIT_DIRNAME): New macro.
276 (COMPUNIT_BLOCKVECTOR): New macro.
277 (COMPUNIT_BLOCK_LINE_SECTION): New macro.
278 (COMPUNIT_LOCATIONS_VALID): New macro.
279 (COMPUNIT_EPILOGUE_UNWIND_VALID): New macro.
280 (COMPUNIT_CALL_SITE_HTAB): New macro.
281 (COMPUNIT_MACRO_TABLE): New macro.
282 (ALL_COMPUNIT_FILETABS): New macro.
283 (compunit_symtab_ptr): New typedef.
284 (DEF_VEC_P (compunit_symtab_ptr)): New vector type.
285
286 2014-11-20 Joel Brobecker <brobecker@adacore.com>
287
288 * ada-lang.c (ada_is_redundant_range_encoding): Return 0
289 if the TYPE_CODE of range_type's base type does not match
290 the TYPE_CODE of encoding_type's base type.
291
292 2014-11-19 Joel Brobecker <brobecker@adacore.com>
293
294 * ada-lang.c (ada_unqualified_name): Return DECODED_NAME if
295 it starts with '<'.
296
297 2014-11-19 Joel Brobecker <brobecker@adacore.com>
298
299 * ada-lang.c (ada_is_redundant_range_encoding): New function.
300 (ada_is_redundant_index_type_desc): New function.
301 (to_fixed_array_type): Ignore parallel XA type if redundant.
302
303 2014-11-19 Joel Brobecker <brobecker@adacore.com>
304
305 * ada-lang.c (constrained_packed_array_type): Set the length
306 of the return array as if both bounds where zero if that
307 returned array's index type is dynamic.
308
309 2014-11-19 Yao Qi <yao@codesourcery.com>
310
311 * config/i386/go32.mh (CC): Remove.
312
313 2014-11-18 Doug Evans <xdje42@gmail.com>
314
315 * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses
316 updated.
317
318 2014-11-18 Doug Evans <xdje42@gmail.com>
319
320 * buildsym.c (buildsym_objfile): New static global.
321 (buildsym_comp_dir): New static global.
322 (finish_block_internal): Delete arg objfile. All callers updated.
323 (finish_block): Delete arg objfile. All callers updated.
324 (start_subfile): Delete arg dirname. All callers updated.
325 (patch_subfile_names): Update buildsym_comp_dir.
326 (get_macro_table): Delete arg objfile. All callers updated.
327 (start_symtab): New arg objfile. All callers updated.
328 Rename arg dirname to comp_dir.
329 (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir.
330 (end_symtab_get_static_block): Delete arg objfile. All callers
331 updated.
332 (end_symtab_without_blockvector): Ditto.
333 (end_symtab_with_blockvector): Ditto.
334 (end_symtab_from_static_block): Ditto.
335 (end_symtab): Ditto.
336 (end_expandable_symtab): Ditto.
337 (augment_type_symtab): Ditto.
338 * coffread.c (coff_start_symtab): New arg objfile. All callers
339 updated.
340
341 2014-11-18 Doug Evans <xdje42@gmail.com>
342
343 * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses
344 updated.
345
346 2014-11-18 Doug Evans <xdje42@gmail.com>
347
348 * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member
349 symtab.dirname updated to use it.
350
351 2014-11-18 Doug Evans <xdje42@gmail.com>
352
353 * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member
354 symtab.objfile updated to use it.
355
356 2014-11-18 Doug Evans <xdje42@gmail.com>
357
358 * buildsym.c (watch_main_source_file_lossage): Fix memory leak.
359
360 2014-11-18 Doug Evans <xdje42@gmail.com>
361
362 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
363 SYMBOL_OBJFILE.
364 * findvar.c (default_read_var_value): Ditto.
365 * jv-lang.c (add_class_symtab_symbol): Ditto.
366 * parse.c (operator_check_standard): Ditto.
367 * printcmd.c (address_info): Ditto.
368 * symtab.c (fixup_symbol_section): Ditto.
369 (skip_prologue_sal): Ditto.
370 * tracepoint.c (scope_info): Ditto.
371 * valops.c (find_function_in_inferior): Ditto.
372 * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto.
373 * python/py-symbol.c (set_symbol): Ditto.
374
375 2014-11-18 Doug Evans <xdje42@gmail.com>
376
377 * buildsym.c (main_subfile): New static global.
378 (free_subfiles_list): New function.
379 (start_symtab): Set main_subfile.
380 (restart_symtab): Replace init of subfiles, current_subfile with
381 call to free_subfiles_list.
382 (watch_main_source_file_lossage): Use main_subfile.
383 (reset_symtab_globals): Replace init of current_subfile with call
384 to free_subfiles_list.
385 (end_symtab_without_blockvector, end_symtab_with_blockvector): New
386 functions, split out from ...
387 (end_symtab_from_static_block): ... here. Rewrite to call them.
388
389 2014-11-18 Doug Evans <xdje42@gmail.com>
390
391 The result of symtab expansion is always a primary symtab.
392 * dwarf2read.c (dw2_instantiate_symtab): Add assert.
393 (dw2_lookup_symbol): Remove unnecessary test for primary symbol table.
394 * psymtab.c (lookup_symbol_aux_psymtabs): Ditto.
395 (psymtab_to_symtab): Add comment and assert.
396 (map_matching_symbols_psymtab): Remove unnecessary test for
397 non-primary symtab.
398
399 2014-11-15 Doug Evans <xdje42@gmail.com>
400
401 PR symtab/17559
402 * symtab.c (find_pc_line_symtab): New function.
403 * symtab.h (find_pc_line_symtab): Declare.
404 * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of
405 find_pc_symtab.
406 * tui/tui-disasm.c (tui_set_disassem_content): Ditto.
407 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto.
408 * tui/tui-source.c (tui_vertical_source_scroll): Ditto.
409 * tui/tui-win.c (make_visible_with_new_height): Ditto.
410 * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto.
411 (tui_display_main): Call find_pc_line_symtab instead of find_pc_line.
412
413 2014-11-15 Doug Evans <xdje42@gmail.com>
414
415 * symtab.c (expand_symtab_containing_pc): Renamed from
416 find_pc_sect_symtab_via_partial. All callers updated.
417
418 2014-11-15 Yao Qi <yao@codesourcery.com>
419
420 * go32-nat.c (go32_create_inferior): Add missing parenthesis.
421
422 2014-11-14 Joel Brobecker <brobecker@adacore.com>
423
424 * common/common-defs.h: Move <stdarg.h> #include ahead of
425 <stdio.h> #include.
426
427 2014-11-14 Pedro Alves <palves@redhat.com>
428
429 * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define.
430 [!PHONY_ICONV] (gdb_iconv): New function.
431 [!PHONY_ICONV] (iconv): Redefine to gdb_iconv.
432
433 2014-11-13 Doug Evans <dje@google.com>
434
435 PR symtab/17591
436 * dwarf2read.c (find_slot_in_mapped_hash): Handle
437 "(anonymous namespace)".
438
439 2014-11-13 Doug Evans <dje@google.com>
440
441 * dwarf2read.c (update_enumeration_type_from_children): Avoid
442 infinite loop.
443
444 2014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com>
445
446 * NEWS (maint set target-async): Fix typo.
447
448 2014-11-12 Pedro Alves <palves@redhat.com>
449
450 * infrun.c (enum infwait_states, infwait_state): Delete.
451
452 2014-11-12 Pedro Alves <palves@redhat.com>
453
454 * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
455 Rewrite stepping over a permanent breakpoint.
456 (thread_still_needs_step_over, proceed): Don't set
457 stepping_over_breakpoint for permanent breakpoints.
458 (handle_signal_stop): Don't clear stepped_breakpoint. Also pull
459 single-step breakpoints out of the target on hardware step
460 targets.
461 (process_event_stop_test): If stepping a permanent breakpoint
462 doesn't hit the step-resume breakpoint, delete the step-resume
463 breakpoint.
464 (switch_back_to_stepped_thread): Also check if the stepped thread
465 has advanced already on hardware step targets.
466 (currently_stepping): Return true if the thread stepped a
467 breakpoint.
468
469 2014-11-12 Pedro Alves <palves@redhat.com>
470
471 Mark locations as permanent, not the whole breakpoint.
472 * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
473 (mark_breakpoints_out): Don't mark permanent breakpoints as
474 uninserted.
475 (breakpoint_init_inferior): Use mark_breakpoints_out.
476 (breakpoint_here_p): Adjust.
477 (bpstat_stop_status, describe_other_breakpoints): Remove handling
478 of permanent breakpoints.
479 (make_breakpoint_permanent): Mark each location as permanent,
480 instead of marking the breakpoint.
481 (add_location_to_breakpoint): If the location is permanent, mark
482 it as such, and as inserted.
483 (init_breakpoint_sal): Don't make the breakpoint permanent here.
484 (bp_location_compare, update_global_location_list): Adjust.
485 (update_breakpoint_locations): Don't make the breakpoint permanent
486 here.
487 (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
488 breakpoints.
489 * breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
490 (struct bp_location) <permanent>: New field.
491 * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
492 reference to bp_permanent.
493
494 2014-11-12 Pedro Alves <palves@redhat.com>
495
496 * arch-utils.c (default_skip_permanent_breakpoint): New function.
497 * arch-utils.h (default_skip_permanent_breakpoint): New
498 declaration.
499 * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
500 Install default_skip_permanent_breakpoint as default method.
501 * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
502 (i386_gdbarch_init): Don't install it.
503 * infrun.c (resume): Assume there's always a
504 gdbarch_skip_permanent_breakpoint implementation.
505 * gdbarch.h, gdbarch.c: Regenerate.
506
507 2014-11-11 Daniel Colascione <dancol@dancol.org>
508
509 Warn about cross-PID-namespace debugging.
510 * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
511 * nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
512 * linux-thread-db.c (check_pid_namespace_match): New function.
513 (thread_db_inferior_created): Call it.
514
515 2014-11-10 Doug Evans <xdje42@gmail.com>
516
517 * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
518 (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
519
520 2014-11-10 Doug Evans <xdje42@gmail.com>
521
522 * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
523
524 2014-11-10 Doug Evans <xdje42@gmail.com>
525
526 PR symtab/17564
527 * symtab.c (lookup_symbol_in_all_objfiles): Delete.
528 (lookup_static_symbol): Move definition to new location and rewrite.
529 (lookup_symbol_in_objfile): New function.
530 (lookup_symbol_global_iterator_cb): Call it.
531
532 2014-11-10 Ulrich Weigand  <uweigand@de.ibm.com>
533
534 * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
535
536 2014-11-07 Pedro Alves <palves@redhat.com>
537
538 * infrun.c (process_event_stop_test) <subroutine check>: Don't
539 check if we did a "nexti" inside a prologue.
540 * symtab.c (in_prologue): Delete function.
541 * symtab.h (in_prologue): Delete declaration.
542
543 2014-11-06 Doug Evans <xdje42@gmail.com>
544
545 * symtab.h (lookup_global_symbol): Improve function comment.
546
547 2014-11-06 Doug Evans <xdje42@gmail.com>
548
549 * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
550 All callers updated.
551 * symtab.h (lookup_global_symbol): Update decl.
552 (lookup_static_symbol): Move decl to better location.
553
554 2014-11-06 Doug Evans <xdje42@gmail.com>
555
556 * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
557
558 2014-11-06 Doug Evans <xdje42@gmail.com>
559
560 * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
561 All callers updated.
562 (lookup_symbol_in_all_objfiles): Renamed from
563 lookup_symbol_aux_symtabs. All callers updated.
564 (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
565 All callers updated.
566 (lookup_symbol_in_objfile_symtabs): Renamed from
567 lookup_symbol_aux_objfile. All callers updated.
568
569 2014-11-06 Doug Evans <xdje42@gmail.com>
570
571 * symtab.c (lookup_symbol_in_block): Renamed from
572 lookup_symbol_aux_block. All callers updated.
573
574 2014-11-06 Doug Evans <xdje42@gmail.com>
575
576 * symtab.c (lookup_static_symbol): Renamed from
577 lookup_static_symbol_aux. All callers updated.
578 (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
579 All callers updated.
580
581 2014-11-06 Doug Evans <xdje42@gmail.com>
582
583 * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
584 * block.c (block_lookup_symbol): Use it.
585 * cp-support.c (make_symbol_overload_list_block): Use it.
586 * symtab.c (iterate_over_symbols): Use it.
587
588 2014-11-06 Doug Evans <xdje42@gmail.com>
589
590 * symtab.c (lookup_block_symbol): Moved to ...
591 * block.c (block_lookup_symbol): ... here and renamed.
592 All callers updated.
593 * block.h (block_lookup_symbol): Declare.
594 * symtab.h (lookup_block_symbol): Delete.
595
596 2014-11-06 Doug Evans <xdje42@gmail.com>
597
598 * ada-lang.c (ada_make_symbol_completion_list): Use
599 ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
600 * symtab.c (lookup_objfile_from_block): Ditto.
601
602 2014-11-06 Doug Evans <xdje42@gmail.com>
603
604 * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
605 TYPE_CODE_STRUCT.
606
607 2014-11-06 Doug Evans <xdje42@gmail.com>
608
609 * objfiles.c (get_objfile_arch): Constify.
610 * objfiles.h (get_objfile_arch): Update prototype.
611 * solib.c (solib_global_lookup): Fetch arch from objfile,
612 not target_gdbarch.
613
614 2014-11-06 Sandra Loosemore <sandra@codesourcery.com>
615
616 * nios2-tdep.c (wild_insn): Delete.
617 (profiler_insn, irqentry_insn): Delete.
618 (nios2_match_sequence): Delete.
619 (nios2_analyze_prologue): Update comments. Remove matching
620 of obsolete profiler_insn and irqentry_insn sequences.
621
622 2014-11-05 Alan Modra <amodra@gmail.com>
623
624 * charset.c (convert_between_encodings): Shrink obstack using
625 obstack_blank_fast.
626 * minsyms.c (install_minimal_symbols): Likewise.
627 * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
628 to char* before doing pointer arithmetic.
629
630 2014-11-04 Simon Marchi <simon.marchi@ericsson.com>
631
632 * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
633
634 2014-11-04 Pedro Alves <palves@redhat.com>
635
636 * breakpoint.c (breakpoint_thread_match): Delete function.
637 * breakpoint.h (breakpoint_thread_match): Delete declaration.
638
639 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
640
641 PR c++/17494
642 * eval.c (evaluate_subexp_standard): Evaluate the "object" and
643 the method args also under EVAL_SKIP when evaluating method
644 calls under EVAL_SKIP.
645
646 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
647
648 * dwarf2loc.c (read_pieced_value): Do big endian
649 processing only if gdb_regnum is not -1.
650 (write_pieced_value): Ditto.
651
652 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
653
654 * arm-linux-tdep.c (arm_linux_init_abi): Use
655 info.byte_order_for_code to choose endianity of breakpoint
656 instructions snippets.
657
658 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
659
660 * arm-tdep.c (extract_arm_insn): Use
661 gdbarch_byte_order_for_code to read arm instruction.
662
663 2014-11-02 Doug Evans <xdje42@gmail.com>
664
665 * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
666
667 2014-11-02 Doug Evans <xdje42@gmail.com>
668
669 * xcoffread.c (process_linenos): Delete unnecessary zeroing of
670 main_subfile before returning.
671
672 2014-10-31 Doug Evans <xdje42@gmail.com>
673
674 * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
675 (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
676
677 2014-10-31 Doug Evans <xdje42@gmail.com>
678
679 * valops.c (value_cast_pointers): Fix whitespace.
680 (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
681 Ditto.
682
683 2014-10-30 Doug Evans <dje@google.com>
684
685 * NEWS: Mention ability add attributes to gdb.Objfile and
686 gdb.Progspace objects.
687 * python/py-objfile.c (objfile_object): New member dict.
688 (objfpy_dealloc): Py_XDECREF dict.
689 (objfpy_initialize): Initialize dict.
690 (objfile_getset): Add __dict__.
691 (objfile_object_type): Set tp_dictoffset member.
692 * python/py-progspace.c (progspace_object): New member dict.
693 (pspy_dealloc): Py_XDECREF dict.
694 (pspy_initialize): Initialize dict.
695 (pspace_getset): Add __dict__.
696 (pspace_object_type): Set tp_dictoffset member.
697
698 2014-10-30 Yao Qi <yao@codesourcery.com>
699
700 * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
701 replace '\\' with '\\\\'.
702
703 2014-10-29 Joel Brobecker <brobecker@adacore.com>
704
705 GDB 7.8.1 released.
706
707 2014-10-29 Pedro Alves <palves@redhat.com>
708
709 PR gdb/17408
710 * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
711 instead of assuming a thread with a stepping range is always
712 stepping.
713
714 2014-10-29 Pedro Alves <palves@redhat.com>
715
716 PR python/17372
717 * event-top.c (change_line_handler): Call
718 gdb_rl_callback_handler_remove instead of
719 rl_callback_handler_remove.
720 (callback_handler_installed): New global.
721 (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
722 (gdb_rl_callback_handler_reinstall): New functions.
723 (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
724 gdb_rl_callback_handler_install instead of
725 rl_callback_handler_remove and rl_callback_handler_install.
726 (gdb_disable_readline): Call gdb_rl_callback_handler_remove
727 instead of rl_callback_handler_remove.
728 * event-top.h (gdb_rl_callback_handler_remove)
729 (gdb_rl_callback_handler_install)
730 (gdb_rl_callback_handler_reinstall): New declarations.
731 * infrun.c (reinstall_readline_callback_handler_cleanup): New
732 cleanup function.
733 (fetch_inferior_event): Install it.
734 * top.c (gdb_readline_wrapper_line) Call
735 gdb_rl_callback_handler_remove instead of
736 rl_callback_handler_remove.
737 (gdb_readline_wrapper_cleanup): Don't call
738 rl_callback_handler_install.
739
740 2014-10-29 Pedro Alves <palves@redhat.com>
741
742 * event-top.c (command_line_handler): Clear the first byte of
743 linebuffer, when it is first allocated.
744
745 2014-10-29 Pedro Alves <palves@redhat.com>
746
747 * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
748 TRY_CATCH.
749
750 2014-10-29 Pedro Alves <palves@redhat.com>
751
752 PR tui/16138
753 PR tui/17519
754 * tui/tui-interp.c (tui_is_toplevel): Delete global.
755 (tui_allowed_p): Delete function.
756 * tui/tui.c: Include "interps.h".
757 (tui_enable): Don't use tui_allowed_p. Error out here with
758 detailed error messages if the TUI is the top level interpreter,
759 or if output is not a terminal. Use newterm instead of initscr,
760 and error out if initializing the terminal fails. Also error out if
761 the terminal doesn't support cursor addressing.
762 * tui/tui.h (tui_allowed_p): Delete declaration.
763
764 2014-10-29 Joel Brobecker <brobecker@adacore.com>
765
766 * arm-tdep.c (arm_skip_stack_protector): Return early if
767 address loaded by first "ldr" instruction does not have
768 a corresponding minimal symbol. Update comment.
769
770 2014-10-29 Yao Qi <yao@codesourcery.com>
771
772 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
773 loaded address correctly of ldr instruction.
774
775 2014-10-28 Pedro Alves <palves@redhat.com>
776
777 PR gdb/12623
778 * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
779 field.
780 * infrun.c (resume) <stepping breakpoint instruction>: Set the
781 thread's stepped_breakpoint field. Skip if reverse debugging.
782 Add comment.
783 (init_thread_stepping_state, handle_signal_stop): Clear the
784 thread's stepped_breakpoint field.
785
786 2014-10-27 Pedro Alves <palves@redhat.com>
787
788 * remote.c (remote_thread_alive): New, factored out from ...
789 (remote_thread_alive): ... this.
790 (remote_update_thread_list): Bail out before deleting threads if
791 the target returned an empty list, and, the current thread has a
792 magic/fake ptid.
793
794 2014-10-27 Pedro Alves <palves@redhat.com>
795
796 * infrun.c (handle_signal_stop): Also skip handlers when a random
797 signal arrives while handling a "stepi" or a "nexti". Set the
798 thread's 'step_after_step_resume_breakpoint' flag.
799
800 2014-10-27 Luis Machado <lgustavo@codesourcery.com>
801
802 * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
803 (arm_record_ld_st_imm_offset): Reimplement to cover all
804 load/store cases for ARM opcode 010.
805 (arm_record_ld_st_multiple): Reimplement to cover all
806 load/store cases for ARM opcode 100.
807
808 2014-10-26 Doug Evans <xdje42@gmail.com>
809
810 * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
811
812 2014-10-26 Doug Evans <xdje42@gmail.com>
813
814 * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
815 parameter "kind" to "block_index".
816 * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
817 "block_index".
818 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
819
820 2014-10-26 Doug Evans <xdje42@gmail.com>
821
822 * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
823
824 2014-10-26 Doug Evans <xdje42@gmail.com>
825
826 * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
827 obstack_alloc.
828
829 2014-10-26 Doug Evans <xdje42@gmail.com>
830
831 * parser-defs.h (block_found): Move decl from here ...
832 * symtab.h (block_found): ... to here.
833
834 2014-10-26 Doug Evans <xdje42@gmail.com>
835
836 * symtab.h (struct field_of_this_result): Fix typo in comment.
837 (lookup_symbol_in_language): Move function comment here.
838 (lookup_symbol): Improve function comment.
839 (basic_lookup_symbol_nonlocal): Ditto.
840 (lookup_symbol_static, lookup_symbol_global): Ditto.
841 (lookup_symbol_aux_block): Ditto.
842 (lookup_language_this): Add function comment.
843 (lookup_static_symbol_aux): Explicitly mark as extern. Improve
844 function comment.
845 (lookup_block_symbol): Improve function comment.
846 (lookup_struct): Fix capitalization in function comment.
847 (lookup_transparent_type): Add function comment.
848 (lookup_global_symbol_from_objfile): Explicitly mark as extern.
849 Improve function comment.
850 (lookup_objfile_from_block): Add function comment.
851 * symtab.c (lookup_symbol_in_language): Update function comment.
852 (lookup_symbol, lookup_language_this): Ditto.
853 (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
854 (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
855 (basic_lookup_symbol_nonlocal): Ditto.
856 (lookup_symbol_static, lookup_symbol_global): Ditto.
857 (lookup_transparent_type, lookup_block_symbol): Ditto.
858
859 2014-10-25 Doug Evans <xdje42@gmail.com>
860
861 * symtab.c (types_info): Delete forward decl.
862 (functions_info, variables_info, sources_info): Ditto.
863 (_initialize_symtab): Rewrite forward decl to use
864 initialize_file_ftype.
865
866 2014-10-25 Doug Evans <xdje42@gmail.com>
867
868 * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
869
870 2014-10-25 Doug Evans <xdje42@gmail.com>
871
872 * dwarf2read.c (process_structure_scope): Remove second (nested) copy
873 of local var child_die.
874
875 2014-10-24 Don Breazeal <donb@codesourcery.com>
876
877 * infrun.c (follow_fork_inferior): Update fork message printing
878 to use target_terminal_ours_for_output instead of
879 target_terminal_ours, to use _() for all format strings, to print
880 "vfork" instead of "fork" for vforks, and to add a detach message.
881 (handle_vfork_child_exec_or_exit): Update message printing to use
882 target_terminal_ours_for_output instead of target_terminal_ours, to
883 use _() for all format strings, and to fix some formatting.
884
885 2014-10-24 Pedro Alves <palves@redhat.com>
886
887 * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
888 * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
889 * config/vax/vax.mh: Delete.
890 * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
891 obsolete configurations section.
892 * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
893 * vax-nat.c: Delete file.
894
895 2014-10-24 Pedro Alves <palves@redhat.com>
896
897 * NEWS (Removed targets): Add OS/arch column.
898
899 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
900
901 * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
902 on the arg type of a constructor only if it is of reference type.
903
904 2014-10-23 Sandra Loosemore <sandra@codesourcery.com>
905
906 * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
907 accessors and constants from nios2 opcodes update.
908 (nios2_get_next_pc): Likewise.
909
910 2014-10-19 Doug Evans <xdje42@gmail.com>
911
912 * gdbthread.h (set_running): Fix comment.
913 (set_executing, finish_thread_state): Fix comment.
914
915 2014-10-18 Doug Evans <xdje42@gmail.com>
916
917 * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
918
919 2014-10-17 Doug Evans <dje@google.com>
920
921 * NEWS: Mention new event gdb.clear_objfiles.
922 * python/py-event.h (emit_clear_objfiles_event): Clear
923 * python/py-events.h (events_object): New member clear_objfiles.
924 * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
925 event.
926 * python/py-inferior.c (python_new_objfile): If objfile is NULL,
927 emit clear_objfiles event.
928 * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
929 function.
930 (emit_clear_objfiles_event): New function.
931 (clear_objfiles): New event.
932 * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
933 Declare.
934 * python/python.c (_initialize_python): Call
935 gdbpy_initialize_clear_objfiles_event.
936
937 2014-10-17 Doug Evans <dje@google.com>
938
939 * NEWS: Mention new gdb.Objfile.progspace attribute.
940 * python/py-objfile.c (objfpy_get_progspace): New function.
941 (objfile_getset): New entry for "progspace".
942
943 2014-10-17 Pedro Alves <palves@redhat.com>
944
945 PR gdb/17471
946 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
947 returns a copy of the input.
948 (run_command_1, continue_command, step_1, jump_command)
949 (signal_command, until_command, advance_command, finish_command)
950 (attach_command): Adjust and install a cleanup to free the
951 stripped args.
952
953 2014-10-17 Pedro Alves <palves@redhat.com>
954
955 PR gdb/17300
956 * infcmd.c (continue_1): If continuing all threads in the
957 foreground, make sure the inferior's terminal settings are put in
958 effect.
959
960 2014-10-17 Pedro Alves <palves@redhat.com>
961
962 PR gdb/17472
963 * annotate.c (annotate_breakpoints_invalid): Use
964 target_terminal_our_for_output instead of target_terminal_ours.
965 Give back the terminal to the target.
966 (annotate_frames_invalid): Likewise.
967
968 2014-10-17 Pedro Alves <palves@redhat.com>
969
970 * target.c (enum terminal_state): New enum.
971 (terminal_state): New global.
972 (target_terminal_init): New function.
973 (target_terminal_inferior): Skip if inferior already owns the
974 terminal.
975 (target_terminal_ours, target_terminal_ours_for_output): New
976 functions.
977 * target.h (target_terminal_init): Convert to function prototype.
978 (target_terminal_ours_for_output): Convert to function prototype
979 and tweak comment.
980 (target_terminal_ours): Convert to function prototype and tweak
981 comment.
982 * windows-nat.c (do_initial_windows_stuff): Call
983 target_terminal_init instead of child_terminal_init_with_pgrp.
984
985 2014-10-17 Pedro Alves <palves@redhat.com>
986
987 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
988 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
989 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
990 solib-osf.c.
991 * NEWS: Mention that support for alpha*-*-osf* has been removed.
992 * ada-lang.h [__alpha__ && __osf__]
993 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
994 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
995 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
996 GDB_OSABI_OSF1.
997 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
998 files.
999 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
1000 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
1001 * configure: Regenerate.
1002 * configure.ac: Remove references to osf.
1003 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
1004 section. Remove all other references to osf.
1005 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
1006 Remove all other references to osf.
1007 * dec-thread.c: Delete file.
1008 * defs.h (GDB_OSABI_OSF1): Delete.
1009 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
1010 defined.
1011 * osabi.c (gdb_osabi_names): Delete "OSF/1".
1012 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
1013 Delete code.
1014 (unconditionally_kill_inferior)
1015 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
1016 * solib-osf.c: Delete file.
1017
1018 2014-10-17 Pedro Alves <palves@redhat.com>
1019
1020 * remote.c (clear_threads_listing_context): Move higher up, out of
1021 the HAVE_LIBEXPAT guard.
1022
1023 2014-10-16 Tristan Gingold <gingold@adacore.com>
1024
1025 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
1026 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
1027 on amd64.
1028
1029 2014-10-15 Pedro Alves <palves@redhat.com>
1030
1031 * dec-thread.c (dec_thread_count_gdb_threads)
1032 (dec_thread_add_gdb_thread): Delete.
1033 (dec_thread_update_thread_list): Delete.
1034 (dec_thread_find_new_threads): Rename to ...
1035 (dec_thread_update_thread_list): ... this. Delete GDB-size
1036 threads that are no longer found in dec_thread_list.
1037 (resync_thread_list): Delete.
1038 (dec_thread_wait): Call dec_thread_update_thread_list instead of
1039 resync_thread_list.
1040
1041 2014-10-15 Pedro Alves <palves@redhat.com>
1042
1043 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
1044 * remote.c (remote_update_thread_list): Skip calling prune_threads
1045 if any thread listing method is supported, and instead walk over
1046 the set of remote threads listed, deleting those that are not
1047 found in GDB's thread list.
1048
1049 2014-10-15 Pedro Alves <palves@redhat.com>
1050
1051 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
1052 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
1053 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
1054 (bsd_uthread_target): Adjust.
1055 * corelow.c (core_open): Adjust.
1056 * dec-thread.c (dec_thread_find_new_threads): Update comment.
1057 (dec_thread_update_thread_list): New function.
1058 (init_dec_thread_ops): Adjust.
1059 * gdbthread.h (prune_threads): New declaration.
1060 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
1061 (thread_db_update_thread_list): ... this. Call prune_threads.
1062 (init_thread_db_ops): Adjust.
1063 * nto-procfs.c (procfs_find_new_threads): Rename to ...
1064 (procfs_update_thread_list): ... this. Call prune_threads.
1065 (procfs_attach, procfs_create_inferior, init_procfs_targets):
1066 Adjust.
1067 * obsd-nat.c (obsd_find_new_threads): Rename to ...
1068 (obsd_update_thread_list): ... this. Call prune_threads.
1069 (obsd_add_target): Adjust.
1070 * procfs.c (procfs_target): Adjust.
1071 (procfs_notice_thread): Update comment.
1072 (procfs_find_new_threads): Rename to ...
1073 (procfs_update_thread_list): ... this. Call prune_threads.
1074 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
1075 comment.
1076 (ravenscar_wait): Adjust.
1077 (ravenscar_find_new_threads): Rename to ...
1078 (ravenscar_update_thread_list): ... this. Call prune_threads.
1079 (init_ravenscar_thread_ops): Adjust.
1080 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
1081 (record_btrace_update_thread_list): ... this. Adjust comment.
1082 (init_record_btrace_ops): Adjust.
1083 * remote.c (remote_threads_info): Rename to ...
1084 (remote_update_thread_list): ... this. Call prune_threads.
1085 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
1086 Adjust.
1087 * sol-thread.c (check_for_thread_db): Adjust.
1088 (sol_find_new_threads_callback): Rename to ...
1089 (sol_update_thread_list_callback): ... this.
1090 (sol_find_new_threads): Rename to ...
1091 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
1092 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
1093 * target-delegates.c: Regenerate.
1094 * target.c (target_find_new_threads): Rename to ...
1095 (target_update_thread_list): ... this.
1096 * target.h (struct target_ops): Rename to_find_new_threads field
1097 to to_update_thread_list.
1098 (target_find_new_threads): Rename to ...
1099 (target_update_thread_list): ... this.
1100 * thread.c (prune_threads): Make extern.
1101 (update_thread_list): Adjust.
1102
1103 2014-10-15 Pedro Alves <palves@redhat.com>
1104
1105 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
1106 Add describing comment. Return -1 if the qL packet is not
1107 supported.
1108 (struct thread_item, thread_item_t): Move higher up in
1109 the file. Add comments.
1110 (struct threads_parsing_context): Move higher up in
1111 the file, add comments, and remote to ...
1112 (struct threads_listing_context): ... this.
1113 (remote_newthread_step): Don't add the thread to GDB's thread
1114 database here. Instead push it to the thread_listing_context
1115 list.
1116 (remote_find_new_threads): Rename to ...
1117 (remote_get_threads_with_ql): ... this. Add target_ops and
1118 targets_listing_context parameters. Pass down context.
1119 (start_thread): Adjust.
1120 (clear_threads_parsing_context): Rename to ...
1121 (clear_threads_listing_context): ... this.
1122 (remote_get_threads_with_qxfer): New, with parts salvaged from old
1123 remote_threads_info.
1124 (remote_get_threads_with_qthreadinfo): Ditto.
1125 (remote_threads_info): Reimplement.
1126
1127 2014-10-15 Pedro Alves <palves@redhat.com>
1128
1129 * infrun.c (resume): Don't force displaced-stepping for all
1130 single-steps on software single-stepping archs.
1131
1132 2014-10-15 Pedro Alves <palves@redhat.com>
1133
1134 * breakpoint.c (single_step_breakpoints): Delete global.
1135 (insert_single_step_breakpoint): Adjust to store the breakpoint
1136 pointer in the current thread.
1137 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
1138 (cancel_single_step_breakpoints): Delete functions.
1139 (breakpoint_has_location_inserted_here): Make extern.
1140 (single_step_breakpoint_inserted_here_p): Adjust to walk the
1141 breakpoint list.
1142 * breakpoint.h (breakpoint_has_location_inserted_here): New
1143 declaration.
1144 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
1145 (cancel_single_step_breakpoints): Remove declarations.
1146 * gdbthread.h (struct thread_control_state)
1147 <single_step_breakpoints>: New field.
1148 (delete_single_step_breakpoints)
1149 (thread_has_single_step_breakpoints_set)
1150 (thread_has_single_step_breakpoint_here): New declarations.
1151 * infrun.c (follow_exec): Also clear the single-step breakpoints.
1152 (singlestep_breakpoints_inserted_p, singlestep_ptid)
1153 (singlestep_pc): Delete globals.
1154 (infrun_thread_ptid_changed): Remove references to removed
1155 globals.
1156 (resume_cleanups): Delete the current thread's single-step
1157 breakpoints.
1158 (maybe_software_singlestep): Remove references to removed globals.
1159 (resume): Adjust to use thread_has_single_step_breakpoints_set and
1160 delete_single_step_breakpoints.
1161 (init_wait_for_inferior): Remove references to removed globals.
1162 (delete_thread_infrun_breakpoints): Delete the thread's
1163 single-step breakpoints too.
1164 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
1165 single-step breakpoints here.
1166 (delete_stopped_threads_single_step_breakpoints): New function.
1167 (adjust_pc_after_break): Adjust to use
1168 thread_has_single_step_breakpoints_set.
1169 (handle_inferior_event): Remove references to removed globals.
1170 Use delete_stopped_threads_single_step_breakpoints.
1171 (handle_signal_stop): Adjust to per-thread single-step
1172 breakpoints. Swap test order to do cheaper tests first.
1173 (switch_back_to_stepped_thread): Extend debug output. Remove
1174 references to removed globals.
1175 * record-full.c (record_full_wait_1): Adjust to per-thread
1176 single-step breakpoints.
1177 * thread.c (delete_single_step_breakpoints)
1178 (thread_has_single_step_breakpoints_set)
1179 (thread_has_single_step_breakpoint_here): New functions.
1180 (clear_thread_inferior_resources): Also delete the thread's
1181 single-step breakpoints.
1182
1183 2014-10-15 Pedro Alves <palves@redhat.com>
1184
1185 * thread.c (delete_thread_breakpoint): New function.
1186 (delete_step_resume_breakpoint)
1187 (delete_exception_resume_breakpoint): Use it.
1188 (delete_at_next_stop): New function.
1189 (clear_thread_inferior_resources): Use delete_at_next_stop.
1190
1191 2014-10-15 Pedro Alves <palves@redhat.com>
1192
1193 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
1194 (breakpoint_inserted_here_p): ... here. Remove special case for
1195 software single-step breakpoints.
1196 (find_non_raw_software_breakpoint_inserted_here): Inline ...
1197 (software_breakpoint_inserted_here_p): ... here. Remove special
1198 case for software single-step breakpoints.
1199 (bp_target_info_copy_insertion_state)
1200 (deprecated_insert_raw_breakpoint)
1201 (deprecated_remove_raw_breakpoint): Delete functions.
1202 * breakpoint.h (deprecated_insert_raw_breakpoint)
1203 (deprecated_remove_raw_breakpoint): Remove declarations.
1204
1205 2014-10-15 Pedro Alves <palves@redhat.com>
1206
1207 PR breakpoints/9649
1208 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
1209 Delete array globals.
1210 (single_step_breakpoints): New global.
1211 (breakpoint_xfer_memory): Remove special handling for single-step
1212 breakpoints.
1213 (update_breakpoints_after_exec): Delete bp_single_step
1214 breakpoints.
1215 (detach_breakpoints): Remove special handling for single-step
1216 breakpoints.
1217 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
1218 (bpstat_stop_status): Add comment.
1219 (bpstat_what, bptype_string, print_one_breakpoint_location)
1220 (adjust_breakpoint_address, init_bp_location): Handle
1221 bp_single_step.
1222 (new_single_step_breakpoint): New function.
1223 (set_momentary_breakpoint, bkpt_remove_location): Remove special
1224 handling for single-step breakpoints.
1225 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
1226 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
1227 Rewrite.
1228 (detach_single_step_breakpoints, find_single_step_breakpoint):
1229 Delete functions.
1230 (breakpoint_has_location_inserted_here): New function.
1231 (single_step_breakpoint_inserted_here_p): Rewrite.
1232 * breakpoint.h: Remove FIXME.
1233 (enum bptype) <bp_single_step>: New enum value.
1234 (insert_single_step_breakpoint): Update comment.
1235 * infrun.c (resume_cleanups)
1236 (delete_step_thread_step_resume_breakpoint): Remove single-step
1237 breakpoints.
1238 (fetch_inferior_event): Install a cleanup that removes infrun
1239 breakpoints.
1240 (switch_back_to_stepped_thread) <expect thread advanced also>:
1241 Clear step-over info.
1242
1243 2014-10-15 Pedro Alves <palves@redhat.com>
1244
1245 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
1246 (delete_thread_infrun_breakpoints): New function, with parts
1247 salvaged from delete_step_resume_breakpoint_callback.
1248 (delete_step_thread_step_resume_breakpoint): Delete.
1249 (for_each_just_stopped_thread_callback_func): New typedef.
1250 (for_each_just_stopped_thread): New function.
1251 (delete_just_stopped_threads_infrun_breakpoints): New function.
1252 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
1253 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
1254 ... this. Adjust.
1255 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
1256
1257 2014-10-15 Pedro Alves <palves@redhat.com>
1258
1259 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
1260 trying to step past a non-steppable watchpoint.
1261 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
1262 field.
1263 * infrun.c (struct step_over_info): Add new field
1264 'nonsteppable_watchpoint_p' and adjust comments.
1265 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
1266 Adjust.
1267 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
1268 (stepping_past_nonsteppable_watchpoint): New function.
1269 (step_over_info_valid_p): Also return true if stepping past a
1270 nonsteppable watchpoint.
1271 (proceed): Adjust call to set_step_over_info. Remove reference to
1272 init_infwait_state.
1273 (init_wait_for_inferior): Remove reference to init_infwait_state.
1274 (waiton_ptid): Delete global.
1275 (struct execution_control_state)
1276 <stepped_after_stopped_by_watchpoint>: Delete field.
1277 (wait_for_inferior, fetch_inferior_event): Always pass
1278 minus_one_ptid to target_wait.
1279 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
1280 field.
1281 (init_infwait_state): Delete function.
1282 (handle_inferior_event): Remove infwait_state handling.
1283 (handle_signal_stop) <watchpoints handling>: Adjust after
1284 stepped_after_stopped_by_watchpoint removal. Don't remove
1285 breakpoints here nor set infwait_state. Set the thread's
1286 stepping_over_watchpoint flag, and call keep_going instead.
1287 (keep_going): Handle stepping_over_watchpoint. Adjust
1288 set_step_over_info calls.
1289 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
1290 function.
1291
1292 2014-10-15 Pedro Alves <palves@redhat.com>
1293
1294 * infrun.c (step_over_info_valid_p): New function.
1295 (resume): Use step_over_info_valid_p instead of checking the
1296 threads's trap_expected flag.
1297
1298 2014-10-15 Doug Evans <dje@google.com>
1299 Walfred Tedeschi <walfred.tedeschi@intel.com>
1300
1301 PR python/17364
1302 * python/lib/gdb/__init__.py (packages): Add "printer".
1303 * python/lib/gdb/command/bound_registers.py: Moved to ...
1304 * python/lib/gdb/printer/bound_registers.py: ... here.
1305 Add printer to global set of builtin printers. Rename printer from
1306 "bound" to "mpx_bound128".
1307 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
1308 registered as global "builtin" printer.
1309 (add_builtin_pretty_printer): New function.
1310 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
1311 gdb/printer/__init__.py.
1312
1313 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1314
1315 * Makefile.in (SFILES): Remove d-support.c.
1316 (COMMON_OBS): Remove d-support.o.
1317 * d-lang.h (d_parse_symbol): Remove declaration.
1318 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
1319 * d-support.c: Remove file.
1320
1321 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1322
1323 * gdb/infrun.c (process_event_stop_test): Apply
1324 gdbarch_addr_bits_remove to longjmp resume address.
1325
1326 2014-10-15 Pedro Alves <palves@redhat.com>
1327
1328 * regformats/microblaze.dat: Delete file.
1329
1330 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
1331
1332 * features/Makefile (microblaze-expedite): Replace pc with rpc.
1333 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1334
1335 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1336
1337 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
1338 as non-trivial.
1339
1340 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1341
1342 PR c++/13403
1343 PR c++/15154
1344 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
1345 with qualified args.
1346
1347 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1348
1349 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
1350 of the case where the second operand is a pointer.
1351 <BINOP_SUB>: Likewise.
1352
1353 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1354
1355 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
1356 only if it is not NULL.
1357 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
1358 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
1359 (struct probe_ops) <clear_semaphore>: Likewise.
1360 * tracepoint.c (start_tracing): Call set_semaphore only if it is
1361 not NULL.
1362 (stop_tracing): Likewise, for clear_semaphore.
1363
1364 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1365
1366 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
1367 using language_c, instead of current_language.
1368
1369 2014-10-13 Doug Evans <dje@google.com>
1370
1371 * python/py-objfile.c (objfpy_initialize): New function.
1372 (objfpy_new, objfile_to_objfile_object): Call it.
1373 * python/py-progspace.c (pspy_initialize): New function.
1374 (pspy_new, pspace_to_pspace_object): Call it.
1375
1376 2014-10-13 Miroslav Franc <mfranc@redhat.com>
1377 Jan Kratochvil <jan.kratochvil@redhat.com>
1378
1379 Fix "save breakpoints" for "catch" command.
1380 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
1381 newline.
1382
1383 2014-10-12 Miroslav Franc <mfranc@redhat.com>
1384
1385 Fix "save breakpoints" for "disable $bpnum" command.
1386 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
1387
1388 2014-10-10 Pedro Alves <palves@redhat.com>
1389
1390 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
1391 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
1392 (HFILES_NO_SRCDIR): Remove solib-irix.h.
1393 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
1394 and been removed.
1395 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
1396 * configure.ac: Remove references to IRIX.
1397 * configure.host: Add *-*-irix* to the obsolete hosts section.
1398 Remove all other references to irix.
1399 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
1400 Delete files.
1401
1402 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
1403
1404 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
1405 isn't valid, release the tdesc arch data and return NULL.
1406
1407 2014-10-10 Pedro Alves <palves@redhat.com>
1408
1409 * linux-tdep.c: Include observer.h.
1410 (linux_inferior_data): New global.
1411 (struct linux_info): New structure.
1412 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
1413 (get_linux_inferior_data): New functions.
1414 (linux_vsyscall_range): Rename to ...
1415 (linux_vsyscall_range_raw): ... this.
1416 (linux_vsyscall_range): New function; handles caching.
1417 (_initialize_linux_tdep): Register linux_inferior_data. Install
1418 inferior_exit and inferior_appeared observers.
1419
1420 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1421 Pedro Alves <palves@redhat.com>
1422
1423 PR symtab/14466
1424 * solib-svr4.c (svr4_read_so_list): Rename to ...
1425 (svr4_current_sos_1): ... this and change the function comment.
1426 (svr4_current_sos): New function.
1427
1428 2014-10-10 Pedro Alves <palves@redhat.com>
1429
1430 * arch-utils.c (default_vsyscall_range): New function.
1431 * arch-utils.h (default_vsyscall_range): New declaration.
1432 * gdbarch.sh (vsyscall_range): New hook.
1433 * gdbarch.h, gdbarch.c: Regenerate.
1434 * linux-tdep.c (linux_vsyscall_range): New function.
1435 (linux_init_abi): Install linux_vsyscall_range as
1436 vsyscall_range gdbarch hook.
1437 * memrange.c (address_in_mem_range): New function.
1438 * memrange.h (address_in_mem_range): New declaration.
1439 * symfile-mem.c (find_vdso_size): Delete function.
1440 (add_vsyscall_page): Use gdbarch_vsyscall_range.
1441
1442 2014-10-10 Pedro Alves <palves@redhat.com>
1443
1444 * infrun.c (normal_stop): Fix typo in comment.
1445
1446 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
1447
1448 PR tdep/9390
1449 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
1450 typo when using logical AND to determine instruction type.
1451
1452 2014-10-09 Yao Qi <yao@codesourcery.com>
1453
1454 * infrun.c (handle_signal_stop): Remove local variable
1455 'printed'.
1456
1457 2014-10-08 Stan Shebs <stan@codesourcery.com>
1458
1459 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
1460
1461 2014-10-08 Gary Benson <gbenson@redhat.com>
1462
1463 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
1464
1465 2014-10-08 Gary Benson <gbenson@redhat.com>
1466
1467 * common/common-defs.h: Include common-exceptions.h.
1468 * exceptions.h: Do not include common-exceptions.h.
1469
1470 2014-10-08 Gary Benson <gbenson@redhat.com>
1471
1472 * common/common-defs.h: Include cleanups.h.
1473 * common/common-exceptions.c: Do not include cleanups.h.
1474 * utils.h: Likewise.
1475
1476 2014-10-08 Gary Benson <gbenson@redhat.com>
1477
1478 * ada-lang.c: Do not include exceptions.h.
1479 * ada-valprint.c: Likewise.
1480 * amd64-tdep.c: Likewise.
1481 * auto-load.c: Likewise.
1482 * block.c: Likewise.
1483 * break-catch-throw.c: Likewise.
1484 * breakpoint.c: Likewise.
1485 * btrace.c: Likewise.
1486 * c-lang.c: Likewise.
1487 * cli/cli-cmds.c: Likewise.
1488 * cli/cli-interp.c: Likewise.
1489 * cli/cli-script.c: Likewise.
1490 * completer.c: Likewise.
1491 * corefile.c: Likewise.
1492 * corelow.c: Likewise.
1493 * cp-abi.c: Likewise.
1494 * cp-support.c: Likewise.
1495 * cp-valprint.c: Likewise.
1496 * darwin-nat.c: Likewise.
1497 * dwarf2-frame-tailcall.c: Likewise.
1498 * dwarf2-frame.c: Likewise.
1499 * dwarf2loc.c: Likewise.
1500 * dwarf2read.c: Likewise.
1501 * eval.c: Likewise.
1502 * event-loop.c: Likewise.
1503 * event-top.c: Likewise.
1504 * f-valprint.c: Likewise.
1505 * frame-unwind.c: Likewise.
1506 * frame.c: Likewise.
1507 * gdbtypes.c: Likewise.
1508 * gnu-v2-abi.c: Likewise.
1509 * gnu-v3-abi.c: Likewise.
1510 * guile/scm-auto-load.c: Likewise.
1511 * guile/scm-breakpoint.c: Likewise.
1512 * guile/scm-cmd.c: Likewise.
1513 * guile/scm-frame.c: Likewise.
1514 * guile/scm-lazy-string.c: Likewise.
1515 * guile/scm-param.c: Likewise.
1516 * guile/scm-symbol.c: Likewise.
1517 * guile/scm-type.c: Likewise.
1518 * hppa-hpux-tdep.c: Likewise.
1519 * i386-tdep.c: Likewise.
1520 * inf-loop.c: Likewise.
1521 * infcall.c: Likewise.
1522 * infcmd.c: Likewise.
1523 * infrun.c: Likewise.
1524 * interps.c: Likewise.
1525 * interps.h: Likewise.
1526 * jit.c: Likewise.
1527 * linespec.c: Likewise.
1528 * linux-nat.c: Likewise.
1529 * linux-thread-db.c: Likewise.
1530 * m32r-rom.c: Likewise.
1531 * main.c: Likewise.
1532 * memory-map.c: Likewise.
1533 * mi/mi-cmd-break.c: Likewise.
1534 * mi/mi-cmd-stack.c: Likewise.
1535 * mi/mi-interp.c: Likewise.
1536 * mi/mi-main.c: Likewise.
1537 * monitor.c: Likewise.
1538 * nto-procfs.c: Likewise.
1539 * objc-lang.c: Likewise.
1540 * p-valprint.c: Likewise.
1541 * parse.c: Likewise.
1542 * ppc-linux-tdep.c: Likewise.
1543 * printcmd.c: Likewise.
1544 * probe.c: Likewise.
1545 * python/py-auto-load.c: Likewise.
1546 * python/py-breakpoint.c: Likewise.
1547 * python/py-cmd.c: Likewise.
1548 * python/py-finishbreakpoint.c: Likewise.
1549 * python/py-frame.c: Likewise.
1550 * python/py-framefilter.c: Likewise.
1551 * python/py-function.c: Likewise.
1552 * python/py-gdb-readline.c: Likewise.
1553 * python/py-inferior.c: Likewise.
1554 * python/py-infthread.c: Likewise.
1555 * python/py-lazy-string.c: Likewise.
1556 * python/py-linetable.c: Likewise.
1557 * python/py-param.c: Likewise.
1558 * python/py-prettyprint.c: Likewise.
1559 * python/py-symbol.c: Likewise.
1560 * python/py-type.c: Likewise.
1561 * python/py-value.c: Likewise.
1562 * python/python-internal.h: Likewise.
1563 * python/python.c: Likewise.
1564 * record-btrace.c: Likewise.
1565 * record-full.c: Likewise.
1566 * regcache.c: Likewise.
1567 * remote-fileio.c: Likewise.
1568 * remote-mips.c: Likewise.
1569 * remote.c: Likewise.
1570 * rs6000-aix-tdep.c: Likewise.
1571 * rs6000-nat.c: Likewise.
1572 * skip.c: Likewise.
1573 * solib-darwin.c: Likewise.
1574 * solib-dsbt.c: Likewise.
1575 * solib-frv.c: Likewise.
1576 * solib-ia64-hpux.c: Likewise.
1577 * solib-spu.c: Likewise.
1578 * solib-svr4.c: Likewise.
1579 * solib.c: Likewise.
1580 * spu-tdep.c: Likewise.
1581 * stack.c: Likewise.
1582 * stap-probe.c: Likewise.
1583 * symfile-mem.c: Likewise.
1584 * symmisc.c: Likewise.
1585 * target.c: Likewise.
1586 * thread.c: Likewise.
1587 * top.c: Likewise.
1588 * tracepoint.c: Likewise.
1589 * tui/tui-interp.c: Likewise.
1590 * typeprint.c: Likewise.
1591 * utils.c: Likewise.
1592 * valarith.c: Likewise.
1593 * valops.c: Likewise.
1594 * valprint.c: Likewise.
1595 * value.c: Likewise.
1596 * varobj.c: Likewise.
1597 * windows-nat.c: Likewise.
1598 * xml-support.c: Likewise.
1599
1600 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1601
1602 * mips-tdep.c (add_offset_16): Rewrite to implement what the
1603 name implies.
1604 (extended_mips16_next_pc): Update accordingly.
1605
1606 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1607
1608 * mips-tdep.c (mips16_instruction_is_compact_branch): New
1609 function.
1610 (micromips_instruction_is_compact_branch): Likewise.
1611 (mips16_scan_prologue): Terminate scanning upon seeing a branch
1612 or a compact jump, reaching a jump delay slot, or seeing a
1613 second non-prologue instruction.
1614 (micromips_scan_prologue): Also terminate scanning upon seeing a
1615 compact branch or jump, or reaching a branch or jump delay slot.
1616 (mips32_scan_prologue): Terminate scanning upon reaching a branch
1617 or jump delay slot, or seeing a second non-prologue instruction.
1618 (mips32_instruction_has_delay_slot): Retain instruction
1619 examination code only, update arguments accordingly and move
1620 instruction fetch pieces to...
1621 (mips32_insn_at_pc_has_delay_slot): ... this new function.
1622 (micromips_instruction_has_delay_slot): Likewise and to...
1623 (micromips_insn_at_pc_has_delay_slot): ... this new function.
1624 (mips16_instruction_has_delay_slot): Likewise and to...
1625 (mips16_insn_at_pc_has_delay_slot): ... this new function.
1626 (mips_single_step_through_delay): Update accordingly.
1627 (mips_adjust_breakpoint_address): Likewise.
1628
1629 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1630
1631 * mips-tdep.c (micromips_instruction_has_delay_slot): When
1632 !mustbe32 also return 1 for 32-bit instructions.
1633 (mips16_instruction_has_delay_slot): Likewise. Add an
1634 explanatory comment.
1635
1636 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1637
1638 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
1639 symbols special.
1640
1641 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1642
1643 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
1644 update comments.
1645 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
1646 for the breakpoint's address. Don't preinitialize `placed_size'.
1647 (insert_bp_location): Set `reqstd_address' rather than
1648 `placed_address'.
1649 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
1650 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
1651 address.
1652 (bkpt_remove_location): Likewise.
1653 (deprecated_insert_raw_breakpoint): Likewise.
1654 (deprecated_remove_raw_breakpoint): Likewise.
1655 (find_single_step_breakpoint): Likewise.
1656 * mem-break.c (default_memory_insert_breakpoint): Use
1657 `reqstd_address' for the breakpoint's address. Don't set
1658 `placed_address' or `placed_size' if breakpoint contents couldn't
1659 have been determined.
1660 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
1661 the breakpoint's address.
1662 (remote_insert_hw_breakpoint): Likewise. Don't set
1663 `placed_address' or `placed_size' if breakpoint couldn't have been
1664 set.
1665 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
1666 `reqstd_address' for the breakpoint's address.
1667 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
1668 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
1669 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
1670 * microblaze-linux-tdep.c
1671 (microblaze_linux_memory_remove_breakpoint): Likewise.
1672 * monitor.c (monitor_insert_breakpoint): Likewise.
1673 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
1674 (procfs_insert_hw_breakpoint): Likewise.
1675 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
1676 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1677 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
1678 * remote-mips.c (mips_insert_breakpoint): Likewise.
1679 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
1680
1681 2014-10-03 Luis Machado <lgustavo@codesourcery.com>
1682
1683 * valops.c (value_assign): Check for bit field assignments
1684 before calling architecture-specific register value
1685 conversion functions.
1686
1687 2014-10-03 Pierre Muller <muller@sourceware.org>
1688
1689 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
1690
1691 2014-10-02 Pedro Alves <palves@redhat.com>
1692
1693 * breakpoint.c (breakpoints_should_be_inserted_now): Use
1694 threads_are_executing.
1695 * breakpoint.h (breakpoints_should_be_inserted_now): Add
1696 describing comment.
1697 * gdbthread.h (threads_are_executing): Declare.
1698 (handle_signal_stop) <random signals>: Don't print about the
1699 signal here if stopping.
1700 (end_stepping_range): Don't notify observers here.
1701 (normal_stop): Update the thread list. If stopped by a random
1702 signal or a stepping range ended, notify observers.
1703 * thread.c (threads_executing): New global.
1704 (init_thread_list): Clear 'threads_executing'.
1705 (set_executing): Set or clear 'threads_executing'.
1706 (threads_are_executing): New function.
1707 (update_threads_executing): New function.
1708 (update_thread_list): Use it.
1709
1710 2014-10-02 Pedro Alves <palves@redhat.com>
1711
1712 PR breakpoints/17431
1713 * breakpoint.c (update_breakpoints_after_exec): Don't create
1714 overlay, longjmp, std terminate nor exception breakpoints here.
1715
1716 2014-10-02 Pedro Alves <palves@redhat.com>
1717
1718 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
1719 Adjust comments.
1720 * inferior.c (find_inferior_for_program_space): Give preference to
1721 the current inferior.
1722 * inferior.h (find_inferior_for_program_space): Update comment.
1723 * progspace.c (switch_to_program_space_and_thread): Prefer the
1724 current inferior if it's bound to the program space requested. If
1725 the inferior found doesn't have a PID yet, don't bother looking up
1726 a thread.
1727 * progspace.h (switch_to_program_space_and_thread): Adjust
1728 comment.
1729 * thread.c (any_thread_of_process, any_live_thread_of_process):
1730 Give preference to the current thread.
1731
1732 2014-10-01 Pedro Alves <palves@redhat.com>
1733
1734 * breakpoint.c (insert_bp_location): Error out if inserting a
1735 software breakpoint at a read-only address.
1736 * target.c (memory_xfer_check_region): New function, factored out
1737 from ...
1738 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
1739 ULONGEST.
1740 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
1741 against the memory region attributes.
1742
1743 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1744
1745 * NEWS: Announce new exit-code field in -list-thread-groups
1746 output.
1747 * inferior.c (exit_inferior_1): Don't clear exit code.
1748 (inferior_appeared): Clear exit code.
1749 * mi/mi-main.c (print_one_inferior): Add printing of the exit
1750 code.
1751
1752 2014-10-01 Pedro Alves <palves@redhat.com>
1753
1754 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
1755 GENERATED" along with emacs/vi read-only markers.
1756 * regformats/aarch64.dat: Regenerate.
1757 * regformats/arm-with-iwmmxt.dat: Regenerate.
1758 * regformats/arm-with-neon.dat: Regenerate.
1759 * regformats/arm-with-vfpv2.dat: Regenerate.
1760 * regformats/arm-with-vfpv3.dat: Regenerate.
1761 * regformats/i386/amd64-avx-linux.dat: Regenerate.
1762 * regformats/i386/amd64-avx.dat: Regenerate.
1763 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
1764 * regformats/i386/amd64-avx512.dat: Regenerate.
1765 * regformats/i386/amd64-linux.dat: Regenerate.
1766 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
1767 * regformats/i386/amd64-mpx.dat: Regenerate.
1768 * regformats/i386/amd64.dat: Regenerate.
1769 * regformats/i386/i386-avx-linux.dat: Regenerate.
1770 * regformats/i386/i386-avx.dat: Regenerate.
1771 * regformats/i386/i386-avx512-linux.dat: Regenerate.
1772 * regformats/i386/i386-avx512.dat: Regenerate.
1773 * regformats/i386/i386-linux.dat: Regenerate.
1774 * regformats/i386/i386-mmx-linux.dat: Regenerate.
1775 * regformats/i386/i386-mmx.dat: Regenerate.
1776 * regformats/i386/i386-mpx-linux.dat: Regenerate.
1777 * regformats/i386/i386-mpx.dat: Regenerate.
1778 * regformats/i386/i386.dat: Regenerate.
1779 * regformats/i386/x32-avx-linux.dat: Regenerate.
1780 * regformats/i386/x32-avx.dat: Regenerate.
1781 * regformats/i386/x32-avx512-linux.dat: Regenerate.
1782 * regformats/i386/x32-avx512.dat: Regenerate.
1783 * regformats/i386/x32-linux.dat: Regenerate.
1784 * regformats/i386/x32.dat: Regenerate.
1785 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1786 * regformats/mips-dsp-linux.dat: Regenerate.
1787 * regformats/mips-linux.dat: Regenerate.
1788 * regformats/mips64-dsp-linux.dat: Regenerate.
1789 * regformats/mips64-linux.dat: Regenerate.
1790 * regformats/nios2-linux.dat: Regenerate.
1791 * regformats/rs6000/powerpc-32.dat: Regenerate.
1792 * regformats/rs6000/powerpc-32l.dat: Regenerate.
1793 * regformats/rs6000/powerpc-64l.dat: Regenerate.
1794 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
1795 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
1796 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
1797 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
1798 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
1799 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
1800 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
1801 * regformats/s390-linux32.dat: Regenerate.
1802 * regformats/s390-linux32v1.dat: Regenerate.
1803 * regformats/s390-linux32v2.dat: Regenerate.
1804 * regformats/s390-linux64.dat: Regenerate.
1805 * regformats/s390-linux64v1.dat: Regenerate.
1806 * regformats/s390-linux64v2.dat: Regenerate.
1807 * regformats/s390-te-linux64.dat: Regenerate.
1808 * regformats/s390x-linux64.dat: Regenerate.
1809 * regformats/s390x-linux64v1.dat: Regenerate.
1810 * regformats/s390x-linux64v2.dat: Regenerate.
1811 * regformats/s390x-te-linux64.dat: Regenerate.
1812 * regformats/tic6x-c62x-linux.dat: Regenerate.
1813 * regformats/tic6x-c62x.dat: Regenerate.
1814 * regformats/tic6x-c64x-linux.dat: Regenerate.
1815 * regformats/tic6x-c64x.dat: Regenerate.
1816 * regformats/tic6x-c64xp-linux.dat: Regenerate.
1817 * regformats/tic6x-c64xp.dat: Regenerate.
1818
1819 2014-10-01 Pedro Alves <palves@redhat.com>
1820
1821 * features/Makefile: Update comments.
1822 (XMLTOC): List all xml files we build C files from.
1823 (clean-cfiles): New rule.
1824
1825 2014-10-01 Pedro Alves <palves@redhat.com>
1826
1827 * features/i386/amd64-avx512-linux.c: Regenerate.
1828 * features/i386/amd64-avx512.c: Regenerate.
1829 * features/i386/x32-avx512-linux.c: Regenerate.
1830 * features/i386/x32-avx512.c: Regenerate.
1831
1832 2014-10-01 Pedro Alves <palves@redhat.com>
1833
1834 * features/Makefile (WHICH): Remove arm-with-m,
1835 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
1836
1837 2014-10-01 Pedro Alves <palves@redhat.com>
1838
1839 * features/Makefile (clean): New rule.
1840
1841 2014-10-01 Pedro Alves <palves@redhat.com>
1842
1843 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
1844 (zmm14h): Add missing end quotes.
1845
1846 2014-10-01 Pedro Alves <palves@redhat.com>
1847
1848 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
1849 * features/aarch64.c: Regenerate.
1850
1851 2014-09-30 Don Breazeal <donb@codesourcery.com>
1852
1853 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
1854 code so as to work with follow_fork_inferior.
1855 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
1856 (inf_ttrace_create_inferior): Remove reference to
1857 inf_ttrace_vfork_ppid.
1858 (inf_ttrace_attach): Ditto.
1859 (inf_ttrace_detach): Ditto.
1860 (inf_ttrace_kill): Use current_inferior instead of
1861 inf_ttrace_vfork_ppid.
1862 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
1863 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
1864 inferior away from the parent.
1865 * infrun.c (follow_fork): Call follow_fork_inferior instead of
1866 target_follow_fork.
1867 (follow_fork_inferior): New function.
1868 (follow_inferior_reset_breakpoints): Make function static.
1869 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
1870 * linux-nat.c (linux_child_follow_fork): Move target-independent
1871 code to infrun.c:follow_fork_inferior.
1872
1873 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1874
1875 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
1876 * gdbarch.c: Regenerate.
1877 * gdbarch.h: Likewise.
1878 * corelow.c (sniff_core_bfd): Drop presence check for deleted
1879 gdbarch method 'regset_from_core_section'.
1880 (get_core_register_section): Remove handling for the case that
1881 regset == NULL and regset_from_core_section is defined.
1882 (get_core_registers): Drop check for deleted method.
1883 * procfs.c (procfs_do_thread_registers): Adjust comment.
1884
1885 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1886
1887 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
1888 (linux_nat_make_corefile_notes): Remove.
1889 (linux_target_install_ops): Do not set target method
1890 'make_corefile_notes'.
1891 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
1892 Remove field.
1893 (linux_corefile_thread_callback): Instead of args->collect, call
1894 linux_collect_thread_registers.
1895 (linux_make_corefile_notes): Remove 'collect' parameter. Return
1896 NULL unless there is a regset iterator.
1897 (linux_make_corefile_notes_1): Remove.
1898 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
1899 by linux_make_corefile_notes.
1900 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
1901
1902 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1903
1904 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
1905 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
1906 Remove.
1907 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
1908
1909 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1910
1911 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
1912 (xtensa_iterate_over_regset_sections): New.
1913 (xtensa_gdbarch_init): Adjust gdbarch initialization.
1914
1915 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1916
1917 * vax-tdep.c (vax_regset_from_core_section): Remove.
1918 (vax_iterate_over_regset_sections): New.
1919 (vax_gdbarch_init): Adjust gdbarch initialization.
1920
1921 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1922
1923 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
1924 (tilegx_regset_from_core_section): Remove.
1925 (tilegx_iterate_over_regset_sections): New.
1926 (tilegx_linux_init_abi): Adjust gdbarch initialization.
1927
1928 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1929
1930 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
1931 (sparc_iterate_over_regset_sections): New.
1932 (sparc32_gdbarch_init): Adjust gdbarch initialization.
1933 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
1934 targets.
1935 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
1936 (sparc64fbsd_init_abi): Call fbsd_init_abi.
1937 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
1938 target method 'make_corefile_notes'.
1939
1940 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1941
1942 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
1943 'sizeof_gregset' and 'sizeof_fpregset'.
1944 * sh-tdep.c (sh_regset_from_core_section): Remove.
1945 (sh_iterate_over_regset_sections): New.
1946 (sh_gdbarch_init): Adjust gdbarch initialization.
1947 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
1948 sizeof_fpregset.
1949 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
1950 'sizeof_gregset'.
1951
1952 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1953
1954 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
1955 (score7_linux_iterate_over_regset_sections): New.
1956 (score_gdbarch_init): Adjust gdbarch initialization.
1957
1958 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1959
1960 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
1961 FreeBSD targets.
1962 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
1963 method 'make_corefile_notes'.
1964 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
1965 (ppcfbsd_regset_from_core_section): Remove.
1966 (ppcfbsd_iterate_over_regset_sections): New.
1967 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
1968 initialization.
1969 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
1970 (ppcnbsd_iterate_over_regset_sections): New.
1971 (ppcnbsd_init_abi): Adjust.
1972 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
1973 (ppcobsd_iterate_over_regset_sections): New.
1974 (ppcobsd_init_abi): Adjust.
1975 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
1976 (rs6000_aix_iterate_over_regset_sections): New.
1977 (rs6000_aix_init_osabi): Adjust.
1978
1979 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1980
1981 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
1982 (nios2_regset_from_core_section): Remove.
1983 (nios2_iterate_over_regset_sections): New.
1984 (nios2_linux_init_abi): Adjust gdbarch initialization.
1985
1986 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1987
1988 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
1989 (am33_iterate_over_regset_sections): New.
1990 (am33_linux_init_osabi): Adjust gdbarch initialization.
1991
1992 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1993
1994 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
1995 (mips_linux_iterate_over_regset_sections): New.
1996 (mips_linux_init_abi): Adjust gdbarch initialization.
1997 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
1998 (mips64obsd_iterate_over_regset_sections): New.
1999 (mips64obsd_init_abi): Adjust.
2000 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
2001 (mipsnbsd_iterate_over_regset_sections): New.
2002 (mipsnbsd_init_abi): Adjust.
2003
2004 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2005
2006 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
2007 (m88k_iterate_over_regset_sections): New.
2008 (m88k_gdbarch_init): Adjust gdbarch initialization.
2009
2010 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2011
2012 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
2013 (ia64_linux_iterate_over_regset_sections): New.
2014 (ia64_linux_init_abi): Adjust gdbarch initialization.
2015
2016 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2017
2018 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
2019 (m68kbsd_iterate_over_regset_sections): New.
2020 (m68kbsd_init_abi): Adjust gdbarch initialization.
2021 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
2022 (m68k_linux_iterate_over_regset_sections): New.
2023 (m68k_linux_init_abi): Adjust gdbarch initialization.
2024
2025 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2026
2027 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
2028 (m32r_linux_regset_from_core_section): Remove.
2029 (m32r_linux_iterate_over_regset_sections): New.
2030 (m32r_linux_init_abi): Adjust gdbarch initialization.
2031
2032 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2033
2034 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
2035 (amd64obsd_iterate_over_regset_sections): New.
2036 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
2037 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
2038 Remove.
2039 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
2040 regset_from_core_section initialization.
2041 * i386-tdep.c (i386_regset_from_core_section): Remove.
2042 (i386_iterate_over_regset_sections): New.
2043 (i386_gdbarch_init): Adjust gdbarch initialization.
2044 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
2045 (i386_iterate_over_regset_sections): New prototype.
2046 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
2047 Remove.
2048 (i386obsd_aout_iterate_over_regset_sections): New.
2049 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
2050 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
2051 targets.
2052 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
2053 (amd64fbsd_init_abi): Call fbsd_init_abi.
2054 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
2055 (i386fbsd4_init_abi): Call fbsd_init_abi.
2056 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
2057 target method 'make_corefile_notes'.
2058 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
2059
2060 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2061
2062 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
2063 (hppa_hpux_iterate_over_regset_sections): New.
2064 (hppa_hpux_init_abi): Adjust gdbarch initialization.
2065 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
2066 (hppa_linux_iterate_over_regset_sections): New.
2067 (hppa_linux_init_abi): Adjust.
2068 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
2069 (hppanbsd_iterate_over_regset_sections): New.
2070 (hppanbsd_init_abi): Adjust.
2071 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
2072 (hppaobsd_iterate_over_regset_sections): New.
2073 (hppaobsd_init_abi): Adjust.
2074
2075 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2076
2077 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
2078 (frv_linux_iterate_over_regset_sections): New.
2079 (frv_linux_init_abi): Adjust gdbarch initialization.
2080
2081 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2082
2083 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
2084 (armbsd_iterate_over_regset_sections): New prototype.
2085 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
2086 (armbsd_iterate_over_regset_sections): New.
2087 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
2088 initialization.
2089
2090 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2091
2092 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
2093 (alpha_linux_iterate_over_regset_sections): New.
2094 (alpha_linux_init_abi): Adjust gdbarch initialization.
2095 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
2096 prototype.
2097 (alphanbsd_iterate_over_regset_sections): New prototype.
2098
2099 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2100
2101 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
2102 Remove.
2103 (aarch64_linux_iterate_over_regset_sections): New.
2104 (aarch64_linux_init_abi): Adjust gdbarch initialization.
2105
2106 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2107
2108 * fbsd-tdep.c: New file.
2109 * fbsd-tdep.h: New file.
2110 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
2111 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
2112 (ALLDEPFILES): Add fbsd-tdep.c.
2113
2114 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2115
2116 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
2117 parameter.
2118 * gdbarch.h: Regenerate.
2119 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
2120 iterator.
2121 (get_core_register_section): Add parameter 'regset' and use it, if
2122 set. Add parameter 'min_size' and verify the bfd section size
2123 against it.
2124 (get_core_registers_cb): Add parameter 'regset' and pass it to
2125 get_core_register section. For the "standard" register sections
2126 ".reg" and ".reg2", set an appropriate default for human_name.
2127 (get_core_registers): Don't abort when the gdbarch has an iterator
2128 but no regset_from_core_section. Add NULL/0 for parameters
2129 'regset'/'min_size' in calls to get_core_register_section.
2130 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
2131 'regset' and use it instead of calling the
2132 regset_from_core_section gdbarch method.
2133 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
2134 * i386-tdep.c (i386_supply_xstateregset)
2135 (i386_collect_xstateregset, i386_xstateregset): Moved to
2136 i386-linux-tdep.c.
2137 (i386_regset_from_core_section): Drop handling for .reg-xfp and
2138 .reg-xstate.
2139 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
2140 core file support only if the regset iterator hasn't been set.
2141 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
2142 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
2143 Moved from i386-tdep.c and renamed to *_linux*.
2144 (i386_linux_iterate_over_regset_sections): Add regset parameter to
2145 each callback invocation. Allow any .reg-xstate size when reading
2146 from a core file.
2147 * amd64-tdep.c (amd64_supply_xstateregset)
2148 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
2149 amd64-linux-tdep.c.
2150 (amd64_regset_from_core_section): Remove.
2151 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
2152 install an amd64-specific regset_from_core_section gdbarch method.
2153 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
2154 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
2155 Moved from amd64-tdep.c and renamed to *_linux*.
2156 (amd64_linux_iterate_over_regset_sections): Add regset parameter
2157 to each callback invocation. Allow any .reg-xstate size when
2158 reading from a core file.
2159 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
2160 (arm_linux_iterate_over_regset_sections): Add regset parameter to
2161 each callback invocation.
2162 (arm_linux_init_abi): No longer set the regset_from_core_section
2163 gdbarch method.
2164 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
2165 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
2166 each callback invocation.
2167 (ppc_linux_init_abi): No longer set the regset_from_core_section
2168 gdbarch method.
2169 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
2170 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
2171 (s390_regset_from_core_section): Remove.
2172 (s390_iterate_over_regset_sections): Add regset parameter to each
2173 callback invocation.
2174 (s390_gdbarch_init): No longer set the regset_from_core_section
2175 gdbarch method. Drop initialization of deleted tdep fields.
2176
2177 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2178
2179 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
2180 (amd64_linux_iterate_over_regset_sections): New.
2181 (amd64_linux_init_abi_common): Don't install the regset section
2182 list, but the new iterator in gdbarch.
2183 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
2184 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
2185 (arm_linux_iterate_over_regset_sections): ...here. New function.
2186 (arm_linux_init_abi): Set iterator instead of section list.
2187 * corelow.c (get_core_registers_cb): New function, logic moved
2188 from...
2189 (get_core_registers): ...loop body here. Use new iterator method
2190 instead of walking through the regset section list.
2191 * gdbarch.sh: Remove 'core_regset_sections'. New method
2192 'iterate_over_regset_sections'. New typedef
2193 'iterate_over_regset_sections_cb'.
2194 * gdbarch.c: Regenerate.
2195 * gdbarch.h: Likewise.
2196 * i386-linux-tdep.c (i386_linux_regset_sections)
2197 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
2198 Remove.
2199 (i386_linux_iterate_over_regset_sections): New.
2200 (i386_linux_init_abi): Don't choose a regset section list, but
2201 install new iterator in gdbarch.
2202 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
2203 (linux_collect_regset_section_cb): New function, logic moved
2204 from...
2205 (linux_collect_thread_registers): ...loop body here. Use iterator
2206 method instead of walking through list.
2207 (linux_make_corefile_notes_1): Check for presence of iterator
2208 method instead of regset section list.
2209 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
2210 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
2211 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
2212 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
2213 (ppc_linux_iterate_over_regset_sections): ...here. New function.
2214 (ppc_linux_init_abi): Don't choose from above regset section
2215 lists, but install new iterator in gdbarch.
2216 * regset.h (struct core_regset_section): Remove.
2217 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
2218 have_linux_v1, have_linux_v2, and have_tdb.
2219 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
2220 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
2221 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
2222 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
2223 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
2224 (s390_iterate_over_regset_sections): ...here. New function. Use
2225 new tdep fields.
2226 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
2227 regset section lists, but install new iterator.
2228
2229 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2230
2231 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
2232
2233 2014-09-26 Simon Marchi <simon.marchi@ericsson.com>
2234
2235 * progspace.c (print_program_space): Don't prune program spaces
2236 before printing them.
2237
2238 2014-09-25 Pedro Alves <palves@redhat.com>
2239
2240 * infrun.c (user_visible_resume_ptid): Don't check
2241 singlestep_breakpoints_inserted_p.
2242
2243 2014-09-25 Pedro Alves <palves@redhat.com>
2244
2245 * breakpoint.c (should_be_inserted): Add debug output.
2246
2247 2014-09-25 Pedro Alves <palves@redhat.com>
2248
2249 * infrun.c (stepping_past_instruction_at)
2250 (clear_exit_convenience_vars): Point at infrun.h instead of
2251 inferior.h.
2252 (handle_signal_stop): Fix typo.
2253
2254 2014-09-24 Yao Qi <yao@codesourcery.com>
2255
2256 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
2257 bitmask.
2258
2259 2014-09-22 Gary Benson <gbenson@redhat.com>
2260
2261 * target.c (target_stop): Updated comment.
2262
2263 2014-09-22 Gary Benson <gbenson@redhat.com>
2264
2265 * target/target.h (target_stop_ptid): Renamed as...
2266 (target_stop_and_wait): New function. Updated comment.
2267 All uses updated.
2268 (target_continue_ptid): Renamed as...
2269 (target_continue_no_signal): New function. Updated comment.
2270 All uses updated.
2271
2272 2014-09-22 Pedro Alves <palves@redhat.com>
2273
2274 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
2275 and "auto" merged.
2276 * breakpoint.c (enum ugll_insert_mode): New enum.
2277 (always_inserted_mode): Now a plain boolean.
2278 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
2279 (breakpoints_always_inserted_mode): Delete.
2280 (breakpoints_should_be_inserted_now): New function.
2281 (insert_breakpoints): Pass UGLL_INSERT to
2282 update_global_location_list instead of calling
2283 insert_breakpoint_locations manually.
2284 (create_solib_event_breakpoint_1): New, factored out from ...
2285 (create_solib_event_breakpoint): ... this.
2286 (create_and_insert_solib_event_breakpoint): Use
2287 create_solib_event_breakpoint_1 instead of calling
2288 insert_breakpoint_locations manually.
2289 (update_global_location_list): Change parameter type from boolean
2290 to enum ugll_insert_mode. All callers adjusted. Adjust to use
2291 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
2292 (update_global_location_list_nothrow): Change parameter type from
2293 boolean to enum ugll_insert_mode.
2294 (_initialize_breakpoint): "breakpoint always-inserted" option is
2295 now a boolean command. Update help text.
2296 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
2297 (breakpoints_should_be_inserted_now): New declaration.
2298 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
2299 Remove breakpoints_always_inserted_mode check.
2300 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
2301 * remote.c (remote_start_remote): Likewise.
2302
2303 2014-09-22 Pedro Alves <palves@redhat.com>
2304
2305 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
2306 (insert_breakpoints): Don't call insert_breakpoint_locations here.
2307 Instead, pass UGLL_INSERT to update_global_location_list.
2308 (update_global_location_list): Change parameter type from boolean
2309 to enum ugll_insert_mode. All callers adjusted. Adjust to use
2310 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
2311 (create_solib_event_breakpoint_1): New, factored out from ...
2312 (create_solib_event_breakpoint): ... this.
2313 (create_and_insert_solib_event_breakpoint): Use
2314 create_solib_event_breakpoint_1 instead of calling
2315 insert_breakpoint_locations manually.
2316 (update_global_location_list): Handle UGLL_INSERT.
2317
2318 2014-09-22 Pedro Alves <palves@redhat.com>
2319
2320 * breakpoint.c (enum ugll_insert_mode): New enum.
2321 (update_global_location_list)
2322 (update_global_location_list_nothrow): Change parameter type from
2323 boolean to enum ugll_insert_mode. All callers adjusted.
2324
2325 2014-09-19 Joel Brobecker <brobecker@adacore.com>
2326
2327 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
2328 SystemTap support in GDB.
2329
2330 2014-09-19 Don Breazeal <donb@codesourcery.com>
2331
2332 * linux-nat.c (linux_handle_extended_wait): Call
2333 linux_ptrace_get_extended_event.
2334 (wait_lwp): Call linux_is_extended_waitstatus.
2335 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
2336 and linux_is_extended_waitstatus.
2337 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
2338 linux_ptrace_get_extended_event.
2339 (linux_ptrace_get_extended_event): New function.
2340 (linux_is_extended_waitstatus): New function.
2341 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
2342 (linux_is_extended_waitstatus): New declarations.
2343
2344 2014-09-19 Yao Qi <yao@codesourcery.com>
2345
2346 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2347 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
2348 comments. Callers update.
2349 (dwarf_decode_lines): Likewise.
2350 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
2351 comments. Skip the line table if 'lowpc' is greater than
2352 'address'. Don't check
2353 dwarf2_per_objfile->has_section_at_zero.
2354
2355 2014-09-18 Doug Evans <dje@google.com>
2356
2357 * NEWS: Mention new "producer" attribute of gdb.Symtab.
2358 * python/py-symtab.c (stpy_get_producer): New function.
2359 (symtab_object_getset): Add "producer" attribute.
2360
2361 2014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
2362
2363 PR gdb/17384
2364 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
2365 (do_captured_read_memory_integer): Remove.
2366 (safe_read_memory_integer): Use target_read_memory directly instead
2367 of catching errors in do_captured_read_memory_integer.
2368
2369 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
2370
2371 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
2372 not gdb/doc.
2373
2374 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2375
2376 * objc-lang.c (find_implementation_from_class): Remove dead code.
2377
2378 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2379
2380 PR cli/7233
2381 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
2382 "fprintf_unfiltered (gdb_stdlog...)".
2383
2384 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2385
2386 PR breakpoints/12526
2387 * breakpoint.h (struct watchpoint): New fields val_bitpos and
2388 val_bitsize.
2389 * breakpoint.c (watch_command_1): Use these fields to retain
2390 bitfield information.
2391 (extract_bitfield_from_watchpoint_value): New function.
2392 (watchpoint_check): Use it.
2393 (update_watchpoint): Use it. Optimize the address and length of a
2394 HW watchpoint pointing to a bitfield.
2395 * value.h (unpack_value_bitfield): New prototype.
2396 * value.c (unpack_value_bitfield): Make extern.
2397
2398 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2399
2400 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
2401 x86-dregs.o.
2402 * gnu-nat.c (inf_threads): New function.
2403 * gnu-nat.h (inf_threads_ftype): New typedef.
2404 (inf_threads): New declaration.
2405 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
2406 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
2407 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
2408 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
2409 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
2410 (i386_gnu_dr_get_control): New functions.
2411 (reg_addr): New structure.
2412 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
2413 i386 debugging register hooks.
2414 * NEWS: Mention this.
2415
2416 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2417
2418 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
2419 vector data transfer instructions.
2420 (arm_record_coproc_data_proc): Updated.
2421
2422 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2423
2424 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
2425 arm_record_exreg_ld_st_insn.
2426 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
2427 load/store insns.
2428
2429 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2430
2431 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
2432 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
2433 processing instructions.
2434
2435 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2436
2437 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
2438 for advance SIMD struct ld/st insn.
2439 (thumb2_record_decode_insn_handler): Replace stub handler with
2440 thumb2_record_asimd_struct_ld_st.
2441
2442 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2443
2444 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
2445 for asimd, vfp and coprocessor insns.
2446 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
2447 and coprocessor insns.
2448 (thumb2_record_coproc_insn): New function.
2449 (thumb2_record_decode_insn_handler): Update coprocessor insns record
2450 handlers.
2451 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
2452 opcode 110 insns.
2453
2454 2014-09-13 Doug Evans <xdje42@gmail.com>
2455
2456 * NEWS: Mention new "queue-signal" command.
2457 * infcmd.c (queue_signal_command): New function.
2458 (_initialize_infcmd): Add new queue-signal command.
2459
2460 2014-09-13 Doug Evans <xdje42@gmail.com>
2461
2462 * linux-nat.c (wait_lwp): Add debugging printf.
2463 (linux_nat_wait_1): Ditto.
2464
2465 2014-09-12 Pedro Alves <palves@redhat.com>
2466
2467 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
2468 (create_and_insert_solib_event_breakpoint): New functions.
2469 * breakpoint.h (create_and_insert_solib_event_breakpoint)
2470 (remove_solib_event_breakpoints_at_next_stop): New declarations.
2471 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
2472 (remove_dbx_link_breakpoint): Delete function.
2473 (insert_dbx_link_bpt_in_file): Use
2474 create_and_insert_solib_event_breakpoint instead of
2475 deprecated_insert_raw_breakpoint.
2476 (procfs_wait): Don't check whether we hit __dbx_link here.
2477 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
2478 here.
2479 * solib-irix.c (base_breakpoint): Delete global.
2480 (disable_break): Delete function.
2481 (enable_break): Use create_solib_event_breakpoint
2482 instead of deprecated_insert_raw_breakpoint.
2483 (irix_solib_handle_event): New function.
2484 (irix_solib_create_inferior_hook): Don't run the target or disable
2485 the mapping-complete breakpoint here.
2486 (_initialize_irix_solib): Install irix_solib_handle_event as
2487 so_ops->handle_event hook.
2488
2489 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2490 Ulrich Weigand  <uweigand@de.ibm.com>
2491
2492 PR tdep/17379
2493 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
2494 instead of read_memory_unsigned_integer.
2495
2496 2014-09-12 Gary Benson <gbenson@redhat.com>
2497
2498 * nat/linux-waitpid.c: Include common-defs.h.
2499 [GDBSERVER]: Add FIXME comment.
2500 [!GDBSERVER]: Don't include defs.h or signal.h.
2501 (linux_debug) [!GDBSERVER]: Remove empty block.
2502
2503 2014-09-12 Gary Benson <gbenson@redhat.com>
2504
2505 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
2506 Don't include defs.h or server.h.
2507
2508 2014-09-12 Gary Benson <gbenson@redhat.com>
2509
2510 * nat/linux-btrace.c: Include common-defs.h.
2511 Don't include defs.h, server.h or gdbthread.h.
2512 * nat/linux-btrace.h (struct target_ops): New forward declaration.
2513
2514 2014-09-12 Gary Benson <gbenson@redhat.com>
2515
2516 * common/agent.c: Include common-defs.h.
2517 Don't include defs.h or server.h.
2518 * common/buffer.c: Likewise.
2519 * common/common-debug.c: Likewise.
2520 * common/common-utils.c: Likewise.
2521 * common/errors.c: Likewise.
2522 * common/filestuff.c: Likewise.
2523 * common/format.c: Likewise.
2524 * common/gdb_vecs.c: Likewise.
2525 * common/print-utils.c: Likewise.
2526 * common/ptid.c: Likewise.
2527 * common/rsp-low.c: Likewise.
2528 * common/signals.c: Likewise.
2529 * common/vec.c: Likewise.
2530 * common/xml-utils.c: Likewise.
2531 * nat/linux-osdata.c: Likewise.
2532 * nat/linux-procfs.c: Likewise.
2533 * nat/linux-ptrace.c: Likewise.
2534 * nat/mips-linux-watch.c: Likewise.
2535 * target/waitstatus.c: Likewise.
2536
2537 2014-09-12 Tom Tromey <tromey@redhat.com>
2538 Gary Benson <gbenson@redhat.com>
2539
2540 * common/common-regcache.h: New file.
2541 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
2542 * regcache.h: Include common-regcache.h.
2543 (regcache_read_pc): Don't declare.
2544 * regcache.c (get_thread_regcache_for_ptid): New function.
2545 * nat/linux-btrace.c: Don't include regcache.h.
2546 Include common-regcache.h.
2547 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2548
2549 2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
2550
2551 * regcache.h (struct regset): Declare.
2552
2553 2014-09-11 Pedro Alves <palves@redhat.com>
2554
2555 PR gdb/17347
2556 * main.c: Include "infrun.h".
2557 (catch_command_errors, catch_command_errors_const): Wait for the
2558 foreground command to complete.
2559 * top.c (maybe_wait_sync_command_done): New function, factored out
2560 from ...
2561 (maybe_wait_sync_command_done): ... here.
2562 * top.h (maybe_wait_sync_command_done): New declaration.
2563
2564 2014-09-11 Tom Tromey <tromey@redhat.com>
2565 Gary Benson <gbenson@redhat.com>
2566
2567 * common/symbol.h: New file.
2568 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2569 * minsyms.c (find_minimal_symbol_address): New function.
2570 * common/agent.c: Include common/symbol.h.
2571 [!GDBSERVER]: Don't include objfiles.h.
2572 (agent_look_up_symbols): Use find_minimal_symbol_address.
2573
2574 2014-09-11 Gary Benson <gbenson@redhat.com>
2575
2576 * target/target.h (target_stop_ptid, target_continue_ptid):
2577 Declare.
2578 * target.c (target_stop_ptid, target_continue_ptid): New
2579 functions.
2580 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2581 (agent_run_command): Always use target_stop_ptid and
2582 target_continue_ptid.
2583
2584 2014-09-11 Tom Tromey <tromey@redhat.com>
2585 Gary Benson <gbenson@redhat.com>
2586
2587 * target/target.h: New file.
2588 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2589 * target.h: Include target/target.h.
2590 (target_read_memory, target_write_memory): Don't declare.
2591 * target.c (target_read_uint32): New function.
2592 * common/agent.c: Include target/target.h.
2593 [!GDBSERVER]: Don't include target.h.
2594 (helper_thread_id): Type changed to uint32_t.
2595 (agent_get_helper_thread_id): Use target_read_uint32.
2596 (agent_run_command): Always use target_read_memory and
2597 target_write_memory.
2598 (agent_capability): Type changed to uint32_t.
2599 (agent_capability_check): Use target_read_uint32.
2600
2601 2014-09-11 Gary Benson <gbenson@redhat.com>
2602
2603 * common/common-debug.h (show_debug_regs): Declare.
2604 * common/common-debug.c (show_debug_regs): Define.
2605 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
2606 all uses with show_debug_regs. Replace all uses that considered
2607 debug_hw_points as a multi-value integer with straight boolean
2608 uses.
2609 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
2610 with show_debug_regs.
2611 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
2612 all uses with show_debug_regs.
2613 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
2614 uses with show_debug_regs.
2615
2616 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2617
2618 * findvar.c (address_from_register): Handle targets requiring
2619 a special conversion routine even for plain pointer types.
2620
2621 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2622
2623 * rs6000-nat.c (exec_one_dummy_insn): Remove.
2624 (store_register): Do not call exec_one_dummy_insn.
2625
2626 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2627
2628 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
2629 dereference it first. Use value_enclosing_type instead of
2630 value_type.
2631 (ada_array_length): Likewise.
2632
2633 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2634
2635 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
2636 Adjust function implementation and documentation accordingly.
2637 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
2638 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
2639 Update call to ada_value_ptr_subscript.
2640
2641 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2642
2643 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
2644 instead of VAL's type.
2645
2646 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2647
2648 * amd64-linux-nat.c: Add <sys/uio.h> #include.
2649
2650 2014-09-09 Doug Evans <xdje42@gmail.com>
2651
2652 PR guile/17367
2653 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
2654 last parameter to pkg-config, not first.
2655 * configure.ac: Pass --with-guile provided pkg-config path to
2656 GDB_GUILE_PROGRAM_NAMES.
2657 * configure: Regenerate.
2658
2659 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
2660
2661 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
2662 Bertazi".
2663
2664 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2665
2666 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
2667 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
2668 the list of sections determining GDB_OSABI_IRIX.
2669
2670 2014-09-09 James Hogan <james.hogan@imgtec.com>
2671
2672 * MAINTAINERS (Write After Approval): Add "James Hogan".
2673
2674 2014-09-09 James Hogan <james.hogan@imgtec.com>
2675
2676 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
2677
2678 2014-09-09 Joel Brobecker <brobecker@adacore.com>
2679
2680 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
2681
2682 2014-09-08 Doug Evans <xdje42@gmail.com>
2683
2684 PR 17247
2685 * guile.c: #include <signal.h>.
2686 (_initialize_guile): Block SIGCHLD while initializing Guile.
2687
2688 Replaces the following, which is reverted.
2689
2690 2014-07-26 Doug Evans <xdje42@gmail.com>
2691
2692 PR 17185
2693 * configure.ac: Add check for header gc/gc.h.
2694 Add check for function setenv.
2695 * configure: Regenerate.
2696 * config.in: Regenerate.
2697 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2698
2699 2014-09-08 Doug Evans <xdje42@gmail.com>
2700
2701 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
2702 with named constant. Fix style of pointer comparison.
2703 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
2704
2705 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2706
2707 PR gdb/17035
2708 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
2709 decide whether we display the command on "show user".
2710 * cli/cli-script.c (show_user_1): Only verify cmdlines after
2711 printing command name.
2712 * cli/cli-decode.h (cli_user_command_p): Declare new function.
2713 * cli/cli-decode.c (cli_user_command_p): Create helper function
2714 to verify whether cmd_list_element is a user-defined command.
2715
2716 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2717
2718 PR python/17355
2719 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
2720 Fix goto out of TRY_CATCH.
2721
2722 2014-09-06 Doug Evans <xdje42@gmail.com>
2723 Tom Tromey <tromey@redhat.com>
2724
2725 PR 15276
2726 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
2727 $_any_caller_matches.
2728 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
2729 * python/lib/gdb/function/caller_is.py: New file.
2730
2731 2014-09-06 Doug Evans <xdje42@gmail.com>
2732
2733 * infcmd.c (program_info): Fix typo.
2734
2735 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2736
2737 PR gdb/17235
2738 * stap-probe.c (stap_parse_single_operand): Delete unused variable
2739 'number'. New variable 'has_digit'. Rewrite code to deal with
2740 subexpressions on SDT probes.
2741
2742 2014-09-04 Pedro Alves <palves@redhat.com>
2743
2744 * c-exp.y (parse_number): Skip handling base-switching prefixes if
2745 the input is only one character long.
2746
2747 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2748
2749 PR fortran/17237
2750 * f-valprint.c (f_val_print): Specify the correct print option to
2751 use when printing integer values.
2752
2753 2014-09-04 Gary Benson <gbenson@redhat.com>
2754
2755 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
2756 Remove code to cope with LWPs wrapped as PIDs.
2757 Add assertions to ensure no wrapped LWPs are passed.
2758
2759 2014-09-04 Pedro Alves <palves@redhat.com>
2760
2761 * value.c (value_ranges_copy_adjusted): New function, factored out
2762 from ...
2763 (value_contents_copy_raw): ... here.
2764 (unpack_value_bits_as_long_1): Rename back to ...
2765 (unpack_bits_as_long): ... this. Remove 'original_value' and
2766 'result' parameters. Change return type to LONGEST.
2767 (unpack_value_bits_as_long): Delete.
2768 (unpack_value_field_as_long_1): Delete.
2769 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
2770 (unpack_value_bitfield): New function.
2771 (value_field_bitfield): Reimplement using unpack_value_bitfield.
2772 (value_fetch_lazy): Use unpack_value_bitfield.
2773 * value.h (unpack_value_bits_as_long): Delete declaration.
2774
2775 2014-09-03 Sasha Smundak <asmundak@google.com>
2776
2777 * python/py-frame.c (frapy_read_register): New function.
2778
2779 2014-09-03 James Hogan <james.hogan@imgtec.com>
2780
2781 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
2782 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
2783
2784 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2785
2786 PR python/16699
2787 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
2788 function.
2789 (add_cmd): Set "completer_handle_brkchars" to NULL.
2790 * cli/cli-decode.h (struct cmd_list_element)
2791 <completer_handle_brkchars>: New field.
2792 * command.h (completer_ftype_void): New typedef.
2793 (set_cmd_completer_handle_brkchars): New prototype.
2794 * completer.c (set_gdb_completion_word_break_characters): New
2795 function.
2796 (complete_line_internal): Call "completer_handle_brkchars"
2797 callback from command.
2798 * completer.h: Include "command.h".
2799 (set_gdb_completion_word_break_characters): New prototype.
2800 * python/py-cmd.c (cmdpy_completer_helper): New function.
2801 (cmdpy_completer_handle_brkchars): New function.
2802 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
2803 (cmdpy_init): Set completer_handle_brkchars to
2804 cmdpy_completer_handle_brkchars.
2805
2806 2014-09-03 Gary Benson <gbenson@redhat.com>
2807
2808 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
2809 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
2810 Loop conditions changed to equivalent form.
2811 (struct x86_debug_reg_state): Updated dr_ref_count comment.
2812 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
2813 ALL_DEBUG_ADDRESS_REGISTERS.
2814
2815 2014-09-03 Joel Brobecker <brobecker@adacore.com>
2816
2817 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
2818 description fix.
2819
2820 2014-09-02 Doug Evans <dje@google.com>
2821
2822 * typeprint.c (find_global_typedef): Fix comment.
2823
2824 2014-09-02 Gary Benson <gbenson@redhat.com>
2825
2826 * i386-nat.h: Renamed as...
2827 * x86-nat.h: New file. All type, function and variable name
2828 prefixes changed from "i386_" to "x86_". All references updated.
2829 * i386-nat.c: Renamed as...
2830 * x86-nat.c: New file. All type, function and variable name
2831 prefixes changed from "i386_" to "x86_". All references updated.
2832 * common/i386-xstate.h: Renamed as...
2833 * common/x86-xstate.h: New file. All type, function and variable
2834 name prefixes changed from "i386_" to "x86_". All references
2835 updated.
2836 * nat/i386-cpuid.h: Renamed as...
2837 * nat/x86-cpuid.h: New file. All type, function and variable name
2838 prefixes changed from "i386_" to "x86_". All references updated.
2839 * nat/i386-gcc-cpuid.h: Renamed as...
2840 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
2841 name prefixes changed from "i386_" to "x86_". All references
2842 updated.
2843 * nat/i386-dregs.h: Renamed as...
2844 * nat/x86-dregs.h: New file. All type, function and variable name
2845 prefixes changed from "i386_" to "x86_". All references updated.
2846 * nat/i386-dregs.c: Renamed as...
2847 * nat/x86-dregs.c: New file. All type, function and variable name
2848 prefixes changed from "i386_" to "x86_". All references updated.
2849
2850 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
2851
2852 * varobj.c (_initialize_varobj): Move to the end of file.
2853
2854 2014-08-29 Gary Benson <gbenson@redhat.com>
2855
2856 * common/common-exceptions.h: New file.
2857 * common/common-exceptions.c: Likewise.
2858 * Makefile.in (SFILES): Add common/common-exceptions.c.
2859 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
2860 (COMMON_OBS): Add common-exceptions.o.
2861 (common-exceptions.o): New rule.
2862 * exceptions.h (common-exceptions.h): Include.
2863 (gdb_setjmp.h): Do not include.
2864 (return_reason): Moved to common-exceptions.h.
2865 (enum return_reason): Likewise.
2866 (RETURN_MASK): Likewise.
2867 (typedef return_mask): Likewise.
2868 (enum errors): Likewise.
2869 (struct gdb_exception): Likewise.
2870 (exceptions_state_mc_init): Likewise.
2871 (exceptions_state_mc_action_iter): Likewise.
2872 (exceptions_state_mc_action_iter_1): Likewise.
2873 (TRY_CATCH): Likewise.
2874 (throw_exception): Likewise.
2875 (throw_verror): Likewise.
2876 (throw_vquit): Likewise.
2877 (throw_error): Likewise.
2878 (throw_quit): Likewise.
2879 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
2880 (enum catcher_action): Likewise.
2881 (struct catcher): Likewise.
2882 (current_catcher): Likewise.
2883 (catcher_list_size): Likewise.
2884 (exceptions_state_mc_init): Likewise.
2885 (catcher_pop): Likewise.
2886 (exceptions_state_mc): Likewise.
2887 (exceptions_state_mc_action_iter): Likewise.
2888 (exceptions_state_mc_action_iter_1): Likewise.
2889 (throw_exception): Likewise.
2890 (exception_messages): Likewise.
2891 (exception_messages_size): Likewise.
2892 (throw_it): Likewise.
2893 (throw_verror): Likewise.
2894 (throw_vquit): Likewise.
2895 (throw_error): Likewise.
2896 (throw_quit): Likewise.
2897 (prepare_to_throw_exception): New function.
2898
2899 2014-08-29 Gary Benson <gbenson@redhat.com>
2900
2901 * common/gdb_setjmp.h: New file.
2902 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
2903 * configure.ac: Move sigsetjmp check...
2904 * common/common.m4: ...here.
2905 * configure: Regenerate.
2906 * cp-support.c (SIGJMP_BUF): Delete.
2907 (SIGSETJMP): Likewise.
2908 (SIGLONGJMP): Likewise.
2909 * exceptions.h (gdb_setjmp.h): Include.
2910 (setjmp.h): Do not include.
2911 (EXCEPTIONS_SIGJMP_BUF): Delete.
2912 (EXCEPTIONS_SIGSETJMP): Likewise.
2913 (EXCEPTIONS_SIGLONGJMP): Likewise.
2914 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
2915 from gdb_setjmp.h.
2916 * exceptions.c: Likewise.
2917
2918 2014-08-29 Gary Benson <gbenson@redhat.com>
2919
2920 * cleanups.h: Moved to...
2921 * common/cleanups.h: New file.
2922 * cleanups.c: Moved to...
2923 * common/cleanups.c: New file. Include common-defs.h and
2924 cleanups.h. Do not include defs.h.
2925 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
2926 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
2927 (cleanups.o): New rule.
2928
2929 2014-08-29 Gary Benson <gbenson@redhat.com>
2930
2931 * common/errors.h (internal_warning): New declaration.
2932 (internal_vwarning): Likewise.
2933 * common/errors.c (internal_warning): New function.
2934 * utils.h (internal_warning): Don't declare.
2935 (internal_vwarning): Likewise.
2936 * utils.c (internal_warning): Removed.
2937
2938 2014-08-29 Gary Benson <gbenson@redhat.com>
2939
2940 * main.c (captured_main): Use warning during startup.
2941 Prefix startup warning messages with command name.
2942
2943 2014-08-29 Gary Benson <gbenson@redhat.com>
2944
2945 * main.c (captured_main): Handle usage errors with error.
2946
2947 2014-08-29 Gary Benson <gbenson@redhat.com>
2948
2949 * go32-nat.c (go32_create_inferior): Replace a fprintf/
2950 exit pair with a call to error. Wrap the message with _().
2951
2952 2014-08-29 Gary Benson <gbenson@redhat.com>
2953
2954 * main.c (captured_main): Replace a fprintf/exit
2955 pair with a call to error. Wrap the message with _().
2956
2957 2014-08-29 Gary Benson <gbenson@redhat.com>
2958
2959 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
2960 pairs with calls to error. Wrap the message with _().
2961
2962 2014-08-29 Gary Benson <gbenson@redhat.com>
2963
2964 * utils.c (vwarning): Protect calls to target_terminal_ours
2965 and wrap_here.
2966
2967 2014-08-29 Gary Benson <gbenson@redhat.com>
2968
2969 * exceptions.c (print_flush): Protect calls to
2970 target_terminal_ours and wrap_here.
2971
2972 2014-08-29 Gary Benson <gbenson@redhat.com>
2973
2974 * utils.h (filtered_printing_initialized): New declaration.
2975 * utils.c (abort_with_message): New function.
2976 (internal_vproblem): Use abort_with_message for first level
2977 recursive internal problems, and if gdb_stderr is not set up.
2978 Protect calls to target_terminal_ours, begin_line and query.
2979
2980 2014-08-28 Doug Evans <dje@google.com>
2981
2982 * symtab.c (in_prologue): Move definition to better spot.
2983 (skip_prologue_using_sal): Ditto.
2984
2985 2014-08-28 Doug Evans <dje@google.com>
2986
2987 * symtab.c (find_function_start_sal): Move definition to better spot.
2988
2989 2014-08-28 Yao Qi <yao@codesourcery.com>
2990
2991 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
2992 found_stack_adjust in forward scan. Remove condition check
2993 on found_stack_adjust which is always true. Indent the code.
2994
2995 2014-08-28 Yao Qi <yao@codesourcery.com>
2996
2997 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2998 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
2999 (dwarf_decode_lines): Remove argument
3000 want_line_info. Remove condition check on want_line_info.
3001 Callers update.
3002
3003 2014-08-27 Doug Evans <dje@google.com>
3004
3005 * dwarf2read.c (dwarf_record_line): Fix typo.
3006
3007 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
3008
3009 * target.h (struct target_ops::to_terminal_save_ours): Remove
3010 declaration.
3011 (target_terminal_save_ours): Remove macro.
3012 * target-delegates.c: Regenerate.
3013 * inf-child.c (inf_child_target): Don't set the nonexistent
3014 field to_terminal_save_ours.
3015 * inferior.h (child_terminal_save_ours): Remove declaration.
3016 * terminal.h (gdb_save_tty_state): New declaration.
3017 * inflow.c (child_terminal_save_ours): Rename to ...
3018 (gdb_save_tty_state): ... this.
3019 * tui/tui.c: Include terminal.h.
3020 (tui_enable): Use gdb_save_tty_state instead of
3021 target_terminal_save_ours.
3022 (tui_disable): Likewise.
3023
3024 2014-08-25 Doug Evans <dje@google.com>
3025
3026 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
3027 Pass NULL instead of 0 for context pointer.
3028
3029 2014-08-25 Yao Qi <yao@codesourcery.com>
3030
3031 * dwarf2read.c: Fix grammatical error.
3032
3033 2014-08-24 Yao Qi <yao@codesourcery.com>
3034
3035 * dwarf2read.c (scan_partial_symbols): Update comments.
3036 Rename argument 'need_pc' with 'set_addrmap'.
3037 (add_partial_namespace): Rename argument 'need_pc' with
3038 'set_addrmap'.
3039 (add_partial_module): Likewise.
3040 (add_partial_subprogram): Likewise. Update comments.
3041 (dwarf2_name): Fix typo.
3042
3043 2014-08-22 Doug Evans <dje@google.com>
3044
3045 PR 17276
3046 * dwarf2read.c (dwarf_record_line_p): New function.
3047 (dwarf_decode_lines_1): Ignore subsequent line number entries
3048 for the same line if any entry had a non-zero discriminator.
3049
3050 2014-08-22 Doug Evans <dje@google.com>
3051
3052 * buildsym.h (record_line_ftype): New typedef.
3053 (record_line): Use it.
3054 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
3055 (dwarf_decode_lines_1): Call them.
3056
3057 2014-08-22 Yao Qi <yao@codesourcery.com>
3058
3059 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
3060 (ctf_end): Remove code.
3061
3062 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3063
3064 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
3065 (linux_make_corefile_notes): call update_thread_list, protected against
3066 exceptions.
3067
3068 2014-08-21 Pedro Alves <palves@redhat.com>
3069
3070 * infcmd.c (attach_command): Remove comment.
3071
3072 2014-08-21 Bin Cheng <bin.cheng@arm.com>
3073
3074 * aarch64-linux-nat.c (dr_changed_t): Change the type from
3075 unsigned LONGEST to ULONGEST.
3076
3077 2014-08-20 Pedro Alves <palves@redhat.com>
3078
3079 * Makefile.in (check-read1): New rule.
3080
3081 2014-08-20 Joel Brobecker <brobecker@adacore.com>
3082
3083 * value.c (value_from_contents_and_address): Strip resolved_type's
3084 typedef layers before checking its TYPE_DATA_LOCATION.
3085
3086 2014-08-20 Pedro Alves <palves@redhat.com>
3087
3088 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
3089
3090 2014-08-20 Yao Qi <yao@codesourcery.com>
3091
3092 * amd64-tdep.c (amd64_classify): Add a blank line after the
3093 example. Move "*/" to a new line.
3094 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
3095 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
3096 * dwarf2read.c (psymtab_include_file_name): Likewise.
3097
3098 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
3099 Pedro Alves <palves@redhat.com>
3100
3101 PR symtab/14604
3102 PR symtab/14605
3103 * ada-lang.c (coerce_unspec_val_to_type): Use
3104 value_contents_copy_raw.
3105 * ada-valprint.c (val_print_packed_array_elements): Adjust.
3106 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
3107 * cp-valprint.c (cp_print_value_fields): Let the common printing
3108 code handle optimized out values.
3109 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
3110 * d-valprint.c (dynamic_array_type): Use
3111 value_bits_any_optimized_out.
3112 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
3113 check_any_valid fields.
3114 (check_pieced_value_bits): Delete and inline ...
3115 (check_pieced_synthetic_pointer): ... here.
3116 (check_pieced_value_validity): Delete.
3117 (check_pieced_value_invalid): Delete.
3118 (pieced_value_funcs): Remove check_validity and check_any_valid
3119 fields.
3120 (read_pieced_value): Use mark_value_bits_optimized_out.
3121 (write_pieced_value): Switch to use
3122 mark_value_bytes_optimized_out.
3123 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
3124 of assuming the whole value is optimized out.
3125 * findvar.c (read_frame_register_value): Remove special handling
3126 of optimized out registers.
3127 (value_from_register): Use mark_value_bytes_optimized_out.
3128 * frame-unwind.c (frame_unwind_got_optimized): Use
3129 mark_value_bytes_optimized_out.
3130 * jv-valprint.c (java_value_print): Adjust.
3131 (java_print_value_fields): Let the common printing code handle
3132 optimized out values.
3133 * mips-tdep.c (mips_print_register): Remove special handling of
3134 optimized out registers.
3135 * opencl-lang.c (lval_func_check_validity): Delete.
3136 (lval_func_check_any_valid): Delete.
3137 (opencl_value_funcs): Remove check_validity and check_any_valid
3138 fields.
3139 * p-valprint.c (pascal_object_print_value_fields): Let the common
3140 printing code handle optimized out values.
3141 * stack.c (read_frame_arg): Remove special handling of optimized
3142 out values. Fetch both VAL and ENTRYVAL before comparing
3143 contents. Adjust to value_available_contents_eq rename.
3144 * valprint.c (valprint_check_validity)
3145 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
3146 (val_print_array_elements): Adjust.
3147 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
3148 (value_bits_any_optimized_out): New function.
3149 (value_entirely_covered_by_range_vector): New function, factored
3150 out from value_entirely_unavailable.
3151 (value_entirely_unavailable): Reimplement.
3152 (value_entirely_optimized_out): New function.
3153 (insert_into_bit_range_vector): New function, factored out from
3154 mark_value_bits_unavailable.
3155 (mark_value_bits_unavailable): Reimplement.
3156 (struct ranges_and_idx): New struct.
3157 (find_first_range_overlap_and_match): New function, factored out
3158 from value_available_contents_bits_eq.
3159 (value_available_contents_bits_eq): Rename to ...
3160 (value_contents_bits_eq): ... this. Check both unavailable
3161 contents and optimized out contents.
3162 (value_available_contents_eq): Rename to ...
3163 (value_contents_eq): ... this.
3164 (allocate_value_lazy): Remove reference to the old optimized_out
3165 boolean.
3166 (allocate_optimized_out_value): Use
3167 mark_value_bytes_optimized_out.
3168 (require_not_optimized_out): Adjust to check whether the
3169 optimized_out vec is empty.
3170 (ranges_copy_adjusted): New function, factored out from
3171 value_contents_copy_raw.
3172 (value_contents_copy_raw): Also copy the optimized out ranges.
3173 Assert the destination ranges aren't optimized out.
3174 (value_contents_copy): Update comment, remove call to
3175 require_not_optimized_out.
3176 (value_contents_equal): Adjust to check whether the optimized_out
3177 vec is empty.
3178 (set_value_optimized_out, value_optimized_out_const): Delete.
3179 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
3180 New functions.
3181 (value_entirely_optimized_out, value_bits_valid): Delete.
3182 (value_copy): Take a VEC copy of the 'optimized_out' field.
3183 (value_primitive_field): Remove special handling of optimized out.
3184 (value_fetch_lazy): Assert that lazy values have no unavailable
3185 regions. Use value_bits_any_optimized_out. Remove some special
3186 handling for optimized out values.
3187 * value.h: Add intro comment about <optimized out> and
3188 <unavailable>.
3189 (struct lval_funcs): Remove check_validity and check_any_valid
3190 fields.
3191 (set_value_optimized_out, value_optimized_out_const): Remove.
3192 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
3193 New declarations.
3194 (value_bits_any_optimized_out): New declaration.
3195 (value_bits_valid): Delete declaration.
3196 (value_available_contents_eq): Rename to ...
3197 (value_contents_eq): ... this, and extend comments.
3198
3199 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3200
3201 Fix -fsanitize=address on unreadable inferior strings.
3202 * valprint.c (val_print_string): Fix access before BUFFER.
3203
3204 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
3205
3206 * target.c (target_struct_size): Remove.
3207 (target_struct_allocsize): Remove.
3208 (DEFAULT_ALLOCSIZE): Remove.
3209 (target_ops_p): New typedef.
3210 (DEF_VEC_P (target_ops_p)): New vector type.
3211 (target_structs): Change type to VEC (target_ops_p).
3212 (add_target_with_completer): Replace "push" code by VEC_safe_push.
3213 (find_default_run_target): Rewrite for loop following changes to
3214 target_structs.
3215
3216 2014-08-19 Joel Brobecker <brobecker@adacore.com>
3217
3218 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
3219 Adjust code accordingly. Adjust function description comment.
3220
3221 2014-08-19 Yao Qi <yao@codesourcery.com>
3222
3223 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
3224 types.
3225
3226 2014-08-19 Alan Modra <amodra@gmail.com>
3227
3228 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
3229 * config.in: Regenerate.
3230 * configure: Regenerate.
3231
3232 2014-08-19 Tom Tromey <tromey@redhat.com>
3233 Gary Benson <gbenson@redhat.com>
3234
3235 * common/common-debug.h: New file.
3236 * common/common-debug.c: Likewise.
3237 * debug.c: Likewise.
3238 * Makefile.in (SFILES): Add common/common-debug.c.
3239 (HFILES_NO_SRCDIR): Add common/common-debug.h.
3240 (COMMON_OBS): Add common-debug.o and debug.o.
3241 (common-debug.o): New rule.
3242 * common/common-defs.h: Include common-debug.h.
3243 * common/agent.c (debug_agent_printf): New function.
3244 (DEBUG_AGENT): Redefine.
3245 * nat/i386-dregs.c (debug_printf): Undefine.
3246
3247 2014-08-19 Gary Benson <gbenson@redhat.com>
3248
3249 * common/common-defs.h: Include print-utils.h.
3250 * utils.h: Do not include print-utils.h.
3251
3252 2014-08-19 Tom Tromey <tromey@redhat.com>
3253 Gary Benson <gbenson@redhat.com>
3254
3255 * common/common-types.h: New file.
3256 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
3257 * common/common-defs.h: Include common-types.h.
3258 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
3259 (ULONGEST): Remove.
3260
3261 2014-08-19 Tom Tromey <tromey@redhat.com>
3262 Gary Benson <gbenson@redhat.com>
3263
3264 * common/errors.h: New file.
3265 * common/errors.c: Likewise.
3266 * Makefile.in (SFILES): Add common/errors.c.
3267 (HFILES_NO_SRCDIR): Add common/errors.h.
3268 (COMMON_OBS): Add errors.o.
3269 (errors.o): New rule.
3270 * common/common-defs.h: Include errors.h.
3271 * utils.h (perror_with_name, error, verror, warning, vwarning):
3272 Don't declare.
3273 * common/common-utils.h: (malloc_failure, internal_error):
3274 Likewise.
3275
3276 2014-08-19 Gary Benson <gbenson@redhat.com>
3277
3278 * utils.c (internal_vproblem): Always print the message.
3279
3280 2014-08-18 Doug Evans <dje@google.com>
3281
3282 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
3283
3284 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3285
3286 * ada-typeprint.c (type_is_full_subrange_of_target_type):
3287 Return 0 if TYPE is dynamic.
3288 (print_range): Add handling of dynamic ranges.
3289
3290 2014-08-18 Keven Boell <keven.boell@intel.com>
3291 Joel Brobecker <brobecker@adacore.com>
3292
3293 * gdbtypes.h (struct main_type): Add field "data_location".
3294 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
3295 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
3296 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
3297 a dynamic data location.
3298 (resolve_dynamic_type): Add DW_AT_data_location handling.
3299 (copy_recursive, copy_type): Copy the data_location information
3300 when present.
3301 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
3302 * value.c (value_from_contents_and_address): Add
3303 DW_AT_data_location handling.
3304
3305 2014-08-18 Keven Boell <keven.boell@intel.com>
3306 Joel Brobecker <brobecker@adacore.com>
3307
3308 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
3309 field "get_object_address".
3310 * dwarf2expr.c (execute_stack_op): Add handling for
3311 DW_OP_push_object_address.
3312 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
3313 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
3314 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
3315 (dwarf_expr_get_obj_addr): New function.
3316 (dwarf_expr_ctx_funcs): Add get_object_address field.
3317 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
3318 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
3319 (dwarf2_evaluate_property): Add parameter "address". Use it.
3320 (needs_get_obj_addr): New function.
3321 (needs_frame_ctx_funcs): Add get_object_address field.
3322 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
3323 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
3324 (resolve_dynamic_array): Likewise.
3325
3326 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3327
3328 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
3329 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
3330 fixed value for records and unions for which some GNAT encodings
3331 are present.
3332
3333 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3334
3335 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
3336 rewrite to avoid "else if" and "else" constructs. Should be
3337 a no-op in practice.
3338
3339 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3340
3341 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
3342 of lexical block.
3343
3344 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3345
3346 PR c++/17132
3347 * eval.c: Update all calls to find_overload_match.
3348 * valarith.c: Likewise.
3349 (value_user_defined_cpp_op, value_user_defined_op): New
3350 argument NOSIDE. Update all callers.
3351 * valops.c (find_overload_match): New argument NOSIDE.
3352 * value.h (find_overload_match): Update signature.
3353
3354 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3355
3356 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
3357 'items' methods instead of 'iteritems' method on dictionaries.
3358
3359 2014-08-15 Doug Evans <dje@google.com>
3360
3361 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
3362 closer to use.
3363
3364 2014-08-15 Doug Evans <dje@google.com>
3365
3366 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
3367
3368 2014-08-15 Doug Evans <dje@google.com>
3369
3370 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
3371
3372 2014-08-15 Doug Evans <dje@google.com>
3373
3374 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
3375 unused.
3376
3377 2014-08-15 Eli Zaretskii <eliz@gnu.org>
3378
3379 * dcache.h: Include target.h, to avoid compile time warnings.
3380
3381 2014-08-15 Joel Brobecker <brobecker@adacore.com>
3382
3383 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
3384 frame_info" partial declaration.
3385 * gdbarch.h: Regenerate.
3386
3387 2014-08-15 Yao Qi <yao@codesourcery.com>
3388
3389 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
3390 Add parameter 'decode_for_pst_p'. Callers update.
3391
3392 2014-08-13 Yao Qi <yao@codesourcery.com>
3393
3394 PR build/17104
3395 * configure.ac: Use local variable 'pos'.
3396 * configure: Regenerated.
3397
3398 2014-08-11 Doug Evans <dje@google.com>
3399
3400 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
3401 message, it is redundant with "Reading symbols from ..." message.
3402
3403 2014-08-10 Doug Evans <xdje42@gmail.com>
3404
3405 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
3406
3407 2014-08-09 Yao Qi <yao@codesourcery.com>
3408
3409 PR remote/9053
3410 * remote.c (remote_xfer_partial): Remove dead code.
3411
3412 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3413
3414 * ia64-linux-tdep.c: Include "regset.h".
3415 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
3416 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
3417 (ia64_linux_supply_fpregset): New function.
3418 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
3419 (ia64_linux_regset_from_core_section): New function.
3420 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
3421 method.
3422
3423 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3424
3425 * m68klinux-tdep.c: Include "regset.h".
3426 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
3427 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
3428 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
3429 (m68k_linux_regset_from_core_section): New function.
3430 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
3431 method.
3432
3433 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3434
3435 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
3436 function. Move logic to...
3437 (tilegx_linux_regmap): ... this new register map.
3438 (tilegx_linux_regset): Refer to register map, replace supply
3439 method by regcache_supply_regset, and add collect method.
3440 * tilegx-tdep.h (enum tilegx_regnum): New enum value
3441 TILEGX_FIRST_EASY_REGNUM.
3442
3443 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3444
3445 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
3446 that calls regcache_supply_regset and handles the EPC register
3447 separately. Move main logic to...
3448 (score7_linux_gregmap): ... this new register map.
3449 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
3450 (score7_linux_gregset): Refer to register map. Add collect method.
3451 (score7_linux_regset_from_core_section): Replace
3452 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
3453 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
3454 (struct regset): Delete unused forward declaraction.
3455 (struct pt_regs): Delete structure definition.
3456 (elf_gregset_t): Delete typedef.
3457
3458 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3459
3460 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
3461 (nios2_core_regset): Add collect method.
3462
3463 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3464
3465 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
3466 platform-independent and don't write to read-only input buffer.
3467 (m32r_linux_collect_gregset): New function.
3468 (m32r_linux_gregset): Add collect method.
3469
3470 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3471
3472 * hppa-linux-tdep.c (greg_map): Rename to...
3473 (hppa_linux_gregmap): ... this. Also convert to
3474 regcache_map_entry format.
3475 (hppa_linux_supply_regset): Delete function.
3476 (hppa_linux_supply_fpregset): Delete function. Move logic to...
3477 (hppa_linux_fpregmap): ... this new register map.
3478 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
3479 register map, replace supply method by regcache_supply_regset, and
3480 add collect method regcache_collect_regset.
3481
3482 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3483
3484 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
3485 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
3486 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
3487 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
3488 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
3489 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
3490 (frv_linux_supply_gregset): Replace main logic by call to
3491 regcache_supply_regset, but keep clearing gr32-gr63.
3492 (frv_linux_supply_fpregset): Delete function.
3493 (frv_linux_gregset): Refer to appropriate register map and add
3494 regcache_collect_regset as the collect method.
3495 (frv_linux_fpregset): Likewise. Also exchange the supply method
3496 by regcache_supply_regset.
3497
3498 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3499
3500 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
3501 by call to alpha_supply_int_regs.
3502 (alpha_linux_collect_gregset): New function.
3503 (alpha_linux_supply_fpregset): Replace logic by call to
3504 alpha_supply_fp_regs.
3505 (alpha_linux_collect_fpregset): New function.
3506 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
3507
3508 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3509
3510 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
3511 by call to regcache_collect_regset.
3512 (supply_gregset, supply_fpregset): Call regcache_supply_regset
3513 instead of aarch64_linux_supply_gregset/_fpregset.
3514 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
3515 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
3516 header file instead.
3517 (aarch64_linux_supply_gregset, supply_gregset_from_core)
3518 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
3519 functions. Move logic to ...
3520 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
3521 register maps.
3522 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
3523 refer to new register maps, replace *_regset_from_core by
3524 regcache_supply_regset, and also use regcache_collect_regset.
3525 * aarch64-linux-tdep.h: Include "regset.h".
3526 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
3527 Delete prototypes.
3528 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
3529 macros, moved from C source file.
3530 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
3531 variable declarations.
3532
3533 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3534
3535 * s390-linux-nat.c: Include "regset.h".
3536 (regmap_gregset): Delete macro.
3537 (s390_64_regmap_gregset): New register map for
3538 regcache_supply/_collect_regset.
3539 (s390_64_gregset): New regset.
3540 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
3541 (regmap_fpregset): Delete macro.
3542 (s390_native_supply, s390_native_collect): Delete functions.
3543 (supply_gregset, fill_gregset): Replace s390-specific regmap
3544 handling by a call to regcache_supply/_collect_regset.
3545 (supply_fpregset, fill_fpregset): Call regcache_supply/
3546 _collect_regset instead of s390_native_supply/_collect.
3547 (fetch_regset, store_regset): Likewise. Also change the last
3548 parameter to a regset instead of a regmap.
3549 (s390_linux_fetch_inferior_registers)
3550 (390_linux_store_inferior_registers): Adjust last parameter in
3551 calls to fetch_regset and store_regset.
3552 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3553 (s390_gregmap): ... this. Also make static const and convert to
3554 regcache_map_entry format.
3555 (s390x_regmap_gregset): Delete.
3556 (s390_regmap_fpregset): Rename to...
3557 (s390_fpregmap): ... this. Make static const and convert to
3558 regcache_map_entry format.
3559 (s390_regmap_upper, s390_regmap_last_break)
3560 (s390x_regmap_last_break, s390_regmap_system_call)
3561 (s390_regmap_tdb): Likewise.
3562 (s390_supply_regset, s390_collect_regset): Remove functions.
3563 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3564 s390_supply_regset.
3565 (s390_gregset, s390_fpregset, s390_upper_regset)
3566 (s390_last_break_regset, s390x_last_break_regset)
3567 (s390_system_call_regset, s390_tdb_regset): Make global and
3568 replace s390_supply/_collect_regset by regcache_supply/
3569 _collect_regset.
3570 (s390x_gregset): Delete.
3571 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3572 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3573 (s390_regmap_fpregset, s390_regmap_last_break)
3574 (s390x_regmap_last_break, s390_regmap_system_call)
3575 (s390_regmap_tdb): Delete global variable declarations.
3576 (s390_gregset, s390_fpregset, s390_last_break_regset)
3577 (s390x_last_break_regset, s390_system_call_regset)
3578 (s390_tdb_regset): New global variable declarations.
3579
3580 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3581
3582 * regcache.c: Include "regset.h".
3583 (regcache_transfer_regset): New local function.
3584 (regcache_supply_regset, regcache_collect_regset): New functions.
3585 * regcache.h (struct regcache_map_entry): New structure.
3586 (REGCACHE_MAP_SKIP): New enum value.
3587 (regcache_supply_regset, regcache_collect_regset): New prototypes.
3588
3589 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3590
3591 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3592 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3593 (ppc_linux_collect_gregset ): Likewise.
3594 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3595 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3596 (ppc_collect_vrregset): Likewise.
3597 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3598 Likewise.
3599
3600 2014-08-07 Yao Qi <yao@codesourcery.com>
3601
3602 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
3603 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
3604 * remote.c (remote_read_bytes): Likewise.
3605
3606 2014-08-07 Yao Qi <yao@codesourcery.com>
3607
3608 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
3609
3610 2014-08-07 Yao Qi <yao@codesourcery.com>
3611
3612 PR remote/17230
3613 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
3614 TARGET_XFER_OK instead of 0.
3615
3616 2014-08-07 Gary Benson <gbenson@redhat.com>
3617
3618 * common/common-defs.h: Include errno.h.
3619 * defs.h: Do not include errno.h.
3620 * ada-typeprint.c: Likewise.
3621 * c-typeprint.c: Likewise.
3622 * core-regset.c: Likewise.
3623 * corefile.c: Likewise.
3624 * corelow.c: Likewise.
3625 * event-loop.c: Likewise.
3626 * f-typeprint.c: Likewise.
3627 * gnu-nat.c: Likewise.
3628 * go32-nat.c: Likewise.
3629 * i386gnu-nat.c: Likewise.
3630 * m2-typeprint.c: Likewise.
3631 * nat/linux-btrace.c: Likewise.
3632 * p-typeprint.c: Likewise.
3633 * procfs.c: Likewise.
3634 * remote-sim.c: Likewise.
3635 * rs6000-nat.c: Likewise.
3636 * target.c: Likewise.
3637 * typeprint.c: Likewise.
3638 * ui-file.c: Likewise.
3639 * valops.c: Likewise.
3640 * valprint.c: Likewise.
3641
3642 2014-08-07 Gary Benson <gbenson@redhat.com>
3643
3644 * common/common-defs.h: Include string.h.
3645 * aarch64-tdep.c: Do not include string.h.
3646 * ada-exp.y: Likewise.
3647 * ada-lang.c: Likewise.
3648 * ada-lex.l: Likewise.
3649 * ada-typeprint.c: Likewise.
3650 * ada-valprint.c: Likewise.
3651 * aix-thread.c: Likewise.
3652 * alpha-linux-tdep.c: Likewise.
3653 * alpha-mdebug-tdep.c: Likewise.
3654 * alpha-nat.c: Likewise.
3655 * alpha-osf1-tdep.c: Likewise.
3656 * alpha-tdep.c: Likewise.
3657 * alphanbsd-tdep.c: Likewise.
3658 * amd64-dicos-tdep.c: Likewise.
3659 * amd64-linux-tdep.c: Likewise.
3660 * amd64-nat.c: Likewise.
3661 * amd64-sol2-tdep.c: Likewise.
3662 * amd64fbsd-tdep.c: Likewise.
3663 * amd64obsd-tdep.c: Likewise.
3664 * arch-utils.c: Likewise.
3665 * arm-linux-nat.c: Likewise.
3666 * arm-linux-tdep.c: Likewise.
3667 * arm-tdep.c: Likewise.
3668 * arm-wince-tdep.c: Likewise.
3669 * armbsd-tdep.c: Likewise.
3670 * armnbsd-nat.c: Likewise.
3671 * armnbsd-tdep.c: Likewise.
3672 * armobsd-tdep.c: Likewise.
3673 * avr-tdep.c: Likewise.
3674 * ax-gdb.c: Likewise.
3675 * ax-general.c: Likewise.
3676 * bcache.c: Likewise.
3677 * bfin-tdep.c: Likewise.
3678 * breakpoint.c: Likewise.
3679 * build-id.c: Likewise.
3680 * buildsym.c: Likewise.
3681 * c-exp.y: Likewise.
3682 * c-lang.c: Likewise.
3683 * c-typeprint.c: Likewise.
3684 * c-valprint.c: Likewise.
3685 * charset.c: Likewise.
3686 * cli-out.c: Likewise.
3687 * cli/cli-cmds.c: Likewise.
3688 * cli/cli-decode.c: Likewise.
3689 * cli/cli-dump.c: Likewise.
3690 * cli/cli-interp.c: Likewise.
3691 * cli/cli-logging.c: Likewise.
3692 * cli/cli-script.c: Likewise.
3693 * cli/cli-setshow.c: Likewise.
3694 * cli/cli-utils.c: Likewise.
3695 * coffread.c: Likewise.
3696 * common/agent.c: Likewise.
3697 * common/buffer.c: Likewise.
3698 * common/buffer.h: Likewise.
3699 * common/common-utils.c: Likewise.
3700 * common/filestuff.c: Likewise.
3701 * common/filestuff.c: Likewise.
3702 * common/format.c: Likewise.
3703 * common/print-utils.c: Likewise.
3704 * common/rsp-low.c: Likewise.
3705 * common/signals.c: Likewise.
3706 * common/vec.h: Likewise.
3707 * common/xml-utils.c: Likewise.
3708 * core-regset.c: Likewise.
3709 * corefile.c: Likewise.
3710 * corelow.c: Likewise.
3711 * cp-abi.c: Likewise.
3712 * cp-name-parser.y: Likewise.
3713 * cp-support.c: Likewise.
3714 * cp-valprint.c: Likewise.
3715 * cris-tdep.c: Likewise.
3716 * d-exp.y: Likewise.
3717 * darwin-nat.c: Likewise.
3718 * dbxread.c: Likewise.
3719 * dcache.c: Likewise.
3720 * demangle.c: Likewise.
3721 * dicos-tdep.c: Likewise.
3722 * disasm.c: Likewise.
3723 * doublest.c: Likewise.
3724 * dsrec.c: Likewise.
3725 * dummy-frame.c: Likewise.
3726 * dwarf2-frame.c: Likewise.
3727 * dwarf2loc.c: Likewise.
3728 * dwarf2read.c: Likewise.
3729 * elfread.c: Likewise.
3730 * environ.c: Likewise.
3731 * eval.c: Likewise.
3732 * event-loop.c: Likewise.
3733 * exceptions.c: Likewise.
3734 * exec.c: Likewise.
3735 * expprint.c: Likewise.
3736 * f-exp.y: Likewise.
3737 * f-lang.c: Likewise.
3738 * f-typeprint.c: Likewise.
3739 * f-valprint.c: Likewise.
3740 * fbsd-nat.c: Likewise.
3741 * findcmd.c: Likewise.
3742 * findvar.c: Likewise.
3743 * fork-child.c: Likewise.
3744 * frame.c: Likewise.
3745 * frv-linux-tdep.c: Likewise.
3746 * frv-tdep.c: Likewise.
3747 * gdb.c: Likewise.
3748 * gdb_bfd.c: Likewise.
3749 * gdbarch.c: Likewise.
3750 * gdbarch.sh: Likewise.
3751 * gdbtypes.c: Likewise.
3752 * gnu-nat.c: Likewise.
3753 * gnu-v2-abi.c: Likewise.
3754 * gnu-v3-abi.c: Likewise.
3755 * go-exp.y: Likewise.
3756 * go-lang.c: Likewise.
3757 * go32-nat.c: Likewise.
3758 * guile/guile.c: Likewise.
3759 * guile/scm-auto-load.c: Likewise.
3760 * hppa-hpux-tdep.c: Likewise.
3761 * hppa-linux-nat.c: Likewise.
3762 * hppanbsd-tdep.c: Likewise.
3763 * hppaobsd-tdep.c: Likewise.
3764 * i386-cygwin-tdep.c: Likewise.
3765 * i386-dicos-tdep.c: Likewise.
3766 * i386-linux-tdep.c: Likewise.
3767 * i386-nto-tdep.c: Likewise.
3768 * i386-sol2-tdep.c: Likewise.
3769 * i386-tdep.c: Likewise.
3770 * i386bsd-tdep.c: Likewise.
3771 * i386gnu-nat.c: Likewise.
3772 * i386nbsd-tdep.c: Likewise.
3773 * i386obsd-tdep.c: Likewise.
3774 * i387-tdep.c: Likewise.
3775 * ia64-libunwind-tdep.c: Likewise.
3776 * ia64-linux-nat.c: Likewise.
3777 * inf-child.c: Likewise.
3778 * inf-ptrace.c: Likewise.
3779 * inf-ttrace.c: Likewise.
3780 * infcall.c: Likewise.
3781 * infcmd.c: Likewise.
3782 * inflow.c: Likewise.
3783 * infrun.c: Likewise.
3784 * interps.c: Likewise.
3785 * iq2000-tdep.c: Likewise.
3786 * irix5-nat.c: Likewise.
3787 * jv-exp.y: Likewise.
3788 * jv-lang.c: Likewise.
3789 * jv-typeprint.c: Likewise.
3790 * jv-valprint.c: Likewise.
3791 * language.c: Likewise.
3792 * linux-fork.c: Likewise.
3793 * linux-nat.c: Likewise.
3794 * lm32-tdep.c: Likewise.
3795 * m2-exp.y: Likewise.
3796 * m2-typeprint.c: Likewise.
3797 * m32c-tdep.c: Likewise.
3798 * m32r-linux-nat.c: Likewise.
3799 * m32r-linux-tdep.c: Likewise.
3800 * m32r-rom.c: Likewise.
3801 * m32r-tdep.c: Likewise.
3802 * m68hc11-tdep.c: Likewise.
3803 * m68k-tdep.c: Likewise.
3804 * m68kbsd-tdep.c: Likewise.
3805 * m68klinux-nat.c: Likewise.
3806 * m68klinux-tdep.c: Likewise.
3807 * m88k-tdep.c: Likewise.
3808 * machoread.c: Likewise.
3809 * macrocmd.c: Likewise.
3810 * main.c: Likewise.
3811 * mdebugread.c: Likewise.
3812 * mem-break.c: Likewise.
3813 * memattr.c: Likewise.
3814 * memory-map.c: Likewise.
3815 * mep-tdep.c: Likewise.
3816 * mi/mi-cmd-break.c: Likewise.
3817 * mi/mi-cmd-disas.c: Likewise.
3818 * mi/mi-cmd-env.c: Likewise.
3819 * mi/mi-cmd-stack.c: Likewise.
3820 * mi/mi-cmd-var.c: Likewise.
3821 * mi/mi-cmds.c: Likewise.
3822 * mi/mi-console.c: Likewise.
3823 * mi/mi-getopt.c: Likewise.
3824 * mi/mi-interp.c: Likewise.
3825 * mi/mi-main.c: Likewise.
3826 * mi/mi-parse.c: Likewise.
3827 * microblaze-rom.c: Likewise.
3828 * microblaze-tdep.c: Likewise.
3829 * mingw-hdep.c: Likewise.
3830 * minidebug.c: Likewise.
3831 * minsyms.c: Likewise.
3832 * mips-irix-tdep.c: Likewise.
3833 * mips-linux-tdep.c: Likewise.
3834 * mips-tdep.c: Likewise.
3835 * mips64obsd-tdep.c: Likewise.
3836 * mipsnbsd-tdep.c: Likewise.
3837 * mipsread.c: Likewise.
3838 * mn10300-linux-tdep.c: Likewise.
3839 * mn10300-tdep.c: Likewise.
3840 * monitor.c: Likewise.
3841 * moxie-tdep.c: Likewise.
3842 * mt-tdep.c: Likewise.
3843 * nat/linux-btrace.c: Likewise.
3844 * nat/linux-osdata.c: Likewise.
3845 * nat/linux-procfs.c: Likewise.
3846 * nat/linux-ptrace.c: Likewise.
3847 * nat/linux-waitpid.c: Likewise.
3848 * nbsd-tdep.c: Likewise.
3849 * nios2-linux-tdep.c: Likewise.
3850 * nto-procfs.c: Likewise.
3851 * nto-tdep.c: Likewise.
3852 * objc-lang.c: Likewise.
3853 * objfiles.c: Likewise.
3854 * opencl-lang.c: Likewise.
3855 * osabi.c: Likewise.
3856 * osdata.c: Likewise.
3857 * p-exp.y: Likewise.
3858 * p-lang.c: Likewise.
3859 * p-typeprint.c: Likewise.
3860 * parse.c: Likewise.
3861 * posix-hdep.c: Likewise.
3862 * ppc-linux-nat.c: Likewise.
3863 * ppc-sysv-tdep.c: Likewise.
3864 * ppcfbsd-tdep.c: Likewise.
3865 * ppcnbsd-tdep.c: Likewise.
3866 * ppcobsd-tdep.c: Likewise.
3867 * printcmd.c: Likewise.
3868 * procfs.c: Likewise.
3869 * prologue-value.c: Likewise.
3870 * python/py-auto-load.c: Likewise.
3871 * python/py-gdb-readline.c: Likewise.
3872 * ravenscar-thread.c: Likewise.
3873 * regcache.c: Likewise.
3874 * registry.c: Likewise.
3875 * remote-fileio.c: Likewise.
3876 * remote-m32r-sdi.c: Likewise.
3877 * remote-mips.c: Likewise.
3878 * remote-notif.c: Likewise.
3879 * remote-sim.c: Likewise.
3880 * remote.c: Likewise.
3881 * reverse.c: Likewise.
3882 * rs6000-aix-tdep.c: Likewise.
3883 * ser-base.c: Likewise.
3884 * ser-go32.c: Likewise.
3885 * ser-mingw.c: Likewise.
3886 * ser-pipe.c: Likewise.
3887 * ser-tcp.c: Likewise.
3888 * ser-unix.c: Likewise.
3889 * serial.c: Likewise.
3890 * sh-tdep.c: Likewise.
3891 * sh64-tdep.c: Likewise.
3892 * shnbsd-tdep.c: Likewise.
3893 * skip.c: Likewise.
3894 * sol-thread.c: Likewise.
3895 * solib-dsbt.c: Likewise.
3896 * solib-frv.c: Likewise.
3897 * solib-osf.c: Likewise.
3898 * solib-som.c: Likewise.
3899 * solib-spu.c: Likewise.
3900 * solib-target.c: Likewise.
3901 * solib.c: Likewise.
3902 * somread.c: Likewise.
3903 * source.c: Likewise.
3904 * sparc-nat.c: Likewise.
3905 * sparc-sol2-tdep.c: Likewise.
3906 * sparc-tdep.c: Likewise.
3907 * sparc64-tdep.c: Likewise.
3908 * sparc64fbsd-tdep.c: Likewise.
3909 * sparc64nbsd-tdep.c: Likewise.
3910 * sparcnbsd-tdep.c: Likewise.
3911 * spu-linux-nat.c: Likewise.
3912 * spu-multiarch.c: Likewise.
3913 * spu-tdep.c: Likewise.
3914 * stabsread.c: Likewise.
3915 * stack.c: Likewise.
3916 * std-regs.c: Likewise.
3917 * symfile.c: Likewise.
3918 * symmisc.c: Likewise.
3919 * symtab.c: Likewise.
3920 * target.c: Likewise.
3921 * thread.c: Likewise.
3922 * tilegx-linux-nat.c: Likewise.
3923 * tilegx-tdep.c: Likewise.
3924 * top.c: Likewise.
3925 * tracepoint.c: Likewise.
3926 * tui/tui-command.c: Likewise.
3927 * tui/tui-data.c: Likewise.
3928 * tui/tui-disasm.c: Likewise.
3929 * tui/tui-file.c: Likewise.
3930 * tui/tui-layout.c: Likewise.
3931 * tui/tui-out.c: Likewise.
3932 * tui/tui-regs.c: Likewise.
3933 * tui/tui-source.c: Likewise.
3934 * tui/tui-stack.c: Likewise.
3935 * tui/tui-win.c: Likewise.
3936 * tui/tui-windata.c: Likewise.
3937 * tui/tui-winsource.c: Likewise.
3938 * typeprint.c: Likewise.
3939 * ui-file.c: Likewise.
3940 * ui-out.c: Likewise.
3941 * user-regs.c: Likewise.
3942 * utils.c: Likewise.
3943 * v850-tdep.c: Likewise.
3944 * valarith.c: Likewise.
3945 * valops.c: Likewise.
3946 * valprint.c: Likewise.
3947 * value.c: Likewise.
3948 * varobj.c: Likewise.
3949 * vax-tdep.c: Likewise.
3950 * vaxnbsd-tdep.c: Likewise.
3951 * vaxobsd-tdep.c: Likewise.
3952 * windows-nat.c: Likewise.
3953 * xcoffread.c: Likewise.
3954 * xml-support.c: Likewise.
3955 * xstormy16-tdep.c: Likewise.
3956 * xtensa-linux-nat.c: Likewise.
3957
3958 2014-08-07 Gary Benson <gbenson@redhat.com>
3959
3960 * common/common-defs.h: Include gdb_assert.h.
3961 * aarch64-tdep.c: Do not include gdb_assert.h.
3962 * addrmap.c: Likewise.
3963 * aix-thread.c: Likewise.
3964 * alpha-linux-tdep.c: Likewise.
3965 * alpha-mdebug-tdep.c: Likewise.
3966 * alphanbsd-tdep.c: Likewise.
3967 * amd64-nat.c: Likewise.
3968 * amd64-tdep.c: Likewise.
3969 * amd64bsd-nat.c: Likewise.
3970 * amd64fbsd-nat.c: Likewise.
3971 * amd64fbsd-tdep.c: Likewise.
3972 * amd64nbsd-nat.c: Likewise.
3973 * amd64nbsd-tdep.c: Likewise.
3974 * amd64obsd-nat.c: Likewise.
3975 * amd64obsd-tdep.c: Likewise.
3976 * arch-utils.c: Likewise.
3977 * arm-tdep.c: Likewise.
3978 * armbsd-tdep.c: Likewise.
3979 * auxv.c: Likewise.
3980 * bcache.c: Likewise.
3981 * bfin-tdep.c: Likewise.
3982 * blockframe.c: Likewise.
3983 * breakpoint.c: Likewise.
3984 * bsd-kvm.c: Likewise.
3985 * bsd-uthread.c: Likewise.
3986 * buildsym.c: Likewise.
3987 * c-exp.y: Likewise.
3988 * c-lang.c: Likewise.
3989 * charset.c: Likewise.
3990 * cleanups.c: Likewise.
3991 * cli-out.c: Likewise.
3992 * cli/cli-decode.c: Likewise.
3993 * cli/cli-dump.c: Likewise.
3994 * cli/cli-logging.c: Likewise.
3995 * cli/cli-script.c: Likewise.
3996 * cli/cli-utils.c: Likewise.
3997 * coffread.c: Likewise.
3998 * common/common-utils.c: Likewise.
3999 * common/queue.h: Likewise.
4000 * common/signals.c: Likewise.
4001 * common/vec.h: Likewise.
4002 * complaints.c: Likewise.
4003 * completer.c: Likewise.
4004 * corelow.c: Likewise.
4005 * cp-abi.c: Likewise.
4006 * cp-name-parser.y: Likewise.
4007 * cp-namespace.c: Likewise.
4008 * cp-support.c: Likewise.
4009 * cris-tdep.c: Likewise.
4010 * dbxread.c: Likewise.
4011 * dictionary.c: Likewise.
4012 * doublest.c: Likewise.
4013 * dsrec.c: Likewise.
4014 * dummy-frame.c: Likewise.
4015 * dwarf2-frame-tailcall.c: Likewise.
4016 * dwarf2-frame.c: Likewise.
4017 * dwarf2expr.c: Likewise.
4018 * dwarf2loc.c: Likewise.
4019 * dwarf2read.c: Likewise.
4020 * eval.c: Likewise.
4021 * event-loop.c: Likewise.
4022 * exceptions.c: Likewise.
4023 * expprint.c: Likewise.
4024 * f-valprint.c: Likewise.
4025 * fbsd-nat.c: Likewise.
4026 * findvar.c: Likewise.
4027 * frame-unwind.c: Likewise.
4028 * frame.c: Likewise.
4029 * frv-tdep.c: Likewise.
4030 * gcore.c: Likewise.
4031 * gdb-dlfcn.c: Likewise.
4032 * gdb_bfd.c: Likewise.
4033 * gdbarch.c: Likewise.
4034 * gdbarch.sh: Likewise.
4035 * gdbtypes.c: Likewise.
4036 * gnu-nat.c: Likewise.
4037 * gnu-v3-abi.c: Likewise.
4038 * go-lang.c: Likewise.
4039 * guile/scm-exception.c: Likewise.
4040 * guile/scm-gsmob.c: Likewise.
4041 * guile/scm-lazy-string.c: Likewise.
4042 * guile/scm-math.c: Likewise.
4043 * guile/scm-pretty-print.c: Likewise.
4044 * guile/scm-safe-call.c: Likewise.
4045 * guile/scm-utils.c: Likewise.
4046 * guile/scm-value.c: Likewise.
4047 * h8300-tdep.c: Likewise.
4048 * hppa-hpux-nat.c: Likewise.
4049 * hppa-tdep.c: Likewise.
4050 * hppanbsd-tdep.c: Likewise.
4051 * hppaobsd-tdep.c: Likewise.
4052 * i386-darwin-nat.c: Likewise.
4053 * i386-darwin-tdep.c: Likewise.
4054 * i386-nto-tdep.c: Likewise.
4055 * i386-tdep.c: Likewise.
4056 * i386bsd-nat.c: Likewise.
4057 * i386fbsd-tdep.c: Likewise.
4058 * i386gnu-nat.c: Likewise.
4059 * i386nbsd-tdep.c: Likewise.
4060 * i386obsd-tdep.c: Likewise.
4061 * i387-tdep.c: Likewise.
4062 * ia64-libunwind-tdep.c: Likewise.
4063 * ia64-tdep.c: Likewise.
4064 * inf-ptrace.c: Likewise.
4065 * inf-ttrace.c: Likewise.
4066 * infcall.c: Likewise.
4067 * infcmd.c: Likewise.
4068 * infrun.c: Likewise.
4069 * inline-frame.c: Likewise.
4070 * interps.c: Likewise.
4071 * jv-lang.c: Likewise.
4072 * jv-typeprint.c: Likewise.
4073 * linux-fork.c: Likewise.
4074 * linux-nat.c: Likewise.
4075 * linux-thread-db.c: Likewise.
4076 * m32c-tdep.c: Likewise.
4077 * m32r-linux-nat.c: Likewise.
4078 * m32r-tdep.c: Likewise.
4079 * m68k-tdep.c: Likewise.
4080 * m68kbsd-nat.c: Likewise.
4081 * m68kbsd-tdep.c: Likewise.
4082 * m88k-tdep.c: Likewise.
4083 * machoread.c: Likewise.
4084 * macroexp.c: Likewise.
4085 * macrotab.c: Likewise.
4086 * maint.c: Likewise.
4087 * mdebugread.c: Likewise.
4088 * memory-map.c: Likewise.
4089 * mep-tdep.c: Likewise.
4090 * mi/mi-common.c: Likewise.
4091 * microblaze-tdep.c: Likewise.
4092 * mingw-hdep.c: Likewise.
4093 * mips-linux-nat.c: Likewise.
4094 * mips-linux-tdep.c: Likewise.
4095 * mips-tdep.c: Likewise.
4096 * mips64obsd-tdep.c: Likewise.
4097 * mipsnbsd-tdep.c: Likewise.
4098 * mn10300-linux-tdep.c: Likewise.
4099 * mn10300-tdep.c: Likewise.
4100 * moxie-tdep.c: Likewise.
4101 * mt-tdep.c: Likewise.
4102 * nat/linux-btrace.c: Likewise.
4103 * nat/linux-osdata.c: Likewise.
4104 * nat/linux-ptrace.c: Likewise.
4105 * nat/mips-linux-watch.c: Likewise.
4106 * nios2-linux-tdep.c: Likewise.
4107 * nios2-tdep.c: Likewise.
4108 * objc-lang.c: Likewise.
4109 * objfiles.c: Likewise.
4110 * obsd-nat.c: Likewise.
4111 * opencl-lang.c: Likewise.
4112 * osabi.c: Likewise.
4113 * parse.c: Likewise.
4114 * ppc-linux-nat.c: Likewise.
4115 * ppc-sysv-tdep.c: Likewise.
4116 * ppcfbsd-nat.c: Likewise.
4117 * ppcfbsd-tdep.c: Likewise.
4118 * ppcnbsd-nat.c: Likewise.
4119 * ppcnbsd-tdep.c: Likewise.
4120 * ppcobsd-nat.c: Likewise.
4121 * ppcobsd-tdep.c: Likewise.
4122 * printcmd.c: Likewise.
4123 * procfs.c: Likewise.
4124 * prologue-value.c: Likewise.
4125 * psymtab.c: Likewise.
4126 * python/py-lazy-string.c: Likewise.
4127 * python/py-value.c: Likewise.
4128 * regcache.c: Likewise.
4129 * reggroups.c: Likewise.
4130 * registry.c: Likewise.
4131 * remote-sim.c: Likewise.
4132 * remote.c: Likewise.
4133 * rs6000-aix-tdep.c: Likewise.
4134 * rs6000-tdep.c: Likewise.
4135 * s390-linux-tdep.c: Likewise.
4136 * score-tdep.c: Likewise.
4137 * ser-base.c: Likewise.
4138 * ser-mingw.c: Likewise.
4139 * sh-tdep.c: Likewise.
4140 * sh64-tdep.c: Likewise.
4141 * solib-darwin.c: Likewise.
4142 * solib-spu.c: Likewise.
4143 * solib-svr4.c: Likewise.
4144 * source.c: Likewise.
4145 * sparc-nat.c: Likewise.
4146 * sparc-sol2-tdep.c: Likewise.
4147 * sparc-tdep.c: Likewise.
4148 * sparc64-sol2-tdep.c: Likewise.
4149 * sparc64-tdep.c: Likewise.
4150 * sparc64fbsd-tdep.c: Likewise.
4151 * sparc64nbsd-tdep.c: Likewise.
4152 * sparc64obsd-tdep.c: Likewise.
4153 * sparcnbsd-tdep.c: Likewise.
4154 * sparcobsd-tdep.c: Likewise.
4155 * spu-multiarch.c: Likewise.
4156 * spu-tdep.c: Likewise.
4157 * stabsread.c: Likewise.
4158 * stack.c: Likewise.
4159 * symfile.c: Likewise.
4160 * symtab.c: Likewise.
4161 * target-descriptions.c: Likewise.
4162 * target-memory.c: Likewise.
4163 * target.c: Likewise.
4164 * tic6x-linux-tdep.c: Likewise.
4165 * tic6x-tdep.c: Likewise.
4166 * tilegx-linux-nat.c: Likewise.
4167 * tilegx-tdep.c: Likewise.
4168 * top.c: Likewise.
4169 * tramp-frame.c: Likewise.
4170 * tui/tui-out.c: Likewise.
4171 * tui/tui-winsource.c: Likewise.
4172 * ui-out.c: Likewise.
4173 * user-regs.c: Likewise.
4174 * utils.c: Likewise.
4175 * v850-tdep.c: Likewise.
4176 * valops.c: Likewise.
4177 * value.c: Likewise.
4178 * varobj.c: Likewise.
4179 * vax-nat.c: Likewise.
4180 * xml-syscall.c: Likewise.
4181 * xml-tdesc.c: Likewise.
4182 * xstormy16-tdep.c: Likewise.
4183 * xtensa-linux-nat.c: Likewise.
4184 * xtensa-tdep.c: Likewise.
4185
4186 2014-08-07 Gary Benson <gbenson@redhat.com>
4187
4188 * common/common-defs.h: Include common-utils.h.
4189 * defs.h: Do not include common-utils.h.
4190 * common/gdb_assert.h: Likewise.
4191 * darwin-nat.h: Likewise.
4192 * nat/linux-btrace.c: Likewise.
4193 * target/waitstatus.h: Likewise.
4194
4195 2014-08-07 Gary Benson <gbenson@redhat.com>
4196
4197 * common/common-defs.h: Include ptid.h.
4198 * defs.h: Do not include ptid.h.
4199 * inferior.h: Likewise.
4200 * infrun.h: Likewise.
4201 * nat/linux-btrace.h: Likewise.
4202 * nat/linux-osdata.h: Likewise.
4203 * target/waitstatus.h: Likewise.
4204
4205 2014-08-07 Gary Benson <gbenson@redhat.com>
4206
4207 * common/common-defs.h: Include gdb_locale.h.
4208 * defs.h: Do not include gdb_locale.h.
4209
4210 2014-08-07 Gary Benson <gbenson@redhat.com>
4211
4212 * common/common-defs.h: Include gdb/signals.h.
4213 * defs.h: Do not include gdb/signals.h.
4214
4215 2014-08-07 Gary Benson <gbenson@redhat.com>
4216
4217 * common/common-defs.h: Include pathmax.h.
4218 * defs.h: Do not include pathmax.h.
4219
4220 2014-08-07 Gary Benson <gbenson@redhat.com>
4221
4222 * common/common-defs.h: Include libiberty.h.
4223 * defs.h: Do not include libiberty.h.
4224 * common/queue.h: Likewise.
4225 * cp-name-parser.y: Likewise.
4226 * mi/mi-cmd-catch.c: Likewise.
4227 * python/python.c: Likewise.
4228
4229 2014-08-07 Gary Benson <gbenson@redhat.com>
4230
4231 * common/common-defs.h: Include ansidecl.h.
4232 * defs.h: Do not include ansidecl.h.
4233 * common/buffer.h: Likewise.
4234 * common/common-utils.h: Likewise.
4235
4236 2014-08-07 Gary Benson <gbenson@redhat.com>
4237
4238 * common/common-defs.h: Include stddef.h.
4239 * defs.h: Do not include stddef.h.
4240 * common/common-utils.h: Likewise.
4241 * amd64fbsd-nat.c: Likewise.
4242 * bcache.c: Likewise.
4243 * charset.c: Likewise.
4244 * common/buffer.h: Likewise.
4245 * common/vec.h: Likewise.
4246 * i386bsd-nat.c: Likewise.
4247 * nat/linux-btrace.h: Likewise.
4248 * ppcfbsd-nat.c: Likewise.
4249 * ppcnbsd-tdep.h: Likewise.
4250 * ppcobsd-nat.c: Likewise.
4251 * ppcobsd-tdep.h: Likewise.
4252 * python/py-gdb-readline.c: Likewise.
4253
4254 2014-08-07 Gary Benson <gbenson@redhat.com>
4255
4256 * common/common-defs.h: Include stdarg.h.
4257 * defs.h: Do not include stdarg.h.
4258 * ada-lang.c: Likewise.
4259 * common/common-utils.h: Likewise.
4260 * guile/scm-string.c: Likewise.
4261 * guile/scm-utils.c: Likewise.
4262 * m32c-tdep.c: Likewise.
4263
4264 2014-08-07 Gary Benson <gbenson@redhat.com>
4265
4266 * common/common-defs.h: Include stdlib.h.
4267 * defs.h: Do not include stdlib.h.
4268 * addrmap.c: Likewise.
4269 * bcache.c: Likewise.
4270 * common/buffer.c: Likewise.
4271 * common/common-utils.c: Likewise.
4272 * cp-name-parser.y: Likewise.
4273 * go32-nat.c: Likewise.
4274 * mn10300-linux-tdep.c: Likewise.
4275 * nat/linux-osdata.c: Likewise.
4276 * tui/tui.c: Likewise.
4277 * windows-nat.c: Likewise.
4278
4279 2014-08-07 Gary Benson <gbenson@redhat.com>
4280
4281 * common/common-defs.h: Include stdio.h.
4282 * defs.h: Do not include stdio.h.
4283 * ada-lang.c: Likewise.
4284 * common/buffer.c: Likewise.
4285 * common/common-utils.c: Likewise.
4286 * cp-name-parser.y: Likewise.
4287 * gnu-nat.c: Likewise.
4288 * go32-nat.c: Likewise.
4289 * i386gnu-nat.c: Likewise.
4290 * proc-api.c: Likewise.
4291 * proc-events.c: Likewise.
4292 * proc-flags.c: Likewise.
4293 * proc-why.c: Likewise.
4294 * python/python-internal.h: Likewise.
4295 * target-memory.c: Likewise.
4296 * tui/tui-io.c: Likewise.
4297 * tui/tui.c: Likewise.
4298
4299 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
4300
4301 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
4302 (scan_dyntag_auxv): Same.
4303
4304 2014-08-06 Yao Qi <yao@codesourcery.com>
4305
4306 * amd64-linux-nat.c: Remove duplicated include
4307 "x86-linux-nat.h".
4308 * i386-linux-nat.c: Likewise.
4309
4310 2014-08-06 Yao Qi <yao@codesourcery.com>
4311
4312 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
4313 operand" with "Special opcode" in comments.
4314
4315 2014-08-05 Gary Benson <gbenson@redhat.com>
4316
4317 * interps.c (initialize_interps): Remove prototype.
4318 (interpreter_initialized): Remove static global.
4319 (interp_add): Do not call initialize_interps.
4320 (initialize_interps): Remove function.
4321
4322 2014-08-05 Gary Benson <gbenson@redhat.com>
4323
4324 * utils.c (vwarning): Remove spurious va_end.
4325
4326 2014-08-05 Alan Modra <amodra@gmail.com>
4327
4328 * charset.c (convert_between_encodings): Cast result of obstack_base.
4329 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
4330 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
4331 (read_unwind_info): Use size_t for some locals.
4332 * jit.c (finalize_symtab): Likewise.
4333 * utils.c (hashtab_obstack_allocate): Likewise.
4334 * symmisc.c (print_objfile_statistics): Update format strings.
4335
4336 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4337
4338 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
4339 (Changes in GDB 7.8): ... here.
4340
4341 2014-08-04 Tom Tromey <tromey@redhat.com>
4342
4343 * target.c (set_targetdebug): New function.
4344 (initialize_targets): Pass set_targetdebug when creating "set
4345 debug target".
4346
4347 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4348
4349 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
4350 if detecting a variable-sized field that is not the last field.
4351 Fix struct type length computation.
4352
4353 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4354
4355 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4356 Add debug trace.
4357
4358 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4359
4360 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4361 Remove "+ 8" offset in computation of CHAIN_VMA.
4362
4363 2014-07-31 Doug Evans <dje@google.com>
4364
4365 * inflow.c (child_terminal_inferior): Add comment.
4366 (child_terminal_ours_for_output): Add comment.
4367 (child_terminal_ours): Add comment.
4368 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
4369 (linux_nat_terminal_ours): Add comment.
4370
4371 2014-07-31 Gary Benson <gbenson@redhat.com>
4372
4373 * common/btrace-common.h: Do not include defs.h or server.h.
4374 * nat/mips-linux-watch.h: Likewise.
4375 * gdb-dlfcn.h: Do not include defs.h.
4376 * tracefile.h: Likewise.
4377
4378 2014-07-30 Roland McGrath <mcgrathr@google.com>
4379
4380 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
4381
4382 2014-07-30 Tom Tromey <tromey@redhat.com>
4383
4384 * bsd-kvm.c (bsd_kvm_open): Constify.
4385 * corelow.c (core_open): Constify.
4386 * ctf.c (ctf_open): Constify.
4387 * dbug-rom.c (dbug_open): Constify.
4388 * exec.c (exec_open): Constify.
4389 * m32r-rom.c (m32r_open, mon2000_open): Constify.
4390 * microblaze-rom.c (picobug_open): Constify.
4391 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
4392 Constify.
4393 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
4394 * record-btrace.c (record_btrace_open): Constify.
4395 * record-full.c (record_full_core_open_1, record_full_open_1)
4396 (record_full_open): Constify.
4397 * remote-m32r-sdi.c (m32r_open): Constify.
4398 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
4399 (rockhopper_open, lsi_open): Constify.
4400 * remote-sim.c (gdbsim_open): Constify.
4401 * remote.c (remote_open, extended_remote_open, remote_open_1):
4402 Constify.
4403 * target.h (struct target_ops) <to_open>: Make "arg" const.
4404 * tracefile-tfile.c (tfile_open): Constify.
4405
4406 2014-07-30 Tom Tromey <tromey@redhat.com>
4407
4408 * breakpoint.c (map_breakpoint_numbers): Update.
4409 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
4410 (get_number_const): New function.
4411 (get_number): Rewrite using get_number_const.
4412 (init_number_or_range): Make "string" const.
4413 (number_is_in_list): Make "list" const.
4414 * cli/cli-utils.h (get_number_const): Declare.
4415 (struct get_number_or_range_state) <string, end_ptr>: Now const.
4416 (init_number_or_range, number_is_in_list): Update.
4417 * printcmd.c (map_display_numbers): Update.
4418 * value.c (value_from_history_ref): Constify.
4419 * value.h (value_from_history_ref): Update.
4420
4421 2014-07-30 Tom Tromey <tromey@redhat.com>
4422
4423 * corefile.c (hook_type, call_extra_exec_file_hooks)
4424 (specify_exec_file_hook): Constify.
4425 * exec.c (exec_file_attach): Make "filename" const.
4426 * gdbcore.h (deprecated_exec_file_display_hook)
4427 (specify_exec_file_hook, exec_file_attach): Constify.
4428 * main.c (captured_main): Use catch_command_errors_const.
4429
4430 2014-07-30 Tom Tromey <tromey@redhat.com>
4431
4432 * target.c (open_target): New function.
4433 (add_target_with_completer, add_deprecated_target_alias): Use
4434 set_cmd_sfunc, set_cmd_context.
4435 (debug_to_open): Remove.
4436 (setup_target_debug): Update.
4437
4438 2014-07-30 Yao Qi <yao@codesourcery.com>
4439
4440 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
4441 comments.
4442 * parse.c (exp_iterate): Update comments.
4443
4444 2014-07-30 Gary Benson <gbenson@redhat.com>
4445
4446 * common/common-defs.h: New file.
4447 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
4448 * defs.h: Include common-defs.h.
4449 Do not include config.h or build-gnulib/config.h.
4450
4451 2014-07-30 Gary Benson <gbenson@redhat.com>
4452
4453 * common/common-utils.h: Do not include config.h.
4454 * nat/linux-btrace.h: Likewise.
4455
4456 2014-07-30 Gary Benson <gbenson@redhat.com>
4457
4458 * btrace.c: Include defs.h.
4459 * common/ptid.c: Include defs.h or server.h as appropriate.
4460 * nat/mips-linux-watch.c: Likewise.
4461
4462 2014-07-29 Tom Tromey <tromey@redhat.com>
4463
4464 * target.c (target_is_pushed): Simplify.
4465
4466 2014-07-29 Joel Brobecker <brobecker@adacore.com>
4467
4468 GDB 7.8 released.
4469
4470 2014-07-29 Yao Qi <yao@codesourcery.com>
4471
4472 PR gdb/17206
4473 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
4474
4475 2014-07-28 Doug Evans <xdje42@gmail.com>
4476
4477 PR guile/17203
4478 * guile/scm-param.c (pascm_parameter_defined_p): New function.
4479 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
4480 parameters.
4481
4482 2014-07-28 Will Newton <will.newton@linaro.org>
4483
4484 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
4485 (THUMB2_SET_R7_SIGRETURN2): Likewise.
4486 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
4487 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
4488 (THUMB2_EABI_SYSCALL): Likewise.
4489 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
4490 struct tramp_frame.
4491 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
4492 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
4493
4494 2014-07-27 Doug Evans <xdje42@gmail.com>
4495
4496 * guile/scm-param.c (pascm_print_param_smob): Fix output.
4497
4498 2014-07-27 Doug Evans <xdje42@gmail.com>
4499
4500 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
4501
4502 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4503 Doug Evans <xdje42@gmail.com>
4504
4505 PR guile/17146
4506 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
4507 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
4508 * configure.ac: Try to use guild to compile an scm file, if it fails
4509 then disable guile support.
4510 * configure: Regenerate.
4511 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
4512 GUILE_FILE_LIST.
4513 (GUILE_COMPILED_FILES): New variable.
4514 (GUILE_FILES) Update.
4515 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
4516 (stamp-guile): Compile scm files.
4517 * guile/guile.c (boot_guile_support): New function.
4518 (standard_throw_args_p): New function.
4519 (print_standard_throw_error, print_throw_error): New functions.
4520 (handle_boot_error): New function.
4521 (initialize_scheme_side): Rewrite to call boot_guile_support.
4522 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
4523 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
4524
4525 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4526 Doug Evans <xdje42@gmail.com>
4527
4528 PR guile/17146
4529 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
4530 * guile/lib/gdb/support.scm: New file.
4531 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
4532 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
4533 All uses updated.
4534 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
4535 All uses updated.
4536 (%assert-type): Ditto, and renamed to assert-type.
4537 (%exception-print-style): Delete.
4538
4539 2014-07-26 Doug Evans <xdje42@gmail.com>
4540
4541 PR build/17105
4542 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
4543 * configure: Regenerate.
4544 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
4545 PYTHON_FILES.
4546 (PYTHON_FILES): New variable.
4547 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4548 (GUILE_FILES): New variable.
4549 (stamp-python, install-python, uninstall-python): Handle empty
4550 file list.
4551 (stamp-guile, install-guile, uninstall-guile): Ditto.
4552
4553 2014-07-26 Doug Evans <xdje42@gmail.com>
4554
4555 PR guile/17177
4556 * guile/lib/gdb.scm (pretty-printers): Export.
4557 (set-pretty-printers!): Export.
4558 * guile/lib/gdb/printing.scm (gdb module): Update.
4559 (prepend-pretty-printer!, append-pretty-printer!): Update.
4560 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4561 (pretty_printer_list_var): Delete.
4562 (pretty_printer_list): New static global.
4563 (gdbscm_pretty_printers): New function.
4564 (gdbscm_set_pretty_printers_x): New function.
4565 (ppscm_find_pretty_printer_from_gdb): Update.
4566 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4567 (gdbscm_initialize_pretty_printers): Update.
4568
4569 2014-07-26 Doug Evans <xdje42@gmail.com>
4570
4571 PR 17185
4572 * configure.ac: Add check for header gc/gc.h.
4573 Add check for function setenv.
4574 * configure: Regenerate.
4575 * config.in: Regenerate.
4576 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4577
4578 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
4579
4580 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4581 variation in gdbarch matching.
4582
4583 2014-07-25 Tom Tromey <tromey@redhat.com>
4584
4585 * exec.c (using_exec_ops): Remove.
4586 (exec_close_1): Update. Remove extraneous block, reindent.
4587 (add_target_sections): Use target_is_pushed.
4588
4589 2014-07-25 Pedro Alves <palves@redhat.com>
4590
4591 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4592 * monitor.c (monitor_create_inferior): Likewise.
4593 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4594 * remote-sim.c (gdbsim_create_inferior): Likewise.
4595 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4596 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4597 * windows-nat.c (do_initial_windows_stuff): Likewise.
4598
4599 2014-07-25 Pedro Alves <palves@redhat.com>
4600
4601 * NEWS: Mention signal passing and "signal" command changes.
4602 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
4603 comment.
4604 * breakpoint.c (until_break_command): Adjust clear_proceed_status
4605 call.
4606 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
4607 * infcmd.c (proceed_thread_callback, continue_1, step_once)
4608 (jump_command): Adjust clear_proceed_status call.
4609 (signal_command): Warn if other thread that are resumed have
4610 signals that will be delivered. Adjust clear_proceed_status call.
4611 (until_next_command, finish_command)
4612 (proceed_after_attach_callback, attach_command_post_wait)
4613 (attach_command): Adjust clear_proceed_status call.
4614 * infrun.c (proceed_after_vfork_done): Likewise.
4615 (proceed_after_attach_callback): Adjust comment.
4616 (clear_proceed_status_thread): Clear stop_signal if not in pass
4617 state.
4618 (clear_proceed_status_callback): Delete.
4619 (clear_proceed_status): New 'step' parameter. Only clear the
4620 proceed status of threads the command being prepared is about to
4621 resume.
4622 (proceed): If passed in an explicit signal, override stop_signal
4623 with it. Don't pass the last stop signal to the thread we're
4624 resuming.
4625 (init_wait_for_inferior): Adjust clear_proceed_status call.
4626 (switch_back_to_stepped_thread): Clear the signal if it should not
4627 be passed.
4628 * infrun.h (clear_proceed_status): New 'step' parameter.
4629 (user_visible_resume_ptid): Add comment.
4630 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
4631 signal is in pass state.
4632 * remote.c (append_pending_thread_resumptions): Likewise.
4633 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
4634
4635 2014-07-25 Tom Tromey <tromey@redhat.com>
4636
4637 * target.h (target_stopped_data_address)
4638 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
4639 parentheses.
4640
4641 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
4642
4643 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
4644 comments.
4645 (avr_pointer_to_address): Likewise.
4646
4647 2014-07-24 Tom Tromey <tromey@redhat.com>
4648
4649 * monitor.c (compile_pattern): Update.
4650 * target.h (struct target_ops) <to_shortname, to_longname,
4651 to_doc>: Now const.
4652
4653 2014-07-24 Tom Tromey <tromey@redhat.com>
4654
4655 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
4656 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
4657 (add_info_alias, add_com): Make "doc" const.
4658 (print_doc_line): Make "str" const.
4659 (delete_cmd): Update.
4660 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
4661 (print_doc_line): Update.
4662 * cli/cli-script.c (document_command): Update.
4663 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
4664 (add_com, add_info, add_info_alias): Update.
4665 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4666 * python/py-cmd.c (cmdpy_destroyer): Update.
4667
4668 2014-07-24 Tom Tromey <tromey@redhat.com>
4669
4670 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
4671 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
4672 (help_cmd_list): Constify.
4673 (lookup_cmd): Update.
4674 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
4675 const.
4676 (help_cmd_list, apropos_cmd): Update.
4677 * cli/cli-script.c (show_user): Update.
4678 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
4679 * cli/cli-setshow.h (cmd_show_list): Update.
4680 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
4681 (cmd_show_list): Update.
4682 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4683 * python/py-cmd.c (cmdpy_destroyer): Update.
4684
4685 2014-07-24 Tom Tromey <tromey@redhat.com>
4686
4687 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
4688 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
4689 const.
4690 * command.h (deprecate_cmd): Update.
4691 * maint.c (maintenance_do_deprecate): Add casts.
4692
4693 2014-07-24 Tom Tromey <tromey@redhat.com>
4694
4695 * cli/cli-decode.c (help_cmd): Make parameter "const".
4696 * cli/cli-decode.h (help_cmd): Update.
4697
4698 2014-07-24 Tom Tromey <tromey@redhat.com>
4699
4700 * stack.c (up_silently_base, down_silently_base): Make argument
4701 const.
4702
4703 2014-07-24 Tom Tromey <tromey@redhat.com>
4704
4705 * solib.c (solib_add): Make "pattern" const.
4706 * solib.h (solib_add): Update.
4707
4708 2014-07-24 Tom Tromey <tromey@redhat.com>
4709
4710 * remote.c (remote_serial_open, print_packet, putpkt)
4711 (putpkt_binary): Constify.
4712 * remote.h (putpkt): Update.
4713
4714 2014-07-24 Tom Tromey <tromey@redhat.com>
4715
4716 * monitor.c (monitor_open): Make "args" const.
4717 * monitor.h (monitor_open): Update.
4718
4719 2014-07-24 Tom Tromey <tromey@redhat.com>
4720
4721 * maint.c (match_bfd_flags): Make "string" const.
4722 (print_bfd_section_info): Remove casts.
4723 (print_objfile_section_info): Make "string" const.
4724
4725 2014-07-24 Tom Tromey <tromey@redhat.com>
4726
4727 * inf-child.c (inf_child_open_target): Make "arg" const.
4728 * inf-child.h (inf_child_open_target): Update.
4729
4730 2014-07-24 Tom Tromey <tromey@redhat.com>
4731
4732 * environ.c (unset_in_environ): Make "var" const.
4733 * environ.h (unset_in_environ): Update.
4734
4735 2014-07-24 Tom Tromey <tromey@redhat.com>
4736
4737 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
4738 Make "cmd" const.
4739 (scan_filename_with_cleanup): Likewise.
4740 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
4741 Make arguments const.
4742 (restore_command): Update.
4743
4744 2014-07-24 Pedro Alves <palves@redhat.com>
4745
4746 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
4747
4748 2014-07-24 Tom Tromey <tromey@redhat.com>
4749 Gary Benson <gbenson@redhat.com>
4750
4751 * nat/linux-ptrace.c (additional_flags): New global.
4752 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
4753 additional_flags; don't check GDBSERVER.
4754 (linux_ptrace_set_additional_flags): New function.
4755 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
4756 Declare.
4757 * linux-nat.c (_initialize_linux_nat): Call
4758 linux_ptrace_set_additional_flags.
4759
4760 2014-07-24 Tom Tromey <tromey@redhat.com>
4761
4762 * make-target-delegates (munge_type, write_debugmethod): New
4763 functions.
4764 (debug_names): New global.
4765 ($TARGET_DEBUG_PRINTER): New global.
4766 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
4767 name.
4768 Write debug methods. Generate init_debug_target.
4769 * target-debug.h: New file.
4770 * target-delegates.c: Rebuild.
4771 * target.c: Include target-debug.h.
4772 (debug_target): Hoist definition.
4773 (target_kill, target_get_section_table, target_memory_map)
4774 (target_flash_erase, target_flash_done, target_detach)
4775 (target_disconnect, target_wait, target_resume)
4776 (target_pass_signals, target_program_signals, target_follow_fork)
4777 (target_mourn_inferior, target_search_memory)
4778 (target_thread_address_space, target_close)
4779 (target_find_new_threads, target_core_of_thread)
4780 (target_verify_memory, target_insert_mask_watchpoint)
4781 (target_remove_mask_watchpoint): Remove targetdebug code.
4782 (debug_to_post_attach, debug_to_prepare_to_store)
4783 (debug_to_files_info, debug_to_insert_breakpoint)
4784 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
4785 (debug_to_region_ok_for_hw_watchpoint)
4786 (debug_to_can_accel_watchpoint_condition)
4787 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
4788 (debug_to_watchpoint_addr_within_range)
4789 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
4790 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
4791 (debug_to_terminal_init, debug_to_terminal_inferior)
4792 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
4793 (debug_to_terminal_save_ours, debug_to_terminal_info)
4794 (debug_to_load, debug_to_post_startup_inferior)
4795 (debug_to_insert_fork_catchpoint)
4796 (debug_to_remove_fork_catchpoint)
4797 (debug_to_insert_vfork_catchpoint)
4798 (debug_to_remove_vfork_catchpoint)
4799 (debug_to_insert_exec_catchpoint)
4800 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
4801 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
4802 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
4803 (setup_target_debug): Call init_debug_target.
4804 * target.h (TARGET_DEBUG_PRINTER): New macro.
4805 (struct target_ops) <to_resume, to_wait, to_pass_signals,
4806 to_program_signals>: Use TARGET_DEBUG_PRINTER.
4807
4808 2014-07-24 Gary Benson <gbenson@redhat.com>
4809
4810 * exceptions.h (throw_vfatal): Renamed to...
4811 (throw_vquit): New declaration.
4812 (throw_quit): Likewise.
4813 * exceptions.c (throw_vfatal): Renamed to...
4814 (throw_vquit): New function.
4815 (throw_quit): Likewise.
4816 (throw_error): Call throw_verror rather than throw_it.
4817 * utils.h (vfatal): Removed.
4818 (fatal): Likewise.
4819 * utils.c (vfatal): Removed.
4820 (fatal): Likewise.
4821 (internal_verror): Replaced call to fatal with call to throw_quit.
4822 (quit): Replaced calls to fatal with calls to throw_quit.
4823
4824 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
4825
4826 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
4827 target_read_code.
4828
4829 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
4830
4831 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
4832 less than zero in conditional expression.
4833
4834 2014-07-23 Tom Tromey <tromey@redhat.com>
4835
4836 * make-target-delegates ($ARGS_PART): Match trailing close paren.
4837 ($INTRO_PART): Don't match whitespace.
4838 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
4839 argument matching.
4840 ($METHOD): Add $METHOD_TRAILER.
4841 (trim): Rewrite.
4842 (scan_target_h): New sub.
4843 Change main loop not to collect state.
4844 * target-delegates.c: Rebuild.
4845
4846 2014-07-23 Gary Benson <gbenson@redhat.com>
4847
4848 * cp-support.c (gdb_demangle): Fix build on systems without
4849 sigaltstack.
4850
4851 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4852
4853 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
4854 for reference entry value target data value.
4855
4856 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4857
4858 * stack.c (read_frame_arg): Verify value_optimized_out before calling
4859 value_available_contents_eq.
4860
4861 2014-07-22 Pedro Alves <palves@redhat.com>
4862
4863 * value.c (allocate_optimized_out_value): Don't mark value as
4864 non-lazy.
4865
4866 2014-07-22 Jiong Wang <jiong.wang@arm.com>
4867
4868 * MAINTAINERS (Write After Approval): Update my email address.
4869
4870 2014-07-20 Doug Evans <dje@google.com>
4871
4872 PR server/17147
4873 * remote.c (putpkt_binary): Add text to error message.
4874
4875 2014-07-20 Yao Qi <yao@codesourcery.com>
4876
4877 * eval.c: Remove "Chill" from comments.
4878 * gdbtypes.h: Likewise.
4879 * symtab.h: Likewise.
4880
4881 2014-07-20 Yao Qi <yao@codesourcery.com>
4882
4883 * std-operator.def: Update comments to TERNOP_SLICE.
4884
4885 2014-07-20 Yao Qi <yao@codesourcery.com>
4886
4887 * std-operator.def: Remove BINOP_RANGE.
4888 * breakpoint.c (watchpoint_exp_is_const): Update.
4889 * expprint.c (dump_subexp_body_standard): Likewise.
4890 * eval.c (init_array_element): Remove dead code.
4891 (evaluate_subexp_standard): Likewise.
4892
4893 2014-07-20 Yao Qi <yao@codesourcery.com>
4894
4895 * std-operator.def: Remove BINOP_IN.
4896 * breakpoint.c (watchpoint_exp_is_const): Update.
4897 * eval.c (evaluate_subexp_standard): Likewise.
4898 * expprint.c (dump_subexp_body_standard): Likewise.
4899
4900 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
4901
4902 * microblaze-tdep.c (microblaze_register_names): Add
4903 the rshr and rslr register names.
4904 (microblaze_gdbarch_init): Use of tdesc_has_registers.
4905 Use of tdesc_find_feature. Use of tdesc_data_alloc.
4906 Use of tdesc_numbered_register. Use of
4907 microblaze_register_g_packet_guesses. Use of
4908 tdesc_use_registers. Use of set_gdbarch_register_type.
4909 (microblaze_register_g_packet_guesses): New.
4910 * microblaze-tdep.h (microblaze_reg_num): Add
4911 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
4912 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
4913 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
4914 * features/microblaze-core.xml: New file.
4915 * features/microblaze-stack-protect.xml: New file.
4916 * features/microblaze-with-stack-protect.c: New file.
4917 * features/microblaze-with-stack-protect.xml: New file.
4918 * features/microblaze.xml: New file.
4919 * features/microblaze.c: New file.
4920 * features/Makefile (microblaze-with-stack-protect): Add
4921 microblaze-with-stack-protect microblaze and microblaze-expedite.
4922 * regformats/microblaze-with-stack-protect.dat: New file.
4923 * regformats/microblaze.dat: New file.
4924 * doc/gdb.texinfo (MicroBlaze Features): Added.
4925
4926 2014-07-18 Tom Tromey <tromey@redhat.com>
4927
4928 * exec.c (exec_ops): Now static.
4929 * exec.h (exec_ops): Don't declare.
4930
4931 2014-07-18 Tom Tromey <tromey@redhat.com>
4932
4933 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
4934 to find_target_beneath.
4935 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
4936 find_target_beneath.
4937 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
4938
4939 2014-07-18 Tom Tromey <tromey@redhat.com>
4940
4941 PR gdb/17130:
4942 * utils.c (quit): Use target_supports_terminal_ours.
4943 * target.h (target_supports_terminal_ours): Declare.
4944 * target.c (target_supports_delete_record): Don't check
4945 to_delete_record against NULL.
4946 (target_supports_terminal_ours): New function.
4947
4948 2014-07-18 Tom Tromey <tromey@redhat.com>
4949
4950 PR gdb/17130:
4951 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
4952 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
4953 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
4954 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
4955 * windows-nat.c (windows_xfer_partial): Always delegate.
4956 * record-btrace.c (record_btrace_xfer_partial): Simplify
4957 delegation.
4958 (record_btrace_fetch_registers, record_btrace_store_registers)
4959 (record_btrace_prepare_to_store, record_btrace_resume)
4960 (record_btrace_wait, record_btrace_find_new_threads)
4961 (record_btrace_thread_alive): Likewise.
4962 * procfs.c (procfs_xfer_partial): Always delegate.
4963 * corelow.c (core_xfer_partial): Always delegate.
4964 * sol-thread.c (sol_find_new_threads): Simplify delegation.
4965
4966 2014-07-18 Tom Tromey <tromey@redhat.com>
4967
4968 * exec.c (exec_make_note_section): Move earlier.
4969
4970 2014-07-17 Doug Evans <dje@google.com>
4971
4972 PR gdb/17170
4973 * maint.c (count_symtabs_and_blocks): Handle NULL
4974 current_program_space.
4975 (report_command_stats): Check global enabled flag in addition to
4976 recorded enabled flag.
4977 (make_command_stats_cleanup): Handle msg_type == 0, startup.
4978
4979 2014-07-16 Pedro Alves <palves@redhat.com>
4980
4981 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
4982
4983 2014-07-16 Tom Tromey <tromey@redhat.com>
4984
4985 * target.h (struct target_ops) <to_delete_record>: Reformat
4986 comment.
4987
4988 2014-07-16 Tom Tromey <tromey@redhat.com>
4989
4990 * target-delegates.c: Rebuild.
4991
4992 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4993
4994 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
4995 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
4996 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
4997 (avr_pointer_to_address): Likewise.
4998 (avr_address_class_type_flags): New function.
4999 (avr_address_class_type_flags_to_name): Likewise.
5000 (avr_address_class_name_to_type_flags): Likewise.
5001 (avr_gdbarch_init): Set address_class_type_flags,
5002 address_class_type_flags_to_name and
5003 address_class_name_to_type_flags.
5004
5005 2014-07-15 Pedro Alves <palves@redhat.com>
5006
5007 * linux-nat.c (kill_callback): Save errno and work with saved
5008 copy.
5009
5010 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5011
5012 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
5013
5014 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5015
5016 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
5017 breakpoint support correctly.
5018
5019 2014-07-14 Pedro Alves <palves@redhat.com>
5020
5021 * utils.c (prompt_for_continue): Call target_terminal_ours.
5022
5023 2014-07-14 Pedro Alves <palves@redhat.com>
5024
5025 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
5026 catch_errors. Don't re-enable stdin or notify observers where,
5027 and rethrow error.
5028 (fetch_inferior_event_wrapper): Delete.
5029
5030 2014-07-14 Pedro Alves <palves@redhat.com>
5031
5032 PR gdb/17072
5033 * top.c: Include "inf-loop.h".
5034 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
5035 field.
5036 (gdb_readline_wrapper_cleanup): Make the target async again, if it
5037 was async before.
5038 (gdb_readline_wrapper): Store whether the target is async, and
5039 make it sync.
5040
5041 2014-07-14 Pedro Alves <palves@redhat.com>
5042
5043 PR gdb/17072
5044 * top.c (gdb_readline_wrapper_line): Tweak comment.
5045 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
5046 the input handler callback.
5047
5048 2014-07-14 Pedro Alves <palves@redhat.com>
5049
5050 PR gdb/17072
5051 * main.c: Include event-top.h.
5052 (handle_command_errors): New function.
5053 (catch_command_errors, catch_command_errors_const): Use it.
5054
5055 2014-07-14 Pedro Alves <palves@redhat.com>
5056
5057 * exceptions.c (catch_command_errors, catch_command_errors_const):
5058 Moved to main.c.
5059 * exceptions.h (catch_command_errors_ftype)
5060 (catch_command_errors_const_ftype): Moved to main.c.
5061 (catch_command_errors, catch_command_errors_const): Delete
5062 declarations.
5063 * main.c (catch_command_errors_ftype)
5064 (catch_command_errors_const_ftype): Moved here from exceptions.h.
5065 (catch_command_errors, catch_command_errors_const)): Moved here
5066 from exceptions.c and make static.
5067
5068 2014-07-14 Pedro Alves <palves@redhat.com>
5069
5070 * exceptions.c (print_any_exception): Delete.
5071 (catch_exceptions_with_msg): Use exception_print instead of
5072 print_any_exception.
5073 (catch_errors): Use exception_fprintf instead of
5074 print_any_exception.
5075 (catch_command_errors, catch_command_errors_const): Use
5076 exception_print instead of print_any_exception.
5077
5078 2014-07-14 Pedro Alves <palves@redhat.com>
5079
5080 * infcall.c (run_inferior_call): Set 'sync_execution' while
5081 running the inferior call.
5082
5083 2014-07-14 Pedro Alves <palves@redhat.com>
5084
5085 * value.c (value_contents_equal): Delete function.
5086 * value.h (value_contents_equal): Delete declaration.
5087
5088 2014-07-14 Tom Tromey <tromey@redhat.com>
5089
5090 PR exp/17106:
5091 * gdbtypes.c (is_dynamic_type_internal): New function, from
5092 is_dynamic_type.
5093 (is_dynamic_type): Rewrite.
5094 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
5095 (resolve_dynamic_struct): Likewise.
5096 (resolve_dynamic_type_internal): New function, from
5097 resolve_dynamic_type.
5098 (resolve_dynamic_type): Rewrite.
5099
5100 2014-07-14 Tom Tromey <tromey@redhat.com>
5101
5102 * target.c (target_require_runnable): Also check record_stratum.
5103 Update comment.
5104
5105 2014-07-11 Yao Qi <yao@codesourcery.com>
5106
5107 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
5108 thumb_instruction_restores_sp return true.
5109
5110 2014-07-11 Yao Qi <yao@codesourcery.com>
5111
5112 * arm-tdep.c (thumb_instruction_restores_sp): New function.
5113 (thumb_in_function_epilogue_p): Call
5114 thumb_instruction_restores_sp.
5115
5116 2014-07-11 Yao Qi <yao@codesourcery.com>
5117
5118 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
5119 'add sp, #imm'.
5120 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
5121
5122 2014-07-11 Gary Benson <gbenson@redhat.com>
5123
5124 * amd64-linux-nat.c (gdbcore.h): Remove include.
5125 (regset.h): Likewise.
5126 (nat/linux-btrace.h): Likewise.
5127 (btrace.h): Likewise.
5128 (gdb_assert.h): Likewise.
5129 (string.h): Likewise.
5130 (sys/uio.h): Likewise.
5131 (sys/debugreg.h): Likewise.
5132 (sys/syscall.h): Likewise.
5133 (sys/procfs.h): Likewise.
5134 (sys/user.h): Likewise.
5135 (asm/ptrace.h): Likewise.
5136 (i386-nat.h): Likewise.
5137 * i386-linux-nat.c (i386-nat.h): Likewise.
5138 (regset.h): Likewise.
5139 (target.h): Likewise.
5140 (linux-nat.h): Likewise.
5141 (nat/linux-btrace.h): Likewise.
5142 (btrace.h): Likewise.
5143 (gdb_assert.h): Likewise.
5144 (string.h): Likewise.
5145 (sys/uio.h): Likewise.
5146 (sys/user.h): Likewise.
5147 (sys/procfs.h): Likewise.
5148 (sys/reg.h): Likewise.
5149 (sys/debugreg.h): Likewise.
5150 (ORIG_EAX): Remove definition.
5151
5152 2014-07-11 Gary Benson <gbenson@redhat.com>
5153
5154 * i386-linux-nat.h: New file.
5155 * x86-linux-nat.h: Likewise.
5156 * x86-linux-nat.c: Likewise.
5157 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
5158 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
5159 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5160 * amd64-linux-nat.c (x86-linux-nat.h): New include.
5161 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
5162 (PTRACE_SETREGSET): Likewise.
5163 (arch_lwp_info): Now in x86-linux-nat.c.
5164 (have_ptrace_getregset): Now in x86-linux-nat.h.
5165 (x86_linux_dr_get): Now in x86-linux-nat.c.
5166 (x86_linux_dr_set): Likewise.
5167 (x86_linux_dr_get_addr): Likewise.
5168 (x86_linux_dr_get_control): Likewise.
5169 (x86_linux_dr_get_status): Likewise.
5170 (update_debug_registers_callback): Likewise.
5171 (x86_linux_dr_set_control): Likewise.
5172 (x86_linux_dr_set_addr): Likewise.
5173 (x86_linux_prepare_to_resume): Likewise.
5174 (x86_linux_new_thread): Likewise.
5175 (x86_linux_new_fork): Likewise.
5176 (x86_linux_get_thread_area): Likewise.
5177 (super_post_startup_inferior): Likewise.
5178 (x86_linux_child_post_startup_inferior): Likewise.
5179 (AMD64_LINUX_USER64_CS): Likewise.
5180 (AMD64_LINUX_X32_DS): Likewise.
5181 (x86_linux_read_description): Likewise.
5182 (x86_linux_enable_btrace): Likewise.
5183 (x86_linux_disable_btrace): Likewise.
5184 (x86_linux_teardown_btrace): Likewise.
5185 (x86_linux_read_btrace): Likewise.
5186 (x86_linux_create_target): Likewise.
5187 (x86_linux_add_target): Likewise.
5188 * i386-linux-nat.c (x86-linux-nat.h): New include.
5189 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
5190 (PTRACE_SETREGSET): Likewise.
5191 (arch_lwp_info): Now in x86-linux-nat.c.
5192 (have_ptrace_getregset): Now in x86-linux-nat.h.
5193 (x86_linux_dr_get): Now in x86-linux-nat.c.
5194 (x86_linux_dr_set): Likewise.
5195 (x86_linux_dr_get_addr): Likewise.
5196 (x86_linux_dr_get_control): Likewise.
5197 (x86_linux_dr_get_status): Likewise.
5198 (update_debug_registers_callback): Likewise.
5199 (x86_linux_dr_set_control): Likewise.
5200 (x86_linux_dr_set_addr): Likewise.
5201 (x86_linux_prepare_to_resume): Likewise.
5202 (x86_linux_new_thread): Likewise.
5203 (x86_linux_new_fork): Likewise.
5204 (x86_linux_get_thread_area): Likewise.
5205 (super_post_startup_inferior): Likewise.
5206 (x86_linux_child_post_startup_inferior): Likewise.
5207 (AMD64_LINUX_USER64_CS): Likewise.
5208 (AMD64_LINUX_X32_DS): Likewise.
5209 (x86_linux_read_description): Likewise.
5210 (x86_linux_enable_btrace): Likewise.
5211 (x86_linux_disable_btrace): Likewise.
5212 (x86_linux_teardown_btrace): Likewise.
5213 (x86_linux_read_btrace): Likewise.
5214 (x86_linux_create_target): Likewise.
5215 (x86_linux_add_target): Likewise.
5216
5217 2014-07-11 Gary Benson <gbenson@redhat.com>
5218
5219 * amd64-linux-nat.c: Comment and whitespace changes.
5220 * i386-linux-nat.c: Comment and whitespace changes.
5221
5222 2014-07-11 Gary Benson <gbenson@redhat.com>
5223
5224 * amd64-linux-nat.c (x86_linux_create_target): New function.
5225 (x86_linux_add_target): Likewise.
5226 (_initialize_amd64_linux_nat): Delegate to the above new functions.
5227 * i386-linux-nat.c (x86_linux_create_target): New function.
5228 (x86_linux_add_target): Likewise.
5229 (_initialize_i386_linux_nat): Delegate to the above new functions.
5230
5231 2014-07-11 Gary Benson <gbenson@redhat.com>
5232
5233 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
5234 (ps_get_thread_area): Delegate to the above in 32-bit mode.
5235 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
5236 (ps_get_thread_area): Delegate to the above.
5237
5238 2014-07-11 Gary Benson <gbenson@redhat.com>
5239
5240 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
5241 x86_linux_read_description. All uses updated. amd64-specific
5242 code conditionalized. Conditionalized i386-specific code added.
5243 Redundant cast removed.
5244 * i386-linux-nat.c (i386_linux_read_description): Renamed to
5245 x86_linux_read_description. All uses updated. i386-specific
5246 code conditionalized. Conditionalized amd64-specific code added.
5247 One sizeof replaced with the actual type it is describing.
5248
5249 2014-07-11 Gary Benson <gbenson@redhat.com>
5250
5251 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
5252 x86_linux_dr_get. All uses updated.
5253 (amd64_linux_dr_set): Renamed to
5254 x86_linux_dr_set. All uses updated.
5255 (amd64_linux_dr_get_addr): Renamed to
5256 x86_linux_dr_get_addr. All uses updated.
5257 (amd64_linux_dr_get_control): Renamed to
5258 x86_linux_dr_get_control. All uses updated.
5259 (amd64_linux_dr_get_status): Renamed to
5260 x86_linux_dr_get_status. All uses updated.
5261 (amd64_linux_dr_set_control): Renamed to
5262 x86_linux_dr_set_control. All uses updated.
5263 (amd64_linux_dr_set_addr): Renamed to
5264 x86_linux_dr_set_addr. All uses updated.
5265 (amd64_linux_prepare_to_resume): Renamed to
5266 x86_linux_prepare_to_resume. All uses updated.
5267 (amd64_linux_new_thread): Renamed to
5268 x86_linux_new_thread. All uses updated.
5269 (amd64_linux_new_fork): Renamed to
5270 x86_linux_new_fork. All uses updated.
5271 (amd64_linux_child_post_startup_inferior): Renamed to
5272 x86_linux_child_post_startup_inferior. All uses updated.
5273 (amd64_linux_enable_btrace): Renamed to
5274 x86_linux_enable_btrace. All uses updated.
5275 (amd64_linux_disable_btrace): Renamed to
5276 x86_linux_disable_btrace. All uses updated.
5277 (amd64_linux_teardown_btrace): Renamed to
5278 x86_linux_teardown_btrace. All uses updated.
5279 (amd64_linux_read_btrace): Renamed to
5280 x86_linux_read_btrace. All uses updated.
5281 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
5282 x86_linux_dr_get. All uses updated.
5283 (i386_linux_dr_set): Renamed to
5284 x86_linux_dr_set. All uses updated.
5285 (i386_linux_dr_get_addr): Renamed to
5286 x86_linux_dr_get_addr. All uses updated.
5287 (i386_linux_dr_get_control): Renamed to
5288 x86_linux_dr_get_control. All uses updated.
5289 (i386_linux_dr_get_status): Renamed to
5290 x86_linux_dr_get_status. All uses updated.
5291 (i386_linux_dr_set_control): Renamed to
5292 x86_linux_dr_set_control. All uses updated.
5293 (i386_linux_dr_set_addr): Renamed to
5294 x86_linux_dr_set_addr. All uses updated.
5295 (i386_linux_prepare_to_resume): Renamed to
5296 x86_linux_prepare_to_resume. All uses updated.
5297 (i386_linux_new_thread): Renamed to
5298 x86_linux_new_thread. All uses updated.
5299 (i386_linux_new_fork): Renamed to
5300 x86_linux_new_fork. All uses updated.
5301 (i386_linux_child_post_startup_inferior): Renamed to
5302 x86_linux_child_post_startup_inferior. All uses updated.
5303 (i386_linux_enable_btrace): Renamed to
5304 x86_linux_enable_btrace. All uses updated.
5305 (i386_linux_disable_btrace): Renamed to
5306 x86_linux_disable_btrace. All uses updated.
5307 (i386_linux_teardown_btrace): Renamed to
5308 x86_linux_teardown_btrace. All uses updated.
5309 (i386_linux_read_btrace): Renamed to
5310 x86_linux_read_btrace. All uses updated.
5311
5312 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5313
5314 * remote.c (extended_remote_post_attach): New function.
5315 (init_extended_remote_ops): Install it as to_post_attach method.
5316
5317 2014-07-09 Pedro Alves <palves@redhat.com>
5318
5319 * infcmd.c (attach_command_post_wait): Don't call
5320 target_terminal_inferior here.
5321 (attach_command): Call it here instead.
5322
5323 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5324
5325 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
5326 field.
5327 * c-varobj.c (c_is_path_expr_parent): New function, moved core
5328 from varobj.c, with additional checks.
5329 (c_varobj_ops): Fill in is_path_expr_parent field.
5330 (cplus_varobj_ops): Fill in is_path_expr_parent field.
5331 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
5332 field.
5333 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
5334 ops method.
5335 (varobj_default_is_path_expr_parent): New function.
5336 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
5337 (varobj_default_is_path_expr_parent): Declare new function.
5338
5339 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5340
5341 * infcmd.c (finish_backward): Turn internal error into normal error.
5342
5343 2014-07-07 Pedro Alves <palves@redhat.com>
5344
5345 PR gdb/17096
5346 * remote.c (async_handle_remote_sigint)
5347 (async_handle_remote_sigint_twice): Call
5348 gdb_call_async_signal_handler instead of
5349 mark_async_signal_handler.
5350
5351 2014-07-07 Tom Tromey <tromey@redhat.com>
5352
5353 * target-delegates.c: Rebuild.
5354 * target.c (target_info_record): Remove.
5355 * record.c (info_record_command): Unconditionally call
5356 to_info_record.
5357 * target.h (struct target_ops) <to_info_record>: Use
5358 TARGET_DEFAULT_IGNORE.
5359 (target_info_record): Remove.
5360
5361 2014-07-07 Tom Tromey <tromey@redhat.com>
5362
5363 * target.h (struct target_ops) <to_get_thread_local_address>: Use
5364 TARGET_DEFAULT_NORETURN.
5365 * target.c (generic_tls_error): New function.
5366 (target_translate_tls_address): Don't search target stack.
5367 * target-delegates.c: Rebuild.
5368 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
5369 stack.
5370 * linux-thread-db.c (thread_db_get_thread_local_address):
5371 Unconditionally call beneath target.
5372
5373 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
5374
5375 * cli/cli-logging.c (pop_output_files): Assign targerr to
5376 gdb_stdtargerr.
5377
5378 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
5379
5380 * MAINTAINERS (Write After Approval): Update my email address.
5381
5382 2014-07-02 Gary Benson <gbenson@redhat.com>
5383
5384 * proc-service.c (ps_xfer_memory): Update comment.
5385 (ps_pstop): Remove unused function.
5386 (ps_pcontinue): Likewise.
5387 (ps_lstop): Likewise.
5388 (ps_lcontinue): Likewise.
5389 (ps_lgetxregsize): Likewise.
5390 (ps_lgetxregs): Likewise.
5391 (ps_lsetxregs): Likewise.
5392 (ps_plog): Likewise.
5393 (ps_ptread): Likewise.
5394 (ps_ptwrite): Likewise.
5395
5396 2014-07-01 Mark Wielaard <mjw@redhat.com>
5397
5398 * dwarf2read.c (add_array_cv_type): New function.
5399 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
5400 (read_tag_volatile_type): Likewise.
5401
5402 2014-07-01 Tom Tromey <tromey@redhat.com>
5403
5404 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
5405 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
5406 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
5407 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
5408 * command.h (cmd_cfunc_ftype): Move earlier.
5409 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
5410 (add_com, add_info): Use cmd_cfunc_ftype.
5411
5412 2014-06-30 Tom Tromey <tromey@redhat.com>
5413
5414 * symtab.c (operator_chars): Make parameters and return type
5415 const.
5416 (file_matches): Make "files" const.
5417 (struct search_symbols_data) <files>: Now const.
5418 (search_symbols): Make "regexp" and "files" parameters const.
5419 Update.
5420 (symtab_symbol_info): Remove cast.
5421 (rbreak_command): Update.
5422 * symtab.h (search_symbols): Update.
5423
5424 2014-06-27 Yao Qi <yao@codesourcery.com>
5425
5426 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
5427 Change parameter type to 'struct thread_info *'. Caller
5428 updated.
5429 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
5430 Update declaration.
5431 * dummy-frame.c (struct dummy_frame_id): New.
5432 (dummy_frame_id_eq): New function.
5433 (struct dummy_frame) <id>: Change its type to 'struct
5434 dummy_frame_id'.
5435 (dummy_frame_push): Add parameter ptid and save it in
5436 dummy_frame_id.
5437 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
5438 inferior_ptid.
5439 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
5440 to inferior_ptid.
5441 (lookup_dummy_frame): Change parameter type to 'struct
5442 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
5443 instead of frame_id_eq.
5444 (dummy_frame_pop): Add parameter ptid. Callers updated.
5445 Update comments. Compose dummy_frame_id and pass it to
5446 lookup_dummy_frame.
5447 (dummy_frame_discard): Add parameter ptid.
5448 (dummy_frame_sniffer): Compose dummy_frame_id and call
5449 dummy_frame_id_eq instead of frame_id_eq.
5450 (fprint_dummy_frames): Print ptid.
5451 * dummy-frame.h: Remove comments.
5452 (dummy_frame_push): Add ptid in declaration.
5453 (dummy_frame_pop, dummy_frame_discard): Likewise.
5454
5455 2014-06-26 Tom Tromey <tromey@redhat.com>
5456
5457 * cli/cli-cmds.c (error_no_arg): Make "why" const.
5458 * command.h (error_no_arg): Update.
5459
5460 2014-06-26 Tom Tromey <tromey@redhat.com>
5461
5462 * cli/cli-setshow.c (do_set_command): Make "arg" const.
5463 (do_show_command): Make "arg" const.
5464 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
5465
5466 2014-06-26 Tom Tromey <tromey@redhat.com>
5467
5468 * record-full.c (record_full_get_bookmark): Make "args" const.
5469 (record_full_goto_bookmark): Make "raw_bookmark" const.
5470 * record.c (record_goto): New function.
5471 (cmd_record_goto): Use it. Now static.
5472 * record.h (record_goto): Declare.
5473 (cmd_record_goto): Remove declaration.
5474 * target-delegates.c: Rebuild.
5475 * target.h (struct target_ops) <to_get_bookmark,
5476 to_goto_bookmark>: Make parameter const.
5477
5478 2014-06-26 Tom Tromey <tromey@redhat.com>
5479
5480 * defs.h (generic_load): Update.
5481 * m32r-rom.c (m32r_load_gen): Make "filename" const.
5482 * monitor.c (monitor_load): Make "args" const.
5483 * remote-m32r-sdi.c (m32r_load): Make "args" const.
5484 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
5485 const.
5486 (mips_load): Make "file" const.
5487 * remote-sim.c (gdbsim_load): Make "args" const.
5488 * remote.c (remote_load): Make "name" const.
5489 * symfile.c (generic_load): Make "args" const.
5490 * target-delegates.c: Rebuild.
5491 * target.c (target_load): Make "arg" const.
5492 (debug_to_load): Make "args" const.
5493 * target.h (struct target_ops) <to_load>: Make parameter const.
5494 (target_load): Update.
5495
5496 2014-06-26 Tom Tromey <tromey@redhat.com>
5497
5498 PR symtab/16902:
5499 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
5500 (dwarf2_physname, read_partial_die)
5501 (guess_partial_die_structure_name, fixup_partial_die)
5502 (guess_full_die_structure_name, anonymous_struct_prefix)
5503 (dwarf2_name): Use per-BFD obstack.
5504
5505 2014-06-26 Yao Qi <yao@codesourcery.com>
5506
5507 * dummy-frame.c (dummy_frame_sniffer): Move local variables
5508 dummyframe and this_id into inner block below.
5509
5510 2014-06-26 Yao Qi <yao@codesourcery.com>
5511
5512 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
5513 with "signal_pass[0]" in the initialization of signal_pass.
5514
5515 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5516
5517 * record-btrace.c (record_btrace_generating_corefile)
5518 (record_btrace_prepare_to_generate_core)
5519 (record_btrace_done_generating_core): New.
5520 (record_btrace_xfer_partial, record_btrace_fetch_registers)
5521 (record_btrace_store_registers, record_btrace_prepare_to_store):
5522 Forward request when generating a core file.
5523 (record_btrace_open): Set record_btrace_generating_corefile to zero.
5524 (init_record_btrace_ops): Set to_prepare_to_generate_core and
5525 to_done_generating_core.
5526
5527 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5528
5529 * target.h (target_ops) <to_prepare_to_generate_core>
5530 <to_done_generating_core>: New.
5531 (target_prepare_to_generate_core, target_done_generating_core): New.
5532 * target.c (target_prepare_to_generate_core)
5533 (target_done_generating_core): New.
5534 * target-delegates.c: Regenerate.
5535 * gcore.c: (write_gcore_file): Rename to ...
5536 (write_gcore_file_1): ...this.
5537 (write_gcore_file): Call target_prepare_to_generate_core
5538 and target_done_generating_core.
5539
5540 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5541
5542 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
5543 * gcore.c (write_gcore_file): Free memory returned from
5544 make_corefile_notes.
5545 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5546 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5547
5548 2014-06-24 Yao Qi <yao@codesourcery.com>
5549
5550 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5551 (arm_linux_init_abi): Set skip_trampoline_code with
5552 gdbarch_skip_trampoline_code instead of
5553 find_solib_trampoline_target.
5554
5555 2014-06-24 Yao Qi <yao@codesourcery.com>
5556
5557 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5558 arm_skip_bx_reg returns non-zero.
5559
5560 2014-06-24 Yao Qi <yao@codesourcery.com>
5561
5562 * arm-tdep.c (arm_skip_bx_reg): New function.
5563 (arm_skip_stub): Call arm_skip_bx_reg.
5564
5565 2014-06-23 Don Breazeal <donb@codesourcery.com>
5566
5567 * MAINTAINERS: Add myself as write-after-approval maintainer.
5568
5569 2014-06-23 Pedro Alves <palves@redhat.com>
5570
5571 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5572 DR_CONTROL before setting DR0..DR3.
5573 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5574 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5575 bits of DR_CONTROL related to the debug register slot being
5576 disabled. If all slots are vacant, clear local slowdown as well,
5577 and assert DR_CONTROL is 0.
5578
5579 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5580
5581 * python/lib/gdb/command/xmethods.py
5582 (get_method_matchers_in_loci): Lookup xmethod matchers in the
5583 current progspace only if the string "progspace" matches LOCUS_RE.
5584
5585 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5586
5587 Fix --with-system-readline with readline-6.3 patch 5.
5588 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5589 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5590 types.
5591
5592 2014-06-20 Tom Tromey <tromey@redhat.com>
5593
5594 * dwarf2read.c (dw2_get_real_path): Use correct type in
5595 OBSTACK_CALLOC.
5596 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5597
5598 2014-06-20 Gary Benson <gbenson@redhat.com>
5599
5600 * common/gdb_thread_db.h: Moved to nat. All includes updated.
5601 * common/glibc_thread_db.h: Likewise.
5602 * common/i386-cpuid.h: Likewise.
5603 * common/i386-gcc-cpuid.h: Likewise.
5604 * common/linux-btrace.h: Likewise.
5605 * common/linux-osdata.h: Likewise.
5606 * common/linux-procfs.h: Likewise.
5607 * common/linux-ptrace.h: Likewise.
5608 * common/mips-linux-watch.h: Likewise.
5609 * common/linux-btrace.c: Moved to nat.
5610 * common/linux-osdata.c: Likewise.
5611 * common/linux-procfs.c: Likewise.
5612 * common/linux-ptrace.c: Likewise.
5613 * common/mips-linux-watch.c: Likewise.
5614 * nat/gdb_thread_db.h: Moved from common.
5615 * nat/glibc_thread_db.h: Likewise.
5616 * nat/i386-cpuid.h: Likewise.
5617 * nat/i386-gcc-cpuid.h: Likewise.
5618 * nat/linux-btrace.c: Likewise.
5619 * nat/linux-btrace.h: Likewise.
5620 * nat/linux-osdata.c: Likewise.
5621 * nat/linux-osdata.h: Likewise.
5622 * nat/linux-procfs.c: Likewise.
5623 * nat/linux-procfs.h: Likewise.
5624 * nat/linux-ptrace.c: Likewise.
5625 * nat/linux-ptrace.h: Likewise.
5626 * nat/mips-linux-watch.c: Likewise.
5627 * nat/mips-linux-watch.h: Likewise.
5628 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
5629 (object file files): Reordered.
5630 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
5631 of glibc_thread_db.h.
5632
5633 2014-06-20 Gary Benson <gbenson@redhat.com>
5634
5635 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
5636 (i386_dr_low_type): Moved to nat/i386-dregs.h.
5637 (i386_dr_low): Likewise.
5638 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
5639 (i386_dr_low_set_addr): Likewise.
5640 (i386_dr_low_get_addr): Likewise.
5641 (i386_dr_low_can_set_control): Likewise.
5642 (i386_dr_low_set_control): Likewise.
5643 (i386_dr_low_get_control): Likewise.
5644 (i386_dr_low_get_status): Likewise.
5645 (i386_get_debug_register_length): Likewise.
5646 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
5647 (i386_dr_low): Likewise.
5648 * nat/i386-dregs.c (i386-low.h): Remove include.
5649 (i386-nat.h): Likewise.
5650 (nat/i386-dregs.h): New include.
5651 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
5652 (i386_dr_low_set_addr): Likewise.
5653 (i386_dr_low_get_addr): Likewise.
5654 (i386_dr_low_can_set_control): Likewise.
5655 (i386_dr_low_set_control): Likewise.
5656 (i386_dr_low_get_control): Likewise.
5657 (i386_dr_low_get_status): Likewise.
5658 (i386_get_debug_register_length): Likewise.
5659 (debug_hw_points): Likewise.
5660
5661 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5662
5663 * Makefile.in (SFILES): Add d-exp.y.
5664 (YYFILES): Add d-exp.c.
5665 (YYOBJ): Add d-exp.o.
5666 (local-maintainer-clean): Delete d-exp.c.
5667 * d-exp.y: New file.
5668 * d-lang.h (d_parse): New declaration.
5669 (d_error): New declaration.
5670 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
5671 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
5672 PREC_ORDER operators.
5673 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
5674
5675 2014-06-19 Yao Qi <yao@codesourcery.com>
5676
5677 * gdbthread.h (any_running): Remove the declaration.
5678 * thread.c (any_running): Remove.
5679
5680 2014-06-19 Yao Qi <yao@codesourcery.com>
5681
5682 * gdbthread.h (struct thread_info) <state>: Change its type to
5683 'enum thread_state'. Update comments.
5684
5685 2014-06-19 Pedro Alves <palves@redhat.com>
5686
5687 * gdbthread.h (ALL_THREADS): Delete.
5688 (ALL_NON_EXITED_THREADS): New macro.
5689 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
5690 instead of ALL_THREADS.
5691 * infrun.c (find_thread_needs_step_over)
5692 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
5693 instead of ALL_THREADS.
5694 * record-btrace.c (record_btrace_open)
5695 (record_btrace_stop_recording, record_btrace_close)
5696 (record_btrace_is_replaying, record_btrace_resume)
5697 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
5698 * remote.c (append_pending_thread_resumptions): Likewise.
5699 * thread.c (thread_apply_all_command): Likewise.
5700
5701 2014-06-19 Gary Benson <gbenson@redhat.com>
5702
5703 * i386-nat.c (i386_stopped_by_watchpoint):
5704 Use i386_dr_stopped_by_watchpoint.
5705 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
5706 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
5707
5708 2014-06-19 Gary Benson <gbenson@redhat.com>
5709
5710 * nat/i386-dregs.c: New file.
5711 * Makefile.in (i386-dregs.o): New rule.
5712 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
5713 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
5714 * config/i386/darwin.mh (NATDEPFILES): Likewise.
5715 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5716 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
5717 * config/i386/go32.mh (NATDEPFILES): Likewise.
5718 * config/i386/linux.mh (NATDEPFILES): Likewise.
5719 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5720 * config/i386/mingw.mh (NATDEPFILES): Likewise.
5721 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
5722 * i386-nat.h (debug_hw_points): New declaration.
5723 * i386-nat.c (breakpoint.h): Remove include.
5724 (command.h): Likewise.
5725 (target.h): Likewise.
5726 (gdb_assert.h): Likewise.
5727 (debug_hw_points): Made nonstatic.
5728 (debug_printf): Now in i386-dregs.c.
5729 (TARGET_HAS_DR_LEN_8): Likewise.
5730 (DR_CONTROL_SHIFT): Likewise.
5731 (DR_CONTROL_SIZE): Likewise.
5732 (DR_RW_EXECUTE): Likewise.
5733 (DR_RW_WRITE): Likewise.
5734 (DR_RW_READ): Likewise.
5735 (DR_RW_IORW): Likewise.
5736 (DR_LEN_1): Likewise.
5737 (DR_LEN_2): Likewise.
5738 (DR_LEN_4): Likewise.
5739 (DR_LEN_8): Likewise.
5740 (DR_LOCAL_ENABLE_SHIFT): Likewise.
5741 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
5742 (DR_ENABLE_SIZE): Likewise.
5743 (DR_LOCAL_SLOWDOWN): Likewise.
5744 (DR_GLOBAL_SLOWDOWN): Likewise.
5745 (DR_CONTROL_RESERVED): Likewise.
5746 (I386_DR_CONTROL_MASK): Likewise.
5747 (I386_DR_VACANT): Likewise.
5748 (I386_DR_LOCAL_ENABLE): Likewise.
5749 (I386_DR_GLOBAL_ENABLE): Likewise.
5750 (I386_DR_DISABLE): Likewise.
5751 (I386_DR_SET_RW_LEN): Likewise.
5752 (I386_DR_GET_RW_LEN): Likewise.
5753 (I386_DR_WATCH_HIT): Likewise.
5754 (i386_wp_op_t): Likewise.
5755 (i386_show_dr): Likewise.
5756 (i386_length_and_rw_bits): Likewise.
5757 (i386_insert_aligned_watchpoint): Likewise.
5758 (i386_remove_aligned_watchpoint): Likewise.
5759 (i386_handle_nonaligned_watchpoint): Likewise.
5760 (i386_update_inferior_debug_regs): Likewise.
5761 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
5762 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
5763 (i386_region_ok_for_watchpoint):
5764 Use i386_dr_region_ok_for_watchpoint.
5765 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
5766
5767 2014-06-19 Gary Benson <gbenson@redhat.com>
5768
5769 * i386-nat.c (i386_insert_hw_breakpoint): Use
5770 i386_insert_watchpoint.
5771 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
5772
5773 2014-06-19 Gary Benson <gbenson@redhat.com>
5774
5775 * i386-nat.c (i386_dr_show): Renamed to
5776 i386_show_dr and made static. All uses updated.
5777 (i386_dr_length_and_rw_bits): Renamed to
5778 i386_length_and_rw_bits and made static.
5779 All uses updated.
5780 (i386_dr_insert_aligned_watchpoint): Renamed to
5781 i386_insert_aligned_watchpoint and made static.
5782 All uses updated.
5783 (i386_dr_remove_aligned_watchpoint): Renamed to
5784 i386_remove_aligned_watchpoint and made static.
5785 All uses updated.
5786 (i386_dr_update_inferior_debug_regs): Renamed to
5787 i386_update_inferior_debug_regs and made static.
5788 All uses updated.
5789 * nat/i386-dregs.h (i386_dr_show): Removed.
5790 (i386_dr_length_and_rw_bits): Likewise.
5791 (i386_dr_insert_aligned_watchpoint): Likewise.
5792 (i386_dr_remove_aligned_watchpoint): Likewise.
5793 (i386_dr_update_inferior_debug_regs): Likewise.
5794
5795 2014-06-19 Gary Benson <gbenson@redhat.com>
5796
5797 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
5798 * configure: Regenerate.
5799 * config.in: Likewise.
5800 * main.c (signal.h): New include.
5801 (setup_alternate_signal_stack): New function.
5802 (captured_main): Call the above.
5803 * cp-support.c (signal.h): New include.
5804 (catch_demangler_crashes): New flag.
5805 (SIGJMP_BUF): New define.
5806 (SIGSETJMP): Likewise.
5807 (SIGLONGJMP): Likewise.
5808 (gdb_demangle_jmp_buf): New static global.
5809 (gdb_demangle_attempt_core_dump): Likewise.
5810 (gdb_demangle_signal_handler): New function.
5811 (gdb_demangle): If catch_demangler_crashes is set, install the
5812 above signal handler before calling bfd_demangle, and restore
5813 the original signal handler afterwards. Display the offending
5814 symbol and call demangler_warning the first time a segmentation
5815 fault is caught.
5816 (_initialize_cp_support): New maint set/show command.
5817
5818 2014-06-19 Gary Benson <gbenson@redhat.com>
5819
5820 * utils.h (resource_limit_kind): New enum.
5821 (can_dump_core): New declaration.
5822 (warn_cant_dump_core): Likewise.
5823 (dump_core): Likewise.
5824 * utils.c (dump_core): Made nonstatic. Added new
5825 parameter "limit_kind".
5826 (can_dump_core): Made nonstatic. Moved printing code to...
5827 (warn_cant_dump_core): New function.
5828 (can_dump_core_warn): Likewise.
5829 (internal_vproblem): Replace calls to can_dump_core with
5830 calls to can_dump_core_warn. Supply new argument to each.
5831
5832 2014-06-19 Gary Benson <gbenson@redhat.com>
5833
5834 * utils.h (demangler_vwarning): New declaration.
5835 (demangler_warning): Likewise.
5836 * utils.c (struct internal_problem)
5837 <user_settable_should_quit>: New field.
5838 <user_settable_should_dump_core>: Likewise
5839 (internal_error_problem): Add values for above new fields.
5840 (internal_warning_problem): Likewise.
5841 (demangler_warning_problem): New static global.
5842 (demangler_vwarning): New function.
5843 (demangler_warning): Likewise.
5844 (add_internal_problem_command): Selectively add commands.
5845 (_initialize_utils): New internal problem command.
5846 * maint.c (maintenance_demangler_warning): New function.
5847 (_initialize_maint_cmds): New command.
5848
5849 2014-06-18 Tom Tromey <tromey@redhat.com>
5850
5851 * f-valprint.c (info_common_command_for_block): Update.
5852 * symtab.h (struct general_symbol_info) <common_block>: Now
5853 const.
5854
5855 2014-06-18 Tom Tromey <tromey@redhat.com>
5856
5857 * symtab.h (struct symtab) <blockvector>: Now const.
5858 * ada-lang.c (ada_add_global_exceptions): Update.
5859 * buildsym.c (augment_type_symtab): Update.
5860 * dwarf2read.c (dw2_lookup_symbol): Update.
5861 * jit.c (finalize_symtab): Update.
5862 * jv-lang.c (add_class_symtab_symbol): Update.
5863 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
5864 Update.
5865 * objfiles.c (objfile_relocate1): Update.
5866 * psymtab.c (lookup_symbol_aux_psymtabs)
5867 (maintenance_check_psymtabs): Update.
5868 * python/py-symtab.c (stpy_global_block, stpy_static_block):
5869 Update.
5870 * spu-tdep.c (spu_catch_start): Update.
5871 * symmisc.c (dump_symtab_1): Update.
5872 * symtab.c (lookup_global_symbol_from_objfile)
5873 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
5874 (basic_lookup_transparent_type_quick)
5875 (basic_lookup_transparent_type, find_pc_sect_symtab)
5876 (find_pc_sect_line, search_symbols): Update.
5877 * block.c (find_block_in_blockvector): Make "bl" const.
5878 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
5879 const.
5880 (blockvector_contains_pc): Make "bv" const.
5881 (block_for_pc_sect): Update.
5882 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5883 (blockvector_contains_pc): Update.
5884 * breakpoint.c (resolve_sal_pc): Update.
5885 * inline-frame.c (block_starting_point_at): Update.
5886
5887 2014-06-18 Tom Tromey <tromey@redhat.com>
5888
5889 * completer.c (complete_line): Make "line_buffer" const.
5890 * completer.h (complete_line): Update.
5891
5892 2014-06-18 Tom Tromey <tromey@redhat.com>
5893
5894 * symtab.c (add_macro_name): Remove unneeded cast.
5895
5896 2014-06-18 Tom Tromey <tromey@redhat.com>
5897
5898 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
5899 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
5900
5901 2014-06-18 Tom Tromey <tromey@redhat.com>
5902
5903 * probe.c (info_probes_for_ops): Make "arg" const.
5904 * probe.h (info_probes_for_ops): Update.
5905
5906 2014-06-18 Tom Tromey <tromey@redhat.com>
5907
5908 * varobj.c (varobj_create): Update.
5909 * valops.c (value_of_this): Update.
5910 * tracepoint.c (add_local_symbols, scope_info): Update.
5911 * symtab.h (struct general_symbol_info) <block>: Now const.
5912 * symtab.c (skip_prologue_sal)
5913 (default_make_symbol_completion_list_break_on)
5914 (skip_prologue_using_sal): Update.
5915 * stack.h (iterate_over_block_locals)
5916 (iterate_over_block_local_vars): Update.
5917 * stack.c (print_frame_args): Update.
5918 (iterate_over_block_locals, iterate_over_block_local_vars): Make
5919 parameter const.
5920 (get_selected_block): Make return type const.
5921 * python/py-frame.c (frapy_block): Update.
5922 * python/py-block.c (gdbpy_block_for_pc): Update.
5923 * p-exp.y (%union) <bval>: Now const.
5924 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
5925 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
5926 * m2-exp.y (%union) <bval>: Now const.
5927 * linespec.c (get_current_search_block): Make return type const.
5928 (create_sals_line_offset, find_label_symbols): Update.
5929 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
5930 Update.
5931 (block_starting_point_at): Make "block" const.
5932 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
5933 (check_exception_resume): Update.
5934 * guile/scm-frame.c (gdbscm_frame_block): Update.
5935 * guile/scm-block.c (gdbscm_lookup_block): Update.
5936 * frame.h (get_frame_block): Update.
5937 (get_selected_block): Make return type const.
5938 * frame.c (frame_id_inner): Update.
5939 * f-valprint.c (info_common_command_for_block)
5940 (info_common_command): Update.
5941 * dwarf2loc.c (dwarf2_find_location_expression)
5942 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
5943 (locexpr_describe_location_piece): Update.
5944 * c-exp.y (%union) <bval>: Now const.
5945 * breakpoint.c (resolve_sal_pc): Update.
5946 * blockframe.c (get_frame_block):Make return type const.
5947 (get_pc_function_start, get_frame_function, find_pc_sect_function)
5948 (block_innermost_frame): Update.
5949 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5950 (block_for_pc, block_for_pc_sect): Update.
5951 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
5952 'pblock' const.
5953 (block_for_pc_sect, block_for_pc): Make return type const.
5954 * ax-gdb.c (gen_expr): Update.
5955 * alpha-mdebug-tdep.c (find_proc_desc): Update.
5956 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
5957 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
5958 (ada_read_var_value): Update.
5959 * ada-exp.y (struct name_info) <block>: Now const.
5960 (%union): Likewise.
5961 (block_lookup): Constify.
5962
5963 2014-06-18 Gary Benson <gbenson@redhat.com>
5964
5965 * nat/i386-dregs.h: New file.
5966 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
5967 * i386-nat.h (i386-dregs.h): New include.
5968 (DR_FIRSTADDR): Now in i386-dregs.h.
5969 (DR_LASTADDR): Likewise.
5970 (DR_NADDR): Likewise.
5971 (DR_STATUS): Likewise.
5972 (DR_CONTROL): Likewise.
5973 (i386_debug_reg_state): Likewise.
5974 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
5975
5976 2014-06-18 Don Breazeal <donb@codesourcery.com>
5977
5978 * breakpoint.c (set_longjmp_breakpoint): Call
5979 momentary_breakpoint_from_master with additional argument.
5980 (set_longjmp_breakpoint_for_call_dummy): Call
5981 momentary_breakpoint_from_master with additional argument.
5982 (set_std_terminate_breakpoint): Call
5983 momentary_breakpoint_from_master with additional argument.
5984 (momentary_breakpoint_from_master): Add argument to function
5985 definition and use it to initialize structure member flag.
5986 (clone_momentary_breakpoint): Call
5987 momentary_breakpoint_from_master with additional argument.
5988 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
5989 member flags set in momentary_breakpoint_from_master.
5990
5991 2014-06-18 Gary Benson <gbenson@redhat.com>
5992
5993 * i386-nat.c (i386_show_dr): Renamed to
5994 i386_dr_show and made nonstatic. All uses updated.
5995 (i386_length_and_rw_bits): Renamed to
5996 i386_dr_length_and_rw_bits and made nonstatic.
5997 All uses updated.
5998 (i386_insert_aligned_watchpoint): Renamed to
5999 i386_dr_insert_aligned_watchpoint and made nonstatic.
6000 All uses updated.
6001 (i386_remove_aligned_watchpoint): Renamed to
6002 i386_dr_remove_aligned_watchpoint and made nonstatic.
6003 All uses updated.
6004 (i386_update_inferior_debug_regs): Renamed to
6005 i386_dr_update_inferior_debug_regs and made nonstatic.
6006 All uses updated.
6007
6008 2014-06-18 Gary Benson <gbenson@redhat.com>
6009
6010 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
6011 (i386_dr_low_can_set_control): Likewise.
6012 (i386_dr_low_set_addr): Likewise.
6013 (i386_dr_low_set_control): Likewise.
6014 (i386_dr_low_get_addr): Likewise.
6015 (i386_dr_low_get_status): Likewise.
6016 (i386_dr_low_get_control): Likewise.
6017 (i386_insert_aligned_watchpoint): Use new macros.
6018 (i386_update_inferior_debug_regs): Likewise.
6019 (i386_stopped_data_address): Likewise.
6020
6021 2014-06-18 Gary Benson <gbenson@redhat.com>
6022
6023 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
6024 New parameter. All uses updated.
6025
6026 2014-06-18 Gary Benson <gbenson@redhat.com>
6027
6028 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
6029 All uses updated.
6030
6031 2014-06-18 Gary Benson <gbenson@redhat.com>
6032
6033 * i386-nat.c (debug_printf): New macro.
6034 (i386_get_debug_register_length): Likewise.
6035 (TARGET_HAS_DR_LEN_8): Use above macro.
6036 (i386_show_dr): Use debug_printf instead of puts_unfiltered
6037 and printf_unfiltered. Use phex to format values.
6038
6039 2014-06-18 Gary Benson <gbenson@redhat.com>
6040
6041 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
6042 Make const.
6043
6044 2014-06-18 Gary Benson <gbenson@redhat.com>
6045
6046 * i386-nat.c: Comment changes.
6047
6048 2014-06-18 Gary Benson <gbenson@redhat.com>
6049
6050 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
6051
6052 2014-06-18 Gary Benson <gbenson@redhat.com>
6053
6054 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
6055 (i386_insert_aligned_watchpoint): Likewise.
6056 (i386_remove_aligned_watchpoint): Likewise.
6057 (i386_handle_nonaligned_watchpoint): Likewise.
6058
6059 2014-06-18 Gary Benson <gbenson@redhat.com>
6060
6061 * i386-nat.c: Whitespace changes.
6062
6063 2014-06-17 Samuel Bronson <naesten@gmail.com>
6064
6065 * MAINTAINERS: Update Roland McGrath's email address.
6066 Thanks to Sergio Durigan Junior for pointing out that he left
6067 Red Hat a while ago, and giving me a current address.
6068
6069 2014-06-17 Tom Tromey <tromey@redhat.com>
6070
6071 * utils.h (savestring): Remove declaration.
6072
6073 2014-06-17 Tom Tromey <tromey@redhat.com>
6074
6075 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
6076
6077 2014-06-16 Keith Seitz <keiths@redhat.com>
6078
6079 PR mi/15863
6080 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
6081 to update the varobj if inferior_ptid is null_ptid.
6082
6083 2014-06-16 Tom Tromey <tromey@redhat.com>
6084
6085 * target.h (struct target_ops) <to_info_proc>: Make parameter
6086 const.
6087 (target_info_proc): Update.
6088 * target.c (target_info_proc): Make "args" const.
6089 * procfs.c (procfs_info_proc): Update.
6090 * linux-tdep.c (linux_info_proc): Update.
6091 (linux_core_info_proc_mappings): Make "args" const.
6092 (linux_core_info_proc): Update.
6093 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
6094 * gdbarch.c: Rebuild.
6095 * gdbarch.h: Rebuild.
6096 * corelow.c (core_info_proc): Update.
6097
6098 2014-06-16 Tom Tromey <tromey@redhat.com>
6099
6100 * target.h (struct target_ops) <to_disconnect>: Make parameter
6101 const.
6102 (target_disconnect): Update.
6103 * target.c (target_disconnect): Make "args" const.
6104 * target-delegates.c: Rebuild.
6105 * remote.c (remote_disconnect): Update.
6106 * record.h (record_disconnect): Update.
6107 * record.c (record_disconnect): Update.
6108 * inf-child.c (inf_child_disconnect): Update.
6109
6110 2014-06-16 Tom Tromey <tromey@redhat.com>
6111
6112 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
6113 * target.c (debug_to_rcmd, default_rcmd): Update.
6114 * target-delegates.c: Rebuild.
6115 * remote.c (remote_rcmd): Update.
6116 * monitor.c (monitor_rcmd): Update.
6117
6118 2014-06-16 Pedro Alves <palves@redhat.com>
6119
6120 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
6121 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
6122 have OBJF_SHARED set.
6123 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
6124 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
6125 instead of OBJF_USERLOADED.
6126 * objfiles.h (OBJF_SHARED): Update comment.
6127 (userloaded_objfile_contains_address_p): Rename to ...
6128 (shared_objfile_contains_address_p): ... this, and update
6129 comments.
6130 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
6131 new objfile.
6132 (remove_symbol_file_command): Skip objfiles that don't have
6133 OBJF_SHARED set.
6134
6135 2014-06-16 Tom Tromey <tromey@redhat.com>
6136
6137 * minsyms.h (prim_record_minimal_symbol)
6138 (prim_record_minimal_symbol_and_info): Update comments.
6139
6140 2014-06-14 Eli Zaretskii <eliz@gnu.org>
6141
6142 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
6143 or --without-guile, according to how GDB was built.
6144
6145 2014-06-13 Tom Tromey <tromey@redhat.com>
6146
6147 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
6148 to help_list.
6149 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
6150 to help_list.
6151 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
6152 help_list.
6153 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
6154 help_list.Pass all_commands, not -1, to help_list.
6155 * cli/cli-dump.c (dump_command, append_command)
6156 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
6157 (binary_dump_command, binary_append_command): Pass all_commands,
6158 not -1, to help_list.
6159 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
6160 -1, to help_list.
6161 * valprint.c (set_print, set_print_raw): Pass all_commands, not
6162 -1, to help_list.
6163 * typeprint.c (set_print_type): Pass all_commands, not -1, to
6164 help_list.
6165 * top.c (set_history): Pass all_commands, not -1, to help_list.
6166 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
6167 all_commands, not -1, to help_list.
6168 * symfile.c (overlay_command): Pass all_commands, not -1, to
6169 help_list.
6170 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
6171 help_list.
6172 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
6173 help_list.
6174 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
6175 -1, to help_list.
6176 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
6177 not -1, to help_list.
6178 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
6179 not -1, to help_list.
6180 * maint.c (maintenance_command, maintenance_info_command)
6181 (maintenance_print_command, maintenance_set_cmd): Pass
6182 all_commands, not -1, to help_list.
6183 * macrocmd.c (macro_command): Pass all_commands, not -1, to
6184 help_list.
6185 * language.c (set_check): Pass all_commands, not -1, to help_list.
6186 * infcmd.c (unset_command): Pass all_commands, not -1, to
6187 help_list.
6188 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
6189 help_list.
6190 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
6191 help_list.
6192 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
6193 help_list.
6194 * breakpoint.c (save_command): Pass all_commands, not -1, to
6195 help_list.
6196 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
6197 all_commands, not -1, to help_list.
6198
6199 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
6200
6201 * regcache.c (struct register_to_invalidate): New structure.
6202 (do_register_invalidate, make_cleanup_regcache_invalidate): New
6203 functions.
6204 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
6205
6206 2014-06-12 Yao Qi <yao@codesourcery.com>
6207
6208 * varobj.c (varobj_get_num_children): Call
6209 varobj_is_dynamic_p.
6210 (varobj_list_children): Likewise.
6211 (varobj_update): Likewise. Update comments.
6212
6213 2014-06-12 Yao Qi <yao@codesourcery.com>
6214
6215 * varobj.c (varobj_pretty_printed_p): Rename to ...
6216 (varobj_is_dynamic_p): ... this. New function.
6217 * varobj.h (varobj_pretty_printed_p): Remove declaration.
6218 (varobj_is_dynamic_p): Declare.
6219 * mi/mi-cmd-var.c (print_varobj): All callers updated.
6220 (mi_print_value_p, varobj_update_one): Likewise.
6221
6222 2014-06-12 Pedro Alves <pedro@codesourcery.com>
6223 Yao Qi <yao@codesourcery.com>
6224
6225 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
6226 (varobj_get_iterator): Wrap up code for pretty-printer by
6227 "#if HAVE_PYTHON" and "#endif".
6228 (update_dynamic_varobj_children): Likewise.
6229
6230 2014-06-12 Pedro Alves <pedro@codesourcery.com>
6231 Yao Qi <yao@codesourcery.com>
6232
6233 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
6234 gdb_python_initialized is false. Move some code from varobj.c.
6235 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
6236 * varobj.c: Move "varobj-iter.h" inclusion earlier.
6237 (struct varobj_item): Moved to varobj-iter.h".
6238 (varobj_clear_saved_item): New function.
6239 (update_dynamic_varobj_children): Move python-related code to
6240 py-varobj.c.
6241 (free_variable): Call varobj_clear_saved_item and
6242 varobj_iter_delete.
6243
6244 2014-06-12 Pedro Alves <pedro@codesourcery.com>
6245 Yao Qi <yao@codesourcery.com>
6246
6247 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
6248 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
6249 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
6250 (py-varobj.o): New rule.
6251 * python/py-varobj.c: New file.
6252 * python/python-internal.h (py_varobj_get_iterator): Declare.
6253 * varobj-iter.h: New file.
6254 * varobj.c: Include "varobj-iter.h"
6255 (struct varobj) <child_iter>: Change its type from "PyObject *"
6256 to "struct varobj_iter *".
6257 <saved_item>: Likewise.
6258 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
6259 [HAVE_PYTHON] (varobj_get_iterator): New function.
6260 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
6261 python-specific code to python/py-varobj.c.
6262 (install_visualizer): Call varobj_iter_delete instead of
6263 Py_XDECREF.
6264 * varobj.h (varobj_ensure_python_env): Declare.
6265
6266 2014-06-12 Yao Qi <yao@codesourcery.com>
6267
6268 * varobj.c (struct varobj_item): New structure.
6269 (create_child_with_value): Update declaration.
6270 (varobj_add_child): Replace arguments 'name' and 'value' with
6271 'item'. All callers updated.
6272 (install_dynamic_child): Likewise.
6273 (update_dynamic_varobj_children): Likewise.
6274 (varobj_add_child): Likewise.
6275 (create_child_with_value): Likewise.
6276
6277 2014-06-11 Joel Brobecker <brobecker@adacore.com>
6278
6279 * NEWS: Create a new section for the next release branch.
6280 Rename the section of the current branch, now that it has
6281 been cut.
6282
6283 2014-06-11 Joel Brobecker <brobecker@adacore.com>
6284
6285 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
6286 * version.in: Bump version to 7.8.50.DATE-cvs.
6287
6288 2014-06-11 Pedro Alves <palves@redhat.com>
6289
6290 PR remote/17028
6291 * ser-mingw.c (net_windows_socket_check_pending): New function.
6292 (net_windows_select_thread): Ignore spurious wakeups. Use
6293 net_windows_socket_check_pending.
6294 (net_windows_wait_handle): Check for pending events with
6295 ioctlsocket, through net_windows_socket_check_pending, instead of
6296 checking the socket's event.
6297
6298 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
6299
6300 * python/python-internal.h (gdb_PyObject_GetAttrString)
6301 (gdb_PyObject_HasAttrString): New inline function definitions.
6302 * py-value.c (get_field_flag): Remove the now unnecessary cast to
6303 char * of the second argument to PyObject_GetAttrString.
6304
6305 2014-06-10 Joel Brobecker <brobecker@adacore.com>
6306
6307 * serial.c (serial_write): Fix index of character to be printed
6308 in call to serial_logchar when serial debug traces are enabled.
6309
6310 2014-06-10 Joel Brobecker <brobecker@adacore.com>
6311
6312 * gdbtypes (resolve_dynamic_range): Add function description.
6313
6314 2014-06-09 Pedro Alves <palves@redhat.com>
6315
6316 * linux-nat.c (linux_child_follow_fork): Initialize status with
6317 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
6318 inner block. Only pass the signal to PTRACE_DETACH if in pass
6319 state.
6320
6321 2014-06-09 Gary Benson <gbenson@redhat.com>
6322
6323 * common/signals.c (gdb_signal_from_host): Reorder to separate
6324 the always-available ANSI-standard signals from the signals that
6325 require checking.
6326 (do_gdb_signal_to_host): Likewise.
6327 * proc-events.c (signal_table): Likewise.
6328
6329 2014-06-08 Hui Zhu <hui@codesourcery.com>
6330
6331 * common/linux-ptrace.c (linux_disable_event_reporting): New
6332 function.
6333 * common/linux-ptrace.h (linux_disable_event_reporting): New
6334 declaration.
6335 * linux-nat.c (linux_child_follow_fork): Do a single step before
6336 detach.
6337
6338 2014-06-07 Keith Seitz <keiths@redhat.com>
6339
6340 Revert:
6341 PR c++/16253
6342 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6343 from symbol_matches_domain in symtab.c. All local callers
6344 of symbol_matches_domain updated.
6345 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6346 search STRUCT_DOMAIN.
6347 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6348 independently. standard_lookup will do that automatically.
6349 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6350 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6351 (cp_lookup_symbol_in_namespace): Likewise.
6352 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6353 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6354 may return a STRUCT_DOMAIN match.
6355 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6356 * cp-support.c: Include language.h.
6357 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6358 VAR_DOMAIN.
6359 * psymtab.c (match_partial_symbol): Compare the requested
6360 domain with the symbol's domain directly.
6361 (lookup_partial_symbol): Likewise.
6362 * symtab.c (lookup_symbol_in_language): Explain when/why
6363 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6364 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6365 appropriate languages.
6366 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6367 and moved to ada-lang.c
6368 (lookup_block_symbol): Explain that this function only returns
6369 symbol matching the requested DOMAIN.
6370 Compare the requested domain with the symbol's domain directly.
6371 (iterate_over_symbols): Compare the requested domain with the
6372 symbol's domain directly.
6373 * symtab.h (symbol_matches_domain): Remove.
6374
6375 2014-06-06 Doug Evans <xdje42@gmail.com>
6376
6377 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
6378 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
6379 (gdbscm_guile_version_is_at_least): Declare.
6380 (gdbscm_scm_string_to_int): Declare.
6381 * guile/guile.c (gdbscm_guile_major_version): New global.
6382 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
6383 (guile_datadir): New static global.
6384 (gdbscm_guile_data_directory): New function.
6385 (initialize_scheme_side): Update.
6386 (misc_guile_functions): Add guile-data-directory.
6387 (initialize_gdb_module): Fetch guile version number.
6388 * guile/lib/gdb.scm: Remove call to add-to-load-path.
6389 * guile/lib/gdb/init.scm (%initialize!): Ditto.
6390 * guile/lib/gdb/boot.scm: Use guile-data-directory.
6391 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
6392 comments.
6393 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
6394 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
6395 * guile/scm-value.c (gdbscm_value_to_string): Only call
6396 scm_port_conversion_strategy if Guile version >= 2.0.6.
6397
6398 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
6399
6400 * main.c (print_gdb_help): Add -q and --silent.
6401
6402 2014-06-06 Gary Benson <gbenson@redhat.com>
6403
6404 * common/signals.c: Remove preprocessor conditionals for
6405 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6406 SIGSEGV and SIGTERM.
6407 * proc-events.c: Likewise.
6408
6409 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
6410
6411 * symfile.c (symfile_free_objfile): Remove restriction to
6412 OBJF_USERLOADED.
6413 * symfile-mem.c (symbol_file_add_from_memory): Call
6414 add_target_sections_of_objfile.
6415
6416 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6417
6418 * guile/scm-value.c (gdbscm_history_append_x): Use
6419 'vlscm_get_value_smob_arg_unsafe' instead of
6420 'vlscm_scm_to_value'.
6421
6422 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6423
6424 PR mi/15806
6425 * utils.c (printchar): Don't escape at all if quoter is NUL.
6426 Update function documentation to clarify effect of parameter
6427 QUOTER.
6428 * remote.c (escape_buffer): Pass '\\' as the quoter to
6429 fputstrn_unfiltered.
6430 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
6431 generate the output.
6432 (mi_solib_unloaded): Same.
6433
6434 2014-06-05 Joel Brobecker <brobecker@adacore.com>
6435
6436 * development.sh: Delete.
6437 * Makefile.in (config.status): Adjust dependency on development.sh.
6438 * configure.ac: Adjust development.sh source call.
6439 * configure: Regenerate.
6440
6441 2014-06-04 Doug Evans <xdje42@gmail.com>
6442
6443 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
6444 is_scheme_bkpt, spec.
6445 (bpscm_make_breakpoint_smob): Initialize new members.
6446 (gdbscm_create_breakpoint_x): Split into two ...
6447 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
6448 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
6449 (scheme_function breakpoint_functions): Update.
6450 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
6451 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
6452 register-breakpoint!.
6453
6454 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
6455
6456 PR server/17023
6457 * mem-break.c (z_type_supported): Return zero if
6458 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
6459
6460 2014-06-04 Tom Tromey <tromey@redhat.com>
6461
6462 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
6463 value_from_contents_and_address_unresolved.
6464 (ada_template_to_fixed_record_type_1): Likewise.
6465 (ada_which_variant_applies): Likewise.
6466 * value.h (value_from_contents_and_address_unresolved): Declare.
6467 * value.c (value_from_contents_and_address_unresolved): New
6468 function.
6469 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
6470 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
6471 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
6472
6473 2014-06-04 Tom Tromey <tromey@redhat.com>
6474
6475 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
6476
6477 2014-06-04 Tom Tromey <tromey@redhat.com>
6478
6479 * procfs.c (procfs_attach): Make "args" const.
6480 * windows-nat.c (windows_attach): Make "args" const.
6481 * nto-procfs.c (procfs_attach): Make "args" const.
6482 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
6483 * go32-nat.c (go32_attach): Make "args" const.
6484 * gnu-nat.c (gnu_attach): Make "args" const.
6485 * darwin-nat.c (darwin_attach): Make "args" const.
6486 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
6487 * linux-nat.c (linux_nat_attach): Make "args" const.
6488 * remote.c (extended_remote_attach_1, extended_remote_attach):
6489 Make "args" const.
6490 * target.h (struct target_ops) <to_attach>: Make "args" const.
6491 (find_default_attach): Likewise.
6492 * utils.c (parse_pid_to_attach): Make "args" const.
6493 * utils.h (parse_pid_to_attach): Update.
6494
6495 2014-06-04 Tom Tromey <tromey@redhat.com>
6496
6497 * target-delegates.c: Rebuild.
6498 * target.c (default_thread_address_space): New function.
6499 (target_thread_address_space): Simplify.
6500 * target.h (struct target_ops) <to_thread_address_space>: Add
6501 TARGET_DEFAULT_FUNC.
6502
6503 2014-06-04 Doug Evans <xdje42@gmail.com>
6504
6505 * guile/scm-type.c (type_smob): Remove duplicate typedef.
6506
6507 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
6508
6509 * record-btrace.c: Include event-loop.h and inf-loop.h.
6510 (record_btrace_resume_exec_dir)
6511 (record_btrace_async_inferior_event_handler)
6512 (record_btrace_handle_async_inferior_event): New.
6513 (record_btrace_open): Create async event handler.
6514 (record_btrace_close): Delete async event handler.
6515 (record_btrace_resume): Set record_btrace_resume_exec_dir,
6516 Mark async event handler.
6517 (record_btrace_execution_direction): New.
6518 (init_record_btrace_ops): Initialize to_execution_direction.
6519
6520 2014-06-03 Doug Evans <xdje42@gmail.com>
6521
6522 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
6523 (gdbscm_make_parameter): Ditto.
6524
6525 2014-06-03 Doug Evans <dje@google.com>
6526
6527 * exec.c (exec_close_1): Call clear_section_table instead of
6528 resize_section_table.
6529 (clear_section_table): New function.
6530 (resize_section_table): Make static. Rename arg num_added to
6531 adjustment.
6532 * exec.h (clear_section_table): Declare.
6533 (resize_section_table): Delete.
6534 * progspace.c (release_program_space): Call clear_section_table
6535 instead of resize_section_table.
6536
6537 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6538
6539 * NEWS (Python Scripting): Add entry about the new xmethods
6540 feature.
6541
6542 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6543
6544 * python/py-xmethods.c: New file.
6545 * python/py-objfile.c (objfile_object): New field 'xmethods'.
6546 (objfpy_dealloc): XDECREF on the new xmethods field.
6547 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6548 field.
6549 (objfpy_get_xmethods): New function.
6550 (objfile_getset): New entry 'xmethods'.
6551 * python/py-progspace.c (pspace_object): New field 'xmethods'.
6552 (pspy_dealloc): XDECREF on the new xmethods field.
6553 (pspy_new, pspace_to_pspace_object): Initialize xmethods
6554 field.
6555 (pspy_get_xmethods): New function.
6556 (pspace_getset): New entry 'xmethods'.
6557 * python/python-internal.h: Add declarations for new functions.
6558 * python/python.c (_initialize_python): Invoke
6559 gdbpy_initialize_xmethods.
6560 * python/lib/gdb/__init__.py (xmethods): New
6561 attribute.
6562 * python/lib/gdb/xmethod.py: New file.
6563 * python/lib/gdb/command/xmethods.py: New file.
6564
6565 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6566
6567 * eval.c (evaluate_subexp_standard): Call the xmethod if the
6568 best match method returned by find_overload_match is an xmethod.
6569 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6570 the best matching operator returned by find_overload_match is an
6571 xmethod.
6572 * valops.c: #include "extension.h".
6573 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6574 Return void. The list of matching source methods is returned in
6575 "fn_list" and a vector of matching debug method workers is
6576 returned in "xm_worker_vec". Update all callers.
6577 (value_find_oload_method_list): Likewise.
6578 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
6579 non-NULL, then the index of the best matching method in this
6580 vector is returned. Update all callers.
6581 (find_overload_match): Include xmethods while performing overload
6582 resolution.
6583
6584 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6585
6586 * defs.h (enum lval_type): New enumerator "lval_xcallable".
6587 * extension-priv.h (struct extension_language_ops): Add the
6588 xmethod interface.
6589 * extension.c (new_xmethod_worker, clone_xmethod_worker,
6590 get_matching_xmethod_workers, get_xmethod_argtypes,
6591 invoke_xmethod, free_xmethod_worker,
6592 free_xmethod_worker_vec): New functions.
6593 * extension.h: #include "common/vec.h".
6594 New function declarations.
6595 (struct xmethod_worker): New struct.
6596 (VEC (xmethod_worker_ptr)): New vector type.
6597 (xmethod_worker_ptr): New typedef.
6598 (xmethod_worker_vec): Likewise.
6599 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6600 builtin_type.
6601 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
6602 (struct builtin_type): New field "xmethod".
6603 * valarith.c (value_ptradd): Assert that the value argument is not
6604 lval_xcallable.
6605 * valops.c (value_must_coerce_to_target): Return 0 for
6606 lval_xcallable values.
6607 * value.c (struct value): New field XM_WORKER in the field
6608 LOCATION.
6609 (value_address, value_raw_address): Return 0 for lval_xcallable
6610 values.
6611 (set_value_address): Assert that the value is not an
6612 lval_xcallable.
6613 (value_free): Free the associated xmethod worker when freeing
6614 lval_xcallable values.
6615 (set_value_component_location): Assert that the WHOLE value is not
6616 lval_xcallable.
6617 (value_of_xmethod, call_xmethod): New functions.
6618 * value.h: Declare "struct xmethod_worker".
6619 Declare new functions value_of_xmethod, call_xmethod.
6620
6621 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6622 Pedro Alves <palves@redhat.com>
6623
6624 PR breakpoints/17000
6625 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
6626 New function, extracted from software_breakpoint_inserted_here_p.
6627 (software_breakpoint_inserted_here_p): Replace factored out code
6628 by call to find_non_raw_software_breakpoint_inserted_here.
6629 (bp_target_info_copy_insertion_state): New function.
6630 (bkpt_insert_location): Handle the case of a single-step
6631 breakpoint already inserted at the same address.
6632 (bkpt_remove_location): Handle the case of a single-step
6633 breakpoint still inserted at the same address.
6634 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
6635 breakpoint already inserted at the same address.
6636 (deprecated_remove_raw_breakpoint): Handle the case of a
6637 non-raw breakpoint still inserted at the same address.
6638 (find_single_step_breakpoint): New function, extracted from
6639 single_step_breakpoint_inserted_here_p.
6640 (find_single_step_breakpoint): New function,
6641 factored out from single_step_breakpoint_inserted_here_p.
6642 (single_step_breakpoint_inserted_here_p): Reimplement.
6643
6644 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6645
6646 Pushed by Joel Brobecker <brobecker@adacore.com>
6647 * source.c (show_substitute_path_command): Fix display of matching
6648 substitution rules.
6649
6650 2014-06-03 Gary Benson <gbenson@redhat.com>
6651
6652 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
6653
6654 2014-06-02 Doug Evans <xdje42@gmail.com>
6655
6656 Add parameter support for Guile.
6657 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
6658 (SUBDIR_GUILE_SRCS): Add scm-param.c.
6659 (scm-param.o): New rule.
6660 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
6661 (gdbscm_misc_error): Declare.
6662 (gdbscm_canonicalize_command_name): Declare.
6663 (gdbscm_scm_to_host_string): Declare.
6664 (gdbscm_scm_from_host_string): Declare.
6665 (gdbscm_initialize_parameters): Declare.
6666 * guile/guile.c (initialize_gdb_module): Call
6667 gdbscm_initialize_parameters.
6668 * guile/lib/gdb.scm: Export parameter symbols.
6669 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
6670 cmdscm_canonicalize_name and made public. All callers updated.
6671 * guile/scm-exception.c (gdbscm_misc_error): New function.
6672 * guile/scm-param.c: New file.
6673 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
6674 (gdbscm_scm_to_host_string): New function.
6675 (gdbscm_scm_from_host_string): New function.
6676 * scm-utils.c (gdbscm_gc_dup_argv): New function.
6677
6678 2014-06-02 Doug Evans <xdje42@gmail.com>
6679
6680 Add command support for Guile.
6681 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
6682 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
6683 (scm-cmd.o): New rule.
6684 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
6685 (gdbscm_user_error_p): Declare.
6686 (gdbscm_parse_command_name): Declare.
6687 (gdbscm_valid_command_class_p): Declare.
6688 (gdbscm_initialize_commands): Declare.
6689 * guile/guile.c (initialize_gdb_module): Call
6690 gdbscm_initialize_commands.
6691 * guile/lib/gdb.scm: Export command symbols.
6692 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
6693 (throw-user-error): New function.
6694 * guile/scm-cmd.c: New file.
6695 * guile/scm-exception.c (user_error_symbol): New static global.
6696 (gdbscm_user_error_p): New function.
6697 (gdbscm_initialize_exceptions): Set user_error_symbol.
6698 * scm-utils.c (gdbscm_gc_xstrdup): New function.
6699
6700 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
6701
6702 * top.c (command_loop): Handle comments here...
6703 (command_line_input): ... not here.
6704
6705 2014-06-02 Doug Evans <xdje42@gmail.com>
6706
6707 Add progspace support for Guile.
6708 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
6709 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
6710 (scm-progspace.o): New rule.
6711 * guile/guile-internal.h (pspace_smob): New typedef.
6712 (psscm_pspace_smob_pretty_printers): Declare.
6713 (psscm_pspace_smob_from_pspace): Declare.
6714 (psscm_scm_from_pspace): Declare.
6715 * guile/guile.c (initialize_gdb_module): Call
6716 gdbscm_initialize_pspaces.
6717 * guile/lib/gdb.scm: Export progspace symbols.
6718 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
6719 support.
6720 (append-pretty-printer!): Ditto.
6721 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
6722 Implement.
6723 * guile/scm-progspace.c: New file.
6724
6725 2014-06-03 Alan Modra <amodra@gmail.com>
6726
6727 * ppc64-tdep.c (ppc64_standard_linkage8): New.
6728 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
6729
6730 2014-06-02 Doug Evans <dje@google.com>
6731
6732 Add support for skeletonless type units.
6733 * dwarf2read.c (struct dwarf2_per_objfile): New member
6734 n_allocated_type_units.
6735 (struct dwarf2_per_objfile) <tu_stats>: New member
6736 nr_all_type_units_reallocs.
6737 (create_signatured_type_table_from_index): Initialize
6738 n_allocated_type_units
6739 (create_all_type_units): Ditto.
6740 (add_type_unit): Move up in file. New arg slot.
6741 All callers updated. Increase space for all_type_units more
6742 efficiently.
6743 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
6744 (lookup_dwo_signatured_type): Handle skeletonless TUs.
6745 (lookup_dwp_signatured_type): Ditto.
6746 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
6747 All callers updated.
6748 (build_type_psymtabs_1): Leave type_unit_groups as
6749 NULL if no TUs present.
6750 (print_tu_stats): New function.
6751 (process_skeletonless_type_unit): New function.
6752 (process_dwo_file_for_skeletonless_type_units): New
6753 function.
6754 (process_skeletonless_type_units): New function.
6755 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
6756 Call print tu_stats if debugging enabled.
6757
6758 2014-06-02 Pedro Alves <palves@redhat.com>
6759
6760 * breakpoint.c (build_target_command_list): Don't build a command
6761 list if we have any duplicate location that isn't a dprintf.
6762
6763 2014-06-02 Pedro Alves <palves@redhat.com>
6764
6765 * breakpoint.c (dprintf_breakpoint_hit): New function.
6766 (initialize_breakpoint_ops): Install it as dprintf's
6767 breakpoint_hit method.
6768
6769 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6770
6771 * source.c (substitute_path_rule_matches): Simplify using
6772 filename_ncmp instead of FILENAME_CMP.
6773
6774 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6775
6776 * source.c (substitute_path_rule_matches): Remove trailing spaces.
6777
6778 2014-06-01 Ludovic Courtès <ludo@gnu.org>
6779
6780 * configure.ac: When Guile is available, check for the
6781 availability of 'scm_new_smob'.
6782 * configure, config.h.in: Regenerate.
6783 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
6784 function.
6785
6786 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6787
6788 * frame.c (struct frame_info): Add stop_string field.
6789 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
6790 (get_prev_frame_always): Old content moved into
6791 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
6792 TRY_CATCH, handle MEMORY_ERROR exceptions.
6793 (frame_stop_reason_string): New function definition.
6794 * frame.h (unwind_stop_reason_to_string): Extend comment to
6795 mention frame_stop_reason_string.
6796 (frame_stop_reason_string): New function declaration.
6797 * stack.c (frame_info): Switch to frame_stop_reason_string.
6798 (backtrace_command_1): Switch to frame_stop_reason_string.
6799 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
6800 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
6801 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
6802
6803 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6804
6805 * frame.c (frame_stop_reason_string): Rename to ...
6806 (unwind_stop_reason_to_string): this.
6807 * frame.h (frame_stop_reason_string): Rename to ...
6808 (unwind_stop_reason_to_string): this.
6809 * stack.c (frame_info): Update call to frame_stop_reason_string.
6810 (backtrace_command_1): Likewise.
6811 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
6812 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
6813
6814 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6815
6816 * frame.c (remove_prev_frame): New function.
6817 (get_prev_frame_if_no_cycle): Create / discard cleanup using
6818 remove_prev_frame.
6819
6820 2014-05-29 Pedro Alves <palves@redhat.com>
6821
6822 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
6823 and make it const. When a single-step decays to a continue,
6824 clear 'step', not 'hw_step'. Pass whether the caller wanted
6825 to step to user_visible_resume_ptid, not what we ask the
6826 target to do.
6827
6828 2014-05-29 Pedro Alves <palves@redhat.com>
6829
6830 * infrun.c (process_event_stop_test, handle_step_into_function)
6831 (handle_step_into_function_backward): Adjust.
6832 Don't set the even thread's stop_step and call stop_waiting before
6833 calling end_stepping_range. Instead do that ...
6834 (end_stepping_range): ... here. Take an ecs pointer parameter.
6835
6836 2014-05-29 Pedro Alves <palves@redhat.com>
6837
6838 * infrun.c (stop_stepping): Rename to ...
6839 (stop_waiting): ... this.
6840 (proceed): Update comment.
6841 (process_event_stop_test, handle_inferior_event)
6842 (handle_signal_stop, handle_step_into_function)
6843 (handle_step_into_function_backward): Update.
6844
6845 2014-05-29 Pedro Alves <palves@redhat.com>
6846
6847 * infcall.c (run_inferior_call): Don't check whether the current
6848 thread is running after the proceed call.
6849
6850 2014-05-29 Pedro Alves <palves@redhat.com>
6851 Tom Tromey <tromey@redhat.com>
6852
6853 * NEWS: Mention "maint set target-async", "set mi-async", and that
6854 background execution commands are now always available.
6855 * target.h (target_async_permitted): Update comment.
6856 * target.c (target_async_permitted, target_async_permitted_1):
6857 Default to 1.
6858 (set_target_async_command): Rename to ...
6859 (maint_set_target_async_command): ... this.
6860 (show_target_async_command): Rename to ...
6861 (maint_show_target_async_command): ... this.
6862 (_initialize_target): Adjust.
6863 * infcmd.c (prepare_execution_command): Make extern.
6864 * inferior.h (prepare_execution_command): Declare.
6865 * infrun.c (set_observer_mode): Leave target async alone.
6866 * mi/mi-interp.c (mi_interpreter_init): Install
6867 mi_on_sync_execution_done as sync_execution_done observer.
6868 (mi_on_sync_execution_done): New function.
6869 (mi_execute_command_input_handler): Don't print the prompt if we
6870 just started a synchronous command with an async target.
6871 (mi_on_resume): Check sync_execution before printing prompt.
6872 * mi/mi-main.h (mi_async_p): Declare.
6873 * mi/mi-main.c: Include gdbcmd.h.
6874 (mi_async_p): New function.
6875 (mi_async, mi_async_1): New globals.
6876 (set_mi_async_command, show_mi_async_command, mi_async): New
6877 functions.
6878 (exec_continue): Call prepare_execution_command.
6879 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
6880 (mi_execute_async_cli_command): Use mi_async_p.
6881 (_initialize_mi_main): Install "set mi-async". Make
6882 "target-async" a deprecated alias.
6883
6884 2014-05-29 Pedro Alves <palves@redhat.com>
6885
6886 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
6887 (_initialize_cli_interp): Adjust.
6888 * event-loop.c: Include "observer.h".
6889 (start_event_loop): Notify 'command_error' observers instead of
6890 calling display_gdb_prompt. Remove FIXME comment.
6891 * event-top.c (display_gdb_prompt): Remove call into the
6892 interpreters.
6893 * inf-loop.c: Include "observer.h".
6894 (inferior_event_handler): Notify 'command_error' observers instead
6895 of calling display_gdb_prompt.
6896 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
6897 observers instead of calling display_gdb_prompt.
6898 * interps.c (interp_set): Don't call display_gdb_prompt.
6899 (current_interp_display_prompt_p): Delete.
6900 * interps.h (interp_prompt_p): Delete declaration.
6901 (interp_prompt_p_ftype): Delete.
6902 (struct interp_procs) <prompt_proc_p>: Delete field.
6903 (current_interp_display_prompt_p): Delete declaration.
6904 * mi-interp.c (mi_interpreter_prompt_p): Delete.
6905 (_initialize_mi_interp): Adjust.
6906 * tui-interp.c (tui_init): Install 'sync_execution_done' and
6907 'command_error' observers.
6908 (tui_on_sync_execution_done, tui_on_command_error): New
6909 functions.
6910 (tui_display_prompt_p): Delete.
6911 (_initialize_tui_interp): Adjust.
6912
6913 2014-05-29 Pedro Alves <palves@redhat.com>
6914
6915 PR gdb/13860
6916 * cli/cli-interp.c: Include infrun.h and observer.h.
6917 (cli_uiout, cli_interp): New globals.
6918 (cli_on_signal_received, cli_on_end_stepping_range)
6919 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
6920 functions.
6921 (cli_interpreter_init): Install them as 'end_stepping_range',
6922 'signal_received' 'signal_exited', 'exited' and 'no_history'
6923 observers.
6924 (_initialize_cli_interp): Remove cli_interp local.
6925 * infrun.c (handle_inferior_event): Call the several stop reason
6926 observers instead of printing the stop reason directly.
6927 (end_stepping_range): New function.
6928 (print_end_stepping_range_reason, print_signal_exited_reason)
6929 (print_exited_reason, print_signal_received_reason)
6930 (print_no_history_reason): Make static, and add an uiout
6931 parameter. Print to that instead of to CURRENT_UIOUT.
6932 * infrun.h (print_end_stepping_range_reason)
6933 (print_signal_exited_reason, print_exited_reason)
6934 (print_signal_received_reason print_no_history_reason): New
6935 declarations.
6936 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
6937 'mi_uiout'.
6938 <cli_uiout>: New field.
6939 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
6940 uiout for CLI output. Install 'signal_received',
6941 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
6942 observers.
6943 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
6944 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
6945 (mi_on_no_history): New functions.
6946 (ui_out_free_cleanup): Delete function.
6947 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
6948 instead use the one already stored in the MI interpreter data.
6949 (mi_ui_out): Adjust.
6950 * tui/tui-interp.c: Include infrun.h and observer.h.
6951 (tui_interp): New global.
6952 (tui_on_signal_received, tui_on_end_stepping_range)
6953 (tui_on_signal_exited, tui_on_exited)
6954 (tui_on_no_history): New functions.
6955 (tui_init): Install them as 'end_stepping_range',
6956 'signal_received' 'signal_exited', 'exited' and 'no_history'
6957 observers.
6958 (_initialize_tui_interp): Delete tui_interp local.
6959
6960 2014-05-29 Pedro Alves <palves@redhat.com>
6961
6962 PR gdb/15713
6963 * linux-nat.c (linux_nat_resume_callback): Rename the second
6964 parameter to 'except'. Skip LP if it points to EXCEPT.
6965 (linux_nat_resume): Don't mark the event lwp as not stopped
6966 before resuming sibling lwps. Instead ask
6967 linux_nat_resume_callback to skip the event lwp. Mark it as not
6968 stopped after actually resuming it.
6969 (linux_handle_syscall_trap): Mark the lwp as not stopped after
6970 resuming it.
6971 (wait_lwp): Mark the lwp as stopped here.
6972 (stop_wait_callback): Mark the lwp as not stopped right after
6973 resuming it. Don't mark lwps as stopped here.
6974 (linux_nat_filter_event): Mark the lwp as stopped earlier.
6975 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
6976
6977 2014-05-29 Pedro Alves <palves@redhat.com>
6978
6979 PR PR15693
6980 * infrun.c (resume): Determine how much to resume depending on
6981 whether the caller wanted a step, not whether we can hardware step
6982 the target. Mark all threads that we intend to run as running,
6983 unless we're calling an inferior function.
6984 (normal_stop): If the thread is running an infcall, don't finish
6985 thread state.
6986 * target.c (target_resume): Don't mark threads as running here.
6987
6988 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6989
6990 * serial.c (_initialize_serial): Remove support for
6991 the "set remotebaud" and "show remotebaud" commands.
6992 * NEWS: Add entry documenting the removal of that command.
6993
6994 2014-05-28 Yao Qi <yao@codesourcery.com>
6995
6996 * charset.c: Fix typo in comments.
6997
6998 2014-05-27 Gary Benson <gbenson@redhat.com>
6999
7000 * utils.c (internal_vproblem): Prompt for a bug report.
7001
7002 2014-05-26 Andy Wingo <wingo@igalia.com>
7003
7004 * guile/scm-arch.c (arscm_mark_arch_smob):
7005 * guile/scm-block.c (bkscm_mark_block_smob)
7006 (bkscm_mark_block_syms_progress_smob):
7007 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
7008 * guile/scm-exception.c (exscm_mark_exception_smob):
7009 * guile/scm-frame.c (frscm_mark_frame_smob):
7010 * guile/scm-iterator.c (itscm_mark_iterator_smob):
7011 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
7012 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
7013 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
7014 (ppscm_mark_pretty_printer_worker_smob):
7015 * guile/scm-symbol.c (syscm_mark_symbol_smob):
7016 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
7017 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
7018 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
7019 mark functions.
7020 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
7021 function.
7022
7023 2014-05-26 Andy Wingo <wingo@igalia.com>
7024 Doug Evans <xdje42@gmail.com>
7025
7026 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
7027 empty_base_class. All uses updated.
7028 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
7029 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
7030 Adapt all callers.
7031 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
7032 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
7033 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
7034 (gdbscm_gsmob_has_property_p, add_property_name)
7035 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
7036 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
7037 (gdb-object-has-property?, gdb-object-properties): Remove.
7038 (gdb-object-kind): Renamed from gsmob-kind.
7039
7040 2014-05-26 Andy Wingo <wingo@igalia.com>
7041
7042 * configure.ac (try_guile_versions): Allow building with guile 2.2.
7043 * configure: Regenerate.
7044
7045 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7046
7047 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
7048
7049 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7050
7051 * record-btrace.c (record_btrace_allow_memory_access): Remove.
7052 (replay_memory_access_read_only, replay_memory_access_read_write)
7053 (replay_memory_access_types, replay_memory_access)
7054 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
7055 (cmd_set_record_btrace, cmd_show_record_btrace)
7056 (cmd_show_replay_memory_access): New.
7057 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
7058 (record_btrace_remove_breakpoint): Replace
7059 record_btrace_allow_memory_access with replay_memory_access.
7060 (_initialize_record_btrace): Add commands.
7061 * NEWS: Announce it.
7062
7063 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7064
7065 * aarch64-linux-nat.c (asm/ptrace.h): Include.
7066
7067 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7068
7069 * MAINTAINERS (Write After Approval): Move self back from
7070 paper trail.
7071
7072 2014-05-22 Pedro Alves <palves@redhat.com>
7073
7074 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
7075 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
7076 (disable_randomization, enum exec_direction_kind)
7077 (execution_direction, stop_registers, start_remote)
7078 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
7079 (wait_for_inferior, normal_stop, get_last_target_status)
7080 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
7081 (insert_step_resume_breakpoint_at_sal)
7082 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
7083 (set_step_info, print_stop_event, signal_stop_state)
7084 (signal_print_state, signal_pass_state, signal_stop_update)
7085 (signal_print_update, signal_pass_update)
7086 (update_signals_program_target, clear_exit_convenience_vars)
7087 (displaced_step_dump_bytes, update_observer_mode)
7088 (signal_catch_update, gdb_signal_from_command): Move
7089 declarations ...
7090 * infrun.h: ... to this new file.
7091 * amd64-tdep.c: Include infrun.h.
7092 * annotate.c: Include infrun.h.
7093 * arch-utils.c: Include infrun.h.
7094 * arm-linux-tdep.c: Include infrun.h.
7095 * arm-tdep.c: Include infrun.h.
7096 * break-catch-sig.c: Include infrun.h.
7097 * breakpoint.c: Include infrun.h.
7098 * common/agent.c: Include infrun.h instead of inferior.h.
7099 * corelow.c: Include infrun.h.
7100 * event-top.c: Include infrun.h.
7101 * go32-nat.c: Include infrun.h.
7102 * i386-tdep.c: Include infrun.h.
7103 * inf-loop.c: Include infrun.h.
7104 * infcall.c: Include infrun.h.
7105 * infcmd.c: Include infrun.h.
7106 * infrun.c: Include infrun.h.
7107 * linux-fork.c: Include infrun.h.
7108 * linux-nat.c: Include infrun.h.
7109 * linux-thread-db.c: Include infrun.h.
7110 * monitor.c: Include infrun.h.
7111 * nto-tdep.c: Include infrun.h.
7112 * procfs.c: Include infrun.h.
7113 * record-btrace.c: Include infrun.h.
7114 * record-full.c: Include infrun.h.
7115 * remote-m32r-sdi.c: Include infrun.h.
7116 * remote-mips.c: Include infrun.h.
7117 * remote-notif.c: Include infrun.h.
7118 * remote-sim.c: Include infrun.h.
7119 * remote.c: Include infrun.h.
7120 * reverse.c: Include infrun.h.
7121 * rs6000-tdep.c: Include infrun.h.
7122 * s390-linux-tdep.c: Include infrun.h.
7123 * solib-irix.c: Include infrun.h.
7124 * solib-osf.c: Include infrun.h.
7125 * solib-svr4.c: Include infrun.h.
7126 * target.c: Include infrun.h.
7127 * top.c: Include infrun.h.
7128 * windows-nat.c: Include infrun.h.
7129 * mi/mi-interp.c: Include infrun.h.
7130 * mi/mi-main.c: Include infrun.h.
7131 * python/py-threadevent.c: Include infrun.h.
7132
7133 2014-05-22 Pedro Alves <palves@redhat.com>
7134
7135 * infrun.c (handle_inferior_event): Store the exit code for
7136 --return-child-result here, instead of ...
7137 (print_exited_reason): ... here.
7138
7139 2014-05-21 Pedro Alves <palves@redhat.com>
7140
7141 PR gdb/13860
7142 * gdbthread.h (struct thread_control_state): New field
7143 `command_interp'.
7144 * infrun.c (follow_fork): Copy the new thread control field to the
7145 child fork thread.
7146 (clear_proceed_status_thread): Clear the new thread control field.
7147 (proceed): Set the new thread control field.
7148 * interps.h (command_interp): Declare.
7149 * interps.c (command_interpreter): New global.
7150 (command_interp): New function.
7151 (interp_exec): Set `command_interpreter' while here.
7152 * cli-out.c (cli_uiout_dtor): New function.
7153 (cli_ui_out_impl): Install it.
7154 * mi/mi-interp.c: Include cli-out.h.
7155 (mi_cmd_interpreter_exec): Add comment.
7156 (restore_current_uiout_cleanup): New function.
7157 (ui_out_free_cleanup): New function.
7158 (mi_on_normal_stop): If finishing an execution command started by
7159 a CLI command, or any kind of breakpoint-like event triggered,
7160 print the stop event to the output (CLI) stream.
7161 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
7162
7163 2014-05-21 Pedro Alves <palves@redhat.com>
7164
7165 * cli/cli-cmds.c (list_command): Handle the first "list" after the
7166 current source line having changed.
7167 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
7168 * infrun.c (normal_stop): Adjust call to
7169 set_current_sal_from_frame.
7170 * source.c (clear_lines_listed_range): New function.
7171 (set_current_source_symtab_and_line, identify_source_line): Clear
7172 the lines listed range.
7173 (line_info): Handle the first "info line" after the current source
7174 line having changed.
7175 * stack.c (print_stack_frame): Remove center handling.
7176 (set_current_sal_from_frame): Remove 'center' parameter. Don't
7177 center sal.line.
7178
7179 2014-05-21 Pedro Alves <palves@redhat.com>
7180
7181 * inf-child.c (inf_child_mourn_inferior): New function.
7182 * inf-child.h (inf_child_mourn_inferior): New declaration.
7183 * darwin-nat.c (darwin_mourn_inferior): Use
7184 inf_child_mourn_inferior.
7185 * gnu-nat.c (gnu_mourn_inferior): Likewise.
7186 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
7187 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
7188 * nto-procfs.c (procfs_mourn_inferior): Likewise.
7189 * windows-nat.c (windows_mourn_inferior): Likewise.
7190
7191 2014-05-21 Doug Evans <xdje42@gmail.com>
7192
7193 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
7194
7195 2014-05-21 Doug Evans <xdje42@gmail.com>
7196
7197 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
7198 (gdbscm_out_of_range_error): Ditto.
7199 (gdbscm_memory_error): Ditto.
7200 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
7201 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
7202 (gdbscm_out_of_range_error): Update.
7203 (gdbscm_memory_error): Update.
7204 (gdbscm_scm_to_target_string_unsafe): Delete.
7205
7206 2014-05-21 Pedro Alves <palves@redhat.com>
7207
7208 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
7209 globals.
7210 (inf_child_open_target): New function.
7211 (inf_child_open): Use inf_child_open_target to push the target
7212 instead of erroring out.
7213 (inf_child_disconnect, inf_child_close)
7214 (inf_child_maybe_unpush_target): New functions.
7215 (inf_child_target): Install inf_child_disconnect and
7216 inf_child_close. Store a pointer to the returned object.
7217 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
7218 declarations.
7219 * target.c (auto_connect_native_target): New global.
7220 (show_default_run_target): New function.
7221 (find_default_run_target): Return NULL if automatically connecting
7222 to the native target is disabled.
7223 (_initialize_target): Install set/show auto-connect-native-target.
7224 * NEWS: Mention "set auto-connect-native-target", and "target
7225 native".
7226 * linux-nat.c (super_close): New global.
7227 (linux_nat_close): Call super_close.
7228 (linux_nat_add_target): Store a pointer to the base class's
7229 to_close method.
7230 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
7231 inf_child_maybe_unpush.
7232 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
7233 already pushed.
7234 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
7235 the inferior. Use inf_child_maybe_unpush_target.
7236 (inf_ttrace_attach): Don't push the target if it is already
7237 pushed.
7238 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
7239 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
7240 after mourning the inferior. Use inf_child_maybe_unpush_target.
7241 (darwin_attach_pid): Don't push the target if it is already
7242 pushed.
7243 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
7244 mourning the inferior. Use inf_child_maybe_unpush_target.
7245 (gnu_detach): Use inf_child_maybe_unpush_target.
7246 * go32-nat.c (go32_create_inferior): Don't push the target if it
7247 is already pushed.
7248 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
7249 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
7250 (procfs_open): Rename to ...
7251 (procfs_open_1): ... this. Add target_ops parameter. Adjust
7252 comments. Can target_preopen before changing node. Call
7253 inf_child_open_target to push the target explicitly.
7254 (procfs_attach): Don't push the target if it is already pushed.
7255 (procfs_detach): Use inf_child_maybe_unpush_target.
7256 (procfs_create_inferior): Don't push the target if it is already
7257 pushed.
7258 (nto_native_ops): New global.
7259 (procfs_open): Reimplement.
7260 (procfs_native_open): New function.
7261 (init_procfs_targets): Install procfs_native_open as to_open of
7262 "target native". Store a pointer to the "native" target in
7263 nto_native_ops.
7264 * procfs.c (procfs_attach): Don't push the target if it is already
7265 pushed.
7266 (procfs_detach): Use inf_child_maybe_unpush_target.
7267 (procfs_mourn_inferior): Only unpush the target after mourning the
7268 inferior. Use inf_child_maybe_unpush_target.
7269 (procfs_init_inferior): Don't push the target if it is already
7270 pushed.
7271 * windows-nat.c (do_initial_windows_stuff): Don't push the target
7272 if it is already pushed.
7273
7274 2014-05-21 Pedro Alves <palves@redhat.com>
7275
7276 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
7277 and "procfs" targets are now called "native" instead.
7278
7279 2014-05-21 Pedro Alves <palves@redhat.com>
7280
7281 * go32-nat.c (go32_open): Delete.
7282 (go32_target): Don't override the to_open method.
7283
7284 2014-05-21 Pedro Alves <palves@redhat.com>
7285
7286 * nto-procfs.c (procfs_can_run): New function.
7287 (nto_procfs_ops): New global.
7288 (init_procfs_targets): New, based on procfs_target. Install
7289 "target native" in addition to "target procfs".
7290 (_initialize_procfs): Call init_procfs_targets instead of adding
7291 the target here.
7292
7293 2014-05-21 Pedro Alves <palves@redhat.com>
7294
7295 * windows-nat.c (windows_target): Don't override to_shortname,
7296 to_longname or to_doc.
7297
7298 2014-05-21 Pedro Alves <palves@redhat.com>
7299
7300 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
7301 to_doc.
7302
7303 2014-05-21 Pedro Alves <palves@redhat.com>
7304
7305 * darwin-nat.c (_initialize_darwin_inferior): Don't override
7306 to_shortname, to_longname or to_doc.
7307
7308 2014-05-21 Pedro Alves <palves@redhat.com>
7309
7310 * go32-nat.c (go32_target): Don't override to_shortname,
7311 to_longname or to_doc.
7312
7313 2014-05-21 Pedro Alves <palves@redhat.com>
7314
7315 * inf-child.c (inf_child_open): Remove mention of "child".
7316 (inf_child_target): Rename target to "native" instead of "child".
7317
7318 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7319
7320 * Makefile.in (SFILES): Delete "regset.c".
7321 (COMMON_OBS): Delete "regset.o".
7322 * regset.c: Remove.
7323 * regset.h (regset_alloc): Delete prototype.
7324
7325 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7326
7327 * sparc-linux-tdep.c (sparc32_linux_gregset)
7328 (sparc32_linux_fpregset): New static regset structures.
7329 (sparc32_linux_init_abi): Drop dynamic regset allocations.
7330 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
7331 'fpregset' fields.
7332 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
7333 (sparc64_linux_fpregset): New static regset structures.
7334 (sparc64_linux_init_abi): Drop dynamic regset allocations.
7335 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
7336 New static regset structures.
7337 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
7338 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
7339 New static regset structures.
7340 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
7341 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
7342 New static regset structures.
7343 (sparc64obsd_init_abi): Drop dynamic regset allocations.
7344 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
7345 New static regset structures.
7346 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
7347
7348 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7349
7350 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
7351 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
7352 register maps ("regmaps") from "*regset" to "*regmap". Do this
7353 for all regmap types and variables.
7354 * sparc-linux-tdep.c (sparc32_linux_step_trap)
7355 (sparc32_linux_supply_core_gregset)
7356 (sparc32_linux_collect_core_gregset)
7357 (sparc32_linux_supply_core_fpregset)
7358 (sparc32_linux_collect_core_fpregset): Likewise.
7359 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
7360 (sparc_gregmap, sparc_fpregmap): ... these.
7361 (sparc_supply_gregset, sparc_collect_gregset)
7362 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7363 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
7364 (_initialize_sparc_nat): Rename regmaps.
7365 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
7366 (sparc_gregmap, sparc_fpregmap): ... these.
7367 (sparc_supply_gregset, sparc_collect_gregset)
7368 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7369 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
7370 Rename macros to...
7371 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
7372 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
7373 Likewise.
7374 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
7375 Rename to...
7376 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
7377 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
7378 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
7379 regmaps.
7380 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7381 (sparc32_bsd_fpregset): Rename to...
7382 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7383 (sparc32_bsd_fpregmap): ... these.
7384 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
7385 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7386 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
7387 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
7388 (struct sparc_gregmap, struct sparc_fpregmap)
7389 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7390 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
7391 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
7392 (sparc32_supply_regset, sparc32_collect_gregset)
7393 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
7394 prototypes.
7395 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
7396 (sparc64_linux_ptrace_gregmap): ... this.
7397 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
7398 (_initialize_sparc64_linux_nat): Rename regmaps.
7399 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
7400 (sparc64_linux_core_gregmap): ... this.
7401 (sparc64_linux_supply_core_gregset)
7402 (sparc64_linux_collect_core_gregset)
7403 (sparc64_linux_supply_core_fpregset)
7404 (sparc64_linux_collect_core_fpregset): Rename regmaps.
7405 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
7406 (sparc64_sol2_fpregset): Rename to...
7407 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
7408 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
7409 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
7410 regmaps.
7411 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
7412 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
7413 (sparc64_bsd_fpregset): Rename to...
7414 (struct sparc_gregmap, sparc64_sol2_gregmap)
7415 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
7416 (sparc64_bsd_fpregmap): ... these.
7417 (sparc64_supply_gregset, sparc64_collect_gregset)
7418 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
7419 prototypes.
7420 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
7421 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
7422 (sparc64fbsd_gregmap): ... this.
7423 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
7424 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
7425 Rename regmaps.
7426 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
7427 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
7428 (sparc64nbsd_collect_fpregset): Likewise.
7429 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
7430 (sparc64nbsd_gregmap): ... this.
7431 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
7432 regmaps.
7433 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
7434 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
7435 (sparc64obsd_gregmap): ... this.
7436 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
7437 regmaps.
7438 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
7439 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
7440 (sparc32nbsd_gregmap): ... this.
7441 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
7442 regmaps.
7443
7444 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7445
7446 * score-tdep.c (score7_linux_gregset): New static regset
7447 structure.
7448 (score7_linux_regset_from_core_section): Remove dynamic regset
7449 allocation.
7450 (score_gdbarch_init): Drop allocation of tdep structure.
7451 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
7452
7453 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7454
7455 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
7456 regset structures.
7457 (am33_regset_from_core_section): Remove dynamic regset
7458 allocations.
7459
7460 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7461
7462 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
7463 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
7464 structures.
7465 (mips_linux_regset_from_core_section): Remove dynamic regset
7466 allocations.
7467 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7468 'gregset64', 'fpregset', and 'fpregset64'.
7469 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
7470 deleted tdep fields.
7471
7472 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7473
7474 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
7475 regset structures.
7476 (amd64_regset_from_core_section): Remove dynamic regset
7477 allocations.
7478 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
7479 structure.
7480 (amd64obsd_regset_from_core_section): Remove dynamic regset
7481 allocation.
7482 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
7483 Likewise.
7484 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
7485 x86-common regset supply function.
7486 * i386-tdep.c (i386_collect_gregset): Make static.
7487 (i386_gregset): New global regset structure.
7488 (i386_fpregset, i386_xstateregset): New static regset structures.
7489 (i386_regset_from_core_section): Remove dynamic regset
7490 allocations.
7491 (i386_gdbarch_init): Remove initialization of tdep fields
7492 'gregset', 'fpregset', and 'xstateregset'.
7493 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7494 'fpregset', and 'xstateregset'.
7495 (i386_collect_gregset): Remove prototype.
7496 (i386_gregset): New declaration.
7497 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
7498 structure.
7499 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
7500 allocation.
7501
7502 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7503
7504 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
7505 (arm_linux_vfpregset): New static regset structures.
7506 (arm_linux_regset_from_core_section): Remove dynamic allocation of
7507 regset structures.
7508 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
7509 and 'vfpregset' fields.
7510
7511 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7512
7513 * aarch64-linux-tdep.c (aarch64_linux_gregset)
7514 (aarch64_linux_fpregset): New static regset structures.
7515 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
7516 of regset structures.
7517 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
7518 'fpregset' fields.
7519
7520 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7521
7522 * regset.h (struct regset): Remove gdbarch field.
7523 * regset.c (regset_alloc): Drop initialization of gdbarch field.
7524 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7525 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
7526 Likewise.
7527 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
7528 (ppc32_linux_fpregset, ppc32_linux_vrregset)
7529 (ppc32_linux_vsxregset): Likewise.
7530 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
7531 via the regcache instead of the regset.
7532 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
7533 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
7534 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
7535 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
7536 Likewise.
7537
7538 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7539
7540 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
7541 Constify structures.
7542 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
7543 (alphanbsd_aout_gregset): Likewise.
7544 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
7545 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7546 Likewise.
7547 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7548 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7549 Likewise.
7550 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7551 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7552 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7553 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7554 * m88k-tdep.c (m88k_gregset): Likewise.
7555 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7556 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7557 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7558 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7559 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7560 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7561 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7562 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7563 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7564 Likewise.
7565 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7566 * sh-tdep.h (sh_corefile_gregset): Likewise.
7567 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7568 * vax-tdep.c (vax_gregset): Likewise.
7569
7570 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7571
7572 Fix TLS access for -static -pthread.
7573 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7574 (try_thread_db_load_1): Initialize it.
7575 (thread_db_get_thread_local_address): Call it if LM is zero.
7576 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7577 * target.h (struct target_ops) (to_get_thread_local_address): Add
7578 load_module_addr comment.
7579
7580 2014-05-21 Pedro Alves <palves@redhat.com>
7581
7582 * dcache.c (dcache_read_memory_partial): If reading the cache line
7583 fails, fallback to reading just the memory the caller wanted.
7584
7585 2014-05-20 Doug Evans <dje@google.com>
7586
7587 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7588 instead of get_current_arch.
7589
7590 2014-05-20 Pedro Alves <palves@redhat.com>
7591
7592 * NEWS: Mention that compare-sections now works with all targets.
7593
7594 * remote.c (PACKET_qCRC): New enum value.
7595 (remote_verify_memory): Don't send qCRC if the target has no
7596 execution. Use packet_support/packet_ok. If the target doesn't
7597 support the qCRC packet, fallback to a deep memory copy.
7598 (compare_sections_command): Say "target image" instead of "remote
7599 executable".
7600 (_initialize_remote): Add PACKET_qCRC to the list of config
7601 packets that have no associated command. Extend comment.
7602 * target.c (simple_verify_memory, default_verify_memory): New
7603 function.
7604 * target.h (struct target_ops) <to_verify_memory>: Default to
7605 default_verify_memory.
7606 (simple_verify_memory): New declaration.
7607 * target-delegates.c: Regenerate.
7608
7609 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7610
7611 * record-btrace.c (record_btrace_step_thread): Check for empty history.
7612
7613 2014-05-20 Hui Zhu <hui@codesourcery.com>
7614 Yao Qi <yao@codesourcery.com>
7615
7616 PR backtrace/16558
7617 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
7618 and change address of sp and pc.
7619
7620 2014-05-19 Tom Tromey <tromey@redhat.com>
7621
7622 * gdbtypes.c (rank_function): Use XNEWVEC.
7623 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
7624
7625 2014-05-19 Doug Evans <dje@google.com>
7626
7627 * dwarf2read.c (build_type_psymtabs_1): Renamed from
7628 build_type_unit_groups and moved closer to only caller. Remove
7629 arguments. All references updated. Remove outdated .gdb_index
7630 comment.
7631 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
7632 build_type_psymtabs_1.
7633
7634 2014-05-19 Doug Evans <dje@google.com>
7635
7636 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
7637 n_type_unit_groups, all_type_unit_groups. All uses removed.
7638 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
7639 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
7640 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
7641 (add_type_unit_group_to_table): Delete.
7642
7643 2014-05-19 Doug Evans <dje@google.com>
7644
7645 * eval.c (evaluate_subexp_standard): Add some comments.
7646
7647 2014-05-17 Doug Evans <xdje42@gmail.com>
7648
7649 * progspace.c (remove_program_space): Delete, unused.
7650 * progspace.h (remove_program_space): Ditto.
7651
7652 2014-05-17 Doug Evans <xdje42@gmail.com>
7653
7654 * inferior.c (prune_inferiors): Fix comment.
7655 (remove_inferior_command): Call prune_program_spaces.
7656
7657 2014-05-16 Doug Evans <dje@google.com>
7658
7659 New command line option -D.
7660 * NEWS: Mention it.
7661 * main.c (set_gdb_data_directory): New function.
7662 (captured_main): Recognize -D. Flag error for --data-directory "".
7663 Call set_gdb_data_directory.
7664 (print_gdb_help): Print --data-directory, -D.
7665 * main.h (set_gdb_data_directory): Declare.
7666 * top.c (staged_gdb_datadir): New static global.
7667 (set_gdb_datadir): Call set_gdb_data_directory
7668 (show_gdb_datadir): New function.
7669 (init_main): Update init of data-directory parameter.
7670
7671 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
7672
7673 Import the "dirfd" gnulib module.
7674 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
7675 * gnulib/aclocal.m4: Update.
7676 * gnulib/config.in: Update.
7677 * gnulib/configure: Update.
7678 * gnulib/import/Makefile.am: Update.
7679 * gnulib/import/Makefile.in: Update.
7680 * gnulib/import/dirfd.c: New.
7681 * gnulib/import/m4/dirfd.m4: New.
7682 * gnulib/import/m4/gnulib-cache.m4: Update.
7683 * gnulib/import/m4/gnulib-comp.m4: Update.
7684
7685 2014-05-16 Pierre Muller <muller@sourceware.org>
7686 Yao Qi <yao@codesourcery.com>
7687
7688 * valprint.c (print_wchar): Move the code on checking whether
7689 W is a printable wide char to the default branch of switch
7690 statement below. Call wchar_printable instead of gdb_iswprint.
7691
7692 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
7693
7694 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
7695 ldr.w and ldrd instructions.
7696
7697 2014-05-15 Doug Evans <dje@google.com>
7698
7699 * dwarf2read.c (read_structure_type): Delete outdated comments.
7700
7701 2014-05-14 Tom Tromey <tromey@redhat.com>
7702
7703 * macrocmd.c (print_macro_definition): Reindent.
7704
7705 2014-05-13 Doug Evans <xdje42@gmail.com>
7706
7707 * python/py-cmd.c (cmdpy_completer): Add comment.
7708 (completers): Make const.
7709
7710 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
7711
7712 * infrun.c (resume): Remove should_resume (unused). Move up
7713 declaration of resume_ptid.
7714
7715 2014-05-13 Tom Tromey <tromey@redhat.com>
7716
7717 * language.h (unop_type_check): Remove.
7718 (binop_type_check): Don't declare.
7719
7720 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
7721
7722 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
7723 call to regcache_raw_collect.
7724
7725 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7726
7727 * mi/mi-console.c (mi_console_raw_packet): Use the value from
7728 mi_console->quote as the quoting character.
7729
7730 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7731
7732 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
7733
7734 2014-04-29 Tom Tromey <tromey@redhat.com>
7735
7736 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
7737 "show debug varobj".
7738
7739 2014-05-07 Kyle McMartin <kyle@redhat.com>
7740
7741 Pushed by Joel Brobecker <brobecker@adacore.com>.
7742 * aarch64-tdep.c (aarch64_software_single_step): New function.
7743 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
7744 with aarch64_software_single_step.
7745
7746 2014-05-05 Joel Brobecker <brobecker@adacore.com>
7747
7748 GDB 7.7.1 released.
7749
7750 2014-05-05 Keith Seitz <keiths@redhat.com>
7751
7752 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
7753 variable or history value is successfully parsed.
7754
7755 2014-05-05 Yao Qi <yao@codesourcery.com>
7756 Pedro Alves <palves@redhat.com>
7757
7758 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
7759 address of blocks that intersects the requested range. Trim
7760 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
7761 sections.
7762 * ctf.c (ctf_xfer_partial): Likewise.
7763
7764 2014-05-05 Yao Qi <yao@codesourcery.com>
7765
7766 * printcmd.c (display_command): Remove the check to
7767 target_has_execution.
7768
7769 2014-05-03 Mark Kettenis <kettenis@gnu.org>
7770
7771 * ppcobsd-nat.c: Include "obsd-nat.h".
7772 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
7773 add_target.
7774 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7775
7776 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7777
7778 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
7779 and 16-bit signed and unsigned arguments. Update comment.
7780 (stap_parse_probe_arguments): Extend code to handle such
7781 arguments. Use warning instead of complaint to notify about
7782 unrecognized bitness.
7783
7784 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7785
7786 PR breakpoints/16889
7787 * stap-probe.c (stap_parse_probe_arguments): Simplify
7788 check for non-prefixed probes (i.e., probes whose
7789 arguments do not start with "N@"). Always set the
7790 argument type to a sane value.
7791
7792 2014-05-01 David Taylor <dtaylor@emc.com>
7793
7794 * remote.c (compare_sections_command): Add -r option to compare
7795 all loadable read-only sections.
7796
7797 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
7798
7799 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
7800 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
7801 Update all callers.
7802 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
7803 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
7804 Remove unused CORE_ADDR argument. Update all callers.
7805
7806 2014-04-29 Pedro Alves <palves@redhat.com>
7807
7808 * remote.c (struct packet_config) <detect>: Extend comment.
7809 (add_packet_config_cmd): Don't set the config's detect or support
7810 fields here.
7811 (init_all_packet_configs): Also initialize the config's 'detect'
7812 field.
7813 (reset_all_packet_configs_support): New function.
7814 (remote_open_1): Call reset_all_packet_configs_support instead of
7815 init_all_packet_configs.
7816 (_initialize_remote): Initialize all packet configs. Assert that
7817 all packets have an associated command, except a few known
7818 outliers.
7819
7820 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7821
7822 * dwarf2read.c (read_subrange_type): Handle dynamic
7823 DW_AT_lower_bound attributes.
7824
7825 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7826
7827 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
7828 dynamic bounds before computing its upper bound.
7829 (ada_discrete_type_low_bound): Same as above with the lower bound.
7830
7831 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7832
7833 * dwarf2read.c (is_dynamic_type): Return true for dynamic
7834 range types. Adjust the array handling implementation to
7835 take advantage of this change.
7836 (resolve_dynamic_range): New function, mostly extracted from
7837 resolve_dynamic_bounds.
7838 (resolve_dynamic_array): New function, mostly extracted from
7839 resolve_dynamic_bounds.
7840 (resolve_dynamic_bounds): Delete.
7841 (resolve_dynamic_type): Reimplement. Add handling of
7842 TYPE_CODE_RANGE types.
7843
7844 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7845
7846 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
7847 handling of parallel ___XA types.
7848
7849 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7850
7851 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
7852 unnecessary second call to static_unwrap_type.
7853
7854 2014-04-27 Hui Zhu <hui@codesourcery.com>
7855
7856 * stack.c (print_frame_info): Call do_gdb_disassembly with
7857 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
7858
7859 2014-04-26 Doug Evans <xdje42@gmail.com>
7860
7861 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
7862
7863 2014-04-25 Pedro Alves <palves@redhat.com>
7864
7865 PR server/16255
7866 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
7867 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
7868 and newline from built string.
7869 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
7870 (linux_ptrace_attach_fail_reason): ... this.
7871 * linux-nat.c (linux_nat_attach): Adjust to use
7872 linux_ptrace_attach_fail_reason.
7873
7874 2014-04-25 Pedro Alves <palves@redhat.com>
7875
7876 * remote.c (struct remote_state): Remove multi_process_aware,
7877 non_stop_aware, cond_tracepoints, cond_breakpoints,
7878 breakpoint_commands, fast_tracepoints, static_tracepoints,
7879 install_in_trace, disconnected_tracing,
7880 enable_disable_tracepoints, string_tracing, and
7881 augmented_libraries_svr4_read fields.
7882 (remote_multi_process_p): Move further below in the file.
7883 (struct packet_config): Add comments.
7884 (update_packet_config): Delete function.
7885 (show_packet_config_cmd): Use packet_config_support.
7886 (add_packet_config_cmd): Use NULL as set callback.
7887 (packet_ok): "set remote foo-packet"-style commands no longer
7888 change config->supported -- adjust.
7889 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
7890 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
7891 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
7892 (PACKET_QNonStop, PACKET_multiprocess_feature)
7893 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
7894 (PACKET_DisconnectedTracing_feature)
7895 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
7896 (set_remote_protocol_packet_cmd): Delete function.
7897 (packet_config_support, packet_support): New functions.
7898 (set_remote_protocol_Z_packet_cmd): Don't call
7899 update_packet_config.
7900 (remote_query_attached, remote_pass_signals)
7901 (remote_program_signals, remote_threads_info)
7902 (remote_threads_extra_info, remote_start_remote): Use
7903 packet_support.
7904 (remote_start_remote): Use packet_config_support and
7905 packet_support.
7906 (init_all_packet_configs): Set all packets to unknown support,
7907 instead of calling update_packet_config.
7908 (remote_check_symbols): Use packet_support.
7909 (remote_supported_packet): Unconditionally set the packet config's
7910 support status.
7911 (remote_multi_process_feature, remote_non_stop_feature)
7912 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
7913 (remote_breakpoint_commands_feature)
7914 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
7915 (remote_install_in_trace_feature)
7916 (remote_disconnected_tracing_feature)
7917 (remote_enable_disable_tracepoint_feature)
7918 (remote_string_tracing_feature)
7919 (remote_augmented_libraries_svr4_read_feature): Delete functions.
7920 (remote_protocol_features): Adjust to use remote_supported_packet
7921 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
7922 "ConditionalTracepoints", "ConditionalBreakpoints",
7923 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
7924 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
7925 "EnableDisableTracepoints", and "tracenz".
7926 (remote_query_supported): Use packet_support.
7927 (remote_open_1): Adjust.
7928 (extended_remote_attach_1): Use packet_support. Switch on the
7929 result of packet_ok instead of checking whether the packet ended
7930 up disabled.
7931 (remote_vcont_resume): Use packet_support.
7932 (remote_resume, remote_stop_ns, fetch_register_using_p)
7933 (remote_prepare_to_store, store_register_using_P)
7934 (check_binary_download, remote_write_bytes): Use packet_support.
7935 (remote_vkill): Use packet_support. Switch on the result of
7936 packet_ok instead of checking whether the packet ended up
7937 disabled.
7938 (extended_remote_supports_disable_randomization): Use
7939 packet_support.
7940 (extended_remote_run): Switch on the result of packet_ok instead
7941 of checking whether the packet ended up disabled.
7942 (remote_insert_breakpoint, remote_remove_breakpoint)
7943 (remote_insert_watchpoint, remote_remove_watchpoint)
7944 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
7945 packet_support.
7946 (remote_search_memory): Use packet_config_support.
7947 (remote_get_thread_local_address, remote_get_tib_address)
7948 (remote_hostio_send_command, remote_can_execute_reverse): Use
7949 packet_support.
7950 (remote_supports_cond_tracepoints)
7951 (remote_supports_cond_breakpoints)
7952 (remote_supports_fast_tracepoints)
7953 (remote_supports_static_tracepoints)
7954 (remote_supports_install_in_trace)
7955 (remote_supports_enable_disable_tracepoint)
7956 (remote_supports_string_tracing)
7957 (remote_can_run_breakpoint_commands): Rewrite, checking whether
7958 the packet config says the feature is enabled or disabled.
7959 (remote_download_tracepoint, remote_trace_set_readonly_regions)
7960 (remote_get_trace_status): Use packet_support.
7961 (remote_set_disconnected_tracing): Adjust to check whether the
7962 feature is enabled with packet_support.
7963 (remote_set_trace_buffer_size, remote_use_agent)
7964 (remote_can_use_agent, remote_supports_btrace): Use
7965 packet_support.
7966 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
7967 Use packet_config_support.
7968 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
7969 the packet config says the feature is enabled or disabled.
7970 (set_range_stepping): Use packet_support.
7971
7972 2014-04-25 Tom Tromey <tromey@redhat.com>
7973
7974 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
7975 argument.
7976
7977 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
7978
7979 * NEWS: Mention support for C99 variable length arrays.
7980
7981 2014-04-24 Joel Brobecker <brobecker@adacore.com>
7982
7983 * ada-lang.c (standard_exc): Expand introductory comment.
7984
7985 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7986 Walfred Tedeschi <walfred.tedeschi@intel.com>
7987
7988 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
7989 AVX512 registers.
7990 (amd64_linux_read_description): Add code to handle AVX512 xstate
7991 mask and return respective tdesc.
7992 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
7993 and features/i386/x32-avx512-linux.c.
7994 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
7995 (amd64_linux_core_read_description): Add code to handle AVX512
7996 xstate mask and return respective tdesc.
7997 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
7998 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
7999 calculation.
8000 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
8001 (tdesc_amd64_avx512_linux): New prototype.
8002 (tdesc_x32_avx512_linux): Likewise.
8003 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
8004 features/i386/x32-avx512.c.
8005 (amd64_ymm_avx512_names): New register names for pseudo
8006 registers YMM16-31.
8007 (amd64_ymmh_avx512_names): New register names for raw registers
8008 YMMH16-31.
8009 (amd64_k_names): New register names for K registers.
8010 (amd64_zmmh_names): New register names for ZMM raw registers.
8011 (amd64_zmm_names): New registers names for ZMM pseudo registers.
8012 (amd64_xmm_avx512_names): New register names for XMM16-31
8013 registers.
8014 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
8015 registers.
8016 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
8017 if feature is present.
8018 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
8019 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
8020 (AMD64_NUM_REGS): Adjust to new number of registers.
8021 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
8022 registers supplied via XSTATE by AVX512 registers.
8023 (i386_linux_read_description): Add case for AVX512.
8024 * i386-linux-tdep.c: Include i386-avx512-linux.c.
8025 (i386_linux_gregset_reg_offset): Add AVX512 registers.
8026 (i386_linux_core_read_description): Add case for AVX512.
8027 (i386_linux_init_abi): Install supported register note section
8028 for AVX512.
8029 (_initialize_i386_linux_tdep): Add call to tdesc init function for
8030 AVX512.
8031 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
8032 registers to be number of zmm7h + 1.
8033 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
8034 * i386-tdep.c: Include features/i386/i386-avx512.c.
8035 (i386_zmm_names): Add ZMM pseudo register names array.
8036 (i386_zmmh_names): Add ZMM raw register names array.
8037 (i386_k_names): Add K raw register names array.
8038 (num_lower_zmm_regs): Add constant for the number of lower ZMM
8039 registers. AVX512 has 16 more ZMM registers than there are YMM
8040 registers.
8041 (i386_zmmh_regnum_p): Add function to look up register number of
8042 ZMM raw registers.
8043 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
8044 (i386_k_regnum_p): Likewise for K raw registers.
8045 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
8046 registers added by AVX512.
8047 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
8048 registers added by AVX512.
8049 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
8050 added by AVX512.
8051 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
8052 (i386_pseudo_register_name): Add ZMM pseudo registers.
8053 (i386_zmm_type): Construct and return vector registers type for ZMM
8054 registers.
8055 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
8056 ZMM0-31 pseudo registers and K registers.
8057 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
8058 and YMM16-31 registers from register cache.
8059 (i386_pseudo_register_write): Add code to write K, ZMM and
8060 YMM16-31 registers.
8061 (i386_register_reggroup_p): Add code to include/exclude AVX512
8062 registers in/from respective register groups.
8063 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
8064 registers if feature is present in xcr0.
8065 (i386_gdbarch_init): Add code to initialize AVX512 feature
8066 variables in tdep structure, wire in pseudo registers and call
8067 initialize_tdesc_i386_avx512.
8068 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
8069 variables.
8070 (i386_regnum): Add AVX512 registers.
8071 (I386_SSE_NUM_REGS): New define for number of SSE registers.
8072 (I386_AVX_NUM_REGS): Likewise for AVX registers.
8073 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
8074 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
8075 512 bits wide.
8076 (i386_xmm_avx512_regnum_p): New prototype for register look up.
8077 (i386_ymm_avx512_regnum_p): Likewise.
8078 (i386_k_regnum_p): Likewise.
8079 (i386_zmm_regnum_p): Likewise.
8080 (i386_zmmh_regnum_p): Likewise.
8081 * i387-tdep.c : Update year in copyright notice.
8082 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
8083 XSAVE buffer.
8084 (XSAVE_YMM_AVX512_ADDR): New macro.
8085 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
8086 XSAVE buffer.
8087 (XSAVE_XMM_AVX512_ADDR): New macro.
8088 (xsave_avx512_k_offset): New table for K register offsets in
8089 XSAVE buffer.
8090 (XSAVE_AVX512_K_ADDR): New macro.
8091 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
8092 in XSAVE buffer.
8093 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
8094 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
8095 buffer.
8096 (i387_collect_xsave): Add code to collect AVX512 registers from
8097 XSAVE buffer.
8098 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
8099 of XMM16-31 registers.
8100 (I387_NUM_K_REGS): New define for number of K registers.
8101 (I387_K0_REGNUM): New define for K0 register number.
8102 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
8103 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
8104 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
8105 registers.
8106 (I387_YMM16H_REGNUM): New define for YMM16H register number.
8107 (I387_XMM16_REGNUM): New define for XMM16 register number.
8108 (I387_YMM0_REGNUM): New define for YMM0 register number.
8109 (I387_KEND_REGNUM): New define for last K register number.
8110 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
8111 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
8112 number.
8113 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
8114 number.
8115 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
8116 size.
8117 * features/Makefile: Add AVX512 related files.
8118 * features/i386/32bit-avx512.xml: New file.
8119 * features/i386/64bit-avx512.xml: Likewise.
8120 * features/i386/amd64-avx512-linux.c: Likewise.
8121 * features/i386/amd64-avx512-linux.xml: Likewise.
8122 * features/i386/amd64-avx512.c: Likewise.
8123 * features/i386/amd64-avx512.xml: Likewise.
8124 * features/i386/i386-avx512-linux.c: Likewise.
8125 * features/i386/i386-avx512-linux.xml: Likewise.
8126 * features/i386/i386-avx512.c: Likewise.
8127 * features/i386/i386-avx512.xml: Likewise.
8128 * features/i386/x32-avx512-linux.c: Likewise.
8129 * features/i386/x32-avx512-linux.xml: Likewise.
8130 * features/i386/x32-avx512.c: Likewise.
8131 * features/i386/x32-avx512.xml: Likewise.
8132 * regformats/i386/amd64-avx512-linux.dat: New file.
8133 * regformats/i386/amd64-avx512.dat: Likewise.
8134 * regformats/i386/i386-avx512-linux.dat: Likewise.
8135 * regformats/i386/i386-avx512.dat: Likewise.
8136 * regformats/i386/x32-avx512-linux.dat: Likewise.
8137 * regformats/i386/x32-avx512.dat: Likewise.
8138 * NEWS: Add note about new support for AVX512.
8139
8140
8141 2014-04-23 Pedro Alves <palves@redhat.com>
8142
8143 * breakpoint.c (insert_bp_location): Tolerate errors if the
8144 breakpoint is set in a user-loaded objfile.
8145 (remove_breakpoint_1): Likewise. Also tolerate errors if the
8146 location is marked shlib_disabled. If the breakpoint is set in a
8147 user-loaded objfile is a GDB-side memory breakpoint, validate it
8148 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
8149 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
8150 flag.
8151 * mem-break.c (memory_validate_breakpoint): New function.
8152 * objfiles.c (userloaded_objfile_contains_address_p): New
8153 function.
8154 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
8155 * target.h (memory_validate_breakpoint): New declaration.
8156
8157 2014-04-23 Pedro Alves <palves@redhat.com>
8158
8159 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
8160 the breakpoint is set in a shared library, only suppress
8161 errors for software breakpoints, not hardware breakpoints.
8162
8163 2014-04-22 Pedro Alves <palves@redhat.com>
8164
8165 * infrun.c (schedlock_applies): New function, factored out from
8166 find_thread_needs_step_over.
8167 (find_thread_needs_step_over): Use it.
8168 (switch_back_to_stepped_thread): Always clear trap_expected if the
8169 step over is finished. Return early if scheduler locking applies.
8170 Look for the stepping thread and a potential step-over thread with
8171 a single loop.
8172 (currently_stepping_or_nexting_callback): Delete.
8173
8174 2014-04-22 Nick Clifton <nickc@redhat.com>
8175
8176 * NEWS: Mention that ARM sim now supports tracing.
8177
8178 2014-04-22 Yao Qi <yao@codesourcery.com>
8179
8180 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
8181 to ...
8182 * tracefile.c (tracefile_fetch_registers): ... it. New
8183 function.
8184 * tracefile.h (tracefile_fetch_registers): Declare.
8185 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
8186 tracefile_fetch_registers.
8187
8188 2014-04-19 Eli Zaretskii <eliz@gnu.org>
8189
8190 PR gdb/14018
8191 * windows-nat.c (thread_rec): Don't display a warning when
8192 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
8193 fails for any reason, set th->suspended to -1, so that we don't
8194 try to resume such a thread. Also, don't return NULL in these
8195 cases, to avoid completely ruin the session due to "PC register is
8196 not available" error.
8197 (do_windows_fetch_inferior_registers): Check errors in
8198 GetThreadContext call.
8199 (windows_continue): Accept an additional argument KILLED; if not
8200 zero, ignore errors in the SetThreadContext call, since the
8201 inferior was killed and is shutting down.
8202 (windows_resume, get_windows_debug_event)
8203 (windows_create_inferior, windows_mourn_inferior)
8204 (windows_kill_inferior): All callers of windows_continue changed
8205 to adjust to its new calling sequence.
8206
8207 2014-04-19 Yao Qi <yao@codesourcery.com>
8208
8209 * ctf.c (ctf_open): Call post_create_inferior.
8210
8211 2014-04-19 Yao Qi <yao@codesourcery.com>
8212
8213 * ctf.c (handle_id): New static variable.
8214 (ctf_open_dir): Get handle_id from bt_context_add_trace return
8215 value. Get the declaration of event "register" and get length
8216 of field "contents".
8217
8218 2014-04-19 Yao Qi <yao@codesourcery.com>
8219
8220 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
8221
8222 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
8223
8224 * valops.c (oload_method_static): Remove unnecessary argument
8225 METHOD. Update all callers.
8226
8227 2014-04-18 Pedro alves <palves@redhat.com>
8228 Tom Tromey <tromey@redhat.com>
8229
8230 PR backtrace/15558
8231 * frame.c (get_prev_frame_1): Rename to ...
8232 (get_prev_frame_always): ... this, and make extern. Adjust.
8233 (skip_artificial_frames): Use get_prev_frame_always.
8234 (frame_unwind_caller_id, frame_pop, get_prev_frame)
8235 (get_frame_unwind_stop_reason): Adjust to rename.
8236 * frame.h (get_prev_frame_always): Declare.
8237 * inline-frame.c: Include frame.h.
8238 (inline_frame_this_id): Use get_prev_frame_always.
8239
8240 2014-04-18 Tristan Gingold <gingold@adacore.com>
8241
8242 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
8243 code by using bfd_mach_o_get_base_address.
8244
8245 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
8246
8247 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
8248 (spu_ax_pseudo_register_collect): New function.
8249 (spu_ax_pseudo_register_push_stack): Likewise.
8250 (spu_dwarf_reg_to_regnum): Likewise.
8251 (spu_gdbarch_init): Install them. Append DWARF unwinders.
8252
8253 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
8254
8255 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
8256 Replace FRAME argument with FRAME_ID.
8257 * gdbarch.c, gdbarch.h: Regenerate.
8258 * findvar.c (default_value_from_register): Add GDBARCH argument;
8259 replace FRAME by FRAME_ID. No longer call get_frame_id.
8260 (value_from_register): Update call to gdbarch_value_from_register.
8261 * value.h (default_value_from_register): Update prototype.
8262 * s390-linux-tdep.c (s390_value_from_register): Update interface
8263 and call to default_value_from_register.
8264 * spu-tdep.c (spu_value_from_register): Likewise.
8265
8266 * findvar.c (address_from_register): Remove TYPE argument.
8267 Do not call value_from_register; use gdbarch_value_from_register
8268 with null_frame_id instead.
8269 * value.h (address_from_register): Update prototype.
8270 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
8271 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
8272 address_from_register interface change.
8273
8274 2014-04-17 Yao Qi <yao@codesourcery.com>
8275
8276 * gdbtypes.h: Update comments to link to types and macros'
8277 definitions.
8278
8279 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
8280
8281 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
8282
8283 2014-04-16 Keith Seitz <keiths@redhat.com>
8284
8285 PR gdb/15827
8286 * dwarf2read.c (skip_one_die): Check that all relative-offset
8287 sibling DIEs fall within range of the current reader's buffer.
8288 (read_partial_die): Likewise.
8289
8290 2014-04-16 Keith Seitz <keiths@redhat.com>
8291
8292 PR c++/16597
8293 * cp-namespace.c (lookup_symbol_file): If the type name of
8294 `this' is NULL, return immediately.
8295
8296 2014-04-14 Keith Seitz <keiths@redhat.com>
8297
8298 PR c++/16253
8299 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
8300 from symbol_matches_domain in symtab.c. All local callers
8301 of symbol_matches_domain updated.
8302 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
8303 search STRUCT_DOMAIN.
8304 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
8305 independently. standard_lookup will do that automatically.
8306 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
8307 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8308 (cp_lookup_symbol_in_namespace): Likewise.
8309 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
8310 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
8311 may return a STRUCT_DOMAIN match.
8312 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
8313 * cp-support.c: Include language.h.
8314 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
8315 VAR_DOMAIN.
8316 * psymtab.c (match_partial_symbol): Compare the requested
8317 domain with the symbol's domain directly.
8318 (lookup_partial_symbol): Likewise.
8319 * symtab.c (lookup_symbol_in_language): Explain when/why
8320 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8321 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
8322 appropriate languages.
8323 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
8324 and moved to ada-lang.c
8325 (lookup_block_symbol): Explain that this function only returns
8326 symbol matching the requested DOMAIN.
8327 Compare the requested domain with the symbol's domain directly.
8328 (iterate_over_symbols): Compare the requested domain with the
8329 symbol's domain directly.
8330 * symtab.h (symbol_matches_domain): Remove.
8331
8332 2014-04-14 Tom Tromey <tromey@redhat.com>
8333
8334 PR c++/15246:
8335 * c-exp.y (type_aggregate_p): New function.
8336 (qualified_name, classify_inner_name): Use it.
8337 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
8338 and TYPE_TARGET_TYPE of an enum type.
8339 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
8340 an enum type.
8341 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
8342 handle TYPE_DECLARED_CLASS.
8343 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
8344 types.
8345 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
8346 * valops.c (enum_constant_from_type): New function.
8347 (value_aggregate_elt): Use it.
8348 * cp-namespace.c (cp_lookup_nested_symbol): Handle
8349 TYPE_CODE_ENUM.
8350
8351 2014-04-14 Tom Tromey <tromey@redhat.com>
8352
8353 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
8354 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
8355 const.
8356 * value.h (value_aggregate_elt): Update.
8357
8358 2014-04-14 Tom Tromey <tromey@redhat.com>
8359
8360 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
8361
8362 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8363
8364 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8365 (evaluate_subexp_standard): Pass noside argument.
8366 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8367 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8368 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8369 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8370 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8371
8372 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8373
8374 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8375 points to a constant blob.
8376
8377 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8378
8379 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8380 property and store it as the high bound and flag the range accordingly.
8381 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8382 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8383 * gdbtypes.h (enum range_flags): New enum.
8384 (struct range_bounds): Add flags member.
8385
8386 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8387
8388 * c-typeprint.c (c_type_print_varspec_suffix): Added
8389 check for not yet resolved high bound. If unresolved, print
8390 "variable length" string to the console instead of random
8391 length.
8392
8393 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8394
8395 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
8396 value.
8397 (ada_template_to_fixed_record_type_1): Likewise.
8398 (ada_to_fixed_type_1): Likewise.
8399 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8400 (cp_print_value): Likewise.
8401 * d-valprint.c (dynamic_array_type): Likewise.
8402 * findvar.c (address_of_variable): Likewise.
8403 * jv-valprint.c (java_value_print): Likewise.
8404 * valops.c (value_ind): Likewise.
8405 * value.c (coerce_ref): Likewise.
8406
8407 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8408
8409 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8410 value and retrieve the dynamic type size.
8411
8412 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8413
8414 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8415 passed to sizeof is dynamic evaluate the argument to compute the length.
8416
8417 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8418 Joel Brobecker <brobecker@adacore.com>
8419
8420 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8421 (dwarf2_evaluate_property): New function.
8422 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8423 * dwarf2read.c (attr_to_dynamic_prop): New function.
8424 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8425 attribute.
8426 * gdbtypes.c: Include dwarf2loc.h.
8427 (is_dynamic_type): New function.
8428 (resolve_dynamic_type): New function.
8429 (resolve_dynamic_bounds): New function.
8430 (get_type_length): New function.
8431 (check_typedef): Use get_type_length to compute type length.
8432 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8433 (TYPE_LOW_BOUND_KIND): New macro.
8434 (is_dynamic_type): New function prototype.
8435 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8436 to resolve dynamic properties of the type. Update comment.
8437 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8438
8439 2014-04-14 Richard Henderson <rth@redhat.com>
8440
8441 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
8442
8443 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8444 Doug Evans <xdje42@gmail.com>
8445
8446 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
8447 dereference TYPE_CODE_REF values.
8448
8449 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8450
8451 Revert the following changes due to regressions:
8452
8453 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8454 (dwarf2_evaluate_property): New function.
8455 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8456 * dwarf2read.c (attr_to_dynamic_prop): New function.
8457 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8458 attribute.
8459 * gdbtypes.c: Include dwarf2loc.h.
8460 (is_dynamic_type): New function.
8461 (resolve_dynamic_type): New function.
8462 (resolve_dynamic_bounds): New function.
8463 (get_type_length): New function.
8464 (check_typedef): Use get_type_length to compute type length.
8465 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8466 (TYPE_LOW_BOUND_KIND): New macro.
8467 (is_dynamic_type): New function prototype.
8468 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8469 to resolve dynamic properties of the type. Update comment.
8470 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8471
8472 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8473 passed to sizeof is dynamic evaluate the argument to compute the length.
8474
8475 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8476 value and retrieve the dynamic type size.
8477
8478 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8479 (ada_template_to_fixed_record_type_1): Likewise.
8480 (ada_to_fixed_type_1): Likewise.
8481 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8482 (cp_print_value): Likewise.
8483 * d-valprint.c (dynamic_array_type): Likewise.
8484 * eval.c (evaluate_subexp_with_coercion): Likewise.
8485 * findvar.c (address_of_variable): Likewise.
8486 * jv-valprint.c (java_value_print): Likewise.
8487 * valops.c (value_ind): Likewise.
8488 * value.c (coerce_ref): Likewise.
8489
8490 * c-typeprint.c (c_type_print_varspec_suffix): Added
8491 check for not yet resolved high bound. If unresolved, print
8492 "variable length" string to the console instead of random
8493 length.
8494
8495 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8496 property and store it as the high bound and flag the range accordingly.
8497 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8498 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8499 * gdbtypes.h (enum range_flags): New enum.
8500 (struct range_bounds): Add flags member.
8501
8502 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8503 points to a constant blob.
8504
8505 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8506 (evaluate_subexp_standard): Pass noside argument.
8507 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8508 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8509 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8510 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8511 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8512
8513 2014-04-11 Keith Seitz <keiths@redhat.com>
8514
8515 PR c++/16675
8516 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
8517 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
8518 reference types.
8519
8520 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8521
8522 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8523 (evaluate_subexp_standard): Pass noside argument.
8524 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8525 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8526 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8527 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8528 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8529
8530 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8531
8532 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8533 points to a constant blob.
8534
8535 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8536
8537 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8538 property and store it as the high bound and flag the range accordingly.
8539 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8540 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8541 * gdbtypes.h (enum range_flags): New enum.
8542 (struct range_bounds): Add flags member.
8543
8544 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8545
8546 * c-typeprint.c (c_type_print_varspec_suffix): Added
8547 check for not yet resolved high bound. If unresolved, print
8548 "variable length" string to the console instead of random
8549 length.
8550
8551 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8552
8553 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8554 (ada_template_to_fixed_record_type_1): Likewise.
8555 (ada_to_fixed_type_1): Likewise.
8556 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8557 (cp_print_value): Likewise.
8558 * d-valprint.c (dynamic_array_type): Likewise.
8559 * eval.c (evaluate_subexp_with_coercion): Likewise.
8560 * findvar.c (address_of_variable): Likewise.
8561 * jv-valprint.c (java_value_print): Likewise.
8562 * valops.c (value_ind): Likewise.
8563 * value.c (coerce_ref): Likewise.
8564
8565 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8566
8567 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8568 value and retrieve the dynamic type size.
8569
8570 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8571
8572 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8573 passed to sizeof is dynamic evaluate the argument to compute the length.
8574
8575 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8576
8577 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8578 (dwarf2_evaluate_property): New function.
8579 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8580 * dwarf2read.c (attr_to_dynamic_prop): New function.
8581 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8582 attribute.
8583 * gdbtypes.c: Include dwarf2loc.h.
8584 (is_dynamic_type): New function.
8585 (resolve_dynamic_type): New function.
8586 (resolve_dynamic_bounds): New function.
8587 (get_type_length): New function.
8588 (check_typedef): Use get_type_length to compute type length.
8589 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8590 (TYPE_LOW_BOUND_KIND): New macro.
8591 (is_dynamic_type): New function prototype.
8592 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8593 to resolve dynamic properties of the type. Update comment.
8594 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8595
8596 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8597
8598 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8599 declaring high/low bounds and change uses accordingly. Call
8600 create_range_type instead of create_static_range_type.
8601 * gdbtypes.c (create_range_type): New function.
8602 (create_range_type): Convert bounds into struct bound_prop and pass
8603 them to create_range_type.
8604 * gdbtypes.h (struct bound_prop): New struct.
8605 (create_range_type): New function prototype.
8606 (struct range_bounds): Use struct bound_prop instead of LONGEST for
8607 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
8608 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
8609 part of the bound.
8610 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
8611
8612 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8613
8614 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
8615 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
8616 * ada-lang.c: All uses of create_range_type updated.
8617 * coffread.c: All uses of create_range_type updated.
8618 * dwarf2read.c: All uses of create_range_type updated.
8619 * f-exp.y: All uses of create_range_type updated.
8620 * m2-valprint.c: All uses of create_range_type updated.
8621 * mdebugread.c: All uses of create_range_type updated.
8622 * stabsread.c: All uses of create_range_type updated.
8623 * valops.c: All uses of create_range_type updated.
8624 * valprint.c: All uses of create_range_type updated.
8625
8626 2014-04-10 Pedro Alves <palves@redhat.com>
8627
8628 * breakpoint.c (single_step_breakpoints)
8629 (single_step_gdbarch): Move up in the file.
8630 (one_breakpoint_xfer_memory): New function, factored out from ...
8631 (breakpoint_xfer_memory): ... here. Also process single-step
8632 breakpoints.
8633
8634 2014-04-09 Tristan Gingold <gingold@adacore.com>
8635
8636 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
8637 comments.
8638 (darwin_decode_exception_message): Free port only after use.
8639
8640 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
8641
8642 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
8643 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
8644 when setting the size of call_length.
8645
8646 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8647
8648 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
8649 dereference TYPE_CODE_REF values.
8650
8651 2014-04-07 Joel Brobecker <brobecker@adacore.com>
8652
8653 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
8654 end of warning message.
8655
8656 2014-04-03 Doug Evans <dje@google.com>
8657
8658 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
8659 of stub_comp_unit_die, stub_comp_dir is non-NULL.
8660
8661 2014-04-02 Alan Modra <amodra@gmail.com>
8662
8663 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
8664 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
8665 (struct symbol_file_add_from_memory_args): Add size field.
8666 (find_vdso_size): New function.
8667 (add_vsyscall_page): Attempt to find vdso size.
8668
8669 2014-04-01 Doug Evans <dje@google.com>
8670
8671 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
8672
8673 2014-04-01 Tristan Gingold <gingold@adacore.com>
8674
8675 * darwin-nat.c (darwin_encode_reply): Add prototype.
8676 (darwin_decode_exception_message): Reply to unknown inferiors.
8677 (darwin_decode_message): Handle message by id. Ignore message
8678 to unknown inferior.
8679 (darwin_wait): Discard unknown messages, add debug trace.
8680
8681 2014-03-31 Doug Evans <dje@google.com>
8682
8683 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
8684 comp_dir_string.
8685
8686 2014-03-31 Doug Evans <dje@google.com>
8687
8688 New option "set print symbol-loading".
8689 * NEWS: Mention it.
8690 * solib.c (solib_read_symbols): Only print symbol loading messages
8691 if requested.
8692 (solib_add): If symbol loading is in "brief" mode, notify user
8693 symbols are being loaded.
8694 (reload_shared_libraries_1): Ditto.
8695 * symfile.c (print_symbol_loading_off): New static global.
8696 (print_symbol_loading_brief): New static global.
8697 (print_symbol_loading_full): New static global.
8698 (print_symbol_loading_enums): New static global.
8699 (print_symbol_loading): New static global.
8700 (print_symbol_loading_p): New function.
8701 (symbol_file_add_with_addrs): Only print symbol loading messages
8702 if requested.
8703 (_initialize_symfile): Register "print symbol-loading" set/show
8704 command.
8705 * symfile.h (print_symbol_loading_p): Declare.
8706
8707 2014-03-30 Doug Evans <xdje42@gmail.com>
8708
8709 * infrun.c (set_last_target_status): New function.
8710 (handle_inferior_event): Call it.
8711
8712 2014-03-30 Doug Evans <xdje42@gmail.com>
8713
8714 * inferior.h (enum stop_kind): Improve comment.
8715
8716 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8717
8718 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
8719 a reference, strip the reference layer before calling
8720 the lang_ops value_has_mutated callback.
8721
8722 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
8723
8724 Remove some globals from our parser.
8725 * language.c (unk_lang_parser): Add "struct parser_state"
8726 argument.
8727 * language.h (struct language_defn) <la_parser>: Likewise.
8728 * parse.c (expout, expout_size, expout_ptr): Remove variables.
8729 (initialize_expout): Add "struct parser_state" argument.
8730 Rewrite function to use the parser state.
8731 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
8732 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
8733 write_exp_elt_longcst, write_exp_elt_dblcst,
8734 write_exp_elt_decfloatcst, write_exp_elt_type,
8735 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8736 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
8737 write_dollar_variable): Likewise.
8738 (parse_exp_in_context_1): Use parser state.
8739 (insert_type_address_space): Add "struct parser_state" argument.
8740 Use parser state.
8741 (increase_expout_size): New function.
8742 * parser-defs.h: Forward declare "struct language_defn" and
8743 "struct parser_state".
8744 (expout, expout_size, expout_ptr): Remove extern declarations.
8745 (parse_gdbarch, parse_language): Rewrite macro declarations to
8746 accept the parser state.
8747 (struct parser_state): New struct.
8748 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
8749 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
8750 write_exp_elt_decfloatcst, write_exp_elt_type,
8751 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8752 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
8753 write_exp_msymbol, write_dollar_variable,
8754 mark_struct_expression, insert_type_address_space): Add "struct
8755 parser_state" argument.
8756 (increase_expout_size): New function.
8757 * utils.c (do_clear_parser_state): New function.
8758 (make_cleanup_clear_parser_state): Likewise.
8759 * utils.h (make_cleanup_clear_parser_state): New function
8760 prototype.
8761 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
8762 Update calls to write_exp* in order to pass the parser state.
8763 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
8764 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
8765 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8766 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
8767 * stap-probe.c (stap_parse_register_operand): Likewise.
8768 (stap_parse_single_operand): Likewise.
8769 (stap_parse_argument_1): Likewise.
8770 (stap_parse_argument): Use parser state.
8771 * stap-probe.h: Include "parser-defs.h".
8772 (struct stap_parse_info) <pstate>: New field.
8773 * c-exp.y (parse_type): Rewrite to use parser state.
8774 (yyparse): Redefine to c_parse_internal.
8775 (pstate): New global variable.
8776 (parse_number): Add "struct parser_state" argument.
8777 (write_destructor_name): Likewise.
8778 (type_exp): Update calls to write_exp* and similars in order to
8779 use parser state.
8780 (exp1, exp, variable, qualified_name, space_identifier,
8781 typename, typebase): Likewise.
8782 (write_destructor_name, parse_number, lex_one_token,
8783 classify_name, classify_inner_name, c_parse): Add "struct
8784 parser_state" argument. Update function to use parser state.
8785 * c-lang.h: Forward declare "struct parser_state".
8786 (c_parse): Add "struct parser_state" argument.
8787 * ada-exp.y (parse_type): Rewrite macro to use parser state.
8788 (yyparse): Redefine macro to ada_parse_internal.
8789 (pstate): New variable.
8790 (write_int, write_object_renaming, write_var_or_type,
8791 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
8792 type_int, type_long, type_long_long, type_float, type_double,
8793 type_long_double, type_char, type_boolean, type_system_address):
8794 Add "struct parser_state" argument.
8795 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
8796 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
8797 var_or_type, aggregate, aggregate_component_list,
8798 positional_list, others, component_group,
8799 component_associations): Update calls to write_exp* and similar
8800 functions in order to use parser state.
8801 (ada_parse, write_var_from_sym, write_int,
8802 write_exp_op_with_string, write_object_renaming,
8803 find_primitive_type, write_selectors, write_ambiguous_var,
8804 write_var_or_type, write_name_assoc, type_int, type_long,
8805 type_long_long, type_float, type_double, type_long_double,
8806 type_char, type_boolean, type_system_address): Add "struct
8807 parser_state" argument. Adjust function to use parser state.
8808 * ada-lang.c (parse): Likewise.
8809 * ada-lang.h: Forward declare "struct parser_state".
8810 (ada_parse): Add "struct parser_state" argument.
8811 * ada-lex.l (processInt, processReal): Likewise. Adjust all
8812 calls to both functions.
8813 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
8814 parser state.
8815 (yyparse): Redefine macro to f_parse_internal.
8816 (pstate): New variable.
8817 (parse_number): Add "struct parser_state" argument.
8818 (type_exp, exp, subrange, typebase): Update calls to write_exp*
8819 and similars in order to use parser state.
8820 (parse_number): Adjust code to use parser state.
8821 (yylex): Likewise.
8822 (f_parse): New function.
8823 * f-lang.h: Forward declare "struct parser_state".
8824 (f_parse): Add "struct parser_state" argument.
8825 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
8826 parser state.
8827 (yyparse): Redefine macro for java_parse_internal.
8828 (pstate): New variable.
8829 (push_expression_name, push_expression_name, insert_exp): Add
8830 "struct parser_state" argument.
8831 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
8832 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
8833 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
8834 PostIncrementExpression, PostDecrementExpression,
8835 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
8836 UnaryExpressionNotPlusMinus, CastExpression,
8837 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
8838 RelationalExpression, EqualityExpression, AndExpression,
8839 ExclusiveOrExpression, InclusiveOrExpression,
8840 ConditionalAndExpression, ConditionalOrExpression,
8841 ConditionalExpression, Assignment, LeftHandSide): Update
8842 calls to write_exp* and similars in order to use parser state.
8843 (parse_number): Ajust code to use parser state.
8844 (yylex): Likewise.
8845 (java_parse): New function.
8846 (push_variable): Add "struct parser_state" argument. Adjust
8847 code to user parser state.
8848 (push_fieldnames, push_qualified_expression_name,
8849 push_expression_name, insert_exp): Likewise.
8850 * jv-lang.h: Forward declare "struct parser_state".
8851 (java_parse): Add "struct parser_state" argument.
8852 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
8853 parser state.
8854 (yyparse): Redefine macro to m2_parse_internal.
8855 (pstate): New variable.
8856 (type_exp, exp, fblock, variable, type): Update calls to
8857 write_exp* and similars to use parser state.
8858 (yylex): Likewise.
8859 (m2_parse): New function.
8860 * m2-lang.h: Forward declare "struct parser_state".
8861 (m2_parse): Add "struct parser_state" argument.
8862 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
8863 * objc-lang.h: Forward declare "struct parser_state".
8864 (end_msglist): Add "struct parser_state" argument.
8865 * p-exp.y (parse_type): Rewrite macro to use parser state.
8866 (yyparse): Redefine macro to pascal_parse_internal.
8867 (pstate): New variable.
8868 (parse_number): Add "struct parser_state" argument.
8869 (type_exp, exp1, exp, qualified_name, variable): Update calls to
8870 write_exp* and similars in order to use parser state.
8871 (parse_number, yylex): Adjust code to use parser state.
8872 (pascal_parse): New function.
8873 * p-lang.h: Forward declare "struct parser_state".
8874 (pascal_parse): Add "struct parser_state" argument.
8875 * go-exp.y (parse_type): Rewrite macro to use parser state.
8876 (yyparse): Redefine macro to go_parse_internal.
8877 (pstate): New variable.
8878 (parse_number): Add "struct parser_state" argument.
8879 (type_exp, exp1, exp, variable, type): Update calls to
8880 write_exp* and similars in order to use parser state.
8881 (parse_number, lex_one_token, classify_name, yylex): Adjust code
8882 to use parser state.
8883 (go_parse): Likewise.
8884 * go-lang.h: Forward declare "struct parser_state".
8885 (go_parse): Add "struct parser_state" argument.
8886
8887 2014-03-27 Doug Evans <dje@google.com>
8888
8889 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
8890
8891 2014-03-27 Doug Evans <dje@google.com>
8892
8893 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
8894 Remove argument abbrev_section. All callers updated.
8895
8896 2014-03-27 Doug Evans <dje@google.com>
8897
8898 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
8899 addr_base, ranges_base.
8900
8901 2014-03-26 Keith Seitz <keiths@redhat.com>
8902
8903 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
8904 types, not VAR_DOMAIN.
8905
8906 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
8907
8908 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
8909 "ra" registers.
8910 * features/nios2-linux.c: Regenerated.
8911 * features/nios2.c: Regenerated.
8912
8913 2014-03-25 Pedro Alves <palves@redhat.com>
8914
8915 * cli/cli-script.c (script_from_file): Force the interpreter to
8916 sync mode.
8917
8918 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8919
8920 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
8921 small stack allocation.
8922
8923 2014-03-24 Tristan Gingold <gingold@adacore.com>
8924
8925 * darwin-nat.c (exc_server): Remove unused prototype.
8926 (darwin_dump_message): Correctly display data on x86_64.
8927 (darwin_encode_reply): Fix style.
8928 Add comments and fix indentation.
8929
8930 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8931
8932 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
8933
8934 2014-03-22 Doug Evans <xdje42@gmail.com>
8935
8936 * infcmd.c: Whitespace fixes.
8937 (interrupt_command): Merge two function comments into one.
8938
8939 2014-03-22 Doug Evans <xdje42@gmail.com>
8940
8941 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
8942 All uses updated.
8943
8944 2014-03-22 Yao Qi <yao@codesourcery.com>
8945
8946 * remote.c (target_read_live_memory): Remove.
8947 (memory_xfer_live_readonly_partial): Rename it to
8948 remote_xfer_live_readonly_partial. Remove argument 'object'.
8949 All callers updated. Call remote_read_bytes_1
8950 instead of target_read_live_memory.
8951 * tracepoint.c (set_traceframe_number): Remove.
8952 (make_cleanup_restore_traceframe_number): Likewise .
8953 * tracepoint.h (set_traceframe_number): Remove declaration.
8954 (make_cleanup_restore_traceframe_number): Likewise.
8955
8956 2014-03-22 Yao Qi <yao@codesourcery.com>
8957
8958 * remote.c (remote_read_bytes): Move code on reading from the
8959 remote stub to ...
8960 (remote_read_bytes_1): ... here. New function.
8961
8962 2014-03-22 Yao Qi <yao@codesourcery.com>
8963
8964 * ctf.c (ctf_xfer_partial): Check the return value of
8965 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
8966 return TARGET_XFER_UNAVAILABLE.
8967 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8968 * target.c (target_read_live_memory): Move it to remote.c.
8969 (memory_xfer_live_readonly_partial): Likewise.
8970 (memory_xfer_partial_1): Move some code to remote_read_bytes.
8971 * remote.c (target_read_live_memory): Moved from target.c.
8972 (memory_xfer_live_readonly_partial): Likewise.
8973 (remote_read_bytes): Factored out from
8974 memory_xfer_partial_1.
8975
8976 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
8977
8978 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
8979 NULL pointer.
8980
8981 2014-03-21 Pedro Alves <palves@redhat.com>
8982
8983 * infrun.c (normal_stop): Extend comment.
8984
8985 2014-03-21 Hui Zhu <hui@codesourcery.com>
8986 Pedro Alves <palves@redhat.com>
8987
8988 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
8989 static buffer.
8990 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
8991 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
8992 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
8993
8994 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
8995
8996 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
8997 `z' formatted output modifier.
8998
8999 2014-03-20 Tom Tromey <tromey@redhat.com>
9000 Sergio Durigan Junior <sergiodj@redhat.com>
9001
9002 * probe.c (parse_probes): Turn assert into an ordinary error.
9003 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
9004 exceptions when parsing probes. Rearrange the code for clarity.
9005
9006 2014-03-20 Tom Tromey <tromey@redhat.com>
9007
9008 PR gdb/14135
9009 * top.c (execute_command): Only dispatch events if the command
9010 started the target.
9011
9012 2014-03-20 Tom Tromey <tromey@redhat.com>
9013
9014 PR cli/15718
9015 * infcall.c: Include event-top.h.
9016 (run_inferior_call): Call async_disable_stdin if needed.
9017
9018 2014-03-20 Pedro Alves <palves@redhat.com>
9019
9020 * infrun.c (prepare_to_proceed): Delete.
9021 (thread_still_needs_step_over): New function.
9022 (find_thread_needs_step_over): New function.
9023 (proceed): If the current thread needs a step-over, set its
9024 steping_over_breakpoint flag. Adjust to use
9025 find_thread_needs_step_over instead of prepare_to_proceed.
9026 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
9027 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
9028 breakpoint.
9029 (switch_back_to_stepped_thread): Step over breakpoints of all
9030 threads not the stepping thread, before switching back to the
9031 stepping thread.
9032
9033 2014-03-20 Pedro Alves <palves@redhat.com>
9034
9035 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
9036 extern.
9037 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
9038 * infrun.c (saved_singlestep_ptid)
9039 (stepping_past_singlestep_breakpoint): Delete.
9040 (resume): Remove stepping_past_singlestep_breakpoint handling.
9041 (proceed): Store the prev_pc of the stepping thread too.
9042 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
9043 singlestep_pc.
9044 (enum infwait_states): Delete infwait_thread_hop_state.
9045 (struct execution_control_state) <hit_singlestep_breakpoint>: New
9046 field.
9047 (handle_inferior_event): Adjust.
9048 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
9049 handling and the thread-hop code. Before removing single-step
9050 breakpoints, check whether the thread hit a single-step breakpoint
9051 of another thread. If it did, the trap is not a random signal.
9052 (switch_back_to_stepped_thread): If the event thread hit a
9053 single-step breakpoint, unblock it before switching to the
9054 stepping thread. Handle the case of the stepped thread having
9055 advanced already.
9056 (keep_going): Handle the case of the current thread moving past a
9057 single-step breakpoint.
9058
9059 2014-03-20 Pedro Alves <palves@redhat.com>
9060
9061 PR breakpoints/7143
9062 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
9063 are being stepped over.
9064 (breakpoint_address_match): Make extern.
9065 * breakpoint.h (breakpoint_address_match): New declaration.
9066 * inferior.h (stepping_past_instruction_at): New declaration.
9067 * infrun.c (struct step_over_info): New type.
9068 (step_over_info): New global.
9069 (set_step_over_info, clear_step_over_info)
9070 (stepping_past_instruction_at): New functions.
9071 (handle_inferior_event): Clear the step-over info when
9072 trap_expected is cleared.
9073 (resume): Remove now stale comment.
9074 (clear_proceed_status): Clear step-over info.
9075 (proceed): Adjust step-over handling to set or clear the step-over
9076 info instead of removing all breakpoints.
9077 (handle_signal_stop): When setting up a thread-hop, don't remove
9078 breakpoints here.
9079 (stop_stepping): Clear step-over info.
9080 (keep_going): Adjust step-over handling to set or clear step-over
9081 info and then always inserting breakpoints, instead of removing
9082 all breakpoints when stepping over one.
9083
9084 2014-03-20 Pedro Alves <palves@redhat.com>
9085
9086 * infrun.c (previous_inferior_ptid): Adjust comment.
9087 (deferred_step_ptid): Delete.
9088 (infrun_thread_ptid_changed, prepare_to_proceed)
9089 (init_wait_for_inferior): Adjust.
9090 (handle_signal_stop): Delete deferred_step_ptid handling.
9091
9092 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9093
9094 PR gdb/15358
9095 * defs.h (sync_quit_force_run): New declaration.
9096 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
9097 * event-top.c (async_sigterm_handler): New declaration.
9098 (async_sigterm_token): New variable.
9099 (async_init_signals): Create also async_sigterm_token.
9100 (async_sigterm_handler): New function.
9101 (sync_quit_force_run): New variable.
9102 (handle_sigterm): Replace quit_force call by other calls.
9103 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
9104
9105 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
9106
9107 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
9108 offset into SPE pseudo registers.
9109
9110 2014-03-18 Pedro Alves <palves@redhat.com>
9111
9112 PR gdb/13860
9113 * inferior.h (print_stop_event): Declare.
9114 * infrun.c (print_stop_event): New, factored out from ...
9115 (normal_stop): ... this.
9116 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
9117 of bpstat_print/print_stack_frame.
9118
9119 2014-03-17 Tom Tromey <tromey@redhat.com>
9120
9121 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
9122
9123 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
9124
9125 * ada-lang.c (decode_constrained_packed_array): Perform a
9126 minimal coercion for reference with coerce_ref instead of
9127 ada_coerce_ref.
9128
9129 2014-03-17 Tristan Gingold <gingold@adacore.com>
9130
9131 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
9132 (darwin_solib_create_inferior_hook): Emit a warning if version
9133 is unhandled.
9134
9135 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
9136
9137 * python/py-value.c (get_field_flag): Cast flag_name argument to
9138 PyObject_GetAttrString to support Python 2.4.
9139
9140 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9141
9142 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
9143 (Global Maintainers): Remove Jan Kratochvil.
9144
9145 2014-03-14 Pedro Alves <palves@redhat.com>
9146
9147 * inferior.h (terminal_ours_for_output): Rename to ...
9148 (child_terminal_ours_for_output): ... this.
9149 (terminal_save_ours): Rename to ...
9150 (child_terminal_save_ours): ... this.
9151 (terminal_ours): Rename to ...
9152 (child_terminal_ours): ... this.
9153 (terminal_inferior): Rename to ...
9154 (child_terminal_inferior): ... this.
9155 (terminal_init_inferior): Rename to ...
9156 (child_terminal_init_inferior): ... this.
9157 (terminal_init_inferior_with_pgrp): Rename to ...
9158 (child_terminal_init_inferior_with_pgrp): ... this.
9159 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
9160 (child_terminal_init_with_pgrp): ... this.
9161 (terminal_save_ours): Rename to ...
9162 (child_terminal_save_ours): ... this.
9163 (terminal_init_inferior): Rename to ...
9164 (child_terminal_init): ... this. Adjust.
9165 (terminal_inferior): Rename to ...
9166 (child_terminal_inferior): ... this.
9167 (terminal_ours_for_output): Rename to ...
9168 (child_terminal_ours_for_output): ... this. Adjust.
9169 (terminal_ours): Rename to ...
9170 (child_terminal_ours): ... this.
9171 (terminal_ours_1): Rename to ...
9172 (child_terminal_ours_1): ... this. Adjust.
9173 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
9174 * windows-nat.c (do_initial_windows_stuff): Adjust.
9175 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
9176 (gnu_terminal_init): ... this. Adjust.
9177 (gnu_target): Adjust.
9178 * inf-child.c (inf_child_target): Adjust.
9179
9180 2014-03-13 Doug Evans <xdje42@gmail.com>
9181
9182 PR guile/16612
9183 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
9184 new eq?-hashtab.
9185
9186 2014-03-13 Doug Evans <xdje42@gmail.com>
9187
9188 * value.c (record_latest_value): Call release_value_or_incref
9189 instead of release_value.
9190
9191 2014-03-13 Pedro Alves <palves@redhat.com>
9192
9193 * procfs.c (procfs_target): Don't override to_shortname,
9194 to_longname or to_doc.
9195
9196 2014-03-13 Pedro Alves <palves@redhat.com>
9197
9198 * inf-child.c (inf_child_open, inf_child_target): Don't mention
9199 Unix in user visible strings.
9200
9201 2014-03-12 Stan Shebs <stan@codesourcery.com>
9202
9203 * gdbtypes.h: Annotate comments for Doxygen, add a page
9204 block comment with some general info.
9205
9206 2014-03-12 Pedro Alves <palves@redhat.com>
9207
9208 * infcmd.c (prepare_execution_command): New function, factored out
9209 from several execution commands.
9210 (run_command_1, continue_command, step_1, jump_command)
9211 (signal_command, until_command, advance_command, finish_command)
9212 (attach_command): Use prepare_execution_command.
9213
9214 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
9215
9216 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
9217 (MAX_BPTS): Define.
9218 (MAX_WPTS): Define.
9219 (struct arm_linux_thread_points): Removed.
9220 (struct arm_linux_process_info): New.
9221 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
9222 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
9223 (arm_linux_find_breakpoints_by_tid): Removed.
9224 (struct arch_lwp_info): New.
9225 (arm_linux_find_process_pid): New functions.
9226 (arm_linux_add_process): New functions.
9227 (arm_linux_process_info_get): New functions.
9228 (arm_linux_forget_process): New function.
9229 (arm_linux_get_debug_reg_state): New function.
9230 (struct update_registers_data): New.
9231 (update_registers_callback): New function.
9232 (arm_linux_insert_hw_breakpoint1): Updated.
9233 (arm_linux_remove_hw_breakpoint1): Updated.
9234 (arm_linux_insert_hw_breakpoint): Updated.
9235 (arm_linux_remove_hw_breakpoint): Updated.
9236 (arm_linux_insert_watchpoint): Updated.
9237 (arm_linux_remove_watchpoint): Updated.
9238 (arm_linux_new_thread): Updated.
9239 (arm_linux_prepare_to_resume): New function.
9240 (arm_linux_new_fork): New function.
9241 (_initialize_arm_linux_nat): Updated.
9242
9243 2014-03-12 Pedro Alves <palves@redhat.com>
9244
9245 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
9246
9247 2014-03-12 Tom Tromey <tromey@redhat.com>
9248
9249 * inf-child.c (return_zero): New function.
9250 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
9251 * aix-thread.c (aix_thread_inferior_created): New function.
9252 (aix_thread_attach): Remove.
9253 (init_aix_thread_ops): Don't set to_attach.
9254 (_initialize_aix_thread): Register inferior_created observer.
9255 * corelow.c (init_core_ops): Don't set to_attach or
9256 to_create_inferior.
9257 * exec.c (init_exec_ops): Don't set to_attach or
9258 to_create_inferior.
9259 * infcmd.c (run_command_1): Use find_run_target. Make direct
9260 target calls.
9261 (attach_command): Use find_attach_target. Make direct target
9262 calls.
9263 * record-btrace.c (init_record_btrace_ops): Don't set
9264 to_create_inferior.
9265 * record-full.c (record_full_can_async_p, record_full_is_async_p):
9266 Remove.
9267 (init_record_full_ops, init_record_full_core_ops): Update. Don't
9268 set to_create_inferior.
9269 * target.c (complete_target_initialization): Add assertion.
9270 (target_create_inferior): Remove.
9271 (find_default_attach, find_default_create_inferior): Remove.
9272 (find_attach_target, find_run_target): New functions.
9273 (find_default_is_async_p, find_default_can_async_p)
9274 (target_supports_non_stop, target_attach): Remove.
9275 (init_dummy_target): Don't set to_create_inferior or
9276 to_supports_non_stop.
9277 * target.h (struct target_ops) <to_attach>: Add comment. Remove
9278 TARGET_DEFAULT_FUNC.
9279 <to_create_inferior>: Add comment.
9280 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
9281 TARGET_DEFAULT_RETURN.
9282 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
9283 (find_attach_target, find_run_target): Declare.
9284 (target_create_inferior): Remove.
9285 (target_has_execution_1): Update comment.
9286 (target_supports_non_stop): Remove.
9287 * target-delegates.c: Rebuild.
9288
9289 2014-03-12 Pedro Alves <palves@redhat.com>
9290
9291 * inf-child.h: Update comment to not mention Unix.
9292
9293 2014-03-12 Pedro Alves <palves@redhat.com>
9294
9295 * inf-child.c: Update top comment to not mention Unix. Add
9296 generic comment describing how this target is meant to be used.
9297 (inf_child_post_attach, inf_child_post_startup_inferior)
9298 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
9299 Unix in comment.
9300
9301 2014-03-12 Pedro Alves <palves@redhat.com>
9302
9303 * nto-procfs.c: Include inf-child.h.
9304 (procfs_ops): Delete global.
9305 (procfs_can_run): Delete method.
9306 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
9307 target pointer instead of referencing procfs_ops.
9308 (procfs_prepare_to_store): Delete.
9309 (init_procfs_ops): Delete function.
9310 (procfs_target): New function, based on init_procfs_ops, but
9311 inherit inf_child_target.
9312 (_initialize_procfs): Use procfs_target.
9313
9314 2014-03-12 Pedro Alves <palves@redhat.com>
9315
9316 * windows-nat.c: Include inf-child.h.
9317 (windows_ops): Delete global.
9318 (windows_open, windows_prepare_to_store, windows_can_run): Delete
9319 methods.
9320 (init_windows_ops): Delete function.
9321 (windows_target): New function, based on init_windows_ops, but
9322 inherit inf_child_target.
9323 (_initialize_windows_nat): Use windows_target. Install x86
9324 specific target methods here.
9325
9326 2014-03-10 Doug Evans <xdje42@gmail.com>
9327
9328 * guile/guile.c (call_initialize_gdb_module): New function.
9329 (initialize_guile): Replace call to scm_init_guile with call to
9330 scm_with_guile.
9331
9332 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9333
9334 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
9335 in call to TYPE_CODE macro.
9336
9337 2014-03-10 Jerome Guitton <guitton@adacore.com>
9338
9339 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
9340 Resolve tagged types to full view.
9341
9342 2014-03-10 Hui Zhu <hui@codesourcery.com>
9343
9344 * target.h (target_insert_breakpoint): Remove "hardware" from its
9345 comments.
9346
9347 2014-03-07 Doug Evans <dje@google.com>
9348
9349 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
9350
9351 2014-03-07 Doug Evans <dje@google.com>
9352
9353 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
9354 Remove unused local comp_dir_attr. Assert exactly one of
9355 stub_comp_unit_die, stub_comp_dir is non-NULL.
9356
9357 2014-03-07 Joel Brobecker <brobecker@adacore.com>
9358
9359 * target.h (complete_target_initialization, add_target):
9360 Add comment.
9361
9362 2014-03-07 Pedro Alves <palves@redhat.com>
9363
9364 * go32-nat.c: Include inf-child.h.
9365 (go32_ops): Delete global.
9366 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
9367 Delete methods.
9368 (go32_create_inferior): Push the passed in target pointer instead
9369 of referencing go32_ops.
9370 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
9371 (go32_target): New function, based on init_go32_ops, but inherit
9372 inf_child_target.
9373 (_initialize_go32_nat): Use go32_target. Move parts of
9374 init_go32_ops here.
9375
9376 2014-03-06 Joel Brobecker <brobecker@adacore.com>
9377
9378 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
9379 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
9380 SYMBOL_VALUE_ADDRESS.
9381 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
9382
9383 2014-03-06 Yao Qi <yao@codesourcery.com>
9384
9385 * breakpoint.c (get_tracepoint_by_number): Remove argument
9386 optional_p. All callers updated. Adjust comments. Update
9387 output message.
9388 * breakpoint.h (get_tracepoint_by_number): Update declaration.
9389
9390 2014-03-06 Yao Qi <yao@codesourcery.com>
9391
9392 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
9393 early if get_number returns zero. Use 'p' instead of 'args'.
9394
9395 2014-03-06 Yao Qi <yao@codesourcery.com>
9396
9397 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
9398 message.
9399
9400 2014-03-06 Yao Qi <yao@codesourcery.com>
9401
9402 PR breakpoints/16508
9403 * tracepoint.c (check_trace_running): New function.
9404 (trace_find_command): Move code to check_trace_running and
9405 call check_trace_running.
9406 (trace_find_pc_command): Likewise.
9407 (trace_find_tracepoint_command): Likewise.
9408 (trace_find_line_command): Likewise.
9409 (trace_find_range_command): Likewise.
9410 * tracepoint.h (check_trace_running): Likewise.
9411 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
9412
9413 2014-03-06 Yao Qi <yao@codesourcery.com>
9414
9415 * target.h (struct target_ops) <to_traceframe_info>: Use
9416 TARGET_DEFAULT_NORETURN (tcomplain ()).
9417 * target-delegates.c: Regenerated.
9418
9419 2014-03-05 Pedro Alves <palves@redhat.com>
9420
9421 PR gdb/16575
9422 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
9423 void. Update comment.
9424 (dcache_xfer_memory): Delete.
9425 (dcache_read_memory_partial): New, based on the read bits of
9426 dcache_xfer_memory.
9427 (dcache_update): Add status parameter. Use ULONGEST for len, and
9428 adjust. Discard cache lines if the reason for the update was
9429 error.
9430 * dcache.h (dcache_xfer_memory): Delete declaration.
9431 (dcache_read_memory_partial): New declaration.
9432 (dcache_update): Update prototype.
9433 * target.c (raw_memory_xfer_partial): Update the dcache here.
9434 (memory_xfer_partial_1): Don't handle dcache writes here.
9435
9436 2014-03-05 Mike Frysinger <vapier@gentoo.org>
9437
9438 * remote-sim.c (gdbsim_load): Add const to prog.
9439
9440 2014-03-03 Tom Tromey <tromey@redhat.com>
9441
9442 * elfread.c (probe_key): Change to bfd_data.
9443 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
9444 now per-BFD, not per-objfile.
9445 * stap-probe.c (stap_probe_destroy): Update comment.
9446 (handle_stap_probe): Allocate on the per-BFD obstack.
9447
9448 2014-03-03 Tom Tromey <tromey@redhat.com>
9449
9450 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
9451 * breakpoint.c (create_longjmp_master_breakpoint): Use
9452 get_probe_address.
9453 (add_location_to_breakpoint, bkpt_probe_insert_location)
9454 (bkpt_probe_remove_location): Update.
9455 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
9456 * elfread.c (elf_symfile_relocate_probe): Remove.
9457 (elf_probe_fns): Update.
9458 (insert_exception_resume_breakpoint): Change type of "probe"
9459 parameter to bound_probe.
9460 (check_exception_resume): Update.
9461 * objfiles.c (objfile_relocate1): Don't relocate probes.
9462 * probe.c (bound_probe_s): New typedef.
9463 (parse_probes): Use get_probe_address. Set sal's objfile.
9464 (find_probe_by_pc): Return a bound_probe.
9465 (collect_probes): Return a VEC(bound_probe_s).
9466 (compare_probes): Update.
9467 (gen_ui_out_table_header_info): Change type of "probes"
9468 parameter. Update.
9469 (info_probes_for_ops): Update.
9470 (get_probe_address): New function.
9471 (probe_safe_evaluate_at_pc): Update.
9472 * probe.h (struct probe_ops) <get_probe_address>: New field.
9473 <set_semaphore, clear_semaphore>: Add objfile parameter.
9474 (struct probe) <objfile>: Remove field.
9475 <arch>: New field.
9476 <address>: Update comment.
9477 (struct bound_probe): New.
9478 (find_probe_by_pc): Return a bound_probe.
9479 (get_probe_address): Declare.
9480 * solib-svr4.c (struct probe_and_action) <address>: New field.
9481 (hash_probe_and_action, equal_probe_and_action): Update.
9482 (register_solib_event_probe): Add address parameter.
9483 (solib_event_probe_at): Update.
9484 (svr4_create_probe_breakpoints): Add objfile parameter. Use
9485 get_probe_address.
9486 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
9487 (stap_get_probe_address): New function.
9488 (stap_can_evaluate_probe_arguments, compute_probe_arg)
9489 (compile_probe_arg): Update.
9490 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
9491 address.
9492 (handle_stap_probe): Don't relocate the probe.
9493 (stap_relocate): Remove.
9494 (stap_gen_info_probes_table_values): Update.
9495 (stap_probe_ops): Remove stap_relocate.
9496 * symfile-debug.c (debug_sym_relocate_probe): Remove.
9497 (debug_sym_probe_fns): Update.
9498 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
9499 * symtab.c (init_sal): Use memset.
9500 * symtab.h (struct symtab_and_line) <objfile>: New field.
9501 * tracepoint.c (start_tracing, stop_tracing): Update.
9502
9503 2014-03-03 Tom Tromey <tromey@redhat.com>
9504
9505 * probe.h (parse_probes, find_probe_by_pc)
9506 (find_probes_in_objfile): Fix comments.
9507
9508 2014-03-02 Doug Evans <xdje42@gmail.com>
9509
9510 * infrun.c (handle_signal_stop): Replace test for
9511 TARGET_WAITKIND_STOPPED with an assert.
9512
9513 2014-03-02 Doug Evans <xdje42@gmail.com>
9514
9515 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
9516
9517 2014-03-02 Doug Evans <xdje42@gmail.com>
9518
9519 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
9520
9521 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9522
9523 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
9524
9525 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9526
9527 * i386obsd-nat.c: Include "obsd-nat.h".
9528 (_initialize_i386obsd_nat): Call obsd_add_target instead of
9529 add_target.
9530 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
9531
9532 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9533
9534 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
9535
9536 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9537
9538 * mips64obsd-nat.c: Include "obsd-nath".
9539 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9540 add_target
9541 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9542
9543 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9544
9545 * amd64obsd-nat.c: Include "obsd-nat,h.
9546 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9547 add_target.
9548 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9549
9550 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
9551
9552 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9553 (find_overload_match): Update call to find_oload_champ.
9554 (find_oload_champ_namespace_loop): Likewise
9555
9556 2014-02-28 Mark Kettenis <kettenis@gnu.org>
9557
9558 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9559
9560 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9561 * config/sparc/obsd64.mh: New file.
9562 * sparc64obsd-nat.c: New file.
9563
9564 * obsd-nat.h: New file.
9565 * obsd-nat.c: New file.
9566 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9567 (ALLDEPFILES): Add obsd-nat.c.
9568
9569 2014-02-28 Tom Tromey <tromey@redhat.com>
9570
9571 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
9572 * cli-out.h (cli_ui_out_impl): Now const.
9573 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
9574 * ui-out.c (struct ui_out) <impl>: Now const.
9575 (default_ui_out_impl): Now const.
9576 (ui_out_new): Make 'impl' parameter const.
9577 * ui-out.h (ui_out_new): Update.
9578
9579 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9580
9581 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9582
9583 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9584
9585 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9586
9587 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9588
9589 Additional PR 8882 fix.
9590 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9591
9592 2014-02-27 Pedro Alves <palves@redhat.com>
9593
9594 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9595 isn't set.
9596
9597 2014-02-27 Pedro Alves <palves@redhat.com>
9598
9599 PR 12702
9600 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
9601 * nat/linux-waitpid.c: Include string.h.
9602 (status_to_str): Moved here and made extern.
9603 * nat/linux-waitpid.h (status_to_str): New declaration.
9604
9605 2014-02-27 Hui Zhu <hui@codesourcery.com>
9606
9607 PR 12702
9608 * infrun.c (ptid_match): Move ...
9609 * common/ptid.c (ptid_match): ... here.
9610 * inferior.h (ptid_match): Move ...
9611 * common/ptid.h (ptid_match): ... here.
9612
9613 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9614
9615 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
9616 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
9617 gdb_target_obs.
9618
9619 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9620
9621 * obsd-tdep.c (obsd_auxv_parse): New function.
9622 (obsd_init_abi): Set auxv_parse.
9623
9624 * gdbarch.sh (auxv_parse): New.
9625 * gdbarch.h: Regenerated.
9626 * gdbarch.c: Regenerated.
9627 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
9628
9629 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9630
9631 * guile/scm-value.c (gdbscm_history_append_x): New function.
9632 (value_functions): Add it.
9633
9634 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9635
9636 * dwarf2read.c (attr_value_as_address): New function.
9637 (dwarf2_find_base_address, read_call_site_scope): Use
9638 attr_value_as_address in place of DW_ADDR.
9639 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
9640 the low and high addresses. Slight rework of the handling
9641 of the high pc being a constant form, and limit it to
9642 DWARF verson 4 or higher.
9643 (dwarf2_record_block_ranges): Likewise.
9644 (read_partial_die): Likewise.
9645 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
9646
9647 2014-02-26 Tom Tromey <tromey@redhat.com>
9648
9649 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
9650
9651 2014-02-26 Tom Tromey <tromey@redhat.com>
9652
9653 * elfread.c (elf_read_minimal_symbols): Return early if
9654 minimal symbols have already been read. Add "ei" parameter.
9655 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
9656 * minsyms.c (prim_record_minimal_symbol_full): Update.
9657 * objfiles.h (struct objstats) <n_minsyms>: Move...
9658 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
9659 * symmisc.c (print_objfile_statistics): Update.
9660
9661 2014-02-26 Tom Tromey <tromey@redhat.com>
9662
9663 * elfread.c (elf_read_minimal_symbols): New function, from
9664 elf_symfile_read.
9665 (elf_symfile_read): Call it.
9666
9667 2014-02-26 Tom Tromey <tromey@redhat.com>
9668
9669 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
9670 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
9671 (lookup_minimal_symbol_solib_trampoline)
9672 (lookup_minimal_symbol_by_pc_section_1)
9673 (lookup_minimal_symbol_and_objfile): Update.
9674 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
9675 Don't allocate a minimal symbol if minsyms have already been read.
9676 (build_minimal_symbol_hash_tables): Update.
9677 (install_minimal_symbols): Do nothing if minsyms already read.
9678 Use the per-BFD obstack.
9679 (terminate_minimal_symbol_table): Use the per-BFD obstack.
9680 * objfiles.c (allocate_objfile): Call
9681 terminate_minimal_symbol_table later.
9682 (have_minimal_symbols): Update.
9683 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
9684 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
9685 Move from struct objfile.
9686 <minsyms_read>: New field.
9687 (struct objfile) <msymbols, minimal_symbol_count,
9688 msymbol_hash, msymbol_demangled_hash>: Move.
9689 (ALL_OBJFILE_MSYMBOLS): Update.
9690 * symfile.c (read_symbols): Set minsyms_read.
9691 (reread_symbols): Update.
9692 * symmisc.c (dump_objfile, dump_msymbols): Update.
9693
9694 2014-02-26 Tom Tromey <tromey@redhat.com>
9695
9696 * minsyms.c (msymbols_sort): Remove.
9697 * minsyms.h (msymbols_sort): Remove.
9698 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
9699 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
9700 * elfread.c (elf_symtab_read): Don't add section offsets.
9701 * xcoffread.c (record_minimal_symbol): Don't add section offset
9702 to minimal symbol address.
9703 * somread.c (text_offset, data_offset): Remove.
9704 (som_symtab_read): Don't add section offsets to minimal symbol
9705 addresses.
9706 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
9707 Don't add section offsets to minimal symbols.
9708 * coffread.c (coff_symtab_read): Don't add section offsets
9709 to minimal symbol addresses.
9710 * machoread.c (macho_symtab_add_minsym): Don't add section offset
9711 to minimal symbol addresses.
9712 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
9713 section offset to minimal symbol addresses.
9714 * mdebugread.c (parse_partial_symbols): Don't add section
9715 offset to minimal symbol addresses.
9716 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
9717 offset to minimal symbol addresses.
9718
9719 2014-02-26 Tom Tromey <tromey@redhat.com>
9720
9721 * ada-lang.c (ada_main_name): Update.
9722 (ada_add_standard_exceptions): Update.
9723 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9724 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9725 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
9726 * auxv.c (ld_so_xfer_auxv): Update.
9727 * avr-tdep.c (avr_scan_prologue): Update.
9728 * ax-gdb.c (gen_var_ref): Update.
9729 * blockframe.c (get_pc_function_start)
9730 (find_pc_partial_function_gnu_ifunc): Update.
9731 * breakpoint.c (create_overlay_event_breakpoint)
9732 (create_longjmp_master_breakpoint)
9733 (create_std_terminate_master_breakpoint)
9734 (create_exception_master_breakpoint): Update.
9735 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9736 * c-valprint.c (c_val_print): Update.
9737 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9738 * common/agent.c (agent_look_up_symbols): Update.
9739 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9740 * dwarf2loc.c (call_site_to_target_addr): Update.
9741 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
9742 * elfread.c (elf_gnu_ifunc_record_cache)
9743 (elf_gnu_ifunc_resolve_by_got): Update.
9744 * findvar.c (default_read_var_value): Update.
9745 * frame.c (inside_main_func): Update.
9746 * frv-tdep.c (frv_frame_this_id): Update.
9747 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9748 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9749 Update.
9750 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
9751 (hppa_hpux_find_dummy_bpaddr): Update.
9752 * hppa-tdep.c (hppa_symbol_address): Update.
9753 * infcmd.c (until_next_command): Update.
9754 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
9755 Update.
9756 * linespec.c (minsym_found, add_minsym): Update.
9757 * linux-nat.c (get_signo): Update.
9758 * linux-thread-db.c (inferior_has_bug): Update.
9759 * m32c-tdep.c (m32c_return_value)
9760 (m32c_m16c_address_to_pointer): Update.
9761 * m32r-tdep.c (m32r_frame_this_id): Update.
9762 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9763 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9764 * maint.c (maintenance_translate_address): Update.
9765 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
9766 (frob_address): New function.
9767 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
9768 frob_address. Rename parameter to "pc_in".
9769 (compare_minimal_symbols, compact_minimal_symbols): Use raw
9770 addresses.
9771 (find_solib_trampoline_target, minimal_symbol_upper_bound):
9772 Update.
9773 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9774 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
9775 * objc-lang.c (find_objc_msgsend): Update.
9776 * objfiles.c (objfile_relocate1): Update.
9777 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9778 * p-valprint.c (pascal_val_print): Update.
9779 * parse.c (write_exp_msymbol): Update.
9780 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
9781 (ppc_elfv2_skip_entrypoint): Update.
9782 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9783 * printcmd.c (build_address_symbolic, msym_info)
9784 (address_info): Update.
9785 * proc-service.c (ps_pglobal_lookup): Update.
9786 * psymtab.c (find_pc_sect_psymtab_closer)
9787 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
9788 Change msymbol parameter to bound_minimal_symbol.
9789 * ravenscar-thread.c (get_running_thread_id): Update.
9790 * remote.c (remote_check_symbols): Update.
9791 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
9792 address.
9793 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9794 * solib-dsbt.c (lm_base): Update.
9795 * solib-frv.c (lm_base, main_got): Update.
9796 * solib-irix.c (locate_base): Update.
9797 * solib-som.c (som_solib_create_inferior_hook)
9798 (link_map_start): Update.
9799 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
9800 * solib-svr4.c (elf_locate_base, enable_break): Update.
9801 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9802 (flush_ea_cache): Update.
9803 * stabsread.c (define_symbol, scan_file_globals): Update.
9804 * stack.c (find_frame_funname): Update.
9805 * symfile-debug.c (debug_qf_expand_symtabs_matching)
9806 (debug_qf_find_pc_sect_symtab): Update.
9807 * symfile.c (simple_read_overlay_table)
9808 (simple_overlay_update): Update.
9809 * symfile.h (struct quick_symbol_functions)
9810 <find_pc_sect_symtab>: Change type of msymbol to
9811 bound_minimal_symbol.
9812 * symmisc.c (dump_msymbols): Update.
9813 * symtab.c (find_pc_sect_symtab_via_partial)
9814 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
9815 (search_symbols, print_msymbol_info): Update.
9816 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
9817 (MSYMBOL_VALUE_ADDRESS): Redefine.
9818 (BMSYMBOL_VALUE_ADDRESS): New macro.
9819 * tracepoint.c (scope_info): Update.
9820 * tui/tui-disasm.c (tui_find_disassembly_address)
9821 (tui_get_begin_asm_address): Update.
9822 * valops.c (find_function_in_inferior): Update.
9823 * value.c (value_static_field, value_fn_field): Update.
9824
9825 2014-02-26 Tom Tromey <tromey@redhat.com>
9826
9827 * ada-lang.c (ada_update_initial_language): Update.
9828 (ada_main_name, ada_has_this_exception_support): Update.
9829 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9830 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9831 * arm-tdep.c (arm_skip_stub): Update.
9832 * auxv.c (ld_so_xfer_auxv): Update.
9833 * avr-tdep.c (avr_scan_prologue): Update.
9834 * ax-gdb.c (gen_var_ref): Update.
9835 * breakpoint.c (struct breakpoint_objfile_data)
9836 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
9837 type to bound_minimal_symbol.
9838 (create_overlay_event_breakpoint)
9839 (create_longjmp_master_breakpoint)
9840 (create_std_terminate_master_breakpoint)
9841 (create_exception_master_breakpoint): Update.
9842 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9843 * c-exp.y (classify_name): Update.
9844 * coffread.c (coff_symfile_read): Update.
9845 * common/agent.c (agent_look_up_symbols): Update.
9846 * d-lang.c (d_main_name): Update.
9847 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9848 * dec-thread.c (enable_dec_thread): Update.
9849 * dwarf2loc.c (call_site_to_target_addr): Update.
9850 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
9851 * eval.c (evaluate_subexp_standard): Update.
9852 * findvar.c (struct minsym_lookup_data) <result>: Change type
9853 to bound_minimal_symbol.
9854 <objfile>: Remove.
9855 (minsym_lookup_iterator_cb, default_read_var_value): Update.
9856 * frame.c (inside_main_func): Update.
9857 * frv-tdep.c (frv_frame_this_id): Update.
9858 * gcore.c (call_target_sbrk): Update.
9859 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9860 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9861 Update.
9862 * go-lang.c (go_main_name): Update.
9863 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
9864 (hppa_hpux_find_import_stub_for_addr): Update.
9865 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
9866 Update. Change return type.
9867 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
9868 type.
9869 * jit.c (jit_breakpoint_re_set_internal): Update.
9870 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
9871 Update.
9872 * linux-nat.c (get_signo): Update.
9873 * linux-thread-db.c (inferior_has_bug): Update
9874 * m32c-tdep.c (m32c_return_value)
9875 (m32c_m16c_address_to_pointer): Update.
9876 * m32r-tdep.c (m32r_frame_this_id): Update.
9877 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9878 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9879 * minsyms.c (lookup_minimal_symbol_internal): Rename to
9880 lookup_minimal_symbol. Change return type.
9881 (lookup_minimal_symbol): Remove.
9882 (lookup_bound_minimal_symbol): Update.
9883 (lookup_minimal_symbol_text): Change return type.
9884 (lookup_minimal_symbol_solib_trampoline): Change return type.
9885 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
9886 (lookup_minimal_symbol_solib_trampoline): Change return type.
9887 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9888 * objc-lang.c (lookup_objc_class, lookup_child_selector)
9889 (value_nsstring, find_imps): Update.
9890 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9891 * p-lang.c (pascal_main_name): Update.
9892 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
9893 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9894 * proc-service.c (ps_pglobal_lookup): Update.
9895 * ravenscar-thread.c (get_running_thread_msymbol): Change
9896 return type.
9897 (has_ravenscar_runtime, get_running_thread_id): Update.
9898 * remote.c (remote_check_symbols): Update.
9899 * sol-thread.c (ps_pglobal_lookup): Update.
9900 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9901 * solib-dsbt.c (lm_base): Update.
9902 * solib-frv.c (lm_base, frv_relocate_section_addresses):
9903 Update.
9904 * solib-irix.c (locate_base): Update.
9905 * solib-som.c (som_solib_create_inferior_hook)
9906 (som_solib_desire_dynamic_linker_symbols, link_map_start):
9907 Update.
9908 * solib-spu.c (spu_enable_break): Update.
9909 * solib-svr4.c (elf_locate_base, enable_break): Update.
9910 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9911 (flush_ea_cache): Update.
9912 * stabsread.c (define_symbol): Update.
9913 * symfile.c (simple_read_overlay_table): Update.
9914 * symtab.c (find_pc_sect_line): Update.
9915 * tracepoint.c (scope_info): Update.
9916 * tui-disasm.c (tui_get_begin_asm_address): Update.
9917 * value.c (value_static_field): Update.
9918
9919 2014-02-26 Tom Tromey <tromey@redhat.com>
9920
9921 * minsyms.c (prim_record_minimal_symbol_full): Use
9922 SET_MSYMBOL_VALUE_ADDRESS.
9923 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
9924 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
9925 SET_MSYMBOL_VALUE_ADDRESS.
9926 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
9927 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
9928
9929 2014-02-26 Tom Tromey <tromey@redhat.com>
9930
9931 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
9932 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
9933 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
9934 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
9935 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
9936 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9937 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
9938 * ada-lang.c (ada_main_name): Update.
9939 (ada_lookup_simple_minsym): Update.
9940 (ada_make_symbol_completion_list): Update.
9941 (ada_add_standard_exceptions): Update.
9942 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
9943 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9944 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
9945 * arm-tdep.c (skip_prologue_function): Update.
9946 (arm_skip_stack_protector, arm_skip_stub): Update.
9947 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
9948 (arm_wince_skip_main_prologue): Update.
9949 * auxv.c (ld_so_xfer_auxv): Update.
9950 * avr-tdep.c (avr_scan_prologue): Update.
9951 * ax-gdb.c (gen_var_ref): Update.
9952 * block.c (call_site_for_pc): Update.
9953 * blockframe.c (get_pc_function_start): Update.
9954 (find_pc_partial_function_gnu_ifunc): Update.
9955 * breakpoint.c (create_overlay_event_breakpoint): Update.
9956 (create_longjmp_master_breakpoint): Update.
9957 (create_std_terminate_master_breakpoint): Update.
9958 (create_exception_master_breakpoint): Update.
9959 (resolve_sal_pc): Update.
9960 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9961 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
9962 Update.
9963 * c-valprint.c (c_val_print): Update.
9964 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9965 * coffread.c (coff_symfile_read): Update.
9966 * common/agent.c (agent_look_up_symbols): Update.
9967 * dbxread.c (find_stab_function_addr): Update.
9968 (end_psymtab): Update.
9969 * dwarf2loc.c (call_site_to_target_addr): Update.
9970 (func_verify_no_selftailcall): Update.
9971 (tailcall_dump): Update.
9972 (call_site_find_chain_1): Update.
9973 (dwarf_expr_reg_to_entry_parameter): Update.
9974 * elfread.c (elf_gnu_ifunc_record_cache): Update.
9975 (elf_gnu_ifunc_resolve_by_got): Update.
9976 * f-valprint.c (info_common_command): Update.
9977 * findvar.c (read_var_value): Update.
9978 * frame.c (get_prev_frame_1): Update.
9979 (inside_main_func): Update.
9980 * frv-tdep.c (frv_skip_main_prologue): Update.
9981 (frv_frame_this_id): Update.
9982 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9983 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
9984 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
9985 (gnuv3_skip_trampoline): Update.
9986 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
9987 (hppa64_hpux_in_solib_call_trampoline): Update.
9988 (hppa_hpux_skip_trampoline_code): Update.
9989 (hppa64_hpux_search_dummy_call_sequence): Update.
9990 (hppa_hpux_find_import_stub_for_addr): Update.
9991 (hppa_hpux_find_dummy_bpaddr): Update.
9992 * hppa-tdep.c (hppa_symbol_address)
9993 (hppa_lookup_stub_minimal_symbol): Update.
9994 * i386-tdep.c (i386_skip_main_prologue): Update.
9995 (i386_pe_skip_trampoline_code): Update.
9996 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
9997 * infcall.c (get_function_name): Update.
9998 * infcmd.c (until_next_command): Update.
9999 * jit.c (jit_breakpoint_re_set_internal): Update.
10000 (jit_inferior_init): Update.
10001 * linespec.c (minsym_found): Update.
10002 (add_minsym): Update.
10003 * linux-fork.c (info_checkpoints_command): Update.
10004 * linux-nat.c (get_signo): Update.
10005 * linux-thread-db.c (inferior_has_bug): Update.
10006 * m32c-tdep.c (m32c_return_value): Update.
10007 (m32c_m16c_address_to_pointer): Update.
10008 (m32c_m16c_pointer_to_address): Update.
10009 * m32r-tdep.c (m32r_frame_this_id): Update.
10010 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
10011 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
10012 * maint.c (maintenance_translate_address): Update.
10013 * minsyms.c (add_minsym_to_hash_table): Update.
10014 (add_minsym_to_demangled_hash_table): Update.
10015 (msymbol_objfile): Update.
10016 (lookup_minimal_symbol): Update.
10017 (iterate_over_minimal_symbols): Update.
10018 (lookup_minimal_symbol_text): Update.
10019 (lookup_minimal_symbol_by_pc_name): Update.
10020 (lookup_minimal_symbol_solib_trampoline): Update.
10021 (lookup_minimal_symbol_by_pc_section_1): Update.
10022 (lookup_minimal_symbol_and_objfile): Update.
10023 (prim_record_minimal_symbol_full): Update.
10024 (compare_minimal_symbols): Update.
10025 (compact_minimal_symbols): Update.
10026 (build_minimal_symbol_hash_tables): Update.
10027 (install_minimal_symbols): Update.
10028 (terminate_minimal_symbol_table): Update.
10029 (find_solib_trampoline_target): Update.
10030 (minimal_symbol_upper_bound): Update.
10031 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
10032 * mips-tdep.c (mips_stub_frame_sniffer): Update.
10033 (mips_skip_pic_trampoline_code): Update.
10034 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
10035 * objc-lang.c (selectors_info): Update.
10036 (classes_info): Update.
10037 (find_methods): Update.
10038 (find_imps): Update.
10039 (find_objc_msgsend): Update.
10040 * objfiles.c (objfile_relocate1): Update.
10041 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
10042 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
10043 * p-valprint.c (pascal_val_print): Update.
10044 * parse.c (write_exp_msymbol): Update.
10045 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
10046 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
10047 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
10048 * printcmd.c (build_address_symbolic): Update.
10049 (sym_info): Update.
10050 (address_info): Update.
10051 * proc-service.c (ps_pglobal_lookup): Update.
10052 * psymtab.c (find_pc_sect_psymtab_closer): Update.
10053 (find_pc_sect_psymtab): Update.
10054 * python/py-framefilter.c (py_print_frame): Update.
10055 * ravenscar-thread.c (get_running_thread_id): Update.
10056 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
10057 Update.
10058 * remote.c (remote_check_symbols): Update.
10059 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
10060 (rs6000_skip_trampoline_code): Update.
10061 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
10062 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
10063 * solib-dsbt.c (lm_base): Update.
10064 * solib-frv.c (lm_base): Update.
10065 (main_got): Update.
10066 * solib-irix.c (locate_base): Update.
10067 * solib-som.c (som_solib_create_inferior_hook): Update.
10068 (som_solib_desire_dynamic_linker_symbols): Update.
10069 (link_map_start): Update.
10070 * solib-spu.c (spu_enable_break): Update.
10071 (ocl_enable_break): Update.
10072 * solib-svr4.c (elf_locate_base): Update.
10073 (enable_break): Update.
10074 * spu-tdep.c (spu_get_overlay_table): Update.
10075 (spu_catch_start): Update.
10076 (flush_ea_cache): Update.
10077 * stabsread.c (define_symbol): Update.
10078 (scan_file_globals): Update.
10079 * stack.c (find_frame_funname): Update.
10080 (frame_info): Update.
10081 * symfile.c (simple_read_overlay_table): Update.
10082 (simple_overlay_update): Update.
10083 * symmisc.c (dump_msymbols): Update.
10084 * symtab.c (fixup_section): Update.
10085 (find_pc_sect_line): Update.
10086 (skip_prologue_sal): Update.
10087 (search_symbols): Update.
10088 (print_msymbol_info): Update.
10089 (rbreak_command): Update.
10090 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
10091 (completion_list_objc_symbol): Update.
10092 (default_make_symbol_completion_list_break_on): Update.
10093 * tracepoint.c (scope_info): Update.
10094 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
10095 (tui_get_begin_asm_address): Update.
10096 * valops.c (find_function_in_inferior): Update.
10097 * value.c (value_static_field): Update.
10098 (value_fn_field): Update.
10099
10100 2014-02-26 Tom Tromey <tromey@redhat.com>
10101
10102 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
10103 bound minimal symbols. Move code that knows about minsym
10104 table layout...
10105 * minsyms.c (minimal_symbol_upper_bound): ... here. New
10106 function.
10107 * minsyms.h (minimal_symbol_upper_bound): Declare.
10108 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
10109 minimal_symbol_upper_bound.
10110
10111 2014-02-27 Joel Brobecker <brobecker@adacore.com>
10112
10113 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
10114 Use the type's name if its basic type does not have a tag.
10115
10116 2014-02-27 Joel Brobecker <brobecker@adacore.com>
10117
10118 * dwarf2read.c (read_subrange_type): Add comment.
10119
10120 2014-02-27 Joel Brobecker <brobecker@adacore.com>
10121
10122 * dwarf2read.c (update_enumeration_type_from_children): New
10123 function, mostly extracted from process_structure_scope.
10124 (read_enumeration_type): Call update_enumeration_type_from_children.
10125 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
10126 and flag_flag_enum fields.
10127
10128 2014-02-26 Pedro Alves <palves@redhat.com>
10129
10130 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
10131 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
10132 to_xfer_partial method.
10133
10134 2014-02-26 Pedro Alves <palves@redhat.com>
10135
10136 * target.c (complete_target_initialization): Don't install
10137 default_xfer_partial as to_xfer_partial hook.
10138 (nomemory): Delete.
10139 (update_current_target): Don't INHERIT nor de_fault
10140 deprecated_xfer_memory. Delete de_fault macro.
10141 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
10142 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
10143 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
10144 field.
10145
10146 2014-02-26 Pedro Alves <palves@redhat.com>
10147
10148 * go32-nat.c (my_write_child): New function.
10149 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
10150 (go32_xfer_partial): New function.
10151 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
10152 Instead install a to_xfer_partial hook.
10153
10154 2014-02-26 Pedro Alves <palves@redhat.com>
10155
10156 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
10157 to_xfer_partial helper. Rewrite.
10158 (procfs_xfer_partial): New function.
10159 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
10160 Install a to_xfer_partial hook.
10161
10162 2014-02-26 Pedro Alves <palves@redhat.com>
10163
10164 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
10165 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
10166 (m32r_xfer_partial): New function.
10167 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
10168 Install a to_xfer_partial hook.
10169
10170 2014-02-26 Pedro Alves <palves@redhat.com>
10171
10172 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
10173 helper.
10174 (mips_xfer_partial): New function.
10175 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
10176 hook. Install a to_xfer_partial hook.
10177
10178 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10179
10180 * gdbtypes.h (create_array_type_with_stride): Add declaration.
10181 * gdbtypes.c (create_array_type_with_stride): New function,
10182 renaming create_array_type, but with an added parameter
10183 called "bit_stride".
10184 (create_array_type): Re-implement using
10185 create_array_type_with_stride.
10186 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
10187 and DW_AT_bit_stride attributes.
10188
10189 2014-02-26 Pedro Alves <palves@redhat.com>
10190
10191 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
10192 task-specific breakpoints.
10193
10194 2014-02-25 Pedro Alves <palves@redhat.com>
10195
10196 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
10197 handling of object == TARGET_OBJECT_UNWIND_TABLE.
10198
10199 2014-02-25 Stan Shebs <stan@codesourcery.com>
10200
10201 * defs.h: Annotate comments for Doxygen.
10202
10203 2014-02-25 Tom Tromey <tromey@redhat.com>
10204
10205 * target.h (target_ignore): Don't declare.
10206 * target.c (target_ignore): Remove.
10207
10208 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10209
10210 PR gdb/16626
10211 * auto-load.c (auto_load_objfile_script_1): Change filename to
10212 debugfile.
10213
10214 2014-02-25 Joel Brobecker <brobecker@adacore.com>
10215
10216 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
10217 documentation. Adjust prototype to match the target_ops
10218 to_xfer_partial method. Adjust implementation accordingly.
10219
10220 2014-02-25 Hui Zhu <hui@codesourcery.com>
10221
10222 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
10223 to_traceframe_info.
10224
10225 2014-02-25 Kevin Buettner <kevinb@redhat.com>
10226
10227 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
10228 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
10229 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
10230 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
10231 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
10232 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
10233 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
10234 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
10235 New constants.
10236 (rl78_register_type): Use a data pointer type for SP and
10237 new pseudo registers mentioned above. Use a 16 bit integer
10238 type for all other register pairs.
10239 (rl78_register_name, rl78_g10_register_name): Update for
10240 new pseudo registers.
10241 (rl78_pseudo_register_read): Likewise.
10242 (rl78_pseudo_register_write): Likewise.
10243 (rl78_dwarf_reg_to_regnum): Return register numbers representing
10244 to the newly added pseudo registers.
10245
10246 2014-02-24 Doug Evans <dje@google.com>
10247
10248 * value.c (record_latest_value): Fix comment.
10249 * printcmd.c (print_command_1): Remove code to handle -1 return from
10250 record_latest_value.
10251
10252 2014-02-24 Pedro Alves <palves@redhat.com>
10253
10254 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
10255 deprecated_xfer_memory hook.
10256 (procfs_xfer_partial): Call procfs_xfer_memory instead
10257 of the deprecated_xfer_memory target hook.
10258 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
10259 helper.
10260
10261 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
10262
10263 * windows-nat.c (windows_xfer_shared_libraries): Return
10264 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
10265 requested object is TARGET_OBJECT_LIBRARIES.
10266
10267 2014-02-24 Yao Qi <yao@codesourcery.com>
10268
10269 * target.h (enum target_xfer_status)
10270 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
10271 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
10272 explicitly. New.
10273 * corefile.c (memory_error_message): User updated.
10274 * exec.c (section_table_read_available_memory): Likewise.
10275 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10276 * target.c (target_xfer_status_to_string): Likewise.
10277 (raw_memory_xfer_partial): Likewise.
10278 (memory_xfer_partial_1, target_xfer_partial): Likewise.
10279 * valops.c (read_value_memory): Likewise.
10280 * exec.h: Update comments.
10281
10282 2014-02-24 Yao Qi <yao@codesourcery.com>
10283
10284 * target.c (target_xfer_status_to_string): Rename argument err
10285 to status.
10286 * target.h (target_xfer_status_to_string): Update declaration.
10287 Replace target_xfer_error_to_string with
10288 target_xfer_status_to_string in comment.
10289
10290 2014-02-24 Yao Qi <yao@codesourcery.com>
10291
10292 * mips-linux-nat.c (super_close): Update its type.
10293 (mips_linux_close): Pass 'self' to super_close.
10294
10295 2014-02-24 Yao Qi <yao@codesourcery.com>
10296
10297 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
10298 * corefile.c (read_memory): Adjusted.
10299 * target.c (target_write_with_progress): Adjusted.
10300
10301 2014-02-23 Yao Qi <yao@codesourcery.com>
10302
10303 Revert two patches:
10304
10305 2013-10-25 Yao Qi <yao@codesourcery.com>
10306
10307 * remote.c (remote_traceframe_info): Return early if
10308 traceframe is not selected.
10309
10310 2013-07-19 Yao Qi <yao@codesourcery.com>
10311
10312 * target.c (update_current_target): Change the default action
10313 of 'to_traceframe_info' from tcomplain to return_zero.
10314 * target.h (struct target_ops) <to_traceframe_info>: Add more
10315 comments.
10316
10317 2014-02-23 Yao Qi <yao@codesourcery.com>
10318
10319 * valops.c (read_value_memory): Rewrite it. Call
10320 target_xfer_partial in a loop.
10321 * exec.h (section_table_available_memory): Remove declaration.
10322 Move comments to ...
10323 * exec.c (section_table_available_memory): ... here. Make it
10324 static.
10325
10326 2014-02-23 Yao Qi <yao@codesourcery.com>
10327
10328 * exec.c (section_table_read_available_memory): New function.
10329 * exec.h (section_table_read_available_memory): Declare.
10330 * ctf.c (ctf_xfer_partial): Call
10331 section_table_read_available_memory.
10332 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10333
10334 2014-02-23 Yao Qi <yao@codesourcery.com>
10335
10336 * ctf.c (ctf_xfer_partial): Move code to ...
10337 * exec.c (exec_read_partial_read_only): ... it. New function.
10338 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10339 * tracefile.c: Include "exec.h".
10340 * exec.h (exec_read_partial_read_only): Declare.
10341
10342 2014-02-23 Yao Qi <yao@codesourcery.com>
10343
10344 * tracefile-tfile.c (tfile_has_all_memory): Remove.
10345 (tfile_has_memory): Remove.
10346 (init_tfile_ops): Don't set fields to_has_all_memory and
10347 to_has_memory of tfile_ops.
10348 * tracefile.c (tracefile_has_all_memory): New function.
10349 (tracefile_has_memory): New function.
10350 (init_tracefile_ops): Initialize fields to_has_all_memory and
10351 to_has_memory of 'ops'.
10352
10353 2014-02-23 Yao Qi <yao@codesourcery.com>
10354
10355 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
10356 (ctf_thread_alive, ctf_get_trace_status): Remove.
10357 (init_ctf_ops): Don't set some fields of ctf_ops. Call
10358 init_tracefile_ops.
10359 * tracefile-tfile.c (tfile_get_trace_status): Remove.
10360 (tfile_has_stack, tfile_has_registers): Remove.
10361 (tfile_thread_alive): Remove.
10362 (init_tfile_ops): Don't set some fields of tfile_ops. Call
10363 init_tracefile_ops.
10364 * tracefile.c (tracefile_has_stack): New function.
10365 (tracefile_has_registers): New function.
10366 (tracefile_thread_alive): New function.
10367 (tracefile_get_trace_status): New function.
10368 (init_tracefile_ops): New function.
10369 * tracefile.h (init_tracefile_ops): Declare.
10370
10371 2014-02-23 Yao Qi <yao@codesourcery.com>
10372
10373 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
10374 (O_LARGEFILE): Likewise.
10375 (tfile_ops): Likewise.
10376 (TRACE_HEADER_SIZE): Likewise.
10377 (trace_fd, trace_frames_offset, cur_offset): Likewise.
10378 (cur_data_size): Likewise.
10379 (tfile_read, tfile_open, tfile_interp_line): Likewise.
10380 (tfile_close, tfile_files_info): Likewise.
10381 (tfile_get_trace_status): Likewise.
10382 (tfile_get_tracepoint_status): Likewise.
10383 (tfile_get_traceframe_address): Likewise.
10384 (tfile_trace_find, match_blocktype): Likewise.
10385 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
10386 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
10387 (tfile_get_trace_state_variable_value): Likewise.
10388 (tfile_has_all_memory, tfile_has_memory): Likewise.
10389 (tfile_has_stack, tfile_has_registers): Likewise.
10390 (tfile_thread_alive, build_traceframe_info): Likewise.
10391 (tfile_traceframe_info, init_tfile_ops): Likewise.
10392 (_initialize_tracepoint): Don't call init_tfile_ops
10393 and add_target_with_completer.
10394 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
10395 exec.h, completer.h and filenames.h.
10396 (_initialize_tracefile_tfile): New function.
10397
10398 2014-02-23 Yao Qi <yao@codesourcery.com>
10399
10400 * Makefile.in (REMOTE_OBS): Append tracefile.o and
10401 tracefile-tfile.o.
10402 (HFILES_NO_SRCDIR): Add tracefile.h.
10403 * ctf.c: Include "tracefile.h".
10404 * tracefile.h: New file.
10405 * tracefile.c: New file
10406 * tracefile-tfile.c: New file.
10407 * tracepoint.c: Include "tracefile.h".
10408 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
10409 (stop_reason_names): Add const.
10410 (trace_file_writer_xfree): Move it to tracefile.c.
10411 (trace_save, trace_save_command, trace_save_tfile): Likewise.
10412 (trace_save_ctf): Likewise.
10413 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
10414 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
10415 (tfile_write_header, tfile_write_regblock_type): Likewise.
10416 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
10417 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
10418 (tfile_write_raw_data, tfile_end): Likewise.
10419 (tfile_trace_file_writer_new): Likewise.
10420 (free_uploaded_tp): Make it extern.
10421 (free_uploaded_tsv): Make it extern.
10422 (_initialize_tracepoint): Move code to register command 'tsave'
10423 to tracefile.c.
10424 * tracepoint.h (stop_reason_names): Declare.
10425 (struct trace_frame_write_ops): Move it to tracefile.h.
10426 (struct trace_file_write_ops): Likewise.
10427 (struct trace_file_writer): Likewise.
10428 (free_uploaded_tsvs, free_uploaded_tps): Declare.
10429
10430 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10431
10432 PR gdb/16594
10433 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
10434 process name.
10435 (get_cores_used_by_process): New parameter num_cores, use it.
10436 (linux_xfer_osdata_processes): Pass num_cores to it.
10437 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
10438 process name.
10439
10440 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
10441
10442 * target.c (memory_xfer_partial): Fix length arg in call to
10443 breakpoint_xfer_memory.
10444
10445 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10446
10447 PR tdep/16397
10448 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
10449 number comes after the + or - signs. Adjust length of register
10450 name to be extracted.
10451
10452 2014-02-20 Tom Tromey <tromey@redhat.com>
10453
10454 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
10455 (ada_varobj_ops): Mark "extern".
10456
10457 2014-02-20 Tom Tromey <tromey@redhat.com>
10458
10459 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
10460
10461 2014-02-20 Doug Evans <xdje42@gmail.com>
10462
10463 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
10464 All callers updated.
10465 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
10466 All callers updated.
10467 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
10468 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
10469
10470 2014-02-20 lin zuojian <manjian2006@gmail.com>
10471 Joel Brobecker <brobecker@adacore.com>
10472 Doug Evans <xdje42@gmail.com>
10473
10474 PR symtab/16581
10475 * dwarf2read.c (struct die_info): New member in_process.
10476 (reset_die_in_process): New function.
10477 (process_die): Set it at the start, reset when returning.
10478 (inherit_abstract_dies): Only call process_die if origin_child_die
10479 not already being processed.
10480
10481 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10482
10483 * windows-nat.c (handle_unload_dll): Add function documentation.
10484 (do_initial_windows_stuff): Add comment explaining why we wait
10485 until after inferior initialization has finished before
10486 processing all DLLs.
10487
10488 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10489
10490 * windows-nat.c (get_module_name): Delete.
10491 (windows_get_exec_module_filename): New function, mostly
10492 inspired from get_module_name.
10493 (windows_pid_to_exec_file): Replace call to get_module_name
10494 by call to windows_get_exec_module_filename.
10495
10496 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10497
10498 * windows-nat.c (handle_load_dll): Rewrite this function's
10499 introductory comment. Remove code using get_module_name
10500 to get the DLL's name.
10501
10502 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10503
10504 * windows-nat.c (get_windows_debug_event): Ignore
10505 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
10506 if windows_initialization_done == 0.
10507 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
10508 Adjust implementation to always load all DLLs.
10509 (do_initial_windows_stuff): Replace call to
10510 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
10511
10512 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10513
10514 * windows-nat.c (_initialize_windows_nat): Deprecate the
10515 "dll-symbols" command. Turn the "add-shared-symbol-files"
10516 and "assf" aliases into commands, and deprecate them as well.
10517 * NEWS: Add entry explaining that "dll-symbols" and its two
10518 aliases are now deprecated.
10519
10520 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10521
10522 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
10523 new-line in debug string. Remove trailing spaces.
10524
10525 2014-02-19 Stan Shebs <stan@codesourcery.com>
10526
10527 * darwin-nat.c (darwin_xfer_partial): Fix return type.
10528
10529 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10530
10531 * NEWS: Add entry for the new feature
10532 * python/py-value.c (valpy_binop): Call value_x_binop for struct
10533 and class values.
10534
10535 2014-02-19 Stan Shebs <stan@codesourcery.com>
10536
10537 * MAINTAINERS: List Yao Qi as nios2 maintainer.
10538
10539 2014-02-19 Pedro Alves <palves@redhat.com>
10540
10541 * common/ptid.h (struct ptid): Mention that process_stratum
10542 targets should prefer ptid.lwp.
10543
10544 2014-02-19 Pedro Alves <palves@redhat.com>
10545
10546 * remote.c (remote_thread_alive, write_ptid, read_ptid)
10547 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10548 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10549 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10550 store remote thread ids rather than ptid.tid.
10551 (_initialize_remote): Adjust.
10552
10553 2014-02-19 Tom Tromey <tromey@redhat.com>
10554
10555 * target.c (target_get_unwinder): Rewrite.
10556 (target_get_tailcall_unwinder): Rewrite.
10557 * record-btrace.c (record_btrace_to_get_unwinder): New function.
10558 (record_btrace_to_get_tailcall_unwinder): New function.
10559 (init_record_btrace_ops): Update.
10560 * target.h (struct target_ops) <to_get_unwinder,
10561 to_get_tailcall_unwinder>: Now function pointers. Use
10562 TARGET_DEFAULT_RETURN.
10563
10564 2014-02-19 Tom Tromey <tromey@redhat.com>
10565
10566 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10567 argument.
10568 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10569
10570 2014-02-19 Tom Tromey <tromey@redhat.com>
10571
10572 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10573 directly.
10574 * target-delegates.c: Rebuild.
10575 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10576 TARGET_DEFAULT_FUNC.
10577 * target.c (default_target_decr_pc_after_break): Rename from
10578 forward_target_decr_pc_after_break. Simplify.
10579 (target_decr_pc_after_break): Rely on delegation.
10580
10581 2014-02-19 Tom Tromey <tromey@redhat.com>
10582
10583 * target.c (update_current_target): Do not INHERIT to_doc or
10584 to_magic. Do not de_fault to_open or to_close.
10585
10586 2014-02-19 Tom Tromey <tromey@redhat.com>
10587
10588 * gcore.h (objfile_find_memory_regions): Declare.
10589 * gcore.c (objfile_find_memory_regions): No longer static. Add
10590 "self" argument.
10591 (_initialize_gcore): Don't call exec_set_find_memory_regions.
10592 * exec.c: Include gcore.h.
10593 (exec_set_find_memory_regions): Remove.
10594 (exec_find_memory_regions): Remove.
10595 (exec_do_find_memory_regions): Remove.
10596 (init_exec_ops): Update.
10597 * defs.h (exec_set_find_memory_regions): Remove.
10598
10599 2014-02-19 Tom Tromey <tromey@redhat.com>
10600
10601 * target-delegates.c: Rebuild.
10602 * target.h (struct target_ops) <to_extra_thread_info,
10603 to_thread_name, to_pid_to_exec_file, to_get_section_table,
10604 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
10605 not 0, in TARGET_DEFAULT_RETURN.
10606
10607 2014-02-19 Tom Tromey <tromey@redhat.com>
10608
10609 * target.c (complete_target_initialization): Remove casts. Use
10610 return_zero_has_execution.
10611 (return_zero): Add "ignore" argument.
10612 (return_zero_has_execution): New function.
10613 (init_dummy_target): Remove casts. Use
10614 return_zero_has_execution.
10615
10616 2014-02-19 Tom Tromey <tromey@redhat.com>
10617
10618 * target.c (update_current_target): Update comments. Do not
10619 INHERIT to_stratum.
10620
10621 2014-02-19 Tom Tromey <tromey@redhat.com>
10622
10623 * arm-linux-nat.c (arm_linux_read_description): Delegate when
10624 needed.
10625 * corelow.c (core_read_description): Delegate when needed.
10626 * remote.c (remote_read_description): Delegate when needed.
10627 * target-delegates.c: Rebuild.
10628 * target.c (target_read_description): Rewrite.
10629 * target.h (struct target_ops) <to_read_description>: Update
10630 comment. Use TARGET_DEFAULT_RETURN.
10631
10632 2014-02-19 Tom Tromey <tromey@redhat.com>
10633
10634 * target-delegates.c: Rebuild.
10635 * target.c (update_current_target): Don't inherit or default
10636 to_can_run.
10637 (find_default_run_target): Check against delegate_can_run.
10638 * target.h (struct target_ops) <to_can_run>: Use
10639 TARGET_DEFAULT_RETURN.
10640
10641 2014-02-19 Tom Tromey <tromey@redhat.com>
10642
10643 * target-delegates.c: Rebuild.
10644 * target.c (target_disconnect): Unconditionally delegate.
10645 * target.h (struct target_ops) <to_disconnect>: Use
10646 TARGET_DEFAULT_NORETURN.
10647
10648 2014-02-19 Tom Tromey <tromey@redhat.com>
10649
10650 * record.c (record_stop): Unconditionally delegate.
10651 * target-delegates.c: Rebuild.
10652 * target.c (target_stop_recording): Unconditionally delegate.
10653 * target.h (struct target_ops) <to_stop_recording>: Use
10654 TARGET_DEFAULT_IGNORE.
10655
10656 2014-02-19 Tom Tromey <tromey@redhat.com>
10657
10658 * target-delegates.c: Rebuild.
10659 * target.c (target_enable_btrace): Unconditionally delegate.
10660 * target.h (struct target_ops) <to_enable_btrace>: Use
10661 TARGET_DEFAULT_NORETURN.
10662
10663 2014-02-19 Tom Tromey <tromey@redhat.com>
10664
10665 * target-delegates.c: Rebuild.
10666 * target.c (target_read_btrace): Unconditionally delegate.
10667 * target.h (struct target_ops) <to_read_btrace>: Use
10668 TARGET_DEFAULT_NORETURN.
10669
10670 2014-02-19 Tom Tromey <tromey@redhat.com>
10671
10672 * target-delegates.c: Rebuild.
10673 * target.c (target_teardown_btrace): Unconditionally delegate.
10674 * target.h (struct target_ops) <to_teardown_btrace>: Use
10675 TARGET_DEFAULT_NORETURN.
10676
10677 2014-02-19 Tom Tromey <tromey@redhat.com>
10678
10679 * target-delegates.c: Rebuild.
10680 * target.c (target_disable_btrace): Unconditionally delegate.
10681 * target.h (struct target_ops) <to_disable_btrace>: Use
10682 TARGET_DEFAULT_NORETURN.
10683
10684 2014-02-19 Tom Tromey <tromey@redhat.com>
10685
10686 * target-delegates.c: Rebuild.
10687 * target.c (default_search_memory): New function.
10688 (simple_search_memory): Update comment.
10689 (target_search_memory): Unconditionally delegate.
10690 * target.h (struct target_ops) <to_search_memory>: Use
10691 TARGET_DEFAULT_FUNC.
10692
10693 2014-02-19 Tom Tromey <tromey@redhat.com>
10694
10695 * auxv.c (default_auxv_parse): No longer static.
10696 (target_auxv_parse): Unconditionally delegate.
10697 * auxv.h (default_auxv_parse): Declare.
10698 * target-delegates.c: Rebuild.
10699 * target.c: Include auxv.h.
10700 * target.h (struct target_ops) <to_auxv_parse>: Use
10701 TARGET_DEFAULT_FUNC.
10702
10703 2014-02-19 Tom Tromey <tromey@redhat.com>
10704
10705 * target-delegates.c: Rebuild.
10706 * target.c (target_memory_map): Unconditionally delegate.
10707 * target.h (struct target_ops) <to_memory_map>: Use
10708 TARGET_DEFAULT_RETURN.
10709
10710 2014-02-19 Tom Tromey <tromey@redhat.com>
10711
10712 * target-delegates.c: Rebuild.
10713 * target.c (target_thread_alive): Unconditionally delegate.
10714 * target.h (struct target_ops) <to_thread_alive>: Use
10715 TARGET_DEFAULT_RETURN.
10716
10717 2014-02-19 Tom Tromey <tromey@redhat.com>
10718
10719 * target-delegates.c: Rebuild.
10720 * target.c (target_save_record): Unconditionally delegate.
10721 * target.h (struct target_ops) <to_save_record>: Use
10722 TARGET_DEFAULT_NORETURN.
10723
10724 2014-02-19 Tom Tromey <tromey@redhat.com>
10725
10726 * target-delegates.c: Rebuild.
10727 * target.c (target_delete_record): Unconditionally delegate.
10728 * target.h (struct target_ops) <to_delete_record>: Use
10729 TARGET_DEFAULT_NORETURN.
10730
10731 2014-02-19 Tom Tromey <tromey@redhat.com>
10732
10733 * target-delegates.c: Rebuild.
10734 * target.c (target_record_is_replaying): Unconditionally
10735 delegate.
10736 * target.h (struct target_ops) <to_record_is_replaying>: Use
10737 TARGET_DEFAULT_RETURN.
10738
10739 2014-02-19 Tom Tromey <tromey@redhat.com>
10740
10741 * target-delegates.c: Rebuild.
10742 * target.c (target_goto_record_begin): Unconditionally delegate.
10743 * target.h (struct target_ops) <to_goto_record_begin>: Use
10744 TARGET_DEFAULT_NORETURN.
10745
10746 2014-02-19 Tom Tromey <tromey@redhat.com>
10747
10748 * target-delegates.c: Rebuild.
10749 * target.c (target_goto_record_end): Unconditionally delegate.
10750 * target.h (struct target_ops) <to_goto_record_end>: Use
10751 TARGET_DEFAULT_NORETURN.
10752
10753 2014-02-19 Tom Tromey <tromey@redhat.com>
10754
10755 * target-delegates.c: Rebuild.
10756 * target.c (target_goto_record): Unconditionally delegate.
10757 * target.h (struct target_ops) <to_goto_record>: Use
10758 TARGET_DEFAULT_NORETURN.
10759
10760 2014-02-19 Tom Tromey <tromey@redhat.com>
10761
10762 * target-delegates.c: Rebuild.
10763 * target.c (target_insn_history): Unconditionally delegate.
10764 * target.h (struct target_ops) <to_insn_history>: Use
10765 TARGET_DEFAULT_NORETURN.
10766
10767 2014-02-19 Tom Tromey <tromey@redhat.com>
10768
10769 * target-delegates.c: Rebuild.
10770 * target.c (target_insn_history_from): Unconditionally delegate.
10771 * target.h (struct target_ops) <to_insn_history_from>: Use
10772 TARGET_DEFAULT_NORETURN.
10773
10774 2014-02-19 Tom Tromey <tromey@redhat.com>
10775
10776 * target-delegates.c: Rebuild.
10777 * target.c (target_insn_history_range): Unconditionally delegate.
10778 * target.h (struct target_ops) <to_insn_history_range>: Use
10779 TARGET_DEFAULT_NORETURN.
10780
10781 2014-02-19 Tom Tromey <tromey@redhat.com>
10782
10783 * target-delegates.c: Rebuild.
10784 * target.c (target_call_history): Unconditionally delegate.
10785 * target.h (struct target_ops) <to_call_history>: Use
10786 TARGET_DEFAULT_NORETURN.
10787
10788 2014-02-19 Tom Tromey <tromey@redhat.com>
10789
10790 * target-delegates.c: Rebuild.
10791 * target.c (target_call_history_from): Unconditionally delegate.
10792 * target.h (struct target_ops) <to_call_history_from>: Use
10793 TARGET_DEFAULT_NORETURN.
10794
10795 2014-02-19 Tom Tromey <tromey@redhat.com>
10796
10797 * target-delegates.c: Rebuild.
10798 * target.c (target_call_history_range): Unconditionally delegate.
10799 * target.h (struct target_ops) <to_call_history_range>: Use
10800 TARGET_DEFAULT_NORETURN.
10801
10802 2014-02-19 Tom Tromey <tromey@redhat.com>
10803
10804 * target-delegates.c: Rebuild.
10805 * target.c (target_verify_memory): Unconditionally delegate.
10806 * target.h (struct target_ops) <to_verify_memory>: Use
10807 TARGET_DEFAULT_NORETURN.
10808
10809 2014-02-19 Tom Tromey <tromey@redhat.com>
10810
10811 * target-delegates.c: Rebuild.
10812 * target.c (target_core_of_thread): Unconditionally delegate.
10813 * target.h (struct target_ops) <to_core_of_thread>: Use
10814 TARGET_DEFAULT_RETURN.
10815
10816 2014-02-19 Tom Tromey <tromey@redhat.com>
10817
10818 * target-delegates.c: Rebuild.
10819 * target.c (target_flash_done): Unconditionally delegate.
10820 * target.h (struct target_ops) <to_flash_done>: Use
10821 TARGET_DEFAULT_NORETURN.
10822
10823 2014-02-19 Tom Tromey <tromey@redhat.com>
10824
10825 * target-delegates.c: Rebuild.
10826 * target.c (target_flash_erase): Unconditionally delegate.
10827 * target.h (struct target_ops) <to_flash_erase>: Use
10828 TARGET_DEFAULT_NORETURN.
10829
10830 2014-02-19 Tom Tromey <tromey@redhat.com>
10831
10832 * target-delegates.c: Rebuild.
10833 * target.c (target_get_section_table): Unconditionally delegate.
10834 * target.h (struct target_ops) <to_get_section_table>: Use
10835 TARGET_DEFAULT_RETURN.
10836
10837 2014-02-19 Tom Tromey <tromey@redhat.com>
10838
10839 * target-delegates.c: Rebuild.
10840 * target.c (target_pid_to_str): Unconditionally delegate.
10841 (init_dummy_target): Don't initialize to_pid_to_str.
10842 (default_pid_to_str): Rename from dummy_pid_to_str.
10843 * target.h (struct target_ops) <to_pid_to_str>: Use
10844 TARGET_DEFAULT_FUNC.
10845
10846 2014-02-19 Tom Tromey <tromey@redhat.com>
10847
10848 * target-delegates.c: Rebuild.
10849 * target.c (target_find_new_threads): Unconditionally delegate.
10850 * target.h (struct target_ops) <to_find_new_threads>: Use
10851 TARGET_DEFAULT_RETURN.
10852
10853 2014-02-19 Tom Tromey <tromey@redhat.com>
10854
10855 * target-delegates.c: Rebuild.
10856 * target.c (target_program_signals): Unconditionally delegate.
10857 * target.h (struct target_ops) <to_program_signals>: Use
10858 TARGET_DEFAULT_IGNORE.
10859
10860 2014-02-19 Tom Tromey <tromey@redhat.com>
10861
10862 * target-delegates.c: Rebuild.
10863 * target.c (target_pass_signals): Unconditionally delegate.
10864 * target.h (struct target_ops) <to_pass_signals>: Use
10865 TARGET_DEFAULT_IGNORE.
10866
10867 2014-02-19 Tom Tromey <tromey@redhat.com>
10868
10869 * target-delegates.c: Rebuild.
10870 * target.c (default_mourn_inferior): New function.
10871 (target_mourn_inferior): Unconditionally delegate.
10872 * target.h (struct target_ops) <to_mourn_inferior>: Use
10873 TARGET_DEFAULT_FUNC.
10874
10875 2014-02-19 Tom Tromey <tromey@redhat.com>
10876
10877 * target-delegates.c: Rebuild.
10878 * target.c (default_follow_fork): New function.
10879 (target_follow_fork): Unconditionally delegate.
10880 * target.h (struct target_ops) <to_follow_fork>: Use
10881 TARGET_DEFAULT_FUNC.
10882
10883 2014-02-19 Tom Tromey <tromey@redhat.com>
10884
10885 * target-delegates.c: Rebuild.
10886 * target.c (target_kill): Unconditionally delegate.
10887 * target.h (struct target_ops) <to_kill>: Use
10888 TARGET_DEFAULT_NORETURN.
10889
10890 2014-02-19 Tom Tromey <tromey@redhat.com>
10891
10892 * target-delegates.c: Rebuild.
10893 * target.c (target_masked_watch_num_registers): Unconditionally
10894 delegate.
10895 * target.h (struct target_ops) <to_masked_watch_num_registers>:
10896 Use TARGET_DEFAULT_RETURN.
10897
10898 2014-02-19 Tom Tromey <tromey@redhat.com>
10899
10900 * target-delegates.c: Rebuild.
10901 * target.c (target_remove_mask_watchpoint): Unconditionally
10902 delegate.
10903 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
10904 TARGET_DEFAULT_RETURN.
10905
10906 2014-02-19 Tom Tromey <tromey@redhat.com>
10907
10908 * target-delegates.c: Rebuild.
10909 * target.c (target_insert_mask_watchpoint): Unconditionally
10910 delegate.
10911 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
10912 TARGET_DEFAULT_RETURN.
10913
10914 2014-02-19 Tom Tromey <tromey@redhat.com>
10915
10916 * target-delegates.c: Rebuild.
10917 * target.c (target_ranged_break_num_registers): Unconditionally
10918 delegate.
10919 * target.h (struct target_ops) <to_ranged_break_num_registers>:
10920 Use TARGET_DEFAULT_RETURN.
10921
10922 2014-02-19 Tom Tromey <tromey@redhat.com>
10923
10924 * target-delegates.c: Rebuild.
10925 * target.c (target_fetch_registers): Unconditionally delegate.
10926 * target.h (struct target_ops) <to_fetch_registers>: Use
10927 TARGET_DEFAULT_NORETURN.
10928
10929 2014-02-19 Tom Tromey <tromey@redhat.com>
10930
10931 * target-delegates.c: Rebuild.
10932 * target.c (update_current_target): Don't inherit or default
10933 to_stop.
10934 * target.h (struct target_ops) <to_stop>: Use
10935 TARGET_DEFAULT_IGNORE.
10936
10937 2014-02-19 Tom Tromey <tromey@redhat.com>
10938
10939 * target-delegates.c: Rebuild.
10940 * target.c (update_current_target): Don't inherit or default
10941 to_can_run_breakpoint_commands.
10942 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10943 Use TARGET_DEFAULT_RETURN.
10944
10945 2014-02-19 Tom Tromey <tromey@redhat.com>
10946
10947 * target-delegates.c: Rebuild.
10948 * target.c (update_current_target): Don't inherit or default
10949 to_supports_evaluation_of_breakpoint_conditions.
10950 * target.h (struct target_ops)
10951 <to_supports_evaluation_of_breakpoint_conditions>: Use
10952 TARGET_DEFAULT_RETURN.
10953
10954 2014-02-19 Tom Tromey <tromey@redhat.com>
10955
10956 * target-delegates.c: Rebuild.
10957 * target.c (update_current_target): Don't inherit or default
10958 to_augmented_libraries_svr4_read.
10959 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10960 Use TARGET_DEFAULT_RETURN.
10961
10962 2014-02-19 Tom Tromey <tromey@redhat.com>
10963
10964 * target-delegates.c: Rebuild.
10965 * target.c (update_current_target): Don't inherit or default
10966 to_can_use_agent.
10967 * target.h (struct target_ops) <to_can_use_agent>: Use
10968 TARGET_DEFAULT_RETURN.
10969
10970 2014-02-19 Tom Tromey <tromey@redhat.com>
10971
10972 * target-delegates.c: Rebuild.
10973 * target.c (update_current_target): Don't inherit or default
10974 to_use_agent.
10975 * target.h (struct target_ops) <to_use_agent>: Use
10976 TARGET_DEFAULT_NORETURN.
10977
10978 2014-02-19 Tom Tromey <tromey@redhat.com>
10979
10980 * target-delegates.c: Rebuild.
10981 * target.c (update_current_target): Don't inherit or default
10982 to_traceframe_info.
10983 (return_null): Remove.
10984 * target.h (struct target_ops) <to_traceframe_info>: Use
10985 TARGET_DEFAULT_RETURN.
10986
10987 2014-02-19 Tom Tromey <tromey@redhat.com>
10988
10989 * target-delegates.c: Rebuild.
10990 * target.c (update_current_target): Don't inherit or default
10991 to_static_tracepoint_markers_by_strid.
10992 * target.h (struct target_ops)
10993 <to_static_tracepoint_markers_by_strid>: Use
10994 TARGET_DEFAULT_NORETURN.
10995
10996 2014-02-19 Tom Tromey <tromey@redhat.com>
10997
10998 * target-delegates.c: Rebuild.
10999 * target.c (update_current_target): Don't inherit or default
11000 to_static_tracepoint_marker_at.
11001 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11002 Use TARGET_DEFAULT_RETURN.
11003
11004 2014-02-19 Tom Tromey <tromey@redhat.com>
11005
11006 * target-delegates.c: Rebuild.
11007 * target.c (update_current_target): Don't inherit or default
11008 to_set_permissions.
11009 * target.h (struct target_ops) <to_set_permissions>: Use
11010 TARGET_DEFAULT_IGNORE.
11011
11012 2014-02-19 Tom Tromey <tromey@redhat.com>
11013
11014 * target-delegates.c: Rebuild.
11015 * target.c (update_current_target): Don't inherit or default
11016 to_get_tib_address.
11017 * target.h (struct target_ops) <to_get_tib_address>: Use
11018 TARGET_DEFAULT_NORETURN.
11019
11020 2014-02-19 Tom Tromey <tromey@redhat.com>
11021
11022 * target-delegates.c: Rebuild.
11023 * target.c (update_current_target): Don't inherit or default
11024 to_set_trace_notes.
11025 * target.h (struct target_ops) <to_set_trace_notes>: Use
11026 TARGET_DEFAULT_RETURN.
11027
11028 2014-02-19 Tom Tromey <tromey@redhat.com>
11029
11030 * target-delegates.c: Rebuild.
11031 * target.c (update_current_target): Don't initialize
11032 to_set_trace_buffer_size.
11033 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
11034 TARGET_DEFAULT_IGNORE.
11035
11036 2014-02-19 Tom Tromey <tromey@redhat.com>
11037
11038 * target-delegates.c: Rebuild.
11039 * target.c (update_current_target): Don't inherit or default
11040 to_set_circular_trace_buffer.
11041 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
11042 TARGET_DEFAULT_IGNORE.
11043
11044 2014-02-19 Tom Tromey <tromey@redhat.com>
11045
11046 * target-delegates.c: Rebuild.
11047 * target.c (update_current_target): Don't inherit or default
11048 to_set_disconnected_tracing.
11049 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
11050 TARGET_DEFAULT_IGNORE.
11051
11052 2014-02-19 Tom Tromey <tromey@redhat.com>
11053
11054 * target-delegates.c: Rebuild.
11055 * target.c (update_current_target): Don't inherit or default
11056 to_get_min_fast_tracepoint_insn_len.
11057 (return_minus_one): Remove.
11058 * target.h (struct target_ops)
11059 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
11060
11061 2014-02-19 Tom Tromey <tromey@redhat.com>
11062
11063 * target-delegates.c: Rebuild.
11064 * target.c (update_current_target): Don't inherit or default
11065 to_get_raw_trace_data.
11066 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
11067 TARGET_DEFAULT_NORETURN.
11068
11069 2014-02-19 Tom Tromey <tromey@redhat.com>
11070
11071 * target-delegates.c: Rebuild.
11072 * target.c (update_current_target): Don't inherit or default
11073 to_upload_trace_state_variables.
11074 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11075 Use TARGET_DEFAULT_RETURN.
11076
11077 2014-02-19 Tom Tromey <tromey@redhat.com>
11078
11079 * target-delegates.c: Rebuild.
11080 * target.c (update_current_target): Don't inherit or default
11081 to_upload_tracepoints.
11082 * target.h (struct target_ops) <to_upload_tracepoints>: Use
11083 TARGET_DEFAULT_RETURN.
11084
11085 2014-02-19 Tom Tromey <tromey@redhat.com>
11086
11087 * target-delegates.c: Rebuild.
11088 * target.c (update_current_target): Don't inherit or default
11089 to_save_trace_data.
11090 * target.h (struct target_ops) <to_save_trace_data>: Use
11091 TARGET_DEFAULT_NORETURN.
11092
11093 2014-02-19 Tom Tromey <tromey@redhat.com>
11094
11095 * target-delegates.c: Rebuild.
11096 * target.c (update_current_target): Don't inherit or default
11097 to_get_trace_state_variable_value.
11098 * target.h (struct target_ops)
11099 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
11100
11101 2014-02-19 Tom Tromey <tromey@redhat.com>
11102
11103 * target-delegates.c: Rebuild.
11104 * target.c (update_current_target): Don't inherit or default
11105 to_trace_find.
11106 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
11107
11108 2014-02-19 Tom Tromey <tromey@redhat.com>
11109
11110 * target-delegates.c: Rebuild.
11111 * target.c (update_current_target): Don't inherit or default
11112 to_trace_stop.
11113 * target.h (struct target_ops) <to_trace_stop>: Use
11114 TARGET_DEFAULT_NORETURN.
11115
11116 2014-02-19 Tom Tromey <tromey@redhat.com>
11117
11118 * target-delegates.c: Rebuild.
11119 * target.c (update_current_target): Don't inherit or default
11120 to_get_tracepoint_status.
11121 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
11122 TARGET_DEFAULT_NORETURN.
11123
11124 2014-02-19 Tom Tromey <tromey@redhat.com>
11125
11126 * target-delegates.c: Rebuild.
11127 * target.c (update_current_target): Don't inherit or default
11128 to_get_trace_status.
11129 * target.h (struct target_ops) <to_get_trace_status>: Use
11130 TARGET_DEFAULT_RETURN.
11131
11132 2014-02-19 Tom Tromey <tromey@redhat.com>
11133
11134 * target-delegates.c: Rebuild.
11135 * target.c (update_current_target): Don't inherit or default
11136 to_trace_start.
11137 * target.h (struct target_ops) <to_trace_start>: Use
11138 TARGET_DEFAULT_NORETURN.
11139
11140 2014-02-19 Tom Tromey <tromey@redhat.com>
11141
11142 * target-delegates.c: Rebuild.
11143 * target.c (update_current_target): Don't inherit or default
11144 to_trace_set_readonly_regions.
11145 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11146 Use TARGET_DEFAULT_NORETURN.
11147
11148 2014-02-19 Tom Tromey <tromey@redhat.com>
11149
11150 * target-delegates.c: Rebuild.
11151 * target.c (update_current_target): Don't inherit or default
11152 to_disable_tracepoint.
11153 * target.h (struct target_ops) <to_disable_tracepoint>: Use
11154 TARGET_DEFAULT_NORETURN.
11155
11156 2014-02-19 Tom Tromey <tromey@redhat.com>
11157
11158 * target-delegates.c: Rebuild.
11159 * target.c (update_current_target): Don't inherit or default
11160 to_enable_tracepoint.
11161 * target.h (struct target_ops) <to_enable_tracepoint>: Use
11162 TARGET_DEFAULT_NORETURN.
11163
11164 2014-02-19 Tom Tromey <tromey@redhat.com>
11165
11166 * target-delegates.c: Rebuild.
11167 * target.c (update_current_target): Don't inherit or default
11168 to_download_trace_state_variable.
11169 * target.h (struct target_ops) <to_download_trace_state_variable>:
11170 Use TARGET_DEFAULT_NORETURN.
11171
11172 2014-02-19 Tom Tromey <tromey@redhat.com>
11173
11174 * target-delegates.c: Rebuild.
11175 * target.c (update_current_target): Don't inherit or default
11176 to_can_download_tracepoint.
11177 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
11178 TARGET_DEFAULT_RETURN.
11179
11180 2014-02-19 Tom Tromey <tromey@redhat.com>
11181
11182 * target-delegates.c: Rebuild.
11183 * target.c (update_current_target): Don't inherit or default
11184 to_download_tracepoint.
11185 * target.h (struct target_ops) <to_download_tracepoint>: Use
11186 TARGET_DEFAULT_NORETURN.
11187
11188 2014-02-19 Tom Tromey <tromey@redhat.com>
11189
11190 * target-delegates.c: Rebuild.
11191 * target.c (update_current_target): Don't inherit or default
11192 to_trace_init.
11193 * target.h (struct target_ops) <to_trace_init>: Use
11194 TARGET_DEFAULT_RETURN.
11195
11196 2014-02-19 Tom Tromey <tromey@redhat.com>
11197
11198 * target-delegates.c: Rebuild.
11199 * target.c (update_current_target): Don't inherit or default
11200 to_supports_string_tracing.
11201 * target.h (struct target_ops) <to_supports_string_tracing>: Use
11202 TARGET_DEFAULT_RETURN.
11203
11204 2014-02-19 Tom Tromey <tromey@redhat.com>
11205
11206 * target-delegates.c: Rebuild.
11207 * target.c (update_current_target): Don't inherit or default
11208 to_supports_enable_disable_tracepoint.
11209 * target.h (struct target_ops)
11210 <to_supports_enable_disable_tracepoint>: Use
11211 TARGET_DEFAULT_RETURN.
11212
11213 2014-02-19 Tom Tromey <tromey@redhat.com>
11214
11215 * target-delegates.c: Rebuild.
11216 * target.c (update_current_target): Don't inherit or default
11217 to_supports_multi_process.
11218 * target.h (struct target_ops) <to_supports_multi_process>: Use
11219 TARGET_DEFAULT_RETURN.
11220
11221 2014-02-19 Tom Tromey <tromey@redhat.com>
11222
11223 * target-delegates.c: Rebuild.
11224 * target.c (update_current_target): Don't inherit or default
11225 to_get_ada_task_ptid.
11226 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
11227 TARGET_DEFAULT_FUNC.
11228
11229 2014-02-19 Tom Tromey <tromey@redhat.com>
11230
11231 * target-delegates.c: Rebuild.
11232 * target.c (update_current_target): Don't inherit or default
11233 to_thread_architecture.
11234 * target.h (struct target_ops) <to_thread_architecture>: Use
11235 TARGET_DEFAULT_FUNC.
11236
11237 2014-02-19 Tom Tromey <tromey@redhat.com>
11238
11239 * target-delegates.c: Rebuild.
11240 * target.c (update_current_target): Don't inherit or default
11241 to_execution_direction.
11242 * target.h (struct target_ops) <to_execution_direction>: Use
11243 TARGET_DEFAULT_FUNC.
11244
11245 2014-02-19 Tom Tromey <tromey@redhat.com>
11246
11247 * target-delegates.c: Rebuild.
11248 * target.c (update_current_target): Don't inherit or default
11249 to_can_execute_reverse.
11250 * target.h (struct target_ops) <to_can_execute_reverse>: Use
11251 TARGET_DEFAULT_RETURN.
11252 (target_can_execute_reverse): Unconditionally delegate.
11253
11254 2014-02-19 Tom Tromey <tromey@redhat.com>
11255
11256 * target-delegates.c: Rebuild.
11257 * target.c (update_current_target): Don't inherit or default
11258 to_goto_bookmark.
11259 (dummy_goto_bookmark): Remove.
11260 (init_dummy_target): Don't inherit or default to_goto_bookmark.
11261 * target.h (struct target_ops) <to_goto_bookmark>: Use
11262 TARGET_DEFAULT_NORETURN.
11263
11264 2014-02-19 Tom Tromey <tromey@redhat.com>
11265
11266 * target-delegates.c: Rebuild.
11267 * target.c (update_current_target): Don't inherit or default
11268 to_get_bookmark.
11269 (dummy_get_bookmark): Remove.
11270 (init_dummy_target): Don't inherit or default to_get_bookmark.
11271 * target.h (struct target_ops) <to_get_bookmark>: Use
11272 TARGET_DEFAULT_NORETURN
11273
11274 2014-02-19 Tom Tromey <tromey@redhat.com>
11275
11276 * target-delegates.c: Rebuild.
11277 * target.c (update_current_target): Don't inherit or default
11278 to_make_corefile_notes.
11279 (init_dummy_target): Don't initialize to_make_corefile_notes.
11280 * target.h (struct target_ops) <to_make_corefile_notes>: Use
11281 TARGET_DEFAULT_FUNC.
11282
11283 2014-02-19 Tom Tromey <tromey@redhat.com>
11284
11285 * target-delegates.c: Rebuild.
11286 * target.c (update_current_target): Don't inherit or default
11287 to_find_memory_regions.
11288 (init_dummy_target): Don't initialize to_find_memory_regions.
11289 * target.h (struct target_ops) <to_find_memory_regions>: Use
11290 TARGET_DEFAULT_FUNC.
11291
11292 2014-02-19 Tom Tromey <tromey@redhat.com>
11293
11294 * target-delegates.c: Rebuild.
11295 * target.c (update_current_target): Don't inherit or default
11296 to_log_command.
11297 * target.h (struct target_ops) <to_log_command>: Use
11298 TARGET_DEFAULT_IGNORE.
11299 (target_log_command): Unconditionally delegate.
11300
11301 2014-02-19 Tom Tromey <tromey@redhat.com>
11302
11303 * target-delegates.c: Rebuild.
11304 * target.c (update_current_target): Don't inherit or default
11305 to_pid_to_exec_file.
11306 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
11307 TARGET_DEFAULT_RETURN.
11308
11309 2014-02-19 Tom Tromey <tromey@redhat.com>
11310
11311 * target-delegates.c: Rebuild.
11312 * target.c (update_current_target): Don't inherit or default
11313 to_thread_name.
11314 (target_thread_name): Unconditionally delegate.
11315 * target.h (struct target_ops) <to_thread_name>: Use
11316 TARGET_DEFAULT_RETURN.
11317
11318 2014-02-19 Tom Tromey <tromey@redhat.com>
11319
11320 * target-delegates.c: Rebuild.
11321 * target.c (update_current_target): Don't inherit or default
11322 to_extra_thread_info.
11323 * target.h (struct target_ops) <to_extra_thread_info>: Use
11324 TARGET_DEFAULT_RETURN.
11325
11326 2014-02-19 Tom Tromey <tromey@redhat.com>
11327
11328 * target-delegates.c: Rebuild.
11329 * target.c (update_current_target): Don't inherit or default
11330 to_has_exited.
11331 * target.h (struct target_ops) <to_has_exited>: Use
11332 TARGET_DEFAULT_RETURN..
11333
11334 2014-02-19 Tom Tromey <tromey@redhat.com>
11335
11336 * target-delegates.c: Rebuild.
11337 * target.c (update_current_target): Don't inherit or default
11338 to_set_syscall_catchpoint.
11339 (return_one): Remove.
11340 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
11341 TARGET_DEFAULT_RETURN.
11342
11343 2014-02-19 Tom Tromey <tromey@redhat.com>
11344
11345 * target-delegates.c: Rebuild.
11346 * target.c (update_current_target): Don't inherit or default
11347 to_insert_exec_catchpoint.
11348 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11349 TARGET_DEFAULT_RETURN.
11350
11351 2014-01-08 Tom Tromey <tromey@redhat.com>
11352
11353 * target-delegates.c: Rebuild.
11354 * target.c (update_current_target): Don't inherit or default
11355 to_insert_exec_catchpoint.
11356 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11357 TARGET_DEFAULT_RETURN.
11358
11359 2014-02-19 Tom Tromey <tromey@redhat.com>
11360
11361 * target-delegates.c: Rebuild.
11362 * target.c (update_current_target): Don't inherit or default
11363 to_remove_vfork_catchpoint.
11364 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
11365 TARGET_DEFAULT_RETURN.
11366
11367 2014-02-19 Tom Tromey <tromey@redhat.com>
11368
11369 * target-delegates.c: Rebuild.
11370 * target.c (update_current_target): Don't inherit or default
11371 to_insert_vfork_catchpoint.
11372 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
11373 TARGET_DEFAULT_RETURN.
11374
11375 2014-02-19 Tom Tromey <tromey@redhat.com>
11376
11377 * target-delegates.c: Rebuild.
11378 * target.c (update_current_target): Don't inherit or default
11379 to_remove_fork_catchpoint.
11380 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
11381 TARGET_DEFAULT_RETURN.
11382
11383 2014-02-19 Tom Tromey <tromey@redhat.com>
11384
11385 * target-delegates.c: Rebuild.
11386 * target.c (update_current_target): Don't inherit or default
11387 to_insert_fork_catchpoint.
11388 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
11389 TARGET_DEFAULT_RETURN.
11390
11391 2014-02-19 Tom Tromey <tromey@redhat.com>
11392
11393 * target-delegates.c: Rebuild.
11394 * target.c (update_current_target): Don't inherit or default
11395 to_post_startup_inferior.
11396 * target.h (struct target_ops) <to_post_startup_inferior>: Use
11397 TARGET_DEFAULT_IGNORE.
11398
11399 2014-02-19 Tom Tromey <tromey@redhat.com>
11400
11401 * target-delegates.c: Rebuild.
11402 * target.c (update_current_target): Don't inherit or default
11403 to_load.
11404 * target.h (struct target_ops) <to_load>: Use
11405 TARGET_DEFAULT_NORETURN.
11406
11407 2014-02-19 Tom Tromey <tromey@redhat.com>
11408
11409 * target-delegates.c: Rebuild.
11410 * target.c (update_current_target): Don't inherit or default
11411 to_terminal_info.
11412 * target.h (struct target_ops) <to_terminal_info>: Use
11413 TARGET_DEFAULT_FUNC.
11414
11415 2014-02-19 Tom Tromey <tromey@redhat.com>
11416
11417 * target-delegates.c: Rebuild.
11418 * target.c (update_current_target): Don't inherit or default
11419 to_terminal_save_ours.
11420 * target.h (struct target_ops) <to_terminal_save_ours>: Use
11421 TARGET_DEFAULT_IGNORE.
11422
11423 2014-02-19 Tom Tromey <tromey@redhat.com>
11424
11425 * target-delegates.c: Rebuild.
11426 * target.c (update_current_target): Don't inherit or default
11427 to_terminal_ours.
11428 * target.h (struct target_ops) <to_terminal_ours>: Use
11429 TARGET_DEFAULT_IGNORE.
11430
11431 2014-02-19 Tom Tromey <tromey@redhat.com>
11432
11433 * target-delegates.c: Rebuild.
11434 * target.c (update_current_target): Don't inherit or default
11435 to_terminal_ours_for_output.
11436 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
11437 TARGET_DEFAULT_IGNORE.
11438
11439 2014-02-19 Tom Tromey <tromey@redhat.com>
11440
11441 * target-delegates.c: Rebuild.
11442 * target.c (update_current_target): Don't inherit or default
11443 to_terminal_inferior.
11444 * target.h (struct target_ops) <to_terminal_inferior>: Use
11445 TARGET_DEFAULT_IGNORE.
11446
11447 2014-02-19 Tom Tromey <tromey@redhat.com>
11448
11449 * target-delegates.c: Rebuild.
11450 * target.c (update_current_target): Don't inherit or default
11451 to_terminal_init.
11452 * target.h (struct target_ops) <to_terminal_init>: Use
11453 TARGET_DEFAULT_IGNORE.
11454
11455 2014-02-19 Tom Tromey <tromey@redhat.com>
11456
11457 * target-delegates.c: Rebuild.
11458 * target.c (update_current_target): Don't inherit or default
11459 to_can_accel_watchpoint_condition.
11460 * target.h (struct target_ops)
11461 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
11462
11463 2014-02-19 Tom Tromey <tromey@redhat.com>
11464
11465 * target-delegates.c: Rebuild.
11466 * target.c (update_current_target): Don't inherit or default
11467 to_region_ok_for_hw_watchpoint.
11468 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11469 Use TARGET_DEFAULT_FUNC.
11470
11471 2014-02-19 Tom Tromey <tromey@redhat.com>
11472
11473 * target-delegates.c: Rebuild.
11474 * target.c (update_current_target): Don't inherit or default
11475 to_watchpoint_addr_within_range.
11476 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
11477 Use TARGET_DEFAULT_FUNC.
11478
11479 2014-02-19 Tom Tromey <tromey@redhat.com>
11480
11481 * target-delegates.c: Rebuild.
11482 * target.c (update_current_target): Don't inherit or default
11483 to_remove_watchpoint.
11484 * target.h (struct target_ops) <to_remove_watchpoint>: Use
11485 TARGET_DEFAULT_NORETURN.
11486
11487 2014-02-19 Tom Tromey <tromey@redhat.com>
11488
11489 * target-delegates.c: Rebuild.
11490 * target.c (update_current_target): Don't inherit or default
11491 to_insert_watchpoint.
11492 * target.h (struct target_ops) <to_insert_watchpoint>: Use
11493 TARGET_DEFAULT_RETURN.
11494
11495 2014-02-19 Tom Tromey <tromey@redhat.com>
11496
11497 * target-delegates.c: Rebuild.
11498 * target.c (update_current_target): Don't inherit or default
11499 to_remove_hw_breakpoint.
11500 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
11501 TARGET_DEFAULT_RETURN.
11502
11503 2014-02-19 Tom Tromey <tromey@redhat.com>
11504
11505 * target-delegates.c: Rebuild.
11506 * target.c (update_current_target): Don't inherit or default
11507 to_insert_hw_breakpoint.
11508 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
11509 TARGET_DEFAULT_RETURN.
11510
11511 2014-02-19 Tom Tromey <tromey@redhat.com>
11512
11513 * target-delegates.c: Rebuild.
11514 * target.c (update_current_target): Don't inherit or default
11515 to_can_use_hw_breakpoint.
11516 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
11517 TARGET_DEFAULT_RETURN.
11518
11519 2014-02-19 Tom Tromey <tromey@redhat.com>
11520
11521 * target-delegates.c: Rebuild.
11522 * target.c (update_current_target): Don't inherit or default
11523 to_files_info.
11524 * target.h (struct target_ops) <to_files_info>: Use
11525 TARGET_DEFAULT_IGNORE.
11526
11527 2014-02-19 Tom Tromey <tromey@redhat.com>
11528
11529 * target-delegates.c: Rebuild.
11530 * target.c (update_current_target): Don't inherit or default
11531 to_store.
11532 * target.h (struct target_ops) <to_store>: Use
11533 TARGET_DEFAULT_NORETURN.
11534
11535 2014-02-19 Tom Tromey <tromey@redhat.com>
11536
11537 * target-delegates.c: Rebuild.
11538 * target.c (update_current_target): Don't inherit or default
11539 to_post_attach.
11540 * target.h (struct target_ops) <to_post_attach>: Use
11541 TARGET_DEFAULT_IGNORE.
11542
11543 2014-02-19 Tom Tromey <tromey@redhat.com>
11544
11545 * target-delegates.c: Rebuild.
11546 * target.c (update_current_target): Don't inherit or default
11547 to_rcmd.
11548 (default_rcmd): New function.
11549 (do_monitor_command): Unconditionally delegate.
11550 * target.h (struct target_ops) <to_rmcd>: Use
11551 TARGET_DEFAULT_FUNC.
11552
11553 2014-02-19 Tom Tromey <tromey@redhat.com>
11554
11555 * target-delegates.c: Rebuild.
11556 * target.c (init_dummy_target): Don't initialize to_attach.
11557 (target_attach): Unconditionally delegate.
11558 * target.h (struct target_ops) <to_attach>: Use
11559 TARGET_DEFAULT_FUNC.
11560
11561 2014-02-19 Tom Tromey <tromey@redhat.com>
11562
11563 * target-delegates.c: Rebuild.
11564 * target.c (target_detach): Unconditionally delegate.
11565 (init_dummy_target): Don't initialize to_detach.
11566 * target.h (struct target_ops) <to_detach>: Use
11567 TARGET_DEFAULT_IGNORE.
11568
11569 2014-02-19 Tom Tromey <tromey@redhat.com>
11570
11571 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11572 Add argument.
11573 (target_augmented_libraries_svr4_read): Add argument.
11574 * target.c (update_current_target): Update.
11575 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11576 argument.
11577
11578 2014-02-19 Tom Tromey <tromey@redhat.com>
11579
11580 * target.h (struct target_ops) <to_call_history_range>: Add
11581 argument.
11582 * target.c (target_call_history_range): Add argument.
11583 * record-btrace.c (record_btrace_call_history_range): Add 'self'
11584 argument.
11585 (record_btrace_call_history_from): Update.
11586
11587 2014-02-19 Tom Tromey <tromey@redhat.com>
11588
11589 * target.h (struct target_ops) <to_call_history_from>: Add
11590 argument.
11591 * target.c (target_call_history_from): Add argument.
11592 * record-btrace.c (record_btrace_call_history_from): Add 'self'
11593 argument.
11594
11595 2014-02-19 Tom Tromey <tromey@redhat.com>
11596
11597 * target.h (struct target_ops) <to_call_history>: Add argument.
11598 * target.c (target_call_history): Add argument.
11599 * record-btrace.c (record_btrace_call_history): Add 'self'
11600 argument.
11601
11602 2014-02-19 Tom Tromey <tromey@redhat.com>
11603
11604 * target.h (struct target_ops) <to_insn_history_range>: Add
11605 argument.
11606 * target.c (target_insn_history_range): Add argument.
11607 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
11608 argument.
11609 (record_btrace_insn_history_from): Update.
11610
11611 2014-02-19 Tom Tromey <tromey@redhat.com>
11612
11613 * target.h (struct target_ops) <to_insn_history_from>: Add
11614 argument.
11615 * target.c (target_insn_history_from): Add argument.
11616 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
11617 argument.
11618
11619 2014-02-19 Tom Tromey <tromey@redhat.com>
11620
11621 * target.h (struct target_ops) <to_insn_history>: Add argument.
11622 * target.c (target_insn_history): Add argument.
11623 * record-btrace.c (record_btrace_insn_history): Add 'self'
11624 argument.
11625
11626 2014-02-19 Tom Tromey <tromey@redhat.com>
11627
11628 * target.h (struct target_ops) <to_goto_record>: Add argument.
11629 * target.c (target_goto_record): Add argument.
11630 * record-full.c (record_full_goto): Add 'self' argument.
11631 * record-btrace.c (record_btrace_goto): Add 'self' argument.
11632
11633 2014-02-19 Tom Tromey <tromey@redhat.com>
11634
11635 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11636 * target.c (target_goto_record_end): Add argument.
11637 * record-full.c (record_full_goto_end): Add 'self' argument.
11638 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
11639
11640 2014-02-19 Tom Tromey <tromey@redhat.com>
11641
11642 * target.h (struct target_ops) <to_goto_record_begin>: Add
11643 argument.
11644 * target.c (target_goto_record_begin): Add argument.
11645 * record-full.c (record_full_goto_begin): Add 'self' argument.
11646 * record-btrace.c (record_btrace_goto_begin): Add 'self'
11647 argument.
11648
11649 2014-02-19 Tom Tromey <tromey@redhat.com>
11650
11651 * target.h (struct target_ops) <to_record_is_replaying>: Add
11652 argument.
11653 * target.c (target_record_is_replaying): Add argument.
11654 * record-full.c (record_full_is_replaying): Add 'self' argument.
11655 * record-btrace.c (record_btrace_is_replaying): Add 'self'
11656 argument.
11657 (record_btrace_xfer_partial, record_btrace_store_registers)
11658 (record_btrace_prepare_to_store, record_btrace_resume)
11659 (record_btrace_wait, record_btrace_decr_pc_after_break)
11660 (record_btrace_find_new_threads, record_btrace_thread_alive):
11661 Update.
11662
11663 2014-02-19 Tom Tromey <tromey@redhat.com>
11664
11665 * target.h (struct target_ops) <to_delete_record>: Add argument.
11666 * target.c (target_delete_record): Add argument.
11667 * record-full.c (record_full_delete): Add 'self' argument.
11668
11669 2014-02-19 Tom Tromey <tromey@redhat.com>
11670
11671 * target.h (struct target_ops) <to_save_record>: Add argument.
11672 * target.c (target_save_record): Add argument.
11673 * record-full.c (record_full_save): Add 'self' argument.
11674 (record_full_save): Add 'self' argument.
11675
11676 2014-02-19 Tom Tromey <tromey@redhat.com>
11677
11678 * target.h (struct target_ops) <to_info_record>: Add argument.
11679 * target.c (target_info_record): Add argument.
11680 * record.c (info_record_command): Add argument.
11681 * record-full.c (record_full_info): Add 'self' argument.
11682 * record-btrace.c (record_btrace_info): Add 'self' argument.
11683
11684 2014-02-19 Tom Tromey <tromey@redhat.com>
11685
11686 * target.h (struct target_ops) <to_stop_recording>: Add argument.
11687 * target.c (target_stop_recording): Add argument.
11688 * record.c (record_stop): Add argument.
11689 * record-btrace.c (record_btrace_stop_recording): Add 'self'
11690 argument.
11691
11692 2014-02-19 Tom Tromey <tromey@redhat.com>
11693
11694 * target.h (struct target_ops) <to_read_btrace>: Add argument.
11695 * target.c (struct target_ops) <to_read_btrace>: Add argument.
11696 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
11697 argument.
11698 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
11699 (_initialize_amd64_linux_nat): Use it.
11700 * i386-linux-nat.c (i386_linux_read_btrace): New function.
11701 (_initialize_i386_linux_nat): Use it.
11702
11703 2014-02-19 Tom Tromey <tromey@redhat.com>
11704
11705 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
11706 * target.c (target_teardown_btrace): Add argument.
11707 * remote.c (remote_teardown_btrace): Add 'self' argument.
11708 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
11709 argument.
11710 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
11711 argument.
11712
11713 2014-02-19 Tom Tromey <tromey@redhat.com>
11714
11715 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
11716 * target.c (target_disable_btrace): Add argument.
11717 * remote.c (remote_disable_btrace): Add 'self' argument.
11718 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
11719 argument.
11720 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
11721 argument.
11722
11723 2014-02-19 Tom Tromey <tromey@redhat.com>
11724
11725 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
11726 * target.c (target_enable_btrace): Add argument.
11727 * remote.c (remote_enable_btrace): Add 'self' argument.
11728 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
11729 argument.
11730 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
11731 argument.
11732
11733 2014-02-19 Tom Tromey <tromey@redhat.com>
11734
11735 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
11736 (target_can_use_agent): Add argument.
11737 * target.c (update_current_target): Update.
11738 * remote.c (remote_can_use_agent): Add 'self' argument.
11739 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
11740
11741 2014-02-19 Tom Tromey <tromey@redhat.com>
11742
11743 * target.h (struct target_ops) <to_use_agent>: Add argument.
11744 (target_use_agent): Add argument.
11745 * target.c (update_current_target): Update.
11746 * remote.c (remote_use_agent): Add 'self' argument.
11747 * inf-child.c (inf_child_use_agent): Add 'self' argument.
11748
11749 2014-02-19 Tom Tromey <tromey@redhat.com>
11750
11751 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
11752 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
11753 (target_traceframe_info): Add argument.
11754 * target.c (update_current_target): Update.
11755 * remote.c (remote_traceframe_info): Add 'self' argument.
11756 * ctf.c (ctf_traceframe_info): Add 'self' argument.
11757
11758 2014-02-19 Tom Tromey <tromey@redhat.com>
11759
11760 * target.h (target_static_tracepoint_markers_by_strid): Add
11761 argument.
11762 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
11763 'self' argument.
11764 * target.c (update_current_target): Update.
11765 * remote.c (struct target_ops)
11766 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11767 * linux-nat.c (struct target_ops)
11768 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11769
11770 2014-02-19 Tom Tromey <tromey@redhat.com>
11771
11772 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11773 Add argument.
11774 (target_static_tracepoint_marker_at): Add argument.
11775 * target.c (update_current_target): Update.
11776 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
11777 argument.
11778
11779 2014-02-19 Tom Tromey <tromey@redhat.com>
11780
11781 * target.h (struct target_ops) <to_set_permissions>: Add argument.
11782 (target_set_permissions): Add argument.
11783 * target.c (update_current_target): Update.
11784 * remote.c (remote_set_permissions): Add 'self' argument.
11785 (remote_start_remote): Update.
11786
11787 2014-02-19 Tom Tromey <tromey@redhat.com>
11788
11789 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
11790 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
11791 (target_get_tib_address): Add argument.
11792 * target.c (update_current_target): Update.
11793 * remote.c (remote_get_tib_address): Add 'self' argument.
11794
11795 2014-02-19 Tom Tromey <tromey@redhat.com>
11796
11797 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
11798 (target_set_trace_notes): Add argument.
11799 * target.c (update_current_target): Update.
11800 * remote.c (remote_set_trace_notes): Add 'self' argument.
11801
11802 2014-02-19 Tom Tromey <tromey@redhat.com>
11803
11804 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
11805 argument.
11806 (target_set_trace_buffer_size): Add argument.
11807 * target.c (update_current_target): Update.
11808 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
11809
11810 2014-02-19 Tom Tromey <tromey@redhat.com>
11811
11812 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
11813 argument.
11814 (target_set_circular_trace_buffer): Add argument.
11815 * target.c (update_current_target): Update.
11816 * remote.c (remote_set_circular_trace_buffer): Add 'self'
11817 argument.
11818
11819 2014-02-19 Tom Tromey <tromey@redhat.com>
11820
11821 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
11822 argument.
11823 (target_set_disconnected_tracing): Add argument.
11824 * target.c (update_current_target): Update.
11825 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
11826
11827 2014-02-19 Tom Tromey <tromey@redhat.com>
11828
11829 * target.h (struct target_ops)
11830 <to_get_min_fast_tracepoint_insn_len>: Add argument.
11831 (target_get_min_fast_tracepoint_insn_len): Add argument.
11832 * target.c (update_current_target): Update.
11833 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
11834 argument.
11835
11836 2014-02-19 Tom Tromey <tromey@redhat.com>
11837
11838 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
11839 argument.
11840 (target_get_raw_trace_data): Add argument.
11841 * target.c (update_current_target): Update.
11842 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
11843
11844 2014-02-19 Tom Tromey <tromey@redhat.com>
11845
11846 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11847 Add argument.
11848 (target_upload_trace_state_variables): Add argument.
11849 * target.c (update_current_target): Update.
11850 * remote.c (remote_upload_trace_state_variables): Add 'self'
11851 argument.
11852 (remote_start_remote): Update.
11853
11854 2014-02-19 Tom Tromey <tromey@redhat.com>
11855
11856 * target.h (struct target_ops) <to_upload_tracepoints>: Add
11857 argument.
11858 (target_upload_tracepoints): Add argument.
11859 * target.c (update_current_target): Update.
11860 * remote.c (remote_upload_tracepoints): Add 'self' argument.
11861 (remote_start_remote): Update.
11862
11863 2014-02-19 Tom Tromey <tromey@redhat.com>
11864
11865 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
11866 (target_save_trace_data): Add argument.
11867 * target.c (update_current_target): Update.
11868 * remote.c (remote_save_trace_data): Add 'self' argument.
11869
11870 2014-02-19 Tom Tromey <tromey@redhat.com>
11871
11872 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
11873 argument.
11874 * target.h (struct target_ops)
11875 <to_get_trace_state_variable_value>: Add argument.
11876 (target_get_trace_state_variable_value): Add argument.
11877 * target.c (update_current_target): Update.
11878 * remote.c (remote_get_trace_state_variable_value): Add 'self'
11879 argument.
11880 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
11881
11882 2014-02-19 Tom Tromey <tromey@redhat.com>
11883
11884 * tracepoint.c (tfile_trace_find): Add 'self' argument.
11885 * target.h (struct target_ops) <to_trace_find>: Add argument.
11886 (target_trace_find): Add argument.
11887 * target.c (update_current_target): Update.
11888 * remote.c (remote_trace_find): Add 'self' argument.
11889 * ctf.c (ctf_trace_find): Add 'self' argument.
11890
11891 2014-02-19 Tom Tromey <tromey@redhat.com>
11892
11893 * target.h (struct target_ops) <to_trace_stop>: Add argument.
11894 (target_trace_stop): Add argument.
11895 * target.c (update_current_target): Update.
11896 * remote.c (remote_trace_stop): Add 'self' argument.
11897
11898 2014-02-19 Tom Tromey <tromey@redhat.com>
11899
11900 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
11901 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
11902 argument.
11903 (target_get_tracepoint_status): Add argument.
11904 * target.c (update_current_target): Update.
11905 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
11906
11907 2014-02-19 Tom Tromey <tromey@redhat.com>
11908
11909 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
11910 * target.h (struct target_ops) <to_get_trace_status>: Add
11911 argument.
11912 (target_get_trace_status): Add argument.
11913 * target.c (update_current_target): Update.
11914 * remote.c (remote_get_trace_status): Add 'self' argument.
11915 (remote_start_remote, remote_can_download_tracepoint): Update.
11916 * ctf.c (ctf_get_trace_status): Add 'self' argument.
11917
11918 2014-02-19 Tom Tromey <tromey@redhat.com>
11919
11920 * target.h (struct target_ops) <to_trace_start>: Add argument.
11921 (target_trace_start): Add argument.
11922 * target.c (update_current_target): Update.
11923 * remote.c (remote_trace_start): Add 'self' argument.
11924
11925 2014-02-19 Tom Tromey <tromey@redhat.com>
11926
11927 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11928 Add argument.
11929 (target_trace_set_readonly_regions): Add argument.
11930 * target.c (update_current_target): Update.
11931 * remote.c (remote_trace_set_readonly_regions): Add 'self'
11932 argument.
11933
11934 2014-02-19 Tom Tromey <tromey@redhat.com>
11935
11936 * target.h (struct target_ops) <to_disable_tracepoint>: Add
11937 argument.
11938 (target_disable_tracepoint): Add argument.
11939 * target.c (update_current_target): Update.
11940 * remote.c (remote_disable_tracepoint): Add 'self' argument.
11941
11942 2014-02-19 Tom Tromey <tromey@redhat.com>
11943
11944 * target.h (struct target_ops) <to_enable_tracepoint>: Add
11945 argument.
11946 (target_enable_tracepoint): Add argument.
11947 * target.c (update_current_target): Update.
11948 * remote.c (remote_enable_tracepoint): Add 'self' argument.
11949
11950 2014-02-19 Tom Tromey <tromey@redhat.com>
11951
11952 * target.h (struct target_ops) <to_download_trace_state_variable>:
11953 Add argument.
11954 (target_download_trace_state_variable): Add argument.
11955 * target.c (update_current_target): Update.
11956 * remote.c (remote_download_trace_state_variable): Add 'self'
11957 argument.
11958
11959 2014-02-19 Tom Tromey <tromey@redhat.com>
11960
11961 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
11962 argument.
11963 (target_can_download_tracepoint): Add argument.
11964 * target.c (update_current_target): Update.
11965 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
11966
11967 2014-02-19 Tom Tromey <tromey@redhat.com>
11968
11969 * target.h (struct target_ops) <to_download_tracepoint>: Add
11970 argument.
11971 (target_download_tracepoint): Add argument.
11972 * target.c (update_current_target): Update.
11973 * remote.c (remote_download_tracepoint): Add 'self' argument.
11974
11975 2014-02-19 Tom Tromey <tromey@redhat.com>
11976
11977 * target.h (struct target_ops) <to_trace_init>: Add argument.
11978 (target_trace_init): Add argument.
11979 * target.c (update_current_target): Update.
11980 * remote.c (remote_trace_init): Add 'self' argument.
11981
11982 2014-02-19 Tom Tromey <tromey@redhat.com>
11983
11984 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
11985 * target.c (target_fileio_readlink): Add argument.
11986 * remote.c (remote_hostio_readlink): Add 'self' argument.
11987 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
11988
11989 2014-02-19 Tom Tromey <tromey@redhat.com>
11990
11991 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
11992 * target.c (target_fileio_unlink): Add argument.
11993 * remote.c (remote_hostio_unlink): Add 'self' argument.
11994 (remote_file_delete): Update.
11995 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
11996
11997 2014-02-19 Tom Tromey <tromey@redhat.com>
11998
11999 * target.h (struct target_ops) <to_fileio_close>: Add argument.
12000 * target.c (target_fileio_close): Add argument.
12001 * remote.c (remote_hostio_close): Add 'self' argument.
12002 (remote_hostio_close_cleanup): Update.
12003 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
12004 Update.
12005 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
12006
12007 2014-02-19 Tom Tromey <tromey@redhat.com>
12008
12009 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
12010 * target.c (target_fileio_pread): Add argument.
12011 * remote.c (remote_hostio_pread): Add 'self' argument.
12012 (remote_bfd_iovec_pread, remote_file_get): Update.
12013 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
12014
12015 2014-02-19 Tom Tromey <tromey@redhat.com>
12016
12017 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
12018 * target.c (target_fileio_pwrite): Add argument.
12019 * remote.c (remote_hostio_pwrite): Add 'self' argument.
12020 (remote_file_put): Update.
12021 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
12022
12023 2014-02-19 Tom Tromey <tromey@redhat.com>
12024
12025 * target.h (struct target_ops) <to_fileio_open>: Add argument.
12026 * target.c (target_fileio_open): Add argument.
12027 * remote.c (remote_hostio_open): Add 'self' argument.
12028 (remote_bfd_iovec_open): Add 'self' argument.
12029 (remote_file_put): Add 'self' argument.
12030 (remote_file_get): Add 'self' argument.
12031 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
12032
12033 2014-02-19 Tom Tromey <tromey@redhat.com>
12034
12035 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
12036 Add argument.
12037 (target_can_run_breakpoint_commands): Add argument.
12038 * target.c (update_current_target): Update.
12039 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
12040 argument.
12041 (remote_insert_breakpoint): Add 'self' argument.
12042 (remote_insert_hw_breakpoint): Add 'self' argument.
12043 (remote_can_run_breakpoint_commands): Add 'self' argument.
12044
12045 2014-02-19 Tom Tromey <tromey@redhat.com>
12046
12047 * target.h (struct target_ops)
12048 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
12049 (target_supports_evaluation_of_breakpoint_conditions): Add
12050 argument.
12051 * target.c (update_current_target): Update.
12052 * remote.c (remote_supports_cond_breakpoints): Add 'self'
12053 argument.
12054 (remote_insert_breakpoint): Add 'self' argument.
12055 (remote_insert_hw_breakpoint): Add 'self' argument.
12056 (remote_supports_cond_breakpoints): Add 'self' argument.
12057
12058 2014-02-19 Tom Tromey <tromey@redhat.com>
12059
12060 * target.h (struct target_ops) <to_supports_string_tracing>: Add
12061 argument.
12062 (target_supports_string_tracing): Add argument.
12063 * target.c (update_current_target): Update.
12064 * remote.c (remote_supports_string_tracing): Add 'self' argument.
12065
12066 2014-02-19 Tom Tromey <tromey@redhat.com>
12067
12068 * target.h (struct target_ops)
12069 <to_supports_disable_randomization>: Add argument.
12070 * target.c (find_default_supports_disable_randomization): Add
12071 argument.
12072 (target_supports_disable_randomization): Add argument.
12073 (find_default_supports_disable_randomization): Add 'self'
12074 argument.
12075 * remote.c (extended_remote_supports_disable_randomization): Add
12076 'self' argument.
12077 (remote_supports_disable_randomization): Add 'self' argument.
12078 (extended_remote_create_inferior): Update.
12079 * linux-nat.c (linux_nat_supports_disable_randomization): Add
12080 'self' argument.
12081
12082 2014-02-19 Tom Tromey <tromey@redhat.com>
12083
12084 * target.h (struct target_ops)
12085 <to_supports_enable_disable_tracepoint>: Add argument.
12086 (target_supports_enable_disable_tracepoint): Add argument.
12087 * target.c (update_current_target): Update.
12088 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
12089 argument.
12090
12091 2014-02-19 Tom Tromey <tromey@redhat.com>
12092
12093 * target.h (struct target_ops) <to_supports_multi_process>: Add
12094 argument.
12095 (target_supports_multi_process): Add argument.
12096 * target.c (update_current_target): Update.
12097 * remote.c (remote_supports_multi_process): Add 'self' argument.
12098 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
12099 argument.
12100 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
12101 argument.
12102
12103 2014-02-19 Tom Tromey <tromey@redhat.com>
12104
12105 * target.h (struct target_ops) <to_execution_direction>: Add
12106 argument.
12107 (target_execution_direction): Add argument.
12108 * target.c (default_execution_direction): Add 'self' argument.
12109 * record-full.c (record_full_execution_direction): Add 'self'
12110 argument.
12111
12112 2014-02-19 Tom Tromey <tromey@redhat.com>
12113
12114 * target.h (struct target_ops) <to_can_execute_reverse>: Add
12115 argument.
12116 (target_can_execute_reverse): Add argument.
12117 * remote.c (remote_can_execute_reverse): Add 'self' argument.
12118 * record-full.c (record_full_can_execute_reverse): Add 'self'
12119 argument.
12120 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
12121 argument.
12122
12123 2014-02-19 Tom Tromey <tromey@redhat.com>
12124
12125 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
12126 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
12127 argument.
12128 (target_get_ada_task_ptid): Add argument.
12129 * target.c (update_current_target): Update.
12130 (default_get_ada_task_ptid): Add 'self' argument.
12131 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
12132 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
12133 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
12134 argument.
12135 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
12136 argument.
12137 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
12138 argument.
12139 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
12140 argument.
12141 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
12142 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
12143 argument.
12144
12145 2014-02-19 Tom Tromey <tromey@redhat.com>
12146
12147 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
12148 (target_goto_bookmark): Add argument.
12149 * target.c (dummy_goto_bookmark): Add 'self' argument.
12150 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
12151
12152 2014-02-19 Tom Tromey <tromey@redhat.com>
12153
12154 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
12155 (target_get_bookmark): Add argument.
12156 * target.c (dummy_get_bookmark): Add 'self' argument.
12157 * record-full.c (record_full_get_bookmark): Add 'self' argument.
12158
12159 2014-02-19 Tom Tromey <tromey@redhat.com>
12160
12161 * target.h (struct target_ops) <to_make_corefile_notes>: Add
12162 argument.
12163 (target_make_corefile_notes): Add argument.
12164 * target.c (dummy_make_corefile_notes): Add 'self' argument.
12165 * procfs.c (procfs_make_note_section): Add 'self' argument.
12166 (procfs_make_note_section): Add 'self' argument.
12167 (procfs_make_note_section): Add 'self' argument.
12168 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
12169 argument.
12170 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
12171 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
12172 * exec.c (exec_make_note_section): Add 'self' argument.
12173 (exec_make_note_section): Add 'self' argument.
12174
12175 2014-02-19 Tom Tromey <tromey@redhat.com>
12176
12177 * target.h (struct target_ops) <to_find_memory_regions>: Add
12178 argument.
12179 (target_find_memory_regions): Add argument.
12180 * target.c (dummy_find_memory_regions): Add 'self' argument.
12181 * procfs.c (proc_find_memory_regions): Add 'self' argument.
12182 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
12183 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
12184 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
12185 * exec. (exec_do_find_memory_regions): New global.
12186 (exec_set_find_memory_regions): Rewrite.
12187 (exec_find_memory_regions): New function.
12188 (init_exec_ops): Use exec_find_memory_regions.
12189
12190 2014-02-19 Tom Tromey <tromey@redhat.com>
12191
12192 * target.h (struct target_ops) <to_supports_non_stop>: Add
12193 argument.
12194 * target.c (find_default_supports_non_stop): Add argument.
12195 (target_supports_non_stop): Add argument.
12196 (find_default_supports_non_stop): Add 'self' argument.
12197 * remote.c (remote_supports_non_stop): Add 'self' argument.
12198 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
12199
12200 2014-02-19 Tom Tromey <tromey@redhat.com>
12201
12202 * target.h (struct target_ops) <to_log_command>: Add argument.
12203 (target_log_command): Add argument.
12204 * serial.h (serial_log_command): Add 'self' argument.
12205 * serial.c (serial_log_command): Add 'self' argument.
12206
12207 2014-02-19 Tom Tromey <tromey@redhat.com>
12208
12209 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
12210 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
12211 argument.
12212 (target_pid_to_exec_file): Add argument.
12213 * target.c (debug_to_pid_to_exec_file): Add argument.
12214 (update_current_target): Update.
12215 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
12216 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
12217 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
12218 (linux_handle_extended_wait): Update.
12219 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
12220 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
12221 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
12222 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
12223
12224 2014-02-19 Tom Tromey <tromey@redhat.com>
12225
12226 * target.h (struct target_ops) <to_rcmd>: Add argument.
12227 (target_rcmd): Add argument.
12228 * target.c (debug_to_rcmd): Add argument.
12229 (update_current_target, do_monitor_command): Update.
12230 * remote.c (remote_rcmd): Add 'self' argument.
12231 * monitor.c (monitor_rcmd): Add 'self' argument.
12232
12233 2014-02-19 Tom Tromey <tromey@redhat.com>
12234
12235 * windows-nat.c (windows_stop): Add 'self' argument.
12236 * target.h (struct target_ops) <to_stop>: Add argument.
12237 * target.c (target_stop): Add argument.
12238 (debug_to_stop): Add argument.
12239 (update_current_target): Update.
12240 * remote.c (remote_stop): Add 'self' argument.
12241 * remote-sim.c (gdbsim_stop): Add 'self' argument.
12242 (gdbsim_cntrl_c): Update.
12243 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
12244 * procfs.c (procfs_stop): Add 'self' argument.
12245 * nto-procfs.c (procfs_stop): Add 'self' argument.
12246 * monitor.c (monitor_stop): Add 'self' argument.
12247 (monitor_open): Update.
12248 * linux-nat.c (linux_nat_stop): Add argument.
12249 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
12250 * gnu-nat.c (gnu_stop): Add 'self' argument.
12251 * darwin-nat.c (darwin_stop): Add 'self' argument.
12252
12253 2014-02-19 Tom Tromey <tromey@redhat.com>
12254
12255 * target.h (struct target_ops) <to_thread_name>: Add argument.
12256 * target.c (target_thread_name): Add argument.
12257 (update_current_target): Update.
12258 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
12259
12260 2014-02-19 Tom Tromey <tromey@redhat.com>
12261
12262 * target.h (struct target_ops) <to_extra_thread_info>: Add
12263 argument.
12264 (target_extra_thread_info): Add argument.
12265 * target.c (update_current_target): Update.
12266 * remote.c (remote_threads_extra_info): Add 'self' argument.
12267 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
12268 argument.
12269 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
12270 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
12271 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
12272 argument.
12273 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
12274 argument.
12275 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
12276 argument.
12277 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
12278 argument.
12279
12280 2014-02-19 Tom Tromey <tromey@redhat.com>
12281
12282 * target.h (struct target_ops) <to_program_signals>: Add argument.
12283 * target.c (target_program_signals): Add argument.
12284 * remote.c (remote_program_signals): Add 'self' argument.
12285
12286 2014-02-19 Tom Tromey <tromey@redhat.com>
12287
12288 * target.h (struct target_ops) <to_pass_signals>: Add argument.
12289 * target.c (target_pass_signals): Add argument.
12290 * remote.c (remote_pass_signals): Add 'self' argument.
12291 (remote_start_remote): Update.
12292 * procfs.c (procfs_pass_signals): Add 'self' argument.
12293 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
12294 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
12295 (linux_nat_create_inferior, linux_nat_attach): Update.
12296
12297 2014-02-19 Tom Tromey <tromey@redhat.com>
12298
12299 * windows-nat.c (windows_can_run): Add 'self' argument.
12300 * target.h (struct target_ops) <to_can_run>: Add argument.
12301 (target_can_run): Add argument.
12302 * target.c (debug_to_can_run): Add argument.
12303 (update_current_target): Update.
12304 * nto-procfs.c (procfs_can_run): Add 'self' argument.
12305 * inf-child.c (inf_child_can_run): Add 'self' argument.
12306 * go32-nat.c (go32_can_run): Add 'self' argument.
12307
12308 2014-02-19 Tom Tromey <tromey@redhat.com>
12309
12310 * target.h (struct target_ops) <to_has_exited>: Add argument.
12311 (target_has_exited): Add argument.
12312 * target.c (debug_to_has_exited): Add argument.
12313 (update_current_target): Update.
12314
12315 2014-02-19 Tom Tromey <tromey@redhat.com>
12316
12317 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
12318 argument.
12319 (target_set_syscall_catchpoint): Add argument.
12320 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
12321 argument.
12322 * target.c (update_current_target): Update.
12323
12324 2014-02-19 Tom Tromey <tromey@redhat.com>
12325
12326 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
12327 argument.
12328 (target_remove_exec_catchpoint): Add argument.
12329 * target.c (debug_to_remove_exec_catchpoint): Add argument.
12330 (update_current_target): Update.
12331 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
12332 argument.
12333
12334 2014-02-19 Tom Tromey <tromey@redhat.com>
12335
12336 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
12337 argument.
12338 (target_insert_exec_catchpoint): Add argument.
12339 * target.c (debug_to_insert_exec_catchpoint): Add argument.
12340 (update_current_target): Update.
12341 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
12342 argument.
12343
12344 2014-02-19 Tom Tromey <tromey@redhat.com>
12345
12346 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
12347 argument.
12348 (target_remove_vfork_catchpoint): Add argument.
12349 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
12350 (update_current_target): Update.
12351 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
12352 argument.
12353
12354 2014-02-19 Tom Tromey <tromey@redhat.com>
12355
12356 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
12357 argument.
12358 (target_insert_vfork_catchpoint): Add argument.
12359 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
12360 (update_current_target): Update.
12361 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
12362 argument.
12363
12364 2014-02-19 Tom Tromey <tromey@redhat.com>
12365
12366 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
12367 argument.
12368 (target_remove_fork_catchpoint): Add argument.
12369 * target.c (debug_to_remove_fork_catchpoint): Add argument.
12370 (update_current_target): Update.
12371 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
12372 argument.
12373
12374 2014-02-19 Tom Tromey <tromey@redhat.com>
12375
12376 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
12377 argument.
12378 (target_insert_fork_catchpoint): Add argument.
12379 * target.c (debug_to_insert_fork_catchpoint): Add argument.
12380 (update_current_target): Update.
12381 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
12382 argument.
12383
12384 2014-02-19 Tom Tromey <tromey@redhat.com>
12385
12386 * target.h (struct target_ops) <to_post_startup_inferior>: Add
12387 argument.
12388 (target_post_startup_inferior): Add argument.
12389 * target.c (debug_to_post_startup_inferior): Add argument.
12390 (update_current_target): Update.
12391 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
12392 argument.
12393 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
12394 argument.
12395 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
12396 argument.
12397 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
12398 argument.
12399 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
12400 'self' argument.
12401 (super_post_startup_inferior): Likewise.
12402 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
12403 'self' argument.
12404 (super_post_startup_inferior): Likewise.
12405 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
12406 Add 'self' argument.
12407 (super_post_startup_inferior): Likewise.
12408
12409 2014-02-19 Tom Tromey <tromey@redhat.com>
12410
12411 * target.h (struct target_ops) <to_load>: Add argument.
12412 * target.c (target_load): Add argument.
12413 (debug_to_load): Add argument.
12414 (update_current_target): Update.
12415 * remote.c (remote_load): Add 'self' argument.
12416 * remote-sim.c (gdbsim_load): Add 'self' argument.
12417 * remote-mips.c (mips_load): Add 'self' argument.
12418 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
12419 * monitor.c (monitor_load): Add 'self' argument.
12420 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
12421
12422 2014-02-19 Tom Tromey <tromey@redhat.com>
12423
12424 * target.h (struct target_ops) <to_terminal_info>: Add argument.
12425 (target_terminal_info): Add argument.
12426 * target.c (debug_to_terminal_info): Add argument.
12427 (default_terminal_info): Likewise.
12428 * inflow.c (child_terminal_info): Add 'self' argument.
12429 * inferior.h (child_terminal_info): Add 'self' argument.
12430 * go32-nat.c (go32_terminal_info): Add 'self' argument.
12431
12432 2014-02-19 Tom Tromey <tromey@redhat.com>
12433
12434 * target.h (struct target_ops) <to_terminal_save_ours>: Add
12435 argument.
12436 (target_terminal_save_ours): Add argument.
12437 * target.c (debug_to_terminal_save_ours): Add argument.
12438 (update_current_target): Update.
12439 * inflow.c (terminal_save_ours): Add 'self' argument.
12440 * inferior.h (terminal_save_ours): Add 'self' argument.
12441
12442 2014-02-19 Tom Tromey <tromey@redhat.com>
12443
12444 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
12445 (target_terminal_ours): Add argument.
12446 * target.c (debug_to_terminal_ours): Add argument.
12447 (update_current_target): Update.
12448 * remote.c (remote_terminal_ours): Add 'self' argument.
12449 (remote_close): Update.
12450 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
12451 * inflow.c (terminal_ours): Add 'self' argument.
12452 * inferior.h (terminal_ours): Add 'self' argument.
12453 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12454
12455 2014-02-19 Pedro Alves <palves@redhat.com>
12456 Tom Tromey <tromey@redhat.com>
12457
12458 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
12459 argument.
12460 (target_terminal_ours_for_output): Add argument.
12461 * target.c (debug_to_terminal_ours_for_output): Add argument.
12462 (update_current_target): Update.
12463 * inflow.c (terminal_ours_for_output): Add 'self' argument.
12464 * inferior.h (terminal_ours_for_output): Add 'self' argument.
12465 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12466
12467 2014-02-19 Tom Tromey <tromey@redhat.com>
12468
12469 * target.h (struct target_ops) <to_terminal_inferior>: Add
12470 argument.
12471 * target.c (target_terminal_inferior): Add argument.
12472 (update_current_target): Update.
12473 * remote.c (remote_terminal_inferior): Add 'self' argument.
12474 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
12475 * inflow.c (terminal_inferior): Add 'self' argument.
12476 * inferior.h (terminal_inferior): Add 'self' argument.
12477 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
12478 (go32_terminal_inferior): Add 'self' argument.
12479
12480 2014-02-19 Tom Tromey <tromey@redhat.com>
12481
12482 * target.h (struct target_ops) <to_terminal_init>: Add argument.
12483 (target_terminal_init): Add argument.
12484 * target.c (debug_to_terminal_init): Add argument.
12485 (update_current_target): Update.
12486 * inflow.c (terminal_init_inferior): Add 'self' argument.
12487 * inferior.h (terminal_init_inferior): Add 'self' argument.
12488 * go32-nat.c (go32_terminal_init): Add 'self' argument.
12489 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
12490
12491 2014-02-19 Tom Tromey <tromey@redhat.com>
12492
12493 * target.h (struct target_ops)
12494 <to_can_accel_watchpoint_condition>: Add argument.
12495 (target_can_accel_watchpoint_condition): Add argument.
12496 * target.c (debug_to_can_accel_watchpoint_condition): Add
12497 argument.
12498 (update_current_target): Update.
12499 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
12500 'self' argument.
12501
12502 2014-02-19 Tom Tromey <tromey@redhat.com>
12503
12504 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
12505 Add argument.
12506 (target_region_ok_for_hw_watchpoint): Add argument.
12507 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
12508 (default_region_ok_for_hw_watchpoint): Add argument.
12509 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
12510 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
12511 argument.
12512 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
12513 argument.
12514 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
12515 argument.
12516 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
12517 'self' argument.
12518 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
12519 'self' argument.
12520 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
12521 'self' argument.
12522 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
12523 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
12524 'self' argument.
12525 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
12526 Add 'self' argument.
12527
12528 2014-02-19 Tom Tromey <tromey@redhat.com>
12529
12530 * target.h (struct target_ops) <to_insert_watchpoint>: Add
12531 argument.
12532 (target_insert_watchpoint): Add argument.
12533 * target.c (debug_to_insert_watchpoint): Add argument.
12534 (update_current_target): Update.
12535 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
12536 * remote.c (remote_insert_watchpoint): Add 'self' argument.
12537 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
12538 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
12539 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
12540 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
12541 argument.
12542 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
12543 (procfs_insert_hw_watchpoint): Add 'self' argument.
12544 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
12545 argument.
12546 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12547 argument.
12548 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12549 argument.
12550 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12551 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12552 argument.
12553 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12554 'self' argument.
12555
12556 2014-02-19 Tom Tromey <tromey@redhat.com>
12557
12558 * target.h (struct target_ops) <to_remove_watchpoint>: Add
12559 argument.
12560 (target_remove_watchpoint): Add argument.
12561 * target.c (debug_to_remove_watchpoint): Add argument.
12562 (update_current_target): Update.
12563 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12564 * remote.c (remote_remove_watchpoint): Add 'self' argument.
12565 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12566 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12567 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12568 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12569 argument.
12570 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12571 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12572 argument.
12573 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12574 argument.
12575 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12576 argument.
12577 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12578 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12579 argument.
12580 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12581 'self' argument.
12582
12583 2014-02-19 Tom Tromey <tromey@redhat.com>
12584
12585 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12586 argument.
12587 (target_remove_hw_breakpoint): Add argument.
12588 * target.c (debug_to_remove_hw_breakpoint): Add argument.
12589 (update_current_target): Update.
12590 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12591 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12592 argument.
12593 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12594 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12595 argument.
12596 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12597 'self' argument.
12598
12599 2014-02-19 Tom Tromey <tromey@redhat.com>
12600
12601 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
12602 argument.
12603 (target_insert_hw_breakpoint): Add argument.
12604 * target.c (debug_to_insert_hw_breakpoint): Add argument.
12605 (update_current_target): Update.
12606 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
12607 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
12608 argument.
12609 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
12610 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
12611 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
12612 argument.
12613 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
12614 'self' argument.
12615
12616 2014-02-19 Tom Tromey <tromey@redhat.com>
12617
12618 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
12619 argument.
12620 (target_can_use_hardware_watchpoint): Add argument.
12621 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
12622 (update_current_target): Update.
12623 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
12624 argument.
12625 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
12626 argument.
12627 * remote.c (remote_check_watch_resources): Add 'self' argument.
12628 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
12629 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
12630 argument.
12631 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
12632 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
12633 argument.
12634 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
12635 argument.
12636 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
12637 argument.
12638 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
12639 argument.
12640 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
12641 argument.
12642 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
12643 argument.
12644 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
12645 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
12646 argument.
12647 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
12648 'self' argument.
12649
12650 2014-02-19 Tom Tromey <tromey@redhat.com>
12651
12652 * target.h (struct target_ops) <to_post_attach>: Add argument.
12653 (target_post_attach): Add argument.
12654 * target.c (debug_to_post_attach): Add argument.
12655 (update_current_target): Update.
12656 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
12657 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
12658 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
12659 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
12660 * inf-child.c (inf_child_post_attach): Add 'self' argument.
12661
12662 2014-02-19 Tom Tromey <tromey@redhat.com>
12663
12664 * windows-nat.c (windows_close): Add 'self' argument.
12665 * tracepoint.c (tfile_close): Add 'self' argument.
12666 * target.h (struct target_ops) <to_close>: Add argument.
12667 * target.c (target_close): Add argument.
12668 (update_current_target): Update.
12669 * remote.c (remote_close): Add 'self' argument.
12670 * remote-sim.c (gdbsim_close): Add 'self' argument.
12671 * remote-mips.c (mips_close): Add 'self' argument.
12672 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
12673 * record-full.c (record_full_close): Add 'self' argument.
12674 * record-btrace.c (record_btrace_close): Add 'self' argument.
12675 * monitor.h (monitor_close): Add 'self' argument.
12676 * monitor.c (monitor_close): Add 'self' argument.
12677 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
12678 * linux-nat.c (linux_nat_close): Add argument.
12679 * go32-nat.c (go32_close): Add 'self' argument.
12680 * exec.c (exec_close_1): Add 'self' argument.
12681 * ctf.c (ctf_close): Add 'self' argument.
12682 * corelow.c (core_close): Add 'self' argument.
12683 (core_close_cleanup): Update.
12684 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
12685 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
12686
12687 2014-02-19 Tom Tromey <tromey@redhat.com>
12688
12689 * remote.c (remote_load): New function.
12690 (init_remote_ops): Use it.
12691
12692 2014-02-19 Tom Tromey <tromey@redhat.com>
12693
12694 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
12695 argument.
12696 * common/linux-btrace.h (linux_supports_btrace): Update.
12697 * remote.c (remote_supports_btrace): Add "self" argument.
12698 * target-delegates.c: Rebuild.
12699 * target.c (target_supports_btrace): Remove.
12700 * target.h (struct target_ops) <to_supports_btrace>: Add
12701 target_ops argument.
12702 (target_supports_btrace): New define.
12703
12704 2014-02-19 Tom Tromey <tromey@redhat.com>
12705
12706 * record-full.c (record_full_beneath_to_resume_ops)
12707 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
12708 (record_full_beneath_to_wait)
12709 (record_full_beneath_to_store_registers_ops)
12710 (record_full_beneath_to_store_registers)
12711 (record_full_beneath_to_xfer_partial_ops)
12712 (record_full_beneath_to_xfer_partial)
12713 (record_full_beneath_to_insert_breakpoint_ops)
12714 (record_full_beneath_to_insert_breakpoint)
12715 (record_full_beneath_to_remove_breakpoint_ops)
12716 (record_full_beneath_to_remove_breakpoint)
12717 (record_full_beneath_to_stopped_by_watchpoint)
12718 (record_full_beneath_to_stopped_data_address)
12719 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
12720 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
12721 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
12722 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
12723 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
12724 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
12725 (tmp_to_stopped_data_address, tmp_to_async): Remove.
12726 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
12727 (record_full_resume, record_full_wait_1)
12728 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
12729 (record_full_store_registers, record_full_xfer_partial)
12730 (record_full_insert_breakpoint, record_full_remove_breakpoint)
12731 (record_full_async, record_full_core_xfer_partial): Use target
12732 delegation.
12733 * target-delegates.c: Rebuild.
12734 * target.c (current_xfer_partial): Remove.
12735 (update_current_target): Do not INHERIT or de_fault
12736 to_insert_breakpoint, to_remove_breakpoint,
12737 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
12738 to_is_async_p, to_async. Do not set to_xfer_partial field.
12739 (default_xfer_partial): Simplify.
12740 (current_xfer_partial): Remove.
12741 (target_wait, target_resume): Simplify.
12742 (find_default_can_async_p, find_default_is_async_p): Update.
12743 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
12744 to_xfer_partial, to_stopped_by_watchpoint,
12745 to_stopped_data_address.
12746 (target_store_registers): Simplify.
12747 (forward_target_remove_breakpoint)
12748 (forward_target_insert_breakpoint): Remove.
12749 (target_remove_breakpoint, target_insert_breakpoint)
12750 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
12751 * target.h (struct target_ops) <to_resume, to_wait,
12752 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
12753 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
12754 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
12755 markup.
12756 (forward_target_remove_breakpoint)
12757 (forward_target_insert_breakpoint): Remove.
12758 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
12759 directly.
12760 (record_btrace_insert_breakpoint): Delegate directly.
12761
12762 2014-02-19 Tom Tromey <tromey@redhat.com>
12763
12764 PR build/7701:
12765 * target-delegates.c: New file.
12766 * target.c: Include target-delegates.c.
12767 (init_dummy_target): Call install_dummy_methods.
12768 (complete_target_initialization): Call install_delegators.
12769 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
12770 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
12771 * make-target-delegates: New file.
12772
12773 2014-02-19 Tom Tromey <tromey@redhat.com>
12774
12775 * record.c (find_record_target): Use find_target_at.
12776 * target.c (find_target_at): New function.
12777 * target.h (find_target_at): Declare.
12778
12779 2014-02-19 Tom Tromey <tromey@redhat.com>
12780
12781 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
12782 Add 'ops' argument.
12783 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
12784 'ops' argument.
12785 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
12786 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
12787 'ops' argument.
12788 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
12789 argument.
12790 * linux-nat.c (save_sigtrap): Update.
12791 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
12792 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
12793 (linux_nat_close): Update.
12794 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
12795 argument.
12796 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
12797 argument.
12798 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
12799 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
12800 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
12801 (tmp_to_async): Add 'ops' argument.
12802 (record_full_stopped_by_watchpoint, record_full_async)
12803 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
12804 argument.
12805 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
12806 (m32r_stopped_by_watchpoint): Add 'ops' argument.
12807 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
12808 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
12809 (remote_is_async_p, remote_async): Add 'ops' argument.
12810 (remote_stopped_data_address): Update.
12811 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
12812 * target.c (update_current_target)
12813 (find_default_can_async_p, find_default_is_async_p): Update.
12814 (init_dummy_target): Update.
12815 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
12816 * target.h (struct target_ops) <to_stopped_by_watchpoint,
12817 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
12818 (target_can_async_p, target_is_async_p, target_async)
12819 (target_stopped_by_watchpoint): Update.
12820
12821 2014-02-19 Yao Qi <yao@codesourcery.com>
12822
12823 PR gdb/16220
12824 * gdbarch.sh: Remove startup_gdbarch.
12825 * gdbarch.c: Regenerated.
12826 * gdbarch.h: Likewise.
12827
12828 2014-02-17 Kevin Buettner <kevinb@redhat.com>
12829
12830 * rl78-tdep.c (rl78_g10_register_name): New function.
12831 (rl78_return_value): Add g10 support.
12832 (rl78_gdbarch_init): Register rl78_g10_register_name for the
12833 g10.
12834
12835 2014-02-17 Doug Evans <xdje42@gmail.com>
12836
12837 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
12838 (SUBDIR_GUILE_SRCS): Ditto.
12839 (scm-gsmob.o): Ditto.
12840
12841 2014-02-17 Yao Qi <yao@codesourcery.com>
12842
12843 * gnu-nat.c (ILL_RPC): Declare defined function.
12844
12845 2014-02-17 Yao Qi <yao@codesourcery.com>
12846
12847 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
12848 mach_msg_type_number_t.
12849 (gnu_write_inferior): Likewise.
12850
12851 2014-02-17 Yao Qi <yao@codesourcery.com>
12852
12853 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
12854 in format string.
12855 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
12856 (inf_validate_procs, inf_signal): Likewise.
12857 (S_exception_raise_request): Likewise.
12858 (do_mach_notify_dead_name): Likewise.
12859 (steal_exc_port): Likewise.
12860 (gnu_read_inferior): Change 'copy_count''s type to
12861 mach_msg_type_number_t.
12862 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
12863 format string.
12864
12865 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
12866
12867 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
12868 flag. Adjust all users; in particular...
12869 (gnu_wait): ..., don't decrement its value in here...
12870 (gnu_create_inferior): ..., and instead set the flag in here,
12871 around the startup_inferior call, and call that one with
12872 START_INFERIOR_TRAPS_EXPECTED.
12873
12874 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
12875 (ILL_RPC): ... new macro.
12876 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
12877 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
12878 (do_mach_notify_send_once, S_proc_setmsgport_reply)
12879 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
12880 functions with ILL_RPC macro.
12881 (S_proc_pid2task_reply, S_proc_task2pid_reply)
12882 (S_proc_task2proc_reply, S_proc_proc2task_reply)
12883 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
12884 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
12885 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
12886 (S_proc_getlogin_reply, S_proc_getsid_reply)
12887 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
12888 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
12889 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
12890 (S_proc_getnports_reply, S_proc_is_important_reply)
12891 (S_proc_get_code_reply): New stub functions, generated with
12892 ILL_RPC macro.
12893
12894 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
12895 collected the type check structures.
12896
12897 * reply_mig_hack.awk: Don't expect to see the auto keyword.
12898
12899 2014-02-14 Doug Evans <dje@google.com>
12900
12901 * target.c (target_write_partial): Fix result type.
12902
12903 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
12904
12905 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
12906 the proper offsets to access fpregset_t.
12907
12908 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
12909
12910 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
12911 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
12912 * h8300-tdep.c (setmachinelist): Remove global.
12913 * hppa-tdep.c (hppa_sigtramp): Remove global.
12914 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
12915 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
12916 * ravenscar-thread.c (update_target_observer): Remove global.
12917 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
12918
12919 2014-02-12 Tom Tromey <tromey@redhat.com>
12920
12921 * common/rsp-low.c: Update comments.
12922 * common/rsp-low.h: Update comments.
12923
12924 2014-02-12 Tom Tromey <tromey@redhat.com>
12925
12926 * common/rsp-low.c (convert_ascii_to_int): Remove.
12927 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
12928
12929 2014-02-12 Tom Tromey <tromey@redhat.com>
12930
12931 * common/rsp-low.h (unhexify): Don't declare.
12932 * common/rsp-low.c (unhexify): Remove.
12933
12934 2014-02-12 Tom Tromey <tromey@redhat.com>
12935
12936 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
12937 * common/rsp-low.c (convert_int_to_ascii): Remove.
12938
12939 2014-02-12 Tom Tromey <tromey@redhat.com>
12940
12941 * common/rsp-low.h (hexify): Don't declare.
12942 * common/rsp-low.c (hexify): Remove.
12943
12944 2014-02-12 Tom Tromey <tromey@redhat.com>
12945
12946 * common/rsp-low.c (hexify): Never take strlen of argument.
12947
12948 2014-02-12 Tom Tromey <tromey@redhat.com>
12949
12950 * common/rsp-low.c (bin2hex): Never take strlen of argument.
12951 * remote.c (extended_remote_run, remote_rcmd)
12952 (remote_download_trace_state_variable, remote_save_trace_data)
12953 (remote_set_trace_notes): Update.
12954 * tracepoint.c (encode_source_string, tfile_write_status)
12955 (tfile_write_uploaded_tsv): Update.
12956
12957 2014-02-12 Tom Tromey <tromey@redhat.com>
12958
12959 * tracepoint.c: Include rsp-low.h.
12960 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
12961 * remote.c: Include rsp-low.h.
12962 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
12963 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
12964 (remote_unescape_input): Move to common/rsp-low.c.
12965 * common/rsp-low.h: New file.
12966 * common/rsp-low.c: New file.
12967 * Makefile.in (SFILES): Add common/rsp-low.c.
12968 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
12969 (COMMON_OBS): Add rsp-low.o.
12970 (rsp-low.o): New target.
12971
12972 2014-02-12 Tom Tromey <tromey@redhat.com>
12973
12974 * utils.h: Include print-utils.h.
12975 (host_address_to_string, plongest, pulongest, phex, phex_nz)
12976 (int_string, core_addr_to_string, core_addr_to_string_nz)
12977 (hex_string, hex_string_custom): Don't declare.
12978 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
12979 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
12980 (hex_string_custom, int_string, core_addr_to_string)
12981 (core_addr_to_string_nz, host_address_to_string): Move to
12982 common/print-utils.c.
12983 * common/print-utils.h: New file.
12984 * common/print-utils.c: New file
12985 * Makefile.in (SFILES): Add common/print-utils.c.
12986 (HFILES_NO_SRCDIR): Add common/print-utils.h.
12987 (COMMON_OBS): Add print-utils.o.
12988 (print-utils.o): New target.
12989
12990 2014-02-12 Tom Tromey <tromey@redhat.com>
12991
12992 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
12993
12994 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12995
12996 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
12997
12998 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12999
13000 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
13001 if a PT_IO ptrace request returns sucessfully but indicates that 0
13002 bytes were transferred.
13003
13004 2014-02-12 Pedro Alves <palves@redhat.com>
13005 Kevin Buettner <kevinb@redhat.com>
13006
13007 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
13008 TYPE_INSTANCE_FLAG_CODE_SPACE.
13009
13010 2014-02-12 Pedro Alves <palves@redhat.com>
13011
13012 * h8300-tdep.c (pseudo_from_raw_register)
13013 (raw_from_pseudo_register): New functions.
13014 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
13015 them.
13016
13017 2014-02-12 Pedro Alves <palves@redhat.com>
13018
13019 * h8300-tdep.c (h8300_register_sim_regno): New function.
13020 (h8300_gdbarch_init): Install h8300_register_sim_regno as
13021 gdbarch_register_sim_regno hook.
13022
13023 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
13024
13025 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
13026
13027 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
13028
13029 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
13030
13031 2014-02-12 Mark Kettenis <kettenis@gnu.org>
13032
13033 * obsd-tdep.h (obsd_init_abi): New prototype.
13034 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
13035 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
13036 (obsd_init_abi): New functions.
13037 * i386obsd-tdep.c: Include "obsd-tdep.h".
13038 (i386obsd_init_abi): Call obsd_init_abi.
13039 * amd64obsd-tdep.c: Include "obsd-tdep.h".
13040 (amd64obsd_init_abi): Call obsd_init_abi.
13041 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
13042 obsd-tdep.c to gdb_target_obs.
13043
13044 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
13045
13046 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
13047 double float arguments to 16-byte in the argument slots.
13048
13049 2014-02-11 Doug Evans <xdje42@gmail.com>
13050
13051 * configure.ac: Don't crash if pkg-config is not found and guile
13052 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
13053 in guile checks.
13054 * configure: Regenerate.
13055
13056 2014-02-11 Yao Qi <yao@codesourcery.com>
13057
13058 * aix-thread.c (aix_thread_xfer_partial): Update comments.
13059 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
13060 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
13061 * gnu-nat.c (gnu_xfer_memory): Likewise.
13062 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
13063 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13064 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13065 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13066
13067 2014-02-11 Yao Qi <yao@codesourcery.com>
13068
13069 * target.h (enum target_xfer_error): Rename to ...
13070 (enum target_xfer_status): ... it. New. All users updated.
13071 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
13072 New.
13073 (TARGET_XFER_STATUS_ERROR_P): New macro.
13074 (target_xfer_error_to_string): Remove declaration.
13075 (target_xfer_status_to_string): Declare.
13076 (target_xfer_partial_ftype): Adjust it.
13077 (struct target_ops) <to_xfer_partial>: Return
13078 target_xfer_status. Add argument xfered_len. Update
13079 comments.
13080 * target.c (target_xfer_error_to_string): Rename to ...
13081 (target_xfer_status_to_string): ... it. New. All callers
13082 updated.
13083 (target_read_live_memory): Likewise. Call target_xfer_partial
13084 instead of target_read.
13085 (memory_xfer_live_readonly_partial): Return
13086 target_xfer_status. Add argument xfered_len.
13087 (raw_memory_xfer_partial): Likewise.
13088 (memory_xfer_partial_1): Likewise.
13089 (memory_xfer_partial): Likewise.
13090 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
13091 properly. Update debug message.
13092 (default_xfer_partial, current_xfer_partial): Likewise.
13093 (target_write_partial): Likewise.
13094 (target_read_partial): Likewise. All callers updated.
13095 (read_whatever_is_readable): Likewise.
13096 (target_write_with_progress): Likewise.
13097 (target_read_alloc_1): Likewise.
13098
13099 * aix-thread.c (aix_thread_xfer_partial): Likewise.
13100 * auxv.c (procfs_xfer_auxv): Likewise.
13101 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
13102 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13103 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13104 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
13105 * corefile.c (read_memory): Adjust.
13106 * corelow.c (core_xfer_partial): Likewise.
13107 * ctf.c (ctf_xfer_partial): Likewise.
13108 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
13109 updated.
13110 (darwin_xfer_partial): Likewise.
13111 * exec.c (section_table_xfer_memory_partial): Likewise. All
13112 callers updated.
13113 (exec_xfer_partial): Likewise.
13114 * exec.h (section_table_xfer_memory_partial): Update
13115 declaration.
13116 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
13117 negative.
13118 (gnu_xfer_partial): Likewise.
13119 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
13120 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
13121 (ia64_hpux_xfer_solib_got): Likewise.
13122 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
13123 type of 'partial_len' to ULONGEST.
13124 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13125 * linux-nat.c (linux_xfer_siginfo ): Likewise.
13126 (linux_nat_xfer_partial): Likewise.
13127 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
13128 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
13129 * monitor.c (monitor_xfer_memory): Likewise.
13130 (monitor_xfer_partial): Likewise.
13131 * procfs.c (procfs_xfer_partial): Likewise.
13132 * record-btrace.c (record_btrace_xfer_partial): Likewise.
13133 * record-full.c (record_full_xfer_partial): Likewise.
13134 (record_full_core_xfer_partial): Likewise.
13135 * remote-sim.c (gdbsim_xfer_memory): Likewise.
13136 (gdbsim_xfer_partial): Likewise.
13137 * remote.c (remote_write_bytes_aux): Likewise. All callers
13138 updated.
13139 (remote_write_bytes, remote_read_bytes): Likewise. All
13140 callers updated.
13141 (remote_flash_erase): Likewise. All callers updated.
13142 (remote_write_qxfer): Likewise. All callers updated.
13143 (remote_read_qxfer): Likewise. All callers updated.
13144 (remote_xfer_partial): Likewise.
13145 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13146 (rs6000_xfer_shared_libraries): Likewise.
13147 * sol-thread.c (sol_thread_xfer_partial): Likewise.
13148 (sol_thread_xfer_partial): Likewise.
13149 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13150 (sparc_xfer_partial): Likewise.
13151 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
13152 updated.
13153 (spu_xfer_partial): Likewise.
13154 * spu-multiarch.c (spu_xfer_partial): Likewise.
13155 * tracepoint.c (tfile_xfer_partial): Likewise.
13156 * windows-nat.c (windows_xfer_memory): Likewise.
13157 (windows_xfer_shared_libraries): Likewise.
13158 (windows_xfer_partial): Likewise.
13159 * valprint.c: Replace 'target_xfer_error' with
13160 'target_xfer_status' in comments.
13161
13162 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
13163
13164 Checked in by Joel Brobecker <brobecker@adacore.com>.
13165 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
13166
13167 2014-02-11 Joel Brobecker <brobecker@adacore.com>
13168
13169 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
13170 function parameters.
13171
13172 2014-02-10 Will Newton <will.newton@linaro.org>
13173
13174 * elfread.c (elf_rel_plt_read): Look for a .got section if
13175 looking up .got.plt fails.
13176 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
13177 on address passed to elf_gnu_ifunc_record_cache.
13178 (elf_gnu_ifunc_resolve_addr): Likewise.
13179 (elf_gnu_ifunc_resolver_return_stop): Likewise.
13180
13181 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
13182
13183 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
13184 (X_RETTURN): New macro.
13185 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
13186
13187 * sparc64-tdep.c (sparc64_init_abi): Hook
13188 sparc_in_function_epilogue_p.
13189
13190 2014-02-10 Gary Benson <gbenson@redhat.com>
13191
13192 * symfile-debug.c (debug_qf_expand_symtabs_matching):
13193 Rename name_matcher to symbol_matcher.
13194
13195 2014-02-10 Gary Benson <gbenson@redhat.com>
13196
13197 * symfile-debug.c (debug_qf_expand_symtabs_matching):
13198 Use expand_symtabs_file_matcher_ftype and
13199 expand_symtabs_symbol_matcher_ftype.
13200
13201 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13202
13203 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
13204 (struct ada_symbol_cache): New.
13205 (ada_free_symbol_cache): Forward declare.
13206 (struct ada_pspace_data): New.
13207 (ada_pspace_data_handle): New static global.
13208 (get_ada_pspace_data, ada_pspace_data_cleanup)
13209 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
13210 (cache_space, cache): Delete, now folded inside struct
13211 ada_pspace_data.
13212 (ada_get_symbol_cache): New function.
13213 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
13214 implementation.
13215 (_initialize_ada_language): Remove initialization of cache_space.
13216 Move call to observer_attach_inferior_exit up, grouping it
13217 with the other observer registrations inside this function.
13218 Rename command to be more general. Add call to
13219 register_program_space_data_with_cleanup.
13220
13221 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13222
13223 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
13224 ada_new_objfile_observer.
13225 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
13226 (_initialize_tasks): Update uses of ada_new_objfile_observer
13227 and ada_tasks_normal_stop_observer.
13228
13229 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13230
13231 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
13232 returned by the 'Length attribute to integer.
13233
13234 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13235
13236 * ada-lang.c (_initialize_ada_language): Initialize
13237 cache_space obstack.
13238
13239 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13240
13241 * ada-lang.c (HASH_SIZE): New macro.
13242 (struct cache_entry): New type.
13243 (cache_space, cache): New static globals.
13244 (ada_clear_symbol_cache, find_entry): New functions.
13245 (lookup_cached_symbol, cache_symbol): Implement.
13246 (ada_new_objfile_observer, ada_free_objfile_observer): New.
13247 (_initialize_ada_language): Attach ada_new_objfile_observer
13248 and ada_free_objfile_observer.
13249
13250 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13251
13252 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
13253 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
13254 struct block * parameter.
13255 (ada_lookup_symbol_list_worker): Constify local variable "block".
13256 Remove cast which is no longer necessary.
13257
13258 2014-02-10 Doug Evans <xdje42@gmail.com>
13259
13260 Add Guile as an extension language.
13261 * NEWS: Mention Guile scripting.
13262 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
13263 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
13264 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
13265 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
13266 (CLIBS): Add GUILE_LIBS.
13267 (install-guile): New rule.
13268 (guile.o): New rule.
13269 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
13270 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
13271 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
13272 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
13273 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
13274 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
13275 (scm-type.o, scm-utils.o, scm-value.o): New rules.
13276 * configure.ac: New option --with-guile.
13277 * configure: Regenerate.
13278 * config.in: Regenerate.
13279 * auto-load.c: Remove #include "python/python.h". Add #include
13280 "gdb/section-scripts.h".
13281 (source_section_scripts): Handle Guile scripts.
13282 (_initialize_auto_load): Add name of Guile objfile script to
13283 scripts-directory help text.
13284 * breakpoint.c (condition_command): Tweak comment to include Scheme.
13285 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
13286 (struct breakpoint): New member scm_bp_object.
13287 * defs.h (enum command_control_type): New value guile_control.
13288 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
13289 "extension.h".
13290 (show_user): Update comment.
13291 (_initialize_cli_cmds): Update help text for "show user". Update help
13292 text for max-user-call-depth.
13293 * cli/cli-script.c: Remove #include "python/python.h". Add #include
13294 "extension.h".
13295 (multi_line_command_p): Add guile_control.
13296 (print_command_lines): Handle guile_control.
13297 (execute_control_command, recurse_read_control_structure): Ditto.
13298 (process_next_line): Recognize "guile" commands.
13299 * disasm.c (gdb_disassemble_info): Make non-static.
13300 * disasm.h: #include "dis-asm.h".
13301 (struct gdbarch): Add forward decl.
13302 (gdb_disassemble_info): Declare.
13303 * extension.c: #include "guile/guile.h".
13304 (extension_languages): Add guile.
13305 (get_ext_lang_defn): Handle EXT_LANG_GDB.
13306 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
13307 * gdbtypes.c (get_unsigned_type_max): New function.
13308 (get_signed_type_minmax): New function.
13309 * gdbtypes.h (get_unsigned_type_max): Declare.
13310 (get_signed_type_minmax): Declare.
13311 * guile/README: New file.
13312 * guile/guile-internal.h: New file.
13313 * guile/guile.c: New file.
13314 * guile/guile.h: New file.
13315 * guile/scm-arch.c: New file.
13316 * guile/scm-auto-load.c: New file.
13317 * guile/scm-block.c: New file.
13318 * guile/scm-breakpoint.c: New file.
13319 * guile/scm-disasm.c: New file.
13320 * guile/scm-exception.c: New file.
13321 * guile/scm-frame.c: New file.
13322 * guile/scm-gsmob.c: New file.
13323 * guile/scm-iterator.c: New file.
13324 * guile/scm-lazy-string.c: New file.
13325 * guile/scm-math.c: New file.
13326 * guile/scm-objfile.c: New file.
13327 * guile/scm-ports.c: New file.
13328 * guile/scm-pretty-print.c: New file.
13329 * guile/scm-safe-call.c: New file.
13330 * guile/scm-string.c: New file.
13331 * guile/scm-symbol.c: New file.
13332 * guile/scm-symtab.c: New file.
13333 * guile/scm-type.c: New file.
13334 * guile/scm-utils.c: New file.
13335 * guile/scm-value.c: New file.
13336 * guile/lib/gdb.scm: New file.
13337 * guile/lib/gdb/boot.scm: New file.
13338 * guile/lib/gdb/experimental.scm: New file.
13339 * guile/lib/gdb/init.scm: New file.
13340 * guile/lib/gdb/iterator.scm: New file.
13341 * guile/lib/gdb/printing.scm: New file.
13342 * guile/lib/gdb/types.scm: New file.
13343 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
13344 (VPATH): Add $(GUILE_SRCDIR).
13345 (GUILE_DIR): New variable.
13346 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
13347 (all): Add stamp-guile dependency.
13348 (stamp-guile): New rule.
13349 (clean-guile, install-guile, uninstall-guile): New rules.
13350 (install-only): Add install-guile dependency.
13351 (uninstall): Add uninstall-guile dependency.
13352 (clean): Add clean-guile dependency.
13353
13354 2014-02-09 Doug Evans <xdje42@gmail.com>
13355
13356 Revert this patch (which I approved, mea culpa).
13357
13358 2014-02-08 Mark Kettenis <kettenis@gnu.org>
13359
13360 * Makefile.in (all-lib): Remove.
13361 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13362
13363 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13364
13365 Fix Python stack corruption.
13366 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
13367 gdb_py_longest.
13368
13369 2014-02-08 Mark Kettenis <kettenis@gnu.org>
13370
13371 * Makefile.in (all-lib): Remove.
13372 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13373
13374 2014-02-07 Doug Evans <dje@google.com>
13375
13376 * extension-priv.h (extension_language_script_ops): Add comment.
13377 (extension_language_ops): Add comment.
13378 (active_ext_lang_state): Fix typo in comment.
13379
13380 2014-02-07 Pedro Alves <palves@redhat.com>
13381
13382 PR breakpoints/16292
13383 * infrun.c (handle_signal_stop) <signal arrives while stepping
13384 over a breakpoint>: Switch back to the stepping thread.
13385
13386 2014-02-07 Yao Qi <yao@codesourcery.com>
13387
13388 * target.c (target_xfer_partial): Return zero if LEN is zero.
13389
13390 2014-02-07 Yao Qi <yao@codesourcery.com>
13391
13392 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
13393 (ld_so_xfer_auxv): Likewise.
13394 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13395 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13396 * corelow.c (core_xfer_partial): Likewise.
13397 * ctf.c (ctf_xfer_partial): Likewise.
13398 * darwin-nat.c (darwin_read_dyld_info): Likewise.
13399 (darwin_xfer_partial): Likewise.
13400 * exec.c (exec_xfer_partial): Likewise.
13401 * gnu-nat.c (gnu_xfer_partial): Likewise.
13402 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
13403 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
13404 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13405 * linux-nat.c (linux_xfer_siginfo): Likewise.
13406 (linux_proc_xfer_spu): Likewise.
13407 * procfs.c (procfs_xfer_partial): Likewise.
13408 * record-full.c (record_full_xfer_partial): Likewise.
13409 (record_full_core_xfer_partial): Likewise.
13410 * remote-sim.c (gdbsim_xfer_partial): Likewise.
13411 * remote.c (remote_write_qxfer): Likewise.
13412 (remote_write_qxfer, remote_read_qxfer): Likewise.
13413 (remote_xfer_partial): Likewise.
13414 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13415 (rs6000_xfer_shared_libraries): Likewise.
13416 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13417 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13418 (spu_xfer_partial): Likewise.
13419 * target.c (memory_xfer_partial_1): Likewise.
13420 * tracepoint.c (tfile_xfer_partial): Likewise.
13421 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
13422 (windows_xfer_partial): Likewise.
13423
13424 2014-02-07 Yao Qi <yao@codesourcery.com>
13425
13426 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
13427 comments.
13428 (core_xfer_shared_libraries_aix): Likewise.
13429 * gdbarch.c, gdbarch.h: Regenerated.
13430 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
13431 ULONGEST. Change 'len_avail' type to ULONGEST.
13432 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13433 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13434 declaration.
13435 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
13436
13437 2014-02-07 Yao Qi <yao@codesourcery.com>
13438
13439 * corefile.c (memory_error): Get 'exception' from ERR and pass
13440 'exception' to throw_error.
13441
13442 2014-02-06 Doug Evans <xdje42@gmail.com>
13443
13444 * configure.ac (libpython checking): Remove all but python.o from
13445 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
13446 * configure: Regenerate.
13447
13448 * Makefile.in (SFILES): Add extension.c.
13449 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
13450 (COMMON_OBS): Add extension.o.
13451 * extension.h: New file.
13452 * extension-priv.h: New file.
13453 * extension.c: New file.
13454
13455 * python/python-internal.h: #include "extension.h".
13456 (gdbpy_auto_load_enabled): Declare.
13457 (gdbpy_apply_val_pretty_printer): Declare.
13458 (gdbpy_apply_frame_filter): Declare.
13459 (gdbpy_preserve_values): Declare.
13460 (gdbpy_breakpoint_cond_says_stop): Declare.
13461 (gdbpy_breakpoint_has_cond): Declare.
13462 (void source_python_script_for_objfile): Delete.
13463 * python/python.c: #include "extension-priv.h".
13464 Delete inclusion of "observer.h".
13465 (extension_language_python): Moved here and renamed from
13466 script_language_python in py-auto-load.c.
13467 Redefined to be of type extension_language_defn.
13468 (python_extension_script_ops): New global.
13469 (python_extension_ops): New global.
13470 (struct python_env): New member previous_active.
13471 (restore_python_env): Call restore_active_ext_lang.
13472 (ensure_python_env): Call set_active_ext_lang.
13473 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
13474 New arg extlang.
13475 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
13476 New arg extlang.
13477 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
13478 New arg extlang.
13479 (gdbpy_eval_from_control_command): Renamed from
13480 eval_python_from_control_command, made static. New arg extlang.
13481 (gdbpy_source_script) Renamed from source_python_script, made static.
13482 New arg extlang.
13483 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
13484 result to int. New arg extlang.
13485 (gdbpy_source_objfile_script): Renamed from
13486 source_python_script_for_objfile, made static. New arg extlang.
13487 (gdbpy_start_type_printers): Renamed from start_type_printers, made
13488 static. New args extlang, extlang_printers. Change result type to
13489 "void".
13490 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
13491 static. New arg extlang. Rename arg printers to extlang_printers
13492 and change type to ext_lang_type_printers *.
13493 (gdbpy_free_type_printers): Renamed from free_type_printers, made
13494 static. Replace argument arg with extlang, extlang_printers.
13495 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
13496 (!HAVE_PYTHON, source_python_script): Delete.
13497 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
13498 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
13499 (!HAVE_PYTHON, start_type_printers): Delete.
13500 (!HAVE_PYTHON, apply_type_printers): Delete.
13501 (!HAVE_PYTHON, free_type_printers): Delete.
13502 (_initialize_python): Delete call to observer_attach_before_prompt.
13503 (finalize_python): Set/restore active extension language.
13504 (gdbpy_finish_initialization) Renamed from
13505 finish_python_initialization, made static. New arg extlang.
13506 (gdbpy_initialized): New function.
13507 * python/python.h: #include "extension.h". Delete #include
13508 "value.h", "mi/mi-cmds.h".
13509 (extension_language_python): Declare.
13510 (GDBPY_AUTO_FILE_NAME): Delete.
13511 (enum py_bt_status): Moved to extension.h and renamed to
13512 ext_lang_bt_status.
13513 (enum frame_filter_flags): Moved to extension.h.
13514 (enum py_frame_args): Moved to extension.h and renamed to
13515 ext_lang_frame_args.
13516 (finish_python_initialization): Delete.
13517 (eval_python_from_control_command): Delete.
13518 (source_python_script): Delete.
13519 (apply_val_pretty_printer): Delete.
13520 (apply_frame_filter): Delete.
13521 (preserve_python_values): Delete.
13522 (gdbpy_script_language_defn): Delete.
13523 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
13524 (start_type_printers, apply_type_printers, free_type_printers): Delete.
13525
13526 * auto-load.c: #include "extension.h".
13527 (GDB_AUTO_FILE_NAME): Delete.
13528 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
13529 (script_language_gdb): Delete, moved to extension.c and renamed to
13530 extension_language_gdb.
13531 (source_gdb_script_for_objfile): Delete.
13532 (auto_load_pspace_info): New member unsupported_script_warning_printed.
13533 (loaded_script): Change type of language member to
13534 struct extension_language_defn *.
13535 (init_loaded_scripts_info): Initialize
13536 unsupported_script_warning_printed.
13537 (maybe_add_script): Make static. Change type of language arg to
13538 struct extension_language_defn *.
13539 (clear_section_scripts): Reset unsupported_script_warning_printed.
13540 (auto_load_objfile_script_1): Rewrite to use extension language API.
13541 (auto_load_objfile_script): Make public. Remove support-compiled-in
13542 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
13543 (source_section_scripts): Rewrite to use extension language API.
13544 (load_auto_scripts_for_objfile): Rewrite to use
13545 auto_load_scripts_for_objfile.
13546 (collect_matching_scripts_data): Change type of language member to
13547 struct extension_language_defn *.
13548 (auto_load_info_scripts): Change type of language arg to
13549 struct extension_language_defn *.
13550 (unsupported_script_warning_print): New function.
13551 (script_not_found_warning_print): Make static.
13552 (_initialize_auto_load): Rewrite construction of scripts-directory
13553 help.
13554 * auto-load.h (struct objfile): Add forward decl.
13555 (struct script_language): Delete.
13556 (struct auto_load_pspace_info): Add forward decl.
13557 (struct extension_language_defn): Add forward decl.
13558 (maybe_add_script): Delete.
13559 (auto_load_objfile_script): Declare.
13560 (script_not_found_warning_print): Delete.
13561 (auto_load_info_scripts): Update prototype.
13562 (auto_load_gdb_scripts_enabled): Declare.
13563 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13564 auto_load_python_scripts_enabled and made public.
13565 (script_language_python): Delete, moved to python.c.
13566 (gdbpy_script_language_defn): Delete.
13567 (info_auto_load_python_scripts): Update to use
13568 extension_language_python.
13569
13570 * breakpoint.c (condition_command): Replace call to
13571 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13572 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13573 with call to breakpoint_ext_lang_cond_says_stop.
13574 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13575 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
13576 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13577 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13578 New arg slang.
13579 (local_setattro): Print name of extension language with existing
13580 stop condition.
13581
13582 * valprint.c (val_print, value_print): Update to call
13583 apply_ext_lang_val_pretty_printer.
13584 * cp-valprint.c (cp_print_value): Update call to
13585 apply_ext_lang_val_pretty_printer.
13586 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13587 (gdbpy_apply_val_pretty_printer): Renamed from
13588 apply_val_pretty_printer. New arg extlang.
13589 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13590
13591 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13592 extension language API.
13593 * cli/cli-script.c (execute_control_command): Update to call
13594 eval_ext_lang_from_control_command.
13595
13596 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13597 enum ext_lang_bt_status values. Update call to
13598 apply_ext_lang_frame_filter.
13599 (mi_cmd_stack_list_locals): Ditto.
13600 (mi_cmd_stack_list_args): Ditto.
13601 (mi_cmd_stack_list_variables): Ditto.
13602 * mi/mi-main.c: Delete #include "python/python-internal.h".
13603 Add #include "extension.h".
13604 (mi_cmd_list_features): Replace reference to python internal variable
13605 gdb_python_initialized with call to ext_lang_initialized_p.
13606
13607 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
13608 Update to use enum ext_lang_frame_args. Update to call
13609 apply_ext_lang_frame_filter.
13610 * python/py-framefilter.c (extract_sym): Update to use enum
13611 ext_lang_bt_status.
13612 (extract_value, py_print_type, py_print_value): Ditto.
13613 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
13614 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
13615 (py_print_frame): Ditto.
13616 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
13617 New arg extlang. Update to use enum ext_lang_bt_status.
13618
13619 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
13620 finish_python_initialization. Replace with call to
13621 finish_ext_lang_initialization.
13622
13623 * typeprint.c (do_free_global_table): Update to call
13624 free_ext_lang_type_printers.
13625 (create_global_typedef_table): Update to call
13626 start_ext_lang_type_printers.
13627 (find_global_typedef): Update to call apply_ext_lang_type_printers.
13628 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
13629 (type_print_options): Change type of global_printers from "void *"
13630 to "struct ext_lang_type_printers *".
13631
13632 * value.c (preserve_values): Update to call preserve_ext_lang_values.
13633 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
13634 (gdbpy_preserve_values): Renamed from preserve_python_values.
13635 New arg extlang.
13636 (!HAVE_PYTHON, preserve_python_values): Delete.
13637
13638 * utils.c (quit_flag): Delete, moved to extension.c.
13639 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
13640 extension.c.
13641
13642 * eval.c: Delete #include "python/python.h".
13643 * main.c: Delete #include "python/python.h".
13644
13645 * defs.h: Update comment.
13646
13647 2014-02-06 Joel Brobecker <brobecker@adacore.com>
13648
13649 GDB 7.7 released.
13650
13651 2014-02-05 Mark Kettenis <kettenis@gnu.org>
13652
13653 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
13654 defined.
13655
13656 2014-02-05 Yao Qi <yao@codesourcery.com>
13657
13658 * remote.c (remote_pass_signals): Remove local 'buf' and use
13659 rs->buf.
13660 (remote_program_signals): Likewise.
13661
13662 2014-02-05 Yao Qi <yao@codesourcery.com>
13663
13664 * ctf.c: Include "inferior.h" and "gdbthread.h".
13665 (CTF_PID): A new macro.
13666 (ctf_open): Call inferior_appeared and add_thread_silent.
13667 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
13668 (ctf_thread_alive): New function.
13669 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
13670
13671 2014-02-05 Yao Qi <yao@codesourcery.com>
13672
13673 Revert this patch:
13674
13675 2013-05-24 Yao Qi <yao@codesourcery.com>
13676
13677 * tracepoint.c (TFILE_PID): Remove.
13678 (tfile_open): Don't add thread and inferior.
13679 (tfile_close): Don't set 'inferior_ptid'. Don't call
13680 exit_inferior_silent.
13681 (tfile_thread_alive): Remove.
13682 (init_tfile_ops): Don't set field 'to_thread_alive' of
13683 tfile_ops.
13684
13685 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
13686
13687 * remote.c (remote_start_remote): Call remote_check_symbols even
13688 if only symbol-file (not file) has been given.
13689
13690 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13691
13692 * gdbarch.sh (skip_entrypoint): New callback.
13693 * gdbarch.c, gdbarch.h: Regenerate.
13694 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
13695 * infrun.c (fill_in_stop_func): Likewise.
13696 * ppc-linux-tdep.c: Include "elf/ppc64.h".
13697 (ppc_elfv2_elf_make_msymbol_special): New function.
13698 (ppc_elfv2_skip_entrypoint): Likewise.
13699 (ppc_linux_init_abi): Install them for ELFv2.
13700
13701 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13702
13703 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
13704 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
13705 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
13706 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
13707 structures returned in GPRs.
13708
13709 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13710
13711 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
13712 offset to the stack parameter list for the ELFv2 ABI.
13713
13714 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13715
13716 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
13717 set_gdbarch_convert_from_func_ptr_addr and
13718 set_gdbarch_elf_make_msymbol_special for ELFv1.
13719 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
13720 function descriptors on ELFv1.
13721 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
13722 set up r12 at function entry.
13723
13724 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13725
13726 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
13727 (struct gdbarch_tdep): New member elf_abi.
13728
13729 * rs6000-tdep.c: Include "elf/ppc64.h".
13730 (rs6000_gdbarch_init): Detect ELF ABI version.
13731
13732 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13733
13734 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
13735 within a register pair holding a DFP 128-bit value on little-endian.
13736 (ppc64_sysv_abi_return_value_base): Likewise.
13737 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
13738 (dfp_pseudo_register_write): Likewise.
13739
13740 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13741
13742 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
13743 offset on little-endian when passing _Decimal32.
13744 (ppc64_sysv_abi_return_value_base): Likewise for return values.
13745
13746 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13747
13748 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
13749 of the overlapped FP register within the VSX register on little-
13750 endian platforms.
13751 (efpr_pseudo_register_write): Likewise.
13752
13753 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13754
13755 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
13756 offset on little-endian when passing small structures.
13757
13758 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13759
13760 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
13761 (struct ppc64_sysv_argpos): New data structure.
13762 (ppc64_sysv_abi_push_float): Remove.
13763 (ppc64_sysv_abi_push_val): New function.
13764 (ppc64_sysv_abi_push_integer): Likewise.
13765 (ppc64_sysv_abi_push_freg): Likewise.
13766 (ppc64_sysv_abi_push_vreg): Likewise.
13767 (ppc64_sysv_abi_push_param): Likewise.
13768 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
13769 (ppc64_sysv_abi_return_value_base): New function.
13770 (ppc64_sysv_abi_return_value): Refactor to use it.
13771
13772 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13773
13774 * NEWS: Document new target powerpc64le-*-linux*.
13775
13776 2014-02-04 Mark Kettenis <kettenis@gnu.org>
13777
13778 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
13779 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
13780 core dumps.
13781 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
13782 register set used in ELF core dumps. Add floating-point register set.
13783
13784 2014-02-03 Kevin Buettner <kevinb@redhat.com>
13785
13786 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
13787 dwarf2_to_gdb[] table using symbolic constants. Adjust
13788 penultimate entry from number representing the PC register
13789 to symbolic constant representing the MDR register. Add
13790 constant for the PC register to the end of the table.
13791
13792 2014-02-03 Mark Kettenis <kettenis@gnu.org>
13793
13794 * bsd-kvm.c: Include <sys/param.h>
13795
13796 2014-02-03 Mark Kettenis <kettenis@gnu.org>
13797
13798 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
13799
13800 2014-01-31 Joel Brobecker <brobecker@adacore.com>
13801
13802 * ada-lang.h (clear_ada_sym_cache): Delete.
13803
13804 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
13805
13806 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
13807
13808 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13809
13810 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
13811 the sigreturn register save area only if the syscall is
13812 sigreturn.
13813
13814 2014-01-29 Joel Brobecker <brobecker@adacore.com>
13815
13816 * valops.c (value_slice): Minor reformatting.
13817
13818 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
13819
13820 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
13821
13822 2014-01-28 Joel Brobecker <brobecker@adacore.com>
13823
13824 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
13825 New static globals.
13826 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
13827 (ada_ignore_descriptive_types_p): New static global.
13828 (find_parallel_type_by_descriptive_type): Return immediately
13829 if ada_ignore_descriptive_types_p is set.
13830 (_initialize_ada_language): Register new commands "maintenance
13831 set ada", "maintenance show ada", "maintenance set ada
13832 ignore-descriptive-types" and "maintenance show ada
13833 ignore-descriptive-types".
13834 * NEWS: Add entry for new "maint ada set/show
13835 ignore-descriptive-types" commands.
13836
13837 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
13838
13839 * record-btrace.c (record_btrace_close): Call btrace_teardown
13840 for all threads.
13841
13842 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13843
13844 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
13845 "ui-out.h".
13846
13847 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13848
13849 * ada-typeprint (type_is_full_subrange_of_target_type):
13850 New function.
13851 (print_range): Add parameter bounds_prefered_p. If not set,
13852 try printing range types using the name of their base type.
13853 (print_range_type): Add parameter bounds_prefered_p.
13854 Use it in call to print_range.
13855 (print_array_type, ada_print_type): Update calls to print_range
13856 and print_range_type.
13857
13858 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13859
13860 * ada-typeprint.c (print_array_type, print_choices, print_range)
13861 (print_range_bound, print_dynamic_range_bound, print_range_type):
13862 Remove declaration.
13863
13864 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13865
13866 * ada-typeprint.c (print_range): Add missing empty line
13867 after local declaration.
13868
13869 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13870
13871 * ada-valprint.c (print_optional_low_bound): Get index_type's
13872 target type for as long as it is a TYPE_CODE_RANGE.
13873
13874 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13875
13876 * procfs.c (procfs_make_note_section): Remove assertion and
13877 associated comment.
13878
13879 2014-01-24 Yao Qi <yao@codesourcery.com>
13880
13881 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
13882 * corelow.c (get_core_siginfo): Likewise.
13883
13884 2014-01-24 Yao Qi <yao@codesourcery.com>
13885
13886 * remote.c (remote_write_bytes_aux): Change type of 'len' to
13887 ULONGEST. Don't check 'len' is negative.
13888 (remote_write_bytes): Change type of 'len' to ULONGEST.
13889
13890 2014-01-23 Tom Tromey <tromey@redhat.com>
13891
13892 PR python/16485:
13893 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
13894 Handle exception from frame.block.
13895 (FrameVars.fetch_frame_locals): Likewise.
13896
13897 2014-01-23 Tom Tromey <tromey@redhat.com>
13898
13899 PR python/16487:
13900 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
13901 on a NULL pointer. Move "goto error" to correct place.
13902
13903 2014-01-23 Tom Tromey <tromey@redhat.com>
13904
13905 PR python/16491:
13906 * python/py-framefilter.c (apply_frame_filter): Call
13907 ensure_python_env after computing gdbarch.
13908
13909 2014-01-23 Yao Qi <yao@codesourcery.com>
13910
13911 * target.c (raw_memory_xfer_partial): Change argument type
13912 from void * to gdb_byte *.
13913 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
13914
13915 2014-01-22 Doug Evans <dje@google.com>
13916
13917 New gdbserver option --debug-format=timestamp.
13918 * NEWS: Mention it.
13919
13920 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13921
13922 * syscalls/s390x-linux.xml: New file.
13923 * syscalls/s390-linux.xml: New file.
13924 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
13925 (XML_SYSCALL_FILENAME_S390X): Likewise.
13926 (op_svc): New enum value for SVC opcode.
13927 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
13928 (s390_linux_get_syscall_number): New function.
13929 (s390_gdbarch_init): Register '*get_syscall_number' and the
13930 syscall xml file name.
13931 * data-directory/Makefile.in (SYSCALLS_FILES): Add
13932 "s390-linux.xml" and "s390x-linux.xml".
13933 * NEWS: Announce new feature.
13934
13935 2014-01-22 Baruch Siach <baruch@tkos.co.il>
13936
13937 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
13938
13939 2014-01-22 Pedro Alves <palves@redhat.com>
13940
13941 * xtensa-config.c: Include defs.h.
13942
13943 2014-01-22 Joel Brobecker <brobecker@adacore.com>
13944
13945 * common/common-utils.h: Add "ARI:" comment beside __func__
13946 reference.
13947
13948 2014-01-22 Joel Brobecker <brobecker@adacore.com>
13949
13950 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
13951 documentation a bit.
13952
13953 2014-01-21 Roland McGrath <mcgrathr@google.com>
13954
13955 * configure.ac: Call AM_PROG_INSTALL_STRIP.
13956 * configure: Regenerate.
13957 * aclocal.m4: Regenerate.
13958 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
13959 New substituted variables.
13960 (install-strip): New target.
13961 (INSTALL_SCRIPT): New substituted variable.
13962 (FLAGS_TO_PASS): Add it.
13963 (install-only): Use $(INSTALL_SCRIPT) rather than
13964 $(INSTALL_PROGRAM) for gcore.
13965
13966 2014-01-20 Tom Tromey <tromey@redhat.com>
13967
13968 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
13969 together.
13970
13971 2014-01-20 Tom Tromey <tromey@redhat.com>
13972
13973 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
13974 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
13975 (deprecated_cmd_warning, complete_on_cmdlist): Update.
13976 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
13977 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
13978 (struct cmd_list_element) <flags>: Remove.
13979 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
13980 doc_allocated>: New fields.
13981 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
13982 bitfields.
13983 * maint.c (maintenance_do_deprecate): Update.
13984 * top.c (execute_command): Update.
13985
13986 2014-01-20 Baruch Siach <baruch@tkos.co.il>
13987
13988 * xtensa-linux-nat.c: Include asm/ptrace.h.
13989
13990 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13991
13992 * Makefile.in (SFILES): Add d-support.c.
13993 (COMMON_OBS): Add d-support.o.
13994 * d-lang.h (d_parse_symbol): Add comment, now defined in
13995 d-support.c.
13996 * d-lang.c (parse_call_convention)
13997 (parse_attributes, parse_function_types)
13998 (parse_function_args, parse_type, parse_identifier)
13999 (call_convention_p, d_parse_symbol): Move functions to ...
14000 * d-support.c: ... New file.
14001
14002 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14003
14004 * d-lang.h (d_parse_symbol): Add declaration.
14005 * d-lang.c (extract_identifiers)
14006 (extract_type_info): Remove functions.
14007 (parse_call_convention, parse_attributes)
14008 (parse_function_types, parse_function_args)
14009 (parse_type, parse_identifier, call_convention_p)
14010 (d_parse_symbol): New functions.
14011 (d_demangle): Use d_parse_symbol to demangle D symbols.
14012
14013 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14014
14015 * d-lang.h (struct builtin_d_type): New data type.
14016 (builtin_d_type): Add declaration.
14017 * d-lang.c (d_language_arch_info, build_d_types)
14018 (builtin_d_type): New functions.
14019 (enum d_primitive_types): New data type.
14020 (d_language_defn): Change c_language_arch_info to
14021 d_language_arch_info.
14022 (d_type_data): New static variable.
14023 (_initialize_d_language): Initialize d_type_data.
14024
14025 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14026
14027 * d-lang.h (d_main_name): Add declaration.
14028 * d-lang.c (d_main_name): New function.
14029 * symtab.c (find_main_name): Add call to d_main_name.
14030
14031 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14032
14033 * d-lang.c (d_language_defn): Change macro_expansion_c to
14034 macro_expansion_no.
14035
14036 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14037
14038 * MAINTAINERS: Add myself as a write-after-approval maintainer.
14039
14040 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
14041
14042 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
14043 gdb_exception" declaration.
14044 * remote.c (getpkt_or_notif_sane): Likewise.
14045
14046 2014-01-17 Doug Evans <dje@google.com>
14047
14048 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
14049 function, contents of dirnames_to_char_ptr_vec_append moved here.
14050 (delim_string_to_char_ptr_vec): New function.
14051 (dirnames_to_char_ptr_vec_append): Rewrite.
14052 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
14053
14054 2014-01-17 Doug Evans <dje@google.com>
14055
14056 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
14057 and moved here ...
14058 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
14059 #include "common-utils.h".
14060 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
14061 * common/vec.h (VEC_ASSERT_PASS): Update.
14062 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
14063 (MACH_CHECK_ERROR): Update.
14064
14065 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
14066
14067 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
14068 comments.
14069 * gdbarch.h: Regenerate.
14070
14071 2014-01-16 Tom Tromey <tromey@redhat.com>
14072
14073 * value.c (struct value) <regnum>: Move earlier.
14074
14075 2014-01-16 Tom Tromey <tromey@redhat.com>
14076
14077 * remote.c (extended_remote_create_inferior): Rename from
14078 extended_remote_create_inferior_1. Add "ops" argument. Remove
14079 old implementation.
14080
14081 2014-01-16 Pedro Alves <palves@redhat.com>
14082
14083 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
14084 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
14085 the backchain.
14086
14087 2014-01-16 Doug Evans <dje@google.com>
14088
14089 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
14090
14091 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14092
14093 * btrace.h (btrace_thread_flag): New.
14094 (struct btrace_thread_info) <flags>: New.
14095 * record-btrace.c (record_btrace_resume_thread)
14096 (record_btrace_find_thread_to_move, btrace_step_no_history)
14097 (btrace_step_stopped, record_btrace_start_replaying)
14098 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
14099 (record_btrace_find_resume_thread): New.
14100 (record_btrace_resume, record_btrace_wait): Extend.
14101 (record_btrace_can_execute_reverse): New.
14102 (record_btrace_open): Fail in non-stop mode.
14103 (record_btrace_set_replay): Split into this, ...
14104 (record_btrace_stop_replaying): ... this, ...
14105 (record_btrace_clear_histories): ... and this.
14106 (init_record_btrace_ops): Init to_can_execute_reverse.
14107 * NEWS: Announce it.
14108
14109 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14110
14111 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
14112 (forward_target_decr_pc_after_break)
14113 (target_decr_pc_after_break): New.
14114 * target.c (forward_target_decr_pc_after_break)
14115 (target_decr_pc_after_break): New.
14116 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
14117 instead of gdbarch_decr_pc_after_break.
14118 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
14119 instead of gdbarch_decr_pc_after_break.
14120 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
14121 instead of gdbarch_decr_pc_after_break.
14122 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
14123 instead of gdbarch_decr_pc_after_break.
14124 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
14125 instead of gdbarch_decr_pc_after_break.
14126 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
14127 instead of gdbarch_decr_pc_after_break.
14128
14129 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14130
14131 * btrace.c: Include regcache.h.
14132 (btrace_add_pc): New.
14133 (btrace_enable): Call btrace_add_pc.
14134 (btrace_is_empty): New.
14135 * btrace.h (btrace_is_empty): New.
14136 * record-btrace.c (require_btrace, record_btrace_info): Call
14137 btrace_is_empty.
14138
14139 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14140
14141 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
14142 Support delta reads.
14143 (linux_disable_btrace): Change return type.
14144 * common/linux-btrace.h (linux_read_btrace): Change parameters
14145 and return type to allow error reporting. Update users.
14146 (linux_disable_btrace): Change return type. Update users.
14147 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
14148 New.
14149 (btrace_error): New.
14150 (btrace_block) <begin>: Comment on BEGIN == 0.
14151 * btrace.c (btrace_compute_ftrace): Start from the end of
14152 the current trace.
14153 (btrace_stitch_trace, btrace_clear_history): New.
14154 (btrace_fetch): Read delta trace, return if replaying.
14155 (btrace_clear): Move clear history code to btrace_clear_history.
14156 (parse_xml_btrace): Throw an error if parsing failed.
14157 * target.h (struct target_ops) <to_read_btrace>: Change parameters
14158 and return type to allow error reporting.
14159 (target_read_btrace): Change parameters and return type to allow
14160 error reporting.
14161 * target.c (target_read_btrace): Update.
14162 * remote.c (remote_read_btrace): Support delta reads. Pass
14163 errors on.
14164 * NEWS: Announce it.
14165
14166 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14167
14168 * record.h (record_btrace_frame_unwind)
14169 (record_btrace_tailcall_frame_unwind): New declarations.
14170 * dwarf2-frame: Include record.h
14171 (dwarf2_frame_cfa): Throw an error for btrace frames.
14172 * record-btrace.c: Include hashtab.h.
14173 (btrace_get_bfun_name): New.
14174 (btrace_call_history): Call btrace_get_bfun_name.
14175 (struct btrace_frame_cache): New.
14176 (bfcache): New.
14177 (bfcache_hash, bfcache_eq, bfcache_new): New.
14178 (btrace_get_frame_function): New.
14179 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
14180 (record_btrace_frame_this_id): Compute own id.
14181 (record_btrace_frame_prev_register): Provide PC, throw_error
14182 for all other registers.
14183 (record_btrace_frame_sniffer): Detect btrace frames.
14184 (record_btrace_tailcall_frame_sniffer): New.
14185 (record_btrace_frame_dealloc_cache): New.
14186 (record_btrace_frame_unwind): Add new functions.
14187 (record_btrace_tailcall_frame_unwind): New.
14188 (_initialize_record_btrace): Allocate cache.
14189 * btrace.c (btrace_clear): Call reinit_frame_cache.
14190 * NEWS: Announce it.
14191
14192 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14193
14194 * record-btrace.c (record_btrace_set_replay)
14195 (record_btrace_goto_begin, record_btrace_goto_end)
14196 (record_btrace_goto): New.
14197 (init_record_btrace_ops): Initialize them.
14198 * NEWS: Announce it.
14199
14200 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14201
14202 * record-btrace.c (record_btrace_find_new_threads)
14203 (record_btrace_thread_alive): New.
14204 (init_record_btrace_ops): Initialize to_find_new_threads and
14205 to_thread_alive.
14206
14207 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14208
14209 * record-btrace.c (record_btrace_resume): New.
14210 (record_btrace_wait): New.
14211 (init_record_btrace_ops): Initialize to_wait and to_resume.
14212
14213 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14214
14215 * record-btrace.c (record_btrace_xfer_partial)
14216 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
14217 (record_btrace_allow_memory_access): New.
14218 (init_record_btrace_ops): Initialize new methods.
14219 * target.c (raw_memory_xfer_partial): Bail out if target reports
14220 that this memory is not available.
14221
14222 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14223
14224 * target.h (target_ops) <to_insert_breakpoint>
14225 <to_remove_breakpoint>: Add target_ops parameter.
14226 (forward_target_insert_breakpoint): New.
14227 (forward_target_remove_breakpoint): New.
14228 (memory_remove_breakpoint, memory_insert_breakpoint):
14229 Add target_ops parameter.
14230 * target.c (target_insert_breakpoint): Split into this and ...
14231 (forward_target_insert_breakpoint): ... this.
14232 (target_remove_breakpoint): Split into this and ...
14233 (forward_target_remove_breakpoint): ... this.
14234 (debug_to_insert_breakpoint): Add target_ops parameter.
14235 Call forward_target_insert_breakpoint.
14236 (debug_to_remove_breakpoint): Add target_ops parameter.
14237 Call forward_target_remove_breakpoint.
14238 (update_current_target): Do not inherit or default to_insert_breakpoint
14239 and to_remove_breakpoint.
14240 * corelow.c (ignore): Add target_ops parameter.
14241 * exec.c (ignore): Add target_ops parameter.
14242 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
14243 Add target_ops parameter.
14244 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
14245 Add target_ops parameter.
14246 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
14247 Add target_ops parameter.
14248 * record-full.c (record_full_beneath_to_insert_breakpoint)
14249 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
14250 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
14251 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
14252 (record_full_core_remove_breakpoint): Add target_ops parameter.
14253 Update users.
14254 (record_full_beneath_to_insert_breakpoint_ops)
14255 (record_full_beneath_to_remove_breakpoint_ops)
14256 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
14257 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
14258 tmp_to_remove_breakpoint_ops,
14259 record_full_beneath_to_insert_breakpoint_ops, and
14260 record_full_beneath_to_remove_breakpoint_ops.
14261 * remote-m32r-sdi.c (m32r_insert_breakpoint)
14262 (m32r_remove_breakpoint): Add target_ops parameter.
14263 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
14264 Add target_ops parameter.
14265 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
14266 Add target_ops parameter.
14267
14268 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14269 Markus Metzger <markus.t.metzger@intel.com>
14270
14271 * record-btrace.c: Include frame-unwind.h.
14272 (record_btrace_frame_unwind_stop_reason)
14273 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
14274 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
14275 New.
14276 (init_record_btrace_ops): Install it.
14277
14278 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14279
14280 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
14281 get_prev_frame_1.
14282
14283 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14284
14285 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
14286 earlier.
14287
14288 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14289
14290 * frame-unwind.c: Include target.h.
14291 (frame_unwind_try_unwinder): New function with code from ...
14292 (frame_unwind_find_by_frame): ... here. New variable
14293 unwinder_from_target, call also target_get_unwinder)
14294 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
14295 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
14296 * target.h (struct target_ops): New fields to_get_unwinder and
14297 to_get_tailcall_unwinder.
14298 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
14299
14300 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14301
14302 * record-btrace.c (record_btrace_fetch_registers)
14303 (record_btrace_store_registers)
14304 (record_btrace_to_prepare_to_store): New.
14305 (init_record_btrace_ops): Add the above.
14306
14307 2014-01-16 Tom Tromey <tromey@redhat.com>
14308
14309 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
14310 * target.h (struct target_ops) <to_prepare_to_store>: Add
14311 argument.
14312 (target_prepare_to_store): Add argument.
14313 * target.c (debug_to_prepare_to_store): Add argument.
14314 (update_current_target): Update.
14315 * remote.c (remote_prepare_to_store): Add 'self' argument.
14316 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
14317 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
14318 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
14319 * record-full.c (record_full_core_prepare_to_store): Add 'self'
14320 argument.
14321 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
14322 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
14323 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
14324 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
14325 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
14326
14327 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14328
14329 * btrace.h (replay) <replay>: New.
14330 (btrace_is_replaying): New.
14331 * btrace.c (btrace_clear): Free replay iterator.
14332 (btrace_is_replaying): New.
14333 * record-btrace.c (record_btrace_is_replaying): New.
14334 (record_btrace_info): Print insn number if replaying.
14335 (record_btrace_insn_history): Start at replay position.
14336 (record_btrace_call_history): Start at replay position.
14337 (init_record_btrace_ops): Init to_record_is_replaying.
14338
14339 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14340
14341 * record-btrace.c (record_btrace_insn_history_range): Include
14342 end.
14343 (record_btrace_insn_history_from): Adjust range.
14344 (record_btrace_call_history_range): Include
14345 end.
14346 (record_btrace_call_history_from): Adjust range.
14347 * NEWS: Announce changes.
14348
14349 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14350
14351 * record.h (enum record_print_flag)
14352 <record_print_indent_calls>: New.
14353 * record.c (get_call_history_modifiers): Recognize /c modifier.
14354 (_initialize_record): Document /c modifier.
14355 * record-btrace.c (btrace_call_history): Add btinfo parameter.
14356 Reorder fields. Optionally indent the function name. Update
14357 all users.
14358 * NEWS: Announce changes.
14359
14360 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14361
14362 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
14363
14364 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14365
14366 * btrace.c (ftrace_new_function): Start counting at one.
14367 * record-btrace.c (record_btrace_info): Adjust number of calls
14368 and insns.
14369 * NEWS: Announce it.
14370
14371 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14372
14373 * record-btrace.c (btrace_call_history_insn_range): Print
14374 insn range as [begin, end].
14375
14376 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14377
14378 * btrace.h (struct btrace_func_link): New.
14379 (enum btrace_function_flag): New.
14380 (struct btrace_inst): Rename to ...
14381 (struct btrace_insn): ...this. Update all users.
14382 (struct btrace_func) <ibegin, iend>: Remove.
14383 (struct btrace_func_link): New.
14384 (struct btrace_func): Rename to ...
14385 (struct btrace_function): ...this. Update all users.
14386 (struct btrace_function) <segment, flow, up, insn, insn_offset)
14387 (number, level, flags>: New.
14388 (struct btrace_insn_iterator): Rename to ...
14389 (struct btrace_insn_history): ...this.
14390 Update all users.
14391 (struct btrace_insn_iterator, btrace_call_iterator): New.
14392 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
14393 (struct btrace_target_info) <begin, end, level>
14394 <insn_history, call_history>: New.
14395 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14396 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14397 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14398 (btrace_call_number, btrace_call_begin, btrace_call_end)
14399 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14400 (btrace_find_function_by_number, btrace_set_insn_history)
14401 (btrace_set_call_history): New.
14402 * btrace.c (btrace_init_insn_iterator)
14403 (btrace_init_func_iterator, compute_itrace): Remove.
14404 (ftrace_print_function_name, ftrace_print_filename)
14405 (ftrace_skip_file): Change
14406 parameter to const.
14407 (ftrace_init_func): Remove.
14408 (ftrace_debug): Use new btrace_function fields.
14409 (ftrace_function_switched): Also consider gaining and
14410 losing symbol information).
14411 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
14412 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
14413 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
14414 New.
14415 (ftrace_new_function): Move. Remove debug print.
14416 (ftrace_update_lines, ftrace_update_insns): New.
14417 (ftrace_update_function): Check for call, ret, and jump.
14418 (compute_ftrace): Renamed to ...
14419 (btrace_compute_ftrace): ...this. Rewritten to compute call
14420 stack.
14421 (btrace_fetch, btrace_clear): Updated.
14422 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14423 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14424 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14425 (btrace_call_number, btrace_call_begin, btrace_call_end)
14426 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14427 (btrace_find_function_by_number, btrace_set_insn_history)
14428 (btrace_set_call_history): New.
14429 * record-btrace.c (require_btrace): Use new btrace thread
14430 info fields.
14431 (record_btrace_info, btrace_insn_history)
14432 (record_btrace_insn_history, record_btrace_insn_history_range):
14433 Use new btrace thread info fields and new iterator.
14434 (btrace_func_history_src_line): Rename to ...
14435 (btrace_call_history_src_line): ...this. Use new btrace
14436 thread info fields.
14437 (btrace_func_history): Rename to ...
14438 (btrace_call_history): ...this. Use new btrace thread info
14439 fields and new iterator.
14440 (record_btrace_call_history, record_btrace_call_history_range):
14441 Use new btrace thread info fields and new iterator.
14442
14443 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14444
14445 * frame.h (frame_id_build_unavailable_stack_special): New.
14446 * frame.c (frame_id_build_unavailable_stack_special): New.
14447
14448 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14449
14450 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
14451 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
14452 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
14453 to gdbarch.
14454 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
14455 (i386_insn_is_jump, i386_jmp_p): New.
14456 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
14457 insn_is_jump to gdbarch.
14458 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
14459 * gdbarch.h: Regenerated.
14460 * gdbarch.c: Regenerated.
14461 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
14462 (default_insn_is_jump): New.
14463 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
14464 (default_insn_is_jump): New.
14465
14466 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14467
14468 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
14469 Change to ...
14470 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
14471 (btrace_read_type) <btrace_read_new>: Change to ...
14472 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
14473
14474 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14475
14476 * common/linux-btrace.c (linux_read_btrace): Free trace from
14477 previous iteration.
14478
14479 2014-01-15 Doug Evans <dje@google.com>
14480
14481 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
14482 uint32_t.
14483
14484 2014-01-15 Tom Tromey <tromey@redhat.com>
14485
14486 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
14487 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
14488 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
14489 (set_objfile_main_name): New function.
14490 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
14491 language_of_main>: New fields.
14492 (set_objfile_main_name): Declare.
14493 * symtab.c (find_main_name): Loop over objfiles to find the main
14494 name and language.
14495 (set_main_name): Now static.
14496 (get_main_info): Add comment.
14497 * symtab.h (set_main_name): Don't declare.
14498
14499 2014-01-15 Tom Tromey <tromey@redhat.com>
14500
14501 * symtab.c (main_progspace_key): New global.
14502 (struct main_info): New.
14503 (name_of_main, language_of_main): Remove.
14504 (get_main_info, main_info_cleanup): New function.
14505 (set_main_name, main_name, main_language): Use get_main_info.
14506 (_initialize_symtab): Initialize main_progspace_key.
14507
14508 2014-01-15 Tom Tromey <tromey@redhat.com>
14509
14510 * dbxread.c (process_one_symbol): Update.
14511 * dwarf2read.c (read_partial_die): Update.
14512 * symfile.c (set_initial_language): Call main_language.
14513 * symtab.c (language_of_main): Now static.
14514 (set_main_name): Add 'lang' parameter.
14515 (find_main_name): Update.
14516 (main_language): New function.
14517 (symtab_observer_executable_changed): Update.
14518 * symtab.h (set_main_name): Update.
14519 (language_of_main): Remove.
14520 (main_language): Declare.
14521
14522 2014-01-15 Tom Tromey <tromey@redhat.com>
14523
14524 * symfile.c (init_entry_point_info): Use new "initialized" field.
14525 Update.
14526 * objfiles.h (struct entry_point) <initialized>: New field.
14527 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
14528 (struct objfile) <ei>: ...here. Remove.
14529 * objfiles.c (entry_point_address_query): Update.
14530
14531 2014-01-15 Tom Tromey <tromey@redhat.com>
14532
14533 * objfiles.c (entry_point_address_query): Relocate entry point
14534 address.
14535 (objfile_relocate1): Do not relocate entry point address.
14536 * objfiles.h (struct entry_info) <entry_point>: Update comment.
14537 <the_bfd_section_index>: New field.
14538 * symfile.c (init_entry_point_info): Find the entry point's
14539 section.
14540
14541 2014-01-15 Tom Tromey <tromey@redhat.com>
14542
14543 * solib-frv.c (enable_break): Use entry_point_address_query.
14544
14545 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14546
14547 * NEWS: Add note on improved process record-replay on
14548 arm*-linux* targets.
14549
14550 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14551
14552 * arm-tdep.c (enum arm_record_result): New enum.
14553 (arm_record_unsupported_insn): New function.
14554 (arm_record_coproc_data_proc): Removed.
14555 (thumb2_record_ld_st_multiple): New function.
14556 (thumb2_record_ld_st_dual_ex_tbb): New function.
14557 (thumb2_record_data_proc_sreg_mimm): New function.
14558 (thumb2_record_ps_dest_generic): New function.
14559 (thumb2_record_branch_misc_cntrl): New function.
14560 (thumb2_record_str_single_data): New function.
14561 (thumb2_record_ld_mem_hints): New function.
14562 (thumb2_record_ld_word): New function.
14563 (thumb2_record_lmul_lmla_div): New function.
14564 (thumb2_record_decode_insn_handler): New function.
14565 (decode_insn): Add thumb32 instruction handlers.
14566
14567 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14568
14569 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14570 (struct arm_linux_record_tdep): Declare.
14571 (arm_canonicalize_syscall): New function.
14572 (arm_all_but_pc_registers_record): New function.
14573 (arm_linux_syscall_record): New function.
14574 (arm_linux_init_abi): Add syscall recording constructs.
14575 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14576 decoding. (arm_record_coproc_data_proc): Update arm syscall
14577 decoding.
14578 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14579 <arm_syscall_record>: New field.
14580 * configure.tgt (arm*-*-linux*): Add linux-record.o to
14581 gdb_target_obs.
14582
14583 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14584
14585 * arm-tdep.c (thumb_record_misc): Update to use sp as base
14586 register for push instruction recording.
14587
14588 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14589
14590 * arm-tdep.c (thumb_record_misc): Update to correct logical
14591 error while recording ldm, ldmia and pop instructions.
14592
14593 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14594
14595 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14596
14597 2014-01-15 Pedro Alves <palves@redhat.com>
14598
14599 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14600 (go32_resume, go32_fetch_registers, store_register)
14601 (go32_store_registers, go32_prepare_to_store)
14602 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
14603 (go32_create_inferior, go32_can_run, go32_terminal_init)
14604 (go32_terminal_inferior, go32_terminal_ours): Delete forward
14605 declarations.
14606
14607 2014-01-15 Tom Tromey <tromey@redhat.com>
14608
14609 * target.h (async_callback_ftype): New typedef.
14610 (struct target_ops) <to_async>: Use it.
14611
14612 2014-01-15 Joel Brobecker <brobecker@adacore.com>
14613
14614 * python/py-value.c (get_field_type): Remove unnecessary curly
14615 braces for single-statement if block.
14616
14617 2014-01-15 Joel Brobecker <brobecker@adacore.com>
14618
14619 * python/py-type.c (convert_field): Add missing empty line
14620 after declarations.
14621
14622 2014-01-14 Doug Evans <dje@google.com>
14623
14624 * symfile.h (expand_symtabs_matching): Renamed from
14625 expand_partial_symbol_names. Update prototype.
14626 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14627 * symfile.c (expand_symtabs_matching): Renamed from
14628 expand_partial_symbol_names. New args file_matcher, kind.
14629 Rename arg fun to symbol_matcher.
14630 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14631 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
14632 ada_expand_partial_symbol_name.
14633 (ada_make_symbol_completion_list): Update to call
14634 expand_symtabs_matching.
14635 (ada_add_global_exceptions): Call expand_symtabs_matching.
14636 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
14637 call map_symbol_filenames.
14638 * symtab.c (sources_info): Update to call map_symbol_filenames.
14639 (search_symbols): Call expand_symtabs_matching.
14640 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
14641 (default_make_symbol_completion_list_break_on): Update to call
14642 expand_symtabs_matching.
14643 (make_source_files_completion_list): Update to call
14644 map_symbol_filenames.
14645
14646 2014-01-14 Doug Evans <dje@google.com>
14647
14648 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
14649 (expand_symtabs_symbol_matcher_ftype): New typedef.
14650 (quick_symbol_functions.expand_symtabs_matching): Update to use.
14651 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14652 * symfile.c (expand_partial_symbol_names): Update to use
14653 expand_symtabs_symbol_matcher_ftype.
14654 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
14655 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14656 Arg name_matcher renamed to symbol_matcher.
14657 * psymtab.c (recursively_search_psymtabs): Update to use
14658 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
14659 sym_matcher.
14660 (expand_symtabs_matching_via_partial): Update to use
14661 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14662 Arg name_matcher renamed to symbol_matcher.
14663
14664 2014-01-14 Doug Evans <dje@google.com>
14665
14666 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
14667 (map_partial_symbol_filenames): Ditto.
14668 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
14669 (map_partial_symbol_filenames): Ditto.
14670 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
14671 (map_partial_symbol_filenames): Ditto.
14672 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
14673 (map_partial_symbol_filenames): Ditto.
14674 * symtab.c: Delete #include "psymtab.h".
14675
14676 2014-01-14 Pedro Alves <palves@redhat.com>
14677 Tom Tromey <tromey@redhat.com>
14678
14679 * infrun.c (use_displaced_stepping): Use find_record_target
14680 instead of RECORD_IS_USED.
14681 (adjust_pc_after_break): Use record_full_is_used instead of
14682 RECORD_IS_USED.
14683 * record-btrace.c (record_btrace_open): Call record_preopen
14684 instead of checking RECORD_IS_USED.
14685 * record-full.c (record_full_shortname)
14686 (record_full_core_shortname): New globals.
14687 (record_full_is_used): New function.
14688 (find_full_open): Call record_preopen instead of checking
14689 RECORD_IS_USED.
14690 (init_record_full_ops): Set the target's shortname to
14691 record_full_shortname.
14692 (init_record_full_core_ops): Set the target's shortname to
14693 record_full_core_shortname.
14694 * record-full.h (record_full_is_used): Declare.
14695 * record.c (find_record_target): Make extern.
14696 (record_preopen): New function.
14697 * record.h (RECORD_IS_USED): Delete macro.
14698 (find_record_target, record_preopen): Declare functions.
14699
14700 2014-01-14 Yao Qi <yao@codesourcery.com>
14701
14702 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
14703 'len''s type to ULONGEST.
14704 (core_xfer_shared_libraries_aix): Likewise.
14705 * gdbarch.c, gdbarch.h: Regenerated.
14706 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
14707 Change type of 'len' to ULONGEST.
14708 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14709 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
14710
14711 2014-01-14 Yao Qi <yao@codesourcery.com>
14712
14713 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
14714 type of 'len' to ULONGEST.
14715 (linux_xfer_osdata_processgroups): Likewise.
14716 (linux_xfer_osdata_threads): Likewise.
14717 (linux_xfer_osdata_fds): Likewise.
14718 (linux_xfer_osdata_isockets): Likewise.
14719 (linux_xfer_osdata_shm): Likewise.
14720 (linux_xfer_osdata_sem): Likewise.
14721 (linux_xfer_osdata_msg): Likewise.
14722 (linux_common_xfer_osdata): Likewise.
14723 (struct osdata_type) <getter>: Likewise.
14724 * common/linux-osdata.h (linux_common_xfer_osdata): Update
14725 the declaration.
14726
14727 2014-01-14 Yao Qi <yao@codesourcery.com>
14728
14729 * target.h (target_xfer_partial_ftype): Update.
14730 (struct target_ops) <to_xfer_partial>: Change 'len' type to
14731 ULONGEST.
14732 * aix-thread.c (aix_thread_xfer_partial): Change type of
14733 argument 'len' to ULONGEST.
14734 * auxv.c (procfs_xfer_auxv): Likewise.
14735 (ld_so_xfer_auxv): Likewise.
14736 (memory_xfer_auxv): Likewise.
14737 * bfd-target.c (target_bfd_xfer_partial): Likewise.
14738 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
14739 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
14740 * corelow.c (core_xfer_partial): Likewise.
14741 * ctf.c (ctf_xfer_partial): Likewise.
14742 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
14743 '%u'.
14744 (darwin_read_dyld_info): Likewise.
14745 (darwin_xfer_partial): Likewise.
14746 * exec.c (section_table_xfer_memory_partial): Likewise.
14747 (exec_xfer_partial): Likewise.
14748 * exec.h (section_table_xfer_memory_partial): Update
14749 declaration.
14750 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
14751 instead of plongest.
14752 (gnu_xfer_partial): Likewise.
14753 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
14754 (ia64_hpux_xfer_solib_got): Likewise.
14755 (ia64_hpux_xfer_partial): Likewise.
14756 * ia64-linux-nat.c (ia64_linux_xfer_partial):
14757 * inf-ptrace.c (inf_ptrace_xfer_partial):
14758 * inf-ttrace.c (inf_ttrace_xfer_partial):
14759 * linux-nat.c (linux_xfer_siginfo): Likewise.
14760 (linux_nat_xfer_partial): Likewise.
14761 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
14762 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
14763 * monitor.c (monitor_xfer_memory): Likewise.
14764 (monitor_xfer_partial): Likewise.
14765 * procfs.c (procfs_xfer_partial): Likewise.
14766 * record-full.c (record_full_xfer_partial): Likewise.
14767 (record_full_core_xfer_partial): Likewise.
14768 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
14769 instead of plongest.
14770 (gdbsim_xfer_partial): Likewise.
14771 * remote.c (remote_xfer_partial): Likewise.
14772 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14773 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
14774 declaration.
14775 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
14776 (rs6000_xfer_shared_libraries): Likewise.
14777 * sol-thread.c (sol_thread_xfer_partial): Likewise.
14778 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
14779 (sparc_xfer_partial): Likewise.
14780 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
14781 (spu_xfer_partial): Likewise.
14782 * spu-multiarch.c (spu_xfer_partial): Likewise.
14783 * target.c (target_read_live_memory): Likewise.
14784 (memory_xfer_live_readonly_partial): Likewise.
14785 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
14786 (target_xfer_partial, default_xfer_partial): Likewise.
14787 (current_xfer_partial): Likewise.
14788 * tracepoint.c (tfile_xfer_partial): Likewise.
14789 * windows-nat.c (windows_xfer_memory): Likewise. Call
14790 pulongest instead of plongest.
14791 (windows_xfer_partial): Likewise.
14792 (windows_xfer_shared_libraries): Likewise.
14793
14794 2014-01-14 Yao Qi <yao@codesourcery.com>
14795
14796 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
14797 target_xfer_partial_ftype.
14798
14799 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14800
14801 PR python/15464
14802 PR python/16113
14803 * valops.c (value_struct_elt_bitpos): New function
14804 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
14805 object to 'None' if the field name is an empty string ("").
14806 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
14807 attribute to look for a field when 'name' is 'None'.
14808 (get_field_type): New function
14809
14810 2014-01-13 Doug Evans <dje@google.com>
14811
14812 PR symtab/16426
14813 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
14814 (try_open_dwop_file): Ditto.
14815 * gdb_bfd.c: #include "vec.h".
14816 (bfdp): New typedef.
14817 (struct gdb_bfd_data): New member included_bfds.
14818 (gdb_bfd_unref): Unref all included bfds.
14819 (gdb_bfd_record_inclusion): New function.
14820 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
14821
14822 2014-01-13 Tom Tromey <tromey@redhat.com>
14823
14824 * gdbcore.h (deprecated_core_resize_section_table): Remove.
14825
14826 2014-01-13 Tom Tromey <tromey@redhat.com>
14827
14828 * defs.h (use_windows): Remove.
14829 * gdb.c (main): Update.
14830 * main.c (captured_main, gdb_main): Update.
14831 * main.h (struct captured_main_args) <use_windows>: Remove.
14832 * top.c (use_windows): Remove.
14833
14834 2014-01-13 Tom Tromey <tromey@redhat.com>
14835
14836 * defs.h (deprecated_flush_hook): Remove.
14837
14838 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14839
14840 PR threads/16216
14841 * linux-thread-db.c (try_thread_db_load): Add parameter
14842 check_auto_load_safe. Move here the file_is_auto_load_safe call.
14843 (try_thread_db_load_from_pdir_1): Move it there from here.
14844 (try_thread_db_load_from_sdir): Update caller.
14845 (try_thread_db_load_from_dir): Move it there from here.
14846
14847 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
14848
14849 * regformats/regdat.sh: Always rewrite the register file.
14850
14851 2014-01-13 Pedro Alves <palves@redhat.com>
14852
14853 * Makefile.in (CHECK_HEADERS): New variable.
14854 (check-headers:): New rule.
14855
14856 2014-01-13 Tom Tromey <tromey@redhat.com>
14857
14858 * cli/cli-setshow.c (do_set_command): Update.
14859 * defs.h (deprecated_set_hook): Remove.
14860 * top.c (deprecated_set_hook): Remove.
14861
14862 2014-01-13 Pedro Alves <palves@redhat.com>
14863
14864 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
14865 the tracepoint if the PC is a pseudo-register.
14866
14867 2014-01-13 Tom Tromey <tromey@redhat.com>
14868
14869 * defs.h (XCALLOC): Remove.
14870 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
14871 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
14872 * dwarf2loc.c (allocate_piece_closure): Likewise.
14873 * elfread.c (elf_symfile_segments): Likewise.
14874 (elf_symfile_segments): Likewise.
14875 * gdbtypes.c (copy_type_recursive): Likewise.
14876 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
14877 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
14878 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
14879 XCALLOC.
14880 * mt-tdep.c (mt_gdbarch_init): Likewise.
14881 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
14882 XCALLOC.
14883 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
14884 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
14885 * registry.c (registry_alloc_data): Likewise.
14886 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
14887 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
14888 * serial.c (serial_fdopen_ops): Likewise.
14889 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
14890 XCALLOC.
14891 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
14892 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
14893 not XCALLOC.
14894
14895 2014-01-13 Tom Tromey <tromey@redhat.com>
14896
14897 * defs.h (XMALLOC): Remove.
14898 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
14899 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
14900 * cli-out.c (struct ui_out *): Likewise.
14901 * cli/cli-dump.c (add_dump_command): Likewise.
14902 (add_dump_command): Likewise.
14903 * complaints.c (get_complaints): Likewise.
14904 (find_complaint): Likewise.
14905 * dwarf2-frame.c (execute_cfa_program): Likewise.
14906 * dwarf2read.c (abbrev_table_read_table): Likewise.
14907 * gdbarch.sh: Likewise.
14908 * gdbarch.c: Rebuild.
14909 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
14910 * interps.c (interp_new): Likewise.
14911 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
14912 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
14913 * mi/mi-console.c (mi_console_file_new): Likewise.
14914 * mi/mi-interp.c (mi_interpreter_init): Likewise.
14915 * mi/mi-out.c (mi_out_new): Likewise.
14916 * mi/mi-parse.c (mi_parse): Likewise.
14917 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
14918 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
14919 * observer.c (xalloc_observer_list_node): Likewise.
14920 * regcache.c (regcache_xmalloc_1): Likewise.
14921 * reggroups.c (reggroup_new): Likewise.
14922 (_initialize_reggroup): Likewise.
14923 * registry.c (register_data_with_cleanup): Likewise.
14924 * remote.c (remote_notif_stop_alloc_reply): Likewise.
14925 * ser-base.c (serial_ttystate): Likewise.
14926 * ser-mingw.c (make_pipe_state): Likewise.
14927 * ser-pipe.c (pipe_open): Likewise.
14928 * serial.c (serial_open): Likewise.
14929 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
14930 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
14931 (tui_alloc_win_info): Likewise.
14932 (tui_add_content_elements): Likewise.
14933 * tui/tui-file.c (tui_file_new): Likewise.
14934 * tui/tui-out.c (tui_out_new): Likewise.
14935 * ui-file.c (mem_file_new): Likewise.
14936 * ui-out.c (push_level): Likewise.
14937 (make_cleanup_ui_out_end): Likewise.
14938 (append_header_to_list): Likewise.
14939 (ui_out_new): Likewise.
14940 * user-regs.c (user_reg_add_builtin): Likewise.
14941
14942 2014-01-13 Tom Tromey <tromey@redhat.com>
14943
14944 * defs.h (XZALLOC): Remove.
14945 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
14946 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
14947 (get_ada_tasks_inferior_data): Likewise.
14948 * auto-load.c (get_auto_load_pspace_data): Likewise.
14949 * auxv.c (get_auxv_inferior_data): Likewise.
14950 * bfd-target.c (target_bfd_reopen): Likewise.
14951 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
14952 (deprecated_insert_raw_breakpoint): Likewise.
14953 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
14954 * corelow.c (core_open): Likewise.
14955 * darwin-nat.c (darwin_check_new_threads): Likewise.
14956 (darwin_attach_pid): Likewise.
14957 * dummy-frame.c (dummy_frame_push): Likewise.
14958 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
14959 * dwarf2loc.c (allocate_piece_closure): Likewise.
14960 * elfread.c (elf_symfile_segments): Likewise.
14961 * eval.c (ptrmath_type_p): Likewise.
14962 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
14963 * gdbtypes.c (alloc_type_arch): Likewise.
14964 (alloc_type_instance): Likewise.
14965 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
14966 * inf-child.c (inf_child_can_use_agent): Likewise.
14967 * inflow.c (get_inflow_inferior_data): Likewise.
14968 * infrun.c (save_infcall_suspend_state): Likewise.
14969 * jit.c (jit_reader_load): Likewise.
14970 (get_jit_objfile_data): Likewise.
14971 (get_jit_program_space_data): Likewise.
14972 (jit_object_open_impl): Likewise.
14973 (jit_symtab_open_impl): Likewise.
14974 (jit_block_open_impl): Likewise.
14975 (jit_frame_sniffer): Likewise.
14976 * linux-fork.c (add_fork): Likewise.
14977 * maint.c (make_command_stats_cleanup): Likewise.
14978 * objfiles.c (get_objfile_pspace_data): Likewise.
14979 * opencl-lang.c (struct lval_closure): Likewise.
14980 * osdata.c (osdata_start_osdata): Likewise.
14981 * progspace.c (new_address_space): Likewise.
14982 (add_program_space): Likewise.
14983 * remote-sim.c (get_sim_inferior_data): Likewise.
14984 * sh-tdep.c (sh_gdbarch_init): Likewise.
14985 * skip.c (Ignore): Likewise.
14986 (skip_delete_command): Likewise.
14987 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
14988 (library_list_start_library): Likewise.
14989 (solib_aix_current_sos): Likewise.
14990 * solib-darwin.c (get_darwin_info): Likewise.
14991 (darwin_current_sos): Likewise.
14992 * solib-dsbt.c (get_dsbt_info): Likewise.
14993 * solib-ia64-hpux.c (new_so_list): Likewise.
14994 (ia64_hpux_get_solib_linkage_addr): Likewise.
14995 * solib-spu.c (append_ocl_sos): Likewise.
14996 (spu_current_sos): Likewise.
14997 * solib-svr4.c (get_svr4_info): Likewise.
14998 (svr4_keep_data_in_core): Likewise.
14999 (library_list_start_library): Likewise.
15000 (svr4_default_sos): Likewise.
15001 (svr4_read_so_list): Likewise.
15002 * solib-target.c (library_list_start_library): Likewise.
15003 (solib_target_current_sos): Likewise.
15004 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
15005 * symfile-debug.c (install_symfile_debug_logging): Likewise.
15006 * symfile.c (default_symfile_segments): Likewise.
15007 * target-descriptions.c (tdesc_data_init): Likewise.
15008 (tdesc_create_reg): Likewise.
15009 (struct tdesc_type *): Likewise.
15010 (tdesc_create_vector): Likewise.
15011 (tdesc_set_struct_size): Likewise.
15012 (struct tdesc_type *): Likewise.
15013 (tdesc_free_feature): Likewise.
15014 (tdesc_create_feature): Likewise.
15015 * windows-nat.c (windows_add_thread): Likewise.
15016 (windows_make_so): Likewise.
15017 * xml-support.c (gdb_xml_body_text): Likewise.
15018 (gdb_xml_create_parser_and_cleanup): Likewise.
15019 (xml_process_xincludes): Likewise.
15020 * xml-syscall.c (allocate_syscalls_info): Likewise.
15021 (syscall_create_syscall_desc): Likewise.
15022
15023 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
15024
15025 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
15026 function, with code from i386_stap_parse_special_token.
15027 (i386_stap_parse_special_token_three_arg_disp): Likewise.
15028 (i386_stap_parse_special_token): Move code to the two functions
15029 above; simplify it.
15030
15031 2014-01-09 Pedro Alves <palves@redhat.com>
15032 Hui Zhu <hui@codesourcery.com>
15033
15034 PR gdb/16101
15035 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
15036 bp_err_string. Don't mark the location shlib_disabled if the
15037 error thrown wasn't a generic or memory error. Catch errors
15038 thrown while inserting breakpoints in overlayed code. Output
15039 error message of software breakpoints.
15040 * remote.c (remote_insert_breakpoint): If this breakpoint has
15041 target-side commands but this stub doesn't support Z0 packets,
15042 throw NOT_SUPPORTED_ERROR error.
15043 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
15044 * target.h (target_insert_breakpoint): Extend comment.
15045 (target_insert_hw_breakpoint): Add comment.
15046
15047 2014-01-08 Pedro Alves <palves@redhat.com>
15048
15049 * remote.c (remote_add_thread): Add threads silently if starting
15050 up.
15051 (remote_notice_new_inferior): If in all-stop, and starting up,
15052 don't call notice_new_inferior.
15053 (get_current_thread): New function, factored out from ...
15054 (add_current_inferior_and_thread): ... this. Adjust.
15055 (remote_start_remote) <all-stop>: Fetch the thread list. If we
15056 found any thread, then select the remote's current thread as GDB's
15057 current thread too.
15058
15059 2014-01-08 Joel Brobecker <brobecker@adacore.com>
15060
15061 * NEWS: Create a new section for the next release branch.
15062 Rename the section of the current branch, now that it has
15063 been cut.
15064
15065 2014-01-08 Joel Brobecker <brobecker@adacore.com>
15066
15067 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
15068 * version.in: Bump version to 7.7.50.DATE-cvs.
15069
15070 2014-01-08 Yao Qi <yao@codesourcery.com>
15071
15072 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
15073 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
15074 (spu_xfer_partial): Cast 'buf' to 'const char *'.
15075
15076 2014-01-08 Yao Qi <yao@codesourcery.com>
15077
15078 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
15079 return value of bfd_get_filename to symbol_file_add_from_bfd.
15080
15081 2014-01-08 Pierre Muller <muller@sourceware.org>
15082
15083 Fix PR16201.
15084 * coff-pe-read.c (struct read_pe_section_data): Add index field.
15085 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
15086 to prim_record_mininal_symbol_and_info.
15087 (add_pe_forwarded_sym): Use known section number of forwarded symbol
15088 in call to prim_record_minimal_symbol_and_info.
15089 (read_pe_exported_syms): Set index field of section_data.
15090
15091 2014-01-07 Andrew Pinski <apinski@cavium.com>
15092
15093 * features/aarch64-core.xml (cpsr): Change to be 64bit.
15094 * features/aarch64.c: Regenerate.
15095
15096 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
15097
15098 * target.c (return_null): Define.
15099 (update_current_target): Use it instead of return_zero for
15100 functions that return a pointer.
15101
15102 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15103
15104 * source.c (add_path): Fix check for duplicated paths in the previously
15105 included paths.
15106
15107 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
15108
15109 * ada-lang.c: Remove duplicated include statements.
15110 * alphabsd-nat.c: Ditto.
15111 * amd64-darwin-tdep.c: Ditto.
15112 * amd64fbsd-nat.c: Ditto.
15113 * auto-load.c: Ditto.
15114 * ax-gdb.c: Ditto.
15115 * breakpoint.c: Ditto.
15116 * dbxread.c: Ditto.
15117 * fork-child.c: Ditto.
15118 * gdb_usleep.c: Ditto.
15119 * i386-darwin-tdep.c: Ditto.
15120 * i386fbsd-nat.c: Ditto.
15121 * infcmd.c: Ditto.
15122 * inferior.c: Ditto.
15123 * jv-lang.c: Ditto.
15124 * linux-nat.c: Ditto.
15125 * linux-tdep.c: Ditto.
15126 * m68kbsd-nat.c: Ditto.
15127 * m68klinux-nat.c: Ditto.
15128 * microblaze-tdep.c: Ditto.
15129 * mips-linux-tdep.c: Ditto.
15130 * mn10300-tdep.c: Ditto.
15131 * nto-tdep.c: Ditto.
15132 * opencl-lang.c: Ditto.
15133 * osdata.c: Ditto.
15134 * printcmd.c: Ditto.
15135 * regcache.c: Ditto.
15136 * remote-m32r-sdi.c: Ditto.
15137 * remote.c: Ditto.
15138 * symfile.c: Ditto.
15139 * symtab.c: Ditto.
15140 * tilegx-linux-nat.c: Ditto.
15141 * tilegx-tdep.c: Ditto.
15142 * tracepoint.c: Ditto.
15143 * valops.c: Ditto.
15144 * vaxbsd-nat.c: Ditto.
15145 * windows-nat.c: Ditto.
15146 * xtensa-tdep.c: Ditto.
15147
15148 2014-01-07 Yao Qi <yao@codesourcery.com>
15149
15150 * spu-linux-nat.c (_initialize_spu_nat): Declare.
15151
15152 2014-01-07 Yao Qi <yao@codesourcery.com>
15153 Joel Brobecker <brobecker@adacore.com>
15154
15155 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
15156 (pdc_write_regs): Likewise.
15157 (fetch_regs_kernel_thread): Likewise.
15158 (store_regs_kernel_thread): Likewise.
15159
15160 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15161
15162 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
15163 tagged type objects to their actual type.
15164
15165 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15166
15167 * ada-valprint.c (print_field_values): Add "language" parameter.
15168 Update calls to print_field_values and print_variant_part.
15169 Pass new parameter "language" in call to val_print instead
15170 of "current_language". Replace call to ada_val_print by call
15171 to val_print.
15172 (print_variant_part): Add "language" parameter.
15173 (ada_val_print_struct_union): Update call to print_field_values.
15174
15175 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15176
15177 * ada-valprint.c (ui_memcpy): Delete.
15178 (ada_print_floating): Update documentation. Add empty line
15179 between between function documentation and implementation.
15180 Delete variable "buffer". Use ui_file_xstrdup in place of
15181 ui_file_put. Minor adjustments following this change.
15182
15183 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15184
15185 * ada-valprint.c (ada_val_print_string): New function,
15186 extracted from ada_val_print_array.
15187 (ada_val_print_array): Replace extracted code by call
15188 to ada_val_print_string followed by a return. Move
15189 "else" branch to the function's top block.
15190
15191 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15192
15193 * ada-valprint.c (ada_val_print_array): Move implementation
15194 down. Rename parameter "offset" and "val" into "offset_aligned"
15195 and "original_value" respectively. Add parameter "offset".
15196
15197 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15198
15199 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
15200 re-organizing the code. Change the "???" message printed
15201 when target type is a TYPE_CODE_UNDEF into
15202 "<ref to undefined type>".
15203
15204 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15205
15206 * ada-valprint.c (print_record): Delete, implementation inlined...
15207 (ada_val_print_struct_union): ... here. Remove call to
15208 ada_check_typedef in inlined implementation.
15209
15210 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15211
15212 * ada-valprint.c (ada_val_print_gnat_array): New function,
15213 extracted from ada_val_print_1;
15214 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
15215 (ada_val_print_flt, ada_val_print_struct_union)
15216 (ada_val_print_ref): Likewise.
15217 (ada_val_print_1): Delete variables i and elttype.
15218 Replace extracted-out code by call to corresponding
15219 new functions.
15220
15221 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15222
15223 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
15224
15225 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15226
15227 * ada-valprint.c (ada_val_print_1): Replace calls to
15228 ada_val_print_1 by calls to val_print.
15229
15230 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15231
15232 * ada-valprint.c (ada_val_print_1): Add parameter "language".
15233 Update calls to self accordingly. Replace calls to c_val_print
15234 by calls to val_print.
15235
15236 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15237
15238 * ada-valprint.c (print_record): Delete declaration.
15239 (adjust_type_signedness, ada_val_print_1): Likewise.
15240 (ada_val_print): Move function implementation down.
15241 (print_variant_part, print_field_values, print_record):
15242 Move function implementation up.
15243
15244 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15245
15246 * python/py-type.c (typy_get_name): New function.
15247 (type_object_getset): Add entry for attribute "name".
15248 * NEWS: Add entry mentioning this new attribute.
15249
15250 2014-01-07 Yao Qi <yao@codesourcery.com>
15251
15252 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
15253 statement.
15254
15255 2014-01-07 Yao Qi <yao@codesourcery.com>
15256
15257 * gnu-nat.c (info_port_rights): Add qualifier const to
15258 argument args.
15259
15260 2014-01-07 Yao Qi <yao@codesourcery.com>
15261
15262 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
15263
15264 2014-01-07 Yao Qi <yao@codesourcery.com>
15265
15266 * gnu-nat.c (make_inf) Update declaration.
15267 (make_inf): Make it static.
15268 (inf_set_traced): Likewise.
15269 (inf_port_to_thread, inf_task_died_status): Likewise.
15270
15271 2014-01-07 Yao Qi <yao@codesourcery.com>
15272
15273 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
15274
15275 2014-01-07 Yao Qi <yao@codesourcery.com>
15276
15277 * gnu-nat.c (_initialize_gnu_nat): Declare.
15278
15279 2014-01-07 Yao Qi <yao@codesourcery.com>
15280
15281 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
15282 'enum bfd_endian'.
15283 (struct gdbarch_info) <byte_order>: Change type to
15284 'enum bfd_endian'.
15285 <byte_order_for_code>: Likewise.
15286 * gdbarch.c, gdbarch.h: Regenerated.
15287
15288 2014-01-06 Sasha Smundak <asmundak@google.com>
15289
15290 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
15291
15292 2014-01-06 Tom Tromey <tromey@redhat.com>
15293
15294 * doublest.c (convert_doublest_to_floatformat): Use const, not
15295 CONST.
15296 * somread.c (som_symtab_read): Likewise.
15297
15298 2014-01-07 Hui Zhu <hui@codesourcery.com>
15299
15300 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
15301 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
15302 (gdb_bfd_fopen): Ditto.
15303 (gdb_bfd_openr): Ditto.
15304 (gdb_bfd_openw): Ditto.
15305 (gdb_bfd_openr_iovec): Ditto.
15306 (gdb_bfd_fdopenr): Ditto.
15307 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
15308 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
15309 with xstrdup.
15310 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
15311 with xstrdup.
15312 * symfile-mem.c (symbol_file_add_from_memory): Removed
15313 gdb_bfd_stash_filename.
15314
15315 2014-01-03 Doug Evans <dje@google.com>
15316
15317 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
15318 output.
15319
15320 2014-01-01 Joel Brobecker <brobecker@adacore.com>
15321
15322 Update year range in copyright notice of all files.
15323
15324 2014-01-01 Joel Brobecker <brobecker@adacore.com>
15325
15326 * top.c (print_gdb_version): Set copyright year to 2014.
15327
15328 2014-01-01 Joel Brobecker <brobecker@adacore.com>
15329
15330 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
15331
15332 For older changes see ChangeLog-2013.
15333 \f
15334 Local Variables:
15335 mode: change-log
15336 left-margin: 8
15337 fill-column: 74
15338 version-control: never
15339 coding: utf-8
15340 End: