Split struct symtab into two: struct symtab and compunit_symtab.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
43f3e411
DE
12014-11-20 Doug Evans <xdje42@gmail.com>
2
3 Split struct symtab into two: struct symtab and compunit_symtab.
4 * amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit.
5 * block.c (blockvector_for_pc_sect): Change "struct symtab *" argument
6 to "struct compunit_symtab *". All callers updated.
7 (set_block_compunit_symtab): Renamed from set_block_symtab. Change
8 "struct symtab *" argument to "struct compunit_symtab *".
9 All callers updated.
10 (get_block_compunit_symtab): Renamed from get_block_symtab. Change
11 result to "struct compunit_symtab *". All callers updated.
12 (find_iterator_compunit_symtab): Renamed from find_iterator_symtab.
13 Change result to "struct compunit_symtab *". All callers updated.
14 * block.h (struct global_block) <compunit_symtab>: Renamed from symtab.
15 hange type to "struct compunit_symtab *". All uses updated.
16 (struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab".
17 Change type to "struct compunit_symtab *". All uses updated.
18 * buildsym.c (struct buildsym_compunit): New struct.
19 (subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete.
20 (buildsym_compunit): New static global.
21 (finish_block_internal): Update to fetch objfile from
22 buildsym_compunit.
23 (make_blockvector): Delete objfile argument.
24 (start_subfile): Rewrite to use buildsym_compunit. Don't initialize
25 debugformat, producer.
26 (start_buildsym_compunit): New function.
27 (free_buildsym_compunit): Renamed from free_subfiles_list.
28 All callers updated.
29 (patch_subfile_names): Rewrite to use buildsym_compunit.
30 (get_compunit_symtab): New function.
31 (get_macro_table): Delete argument comp_dir. All callers updated.
32 (start_symtab): Change result to "struct compunit_symtab *".
33 All callers updated. Create the subfile of the main source file.
34 (watch_main_source_file_lossage): Rewrite to use buildsym_compunit.
35 (reset_symtab_globals): Update.
36 (end_symtab_get_static_block): Update to use buildsym_compunit.
37 (end_symtab_without_blockvector): Rewrite.
38 (end_symtab_with_blockvector): Change result to
39 "struct compunit_symtab *". All callers updated.
40 Update to use buildsym_compunit. Don't set symtab->dirname,
41 instead set it in the compunit.
42 Explicitly make sure main symtab is first in its list.
43 Set debugformat, producer, blockvector, block_line_section, and
44 macrotable in the compunit.
45 (end_symtab_from_static_block): Change result to
46 "struct compunit_symtab *". All callers updated.
47 (end_symtab, end_expandable_symtab): Ditto.
48 (set_missing_symtab): Change symtab argument to
49 "struct compunit_symtab *". All callers updated.
50 (augment_type_symtab): Ditto.
51 (record_debugformat): Update to use buildsym_compunit.
52 (record_producer): Update to use buildsym_compunit.
53 * buildsym.h (struct subfile) <dirname>: Delete.
54 <producer, debugformat>: Delete.
55 <buildsym_compunit>: New member.
56 (get_compunit_symtab): Declare.
57 * dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed
58 from primary_symtab. Change type to "struct compunit_symtab *".
59 All uses updated.
60 (dwarf2_start_symtab): Change result to "struct compunit_symtab *".
61 All callers updated.
62 (dwarf_decode_macros): Delete comp_dir argument. All callers updated.
63 (struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from
64 symtab. Change type to "struct compunit_symtab *". All uses updated.
65 (dw2_instantiate_symtab): Change result to "struct compunit_symtab *".
66 All callers updated.
67 (dw2_find_last_source_symtab): Ditto.
68 (dw2_lookup_symbol): Ditto.
69 (recursively_find_pc_sect_compunit_symtab): Renamed from
70 recursively_find_pc_sect_symtab. Change result to
71 "struct compunit_symtab *". All callers updated.
72 (dw2_find_pc_sect_compunit_symtab): Renamed from
73 dw2_find_pc_sect_symtab. Change result to
74 "struct compunit_symtab *". All callers updated.
75 (get_compunit_symtab): Renamed from get_symtab. Change result to
76 "struct compunit_symtab *". All callers updated.
77 (recursively_compute_inclusions): Change type of immediate_parent
78 argument to "struct compunit_symtab *". All callers updated.
79 (compute_compunit_symtab_includes): Renamed from
80 compute_symtab_includes. All callers updated. Rewrite to compute
81 includes of compunit_symtabs and not symtabs.
82 (process_full_comp_unit): Update to work with struct compunit_symtab.
83 (process_full_type_unit): Ditto.
84 (dwarf_decode_lines_1): Delete argument comp_dir. All callers updated.
85 (dwarf_decode_lines): Remove special case handling of main subfile.
86 (macro_start_file): Delete argument comp_dir. All callers updated.
87 (dwarf_decode_macro_bytes): Ditto.
88 * guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to
89 use struct compunit_symtab.
90 * i386-tdep.c (i386_skip_prologue): Fetch producer from compunit.
91 * jit.c (finalize_symtab): Build compunit_symtab.
92 * jv-lang.c (get_java_class_symtab): Change result to
93 "struct compunit_symtab *". All callers updated.
94 * macroscope.c (sal_macro_scope): Fetch macro table from compunit.
95 * macrotab.c (struct macro_table) <compunit_symtab>: Renamed from
96 comp_dir. Change type to "struct compunit_symtab *".
97 All uses updated.
98 (new_macro_table): Change comp_dir argument to cust,
99 "struct compunit_symtab *". All callers updated.
100 * maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from
101 nr_primary_symtabs. All uses updated.
102 (count_symtabs_and_blocks): Update to handle compunits.
103 (report_command_stats): Update output, "primary symtabs" renamed to
104 "compunits".
105 * mdebugread.c (new_symtab): Change result to
106 "struct compunit_symtab *". All callers updated.
107 (parse_procedure): Change type of search_symtab argument to
108 "struct compunit_symtab *". All callers updated.
109 * objfiles.c (objfile_relocate1): Loop over blockvectors in a
110 separate loop.
111 * objfiles.h (struct objfile) <compunit_symtabs>: Renamed from
112 symtabs. Change type to "struct compunit_symtab *". All uses updated.
113 (ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS.
114 All uses updated.
115 (ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS.
116 All uses updated.
117 (ALL_FILETABS): Renamed from ALL_SYMTABS. All uses updated.
118 (ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS. All uses updated.
119 * psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from
120 symtab. Change type to "struct compunit_symtab *". All uses updated.
121 * psymtab.c (psymtab_to_symtab): Change result type to
122 "struct compunit_symtab *". All callers updated.
123 (find_pc_sect_compunit_symtab_from_partial): Renamed from
124 find_pc_sect_symtab_from_partial. Change result type to
125 "struct compunit_symtab *". All callers updated.
126 (lookup_symbol_aux_psymtabs): Change result type to
127 "struct compunit_symtab *". All callers updated.
128 (find_last_source_symtab_from_partial): Ditto.
129 * python/py-symtab.c (stpy_get_producer): Fetch producer from compunit.
130 * source.c (forget_cached_source_info_for_objfile): Fetch debugformat
131 and macro_table from compunit.
132 * symfile-debug.c (debug_qf_find_last_source_symtab): Change result
133 type to "struct compunit_symtab *". All callers updated.
134 (debug_qf_lookup_symbol): Ditto.
135 (debug_qf_find_pc_sect_compunit_symtab): Renamed from
136 debug_qf_find_pc_sect_symtab, change result type to
137 "struct compunit_symtab *". All callers updated.
138 * symfile.c (allocate_symtab): Delete objfile argument.
139 New argument cust.
140 (allocate_compunit_symtab): New function.
141 (add_compunit_symtab_to_objfile): New function.
142 * symfile.h (struct quick_symbol_functions) <lookup_symbol>:
143 Change result type to "struct compunit_symtab *". All uses updated.
144 <find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab.
145 Change result type to "struct compunit_symtab *". All uses updated.
146 * symmisc.c (print_objfile_statistics): Compute blockvector count in
147 separate loop.
148 (dump_symtab_1): Update test for primary source symtab.
149 (maintenance_info_symtabs): Update to handle compunit symtabs.
150 (maintenance_check_symtabs): Ditto.
151 * symtab.c (set_primary_symtab): Delete.
152 (compunit_primary_filetab): New function.
153 (compunit_language): New function.
154 (iterate_over_some_symtabs): Change type of arguments "first",
155 "after_last" to "struct compunit_symtab *". All callers updated.
156 Update to loop over symtabs in each compunit.
157 (error_in_psymtab_expansion): Rename symtab argument to cust,
158 and change type to "struct compunit_symtab *". All callers updated.
159 (find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab.
160 Change result type to "struct compunit_symtab *". All callers updated.
161 (find_pc_compunit_symtab): Renamed from find_pc_symtab.
162 Change result type to "struct compunit_symtab *". All callers updated.
163 (find_pc_sect_line): Only loop over symtabs within selected compunit
164 instead of all symtabs in the objfile.
165 * symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab.
166 <compunit_symtab> New member.
167 <block_line_section>: Moved to compunit_symtab.
168 <locations_valid>: Ditto.
169 <epilogue_unwind_valid>: Ditto.
170 <macro_table>: Ditto.
171 <dirname>: Ditto.
172 <debugformat>: Ditto.
173 <producer>: Ditto.
174 <objfile>: Ditto.
175 <call_site_htab>: Ditto.
176 <includes>: Ditto.
177 <user>: Ditto.
178 <primary>: Delete
179 (SYMTAB_COMPUNIT): New macro.
180 (SYMTAB_BLOCKVECTOR): Update definition.
181 (SYMTAB_OBJFILE): Update definition.
182 (SYMTAB_DIRNAME): Update definition.
183 (struct compunit_symtab): New type. Common members among all source
184 symtabs within a compilation unit moved here. All uses updated.
185 (COMPUNIT_OBJFILE): New macro.
186 (COMPUNIT_FILETABS): New macro.
187 (COMPUNIT_DEBUGFORMAT): New macro.
188 (COMPUNIT_PRODUCER): New macro.
189 (COMPUNIT_DIRNAME): New macro.
190 (COMPUNIT_BLOCKVECTOR): New macro.
191 (COMPUNIT_BLOCK_LINE_SECTION): New macro.
192 (COMPUNIT_LOCATIONS_VALID): New macro.
193 (COMPUNIT_EPILOGUE_UNWIND_VALID): New macro.
194 (COMPUNIT_CALL_SITE_HTAB): New macro.
195 (COMPUNIT_MACRO_TABLE): New macro.
196 (ALL_COMPUNIT_FILETABS): New macro.
197 (compunit_symtab_ptr): New typedef.
198 (DEF_VEC_P (compunit_symtab_ptr)): New vector type.
199
005e2509
JB
2002014-11-20 Joel Brobecker <brobecker@adacore.com>
201
202 * ada-lang.c (ada_is_redundant_range_encoding): Return 0
203 if the TYPE_CODE of range_type's base type does not match
204 the TYPE_CODE of encoding_type's base type.
205
2b0f535a
JB
2062014-11-19 Joel Brobecker <brobecker@adacore.com>
207
208 * ada-lang.c (ada_unqualified_name): Return DECODED_NAME if
209 it starts with '<'.
210
8908fca5
JB
2112014-11-19 Joel Brobecker <brobecker@adacore.com>
212
213 * ada-lang.c (ada_is_redundant_range_encoding): New function.
214 (ada_is_redundant_index_type_desc): New function.
215 (to_fixed_array_type): Ignore parallel XA type if redundant.
216
4a46959e
JB
2172014-11-19 Joel Brobecker <brobecker@adacore.com>
218
219 * ada-lang.c (constrained_packed_array_type): Set the length
220 of the return array as if both bounds where zero if that
221 returned array's index type is dynamic.
222
2acf986b
YQ
2232014-11-19 Yao Qi <yao@codesourcery.com>
224
225 * config/i386/go32.mh (CC): Remove.
226
439247b6
DE
2272014-11-18 Doug Evans <xdje42@gmail.com>
228
229 * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses
230 updated.
231
4d663531
DE
2322014-11-18 Doug Evans <xdje42@gmail.com>
233
234 * buildsym.c (buildsym_objfile): New static global.
235 (buildsym_comp_dir): New static global.
236 (finish_block_internal): Delete arg objfile. All callers updated.
237 (finish_block): Delete arg objfile. All callers updated.
238 (start_subfile): Delete arg dirname. All callers updated.
239 (patch_subfile_names): Update buildsym_comp_dir.
240 (get_macro_table): Delete arg objfile. All callers updated.
241 (start_symtab): New arg objfile. All callers updated.
242 Rename arg dirname to comp_dir.
243 (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir.
244 (end_symtab_get_static_block): Delete arg objfile. All callers
245 updated.
246 (end_symtab_without_blockvector): Ditto.
247 (end_symtab_with_blockvector): Ditto.
248 (end_symtab_from_static_block): Ditto.
249 (end_symtab): Ditto.
250 (end_expandable_symtab): Ditto.
251 (augment_type_symtab): Ditto.
252 * coffread.c (coff_start_symtab): New arg objfile. All callers
253 updated.
254
8435453b
DE
2552014-11-18 Doug Evans <xdje42@gmail.com>
256
257 * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses
258 updated.
259
ee6f8984
DE
2602014-11-18 Doug Evans <xdje42@gmail.com>
261
262 * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member
263 symtab.dirname updated to use it.
264
eb822aa6
DE
2652014-11-18 Doug Evans <xdje42@gmail.com>
266
267 * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member
268 symtab.objfile updated to use it.
269
98387a29
DE
2702014-11-18 Doug Evans <xdje42@gmail.com>
271
272 * buildsym.c (watch_main_source_file_lossage): Fix memory leak.
273
aff08958
DE
2742014-11-18 Doug Evans <xdje42@gmail.com>
275
276 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
277 SYMBOL_OBJFILE.
278 * findvar.c (default_read_var_value): Ditto.
279 * jv-lang.c (add_class_symtab_symbol): Ditto.
280 * parse.c (operator_check_standard): Ditto.
281 * printcmd.c (address_info): Ditto.
282 * symtab.c (fixup_symbol_section): Ditto.
283 (skip_prologue_sal): Ditto.
284 * tracepoint.c (scope_info): Ditto.
285 * valops.c (find_function_in_inferior): Ditto.
286 * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto.
287 * python/py-symbol.c (set_symbol): Ditto.
288
7bab9b58
DE
2892014-11-18 Doug Evans <xdje42@gmail.com>
290
291 * buildsym.c (main_subfile): New static global.
292 (free_subfiles_list): New function.
293 (start_symtab): Set main_subfile.
294 (restart_symtab): Replace init of subfiles, current_subfile with
295 call to free_subfiles_list.
296 (watch_main_source_file_lossage): Use main_subfile.
297 (reset_symtab_globals): Replace init of current_subfile with call
298 to free_subfiles_list.
299 (end_symtab_without_blockvector, end_symtab_with_blockvector): New
300 functions, split out from ...
301 (end_symtab_from_static_block): ... here. Rewrite to call them.
302
f194fefb
DE
3032014-11-18 Doug Evans <xdje42@gmail.com>
304
305 The result of symtab expansion is always a primary symtab.
306 * dwarf2read.c (dw2_instantiate_symtab): Add assert.
307 (dw2_lookup_symbol): Remove unnecessary test for primary symbol table.
308 * psymtab.c (lookup_symbol_aux_psymtabs): Ditto.
309 (psymtab_to_symtab): Add comment and assert.
310 (map_matching_symbols_psymtab): Remove unnecessary test for
311 non-primary symtab.
312
34248c3a
DE
3132014-11-15 Doug Evans <xdje42@gmail.com>
314
315 PR symtab/17559
316 * symtab.c (find_pc_line_symtab): New function.
317 * symtab.h (find_pc_line_symtab): Declare.
318 * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of
319 find_pc_symtab.
320 * tui/tui-disasm.c (tui_set_disassem_content): Ditto.
321 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto.
322 * tui/tui-source.c (tui_vertical_source_scroll): Ditto.
323 * tui/tui-win.c (make_visible_with_new_height): Ditto.
324 * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto.
325 (tui_display_main): Call find_pc_line_symtab instead of find_pc_line.
326
2097ae25
DE
3272014-11-15 Doug Evans <xdje42@gmail.com>
328
329 * symtab.c (expand_symtab_containing_pc): Renamed from
330 find_pc_sect_symtab_via_partial. All callers updated.
331
1ada499f
YQ
3322014-11-15 Yao Qi <yao@codesourcery.com>
333
334 * go32-nat.c (go32_create_inferior): Add missing parenthesis.
335
355e2102
JB
3362014-11-14 Joel Brobecker <brobecker@adacore.com>
337
338 * common/common-defs.h: Move <stdarg.h> #include ahead of
339 <stdio.h> #include.
340
83030110
PA
3412014-11-14 Pedro Alves <palves@redhat.com>
342
343 * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define.
344 [!PHONY_ICONV] (gdb_iconv): New function.
345 [!PHONY_ICONV] (iconv): Redefine to gdb_iconv.
346
a8719064
DE
3472014-11-13 Doug Evans <dje@google.com>
348
349 PR symtab/17591
350 * dwarf2read.c (find_slot_in_mapped_hash): Handle
351 "(anonymous namespace)".
352
60f7655a
DE
3532014-11-13 Doug Evans <dje@google.com>
354
355 * dwarf2read.c (update_enumeration_type_from_children): Avoid
356 infinite loop.
357
5784b3ca
JK
3582014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com>
359
360 * NEWS (maint set target-async): Fix typo.
361
6218dc4b
PA
3622014-11-12 Pedro Alves <palves@redhat.com>
363
364 * infrun.c (enum infwait_states, infwait_state): Delete.
365
af48d08f
PA
3662014-11-12 Pedro Alves <palves@redhat.com>
367
368 * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
369 Rewrite stepping over a permanent breakpoint.
370 (thread_still_needs_step_over, proceed): Don't set
371 stepping_over_breakpoint for permanent breakpoints.
372 (handle_signal_stop): Don't clear stepped_breakpoint. Also pull
373 single-step breakpoints out of the target on hardware step
374 targets.
375 (process_event_stop_test): If stepping a permanent breakpoint
376 doesn't hit the step-resume breakpoint, delete the step-resume
377 breakpoint.
378 (switch_back_to_stepped_thread): Also check if the stepped thread
379 has advanced already on hardware step targets.
380 (currently_stepping): Return true if the thread stepped a
381 breakpoint.
382
1a853c52
PA
3832014-11-12 Pedro Alves <palves@redhat.com>
384
385 Mark locations as permanent, not the whole breakpoint.
386 * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
387 (mark_breakpoints_out): Don't mark permanent breakpoints as
388 uninserted.
389 (breakpoint_init_inferior): Use mark_breakpoints_out.
390 (breakpoint_here_p): Adjust.
391 (bpstat_stop_status, describe_other_breakpoints): Remove handling
392 of permanent breakpoints.
393 (make_breakpoint_permanent): Mark each location as permanent,
394 instead of marking the breakpoint.
395 (add_location_to_breakpoint): If the location is permanent, mark
396 it as such, and as inserted.
397 (init_breakpoint_sal): Don't make the breakpoint permanent here.
398 (bp_location_compare, update_global_location_list): Adjust.
399 (update_breakpoint_locations): Don't make the breakpoint permanent
400 here.
401 (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
402 breakpoints.
403 * breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
404 (struct bp_location) <permanent>: New field.
405 * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
406 reference to bp_permanent.
407
ae9bb220
PA
4082014-11-12 Pedro Alves <palves@redhat.com>
409
410 * arch-utils.c (default_skip_permanent_breakpoint): New function.
411 * arch-utils.h (default_skip_permanent_breakpoint): New
412 declaration.
413 * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
414 Install default_skip_permanent_breakpoint as default method.
415 * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
416 (i386_gdbarch_init): Don't install it.
417 * infrun.c (resume): Assume there's always a
418 gdbarch_skip_permanent_breakpoint implementation.
419 * gdbarch.h, gdbarch.c: Regenerate.
420
015de688
DC
4212014-11-11 Daniel Colascione <dancol@dancol.org>
422
423 Warn about cross-PID-namespace debugging.
424 * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
425 * nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
426 * linux-thread-db.c (check_pid_namespace_match): New function.
427 (thread_db_inferior_created): Call it.
428
26a84859
DE
4292014-11-10 Doug Evans <xdje42@gmail.com>
430
431 * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
432 (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
433
712a2e6d
DE
4342014-11-10 Doug Evans <xdje42@gmail.com>
435
436 * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
437
af3768e9
DE
4382014-11-10 Doug Evans <xdje42@gmail.com>
439
440 PR symtab/17564
441 * symtab.c (lookup_symbol_in_all_objfiles): Delete.
442 (lookup_static_symbol): Move definition to new location and rewrite.
443 (lookup_symbol_in_objfile): New function.
444 (lookup_symbol_global_iterator_cb): Call it.
445
b1f28d99
UW
4462014-11-10 Ulrich Weigand  <uweigand@de.ibm.com>
447
448 * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
449
b7a084be
PA
4502014-11-07 Pedro Alves <palves@redhat.com>
451
452 * infrun.c (process_event_stop_test) <subroutine check>: Don't
453 check if we did a "nexti" inside a prologue.
454 * symtab.c (in_prologue): Delete function.
455 * symtab.h (in_prologue): Delete declaration.
456
67be31e5
DE
4572014-11-06 Doug Evans <xdje42@gmail.com>
458
459 * symtab.h (lookup_global_symbol): Improve function comment.
460
08724ab7
DE
4612014-11-06 Doug Evans <xdje42@gmail.com>
462
463 * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
464 All callers updated.
465 * symtab.h (lookup_global_symbol): Update decl.
466 (lookup_static_symbol): Move decl to better location.
467
d9060ba6
DE
4682014-11-06 Doug Evans <xdje42@gmail.com>
469
470 * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
471
74016e12
DE
4722014-11-06 Doug Evans <xdje42@gmail.com>
473
474 * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
475 All callers updated.
476 (lookup_symbol_in_all_objfiles): Renamed from
477 lookup_symbol_aux_symtabs. All callers updated.
478 (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
479 All callers updated.
480 (lookup_symbol_in_objfile_symtabs): Renamed from
481 lookup_symbol_aux_objfile. All callers updated.
482
d1a2d36d
DE
4832014-11-06 Doug Evans <xdje42@gmail.com>
484
485 * symtab.c (lookup_symbol_in_block): Renamed from
486 lookup_symbol_aux_block. All callers updated.
487
24d864bb
DE
4882014-11-06 Doug Evans <xdje42@gmail.com>
489
490 * symtab.c (lookup_static_symbol): Renamed from
491 lookup_static_symbol_aux. All callers updated.
492 (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
493 All callers updated.
494
358d6ab3
DE
4952014-11-06 Doug Evans <xdje42@gmail.com>
496
497 * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
498 * block.c (block_lookup_symbol): Use it.
499 * cp-support.c (make_symbol_overload_list_block): Use it.
500 * symtab.c (iterate_over_symbols): Use it.
501
16b2eaa1
DE
5022014-11-06 Doug Evans <xdje42@gmail.com>
503
504 * symtab.c (lookup_block_symbol): Moved to ...
505 * block.c (block_lookup_symbol): ... here and renamed.
506 All callers updated.
507 * block.h (block_lookup_symbol): Declare.
508 * symtab.h (lookup_block_symbol): Delete.
509
2dd2cd1c
DE
5102014-11-06 Doug Evans <xdje42@gmail.com>
511
512 * ada-lang.c (ada_make_symbol_completion_list): Use
513 ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
514 * symtab.c (lookup_objfile_from_block): Ditto.
515
d4c58915
DE
5162014-11-06 Doug Evans <xdje42@gmail.com>
517
518 * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
519 TYPE_CODE_STRUCT.
520
9c1877ea
DE
5212014-11-06 Doug Evans <xdje42@gmail.com>
522
523 * objfiles.c (get_objfile_arch): Constify.
524 * objfiles.h (get_objfile_arch): Update prototype.
525 * solib.c (solib_global_lookup): Fetch arch from objfile,
526 not target_gdbarch.
527
426a4079
SL
5282014-11-06 Sandra Loosemore <sandra@codesourcery.com>
529
530 * nios2-tdep.c (wild_insn): Delete.
531 (profiler_insn, irqentry_insn): Delete.
532 (nios2_match_sequence): Delete.
533 (nios2_analyze_prologue): Update comments. Remove matching
534 of obsolete profiler_insn and irqentry_insn sequences.
535
ee11262d
AM
5362014-11-05 Alan Modra <amodra@gmail.com>
537
538 * charset.c (convert_between_encodings): Shrink obstack using
539 obstack_blank_fast.
540 * minsyms.c (install_minimal_symbols): Likewise.
1ae1b8cc
AM
541 * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
542 to char* before doing pointer arithmetic.
ee11262d 543
c87e6d00
SM
5442014-11-04 Simon Marchi <simon.marchi@ericsson.com>
545
546 * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
547
441ef17f
PA
5482014-11-04 Pedro Alves <palves@redhat.com>
549
550 * breakpoint.c (breakpoint_thread_match): Delete function.
551 * breakpoint.h (breakpoint_thread_match): Delete declaration.
552
e0f52461
SC
5532014-11-03 Siva Chandra Reddy <sivachandra@google.com>
554
555 PR c++/17494
556 * eval.c (evaluate_subexp_standard): Evaluate the "object" and
557 the method args also under EVAL_SKIP when evaluating method
558 calls under EVAL_SKIP.
559
a0b4d890
YQ
5602014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
561
562 * dwarf2loc.c (read_pieced_value): Do big endian
563 processing only if gdb_regnum is not -1.
564 (write_pieced_value): Ditto.
565
5662014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
567
568 * arm-linux-tdep.c (arm_linux_init_abi): Use
569 info.byte_order_for_code to choose endianity of breakpoint
570 instructions snippets.
571
5722014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
573
574 * arm-tdep.c (extract_arm_insn): Use
575 gdbarch_byte_order_for_code to read arm instruction.
576
e82149ff
DE
5772014-11-02 Doug Evans <xdje42@gmail.com>
578
579 * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
580
d7ee84f1
DE
5812014-11-02 Doug Evans <xdje42@gmail.com>
582
583 * xcoffread.c (process_linenos): Delete unnecessary zeroing of
584 main_subfile before returning.
585
4f072d17
DE
5862014-10-31 Doug Evans <xdje42@gmail.com>
587
588 * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
589 (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
590
8301c89e
DE
5912014-10-31 Doug Evans <xdje42@gmail.com>
592
593 * valops.c (value_cast_pointers): Fix whitespace.
594 (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
595 Ditto.
596
02be9a71
DE
5972014-10-30 Doug Evans <dje@google.com>
598
599 * NEWS: Mention ability add attributes to gdb.Objfile and
600 gdb.Progspace objects.
601 * python/py-objfile.c (objfile_object): New member dict.
602 (objfpy_dealloc): Py_XDECREF dict.
603 (objfpy_initialize): Initialize dict.
604 (objfile_getset): Add __dict__.
605 (objfile_object_type): Set tp_dictoffset member.
606 * python/py-progspace.c (progspace_object): New member dict.
607 (pspy_dealloc): Py_XDECREF dict.
608 (pspy_initialize): Initialize dict.
609 (pspace_getset): Add __dict__.
610 (pspace_object_type): Set tp_dictoffset member.
611
6427bef6
YQ
6122014-10-30 Yao Qi <yao@codesourcery.com>
613
614 * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
615 replace '\\' with '\\\\'.
616
f60325be
JB
6172014-10-29 Joel Brobecker <brobecker@adacore.com>
618
619 GDB 7.8.1 released.
620
ab917dfb
PA
6212014-10-29 Pedro Alves <palves@redhat.com>
622
623 PR gdb/17408
624 * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
625 instead of assuming a thread with a stepping range is always
626 stepping.
627
d3d4baed
PA
6282014-10-29 Pedro Alves <palves@redhat.com>
629
630 PR python/17372
631 * event-top.c (change_line_handler): Call
632 gdb_rl_callback_handler_remove instead of
633 rl_callback_handler_remove.
634 (callback_handler_installed): New global.
635 (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
636 (gdb_rl_callback_handler_reinstall): New functions.
637 (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
638 gdb_rl_callback_handler_install instead of
639 rl_callback_handler_remove and rl_callback_handler_install.
640 (gdb_disable_readline): Call gdb_rl_callback_handler_remove
641 instead of rl_callback_handler_remove.
642 * event-top.h (gdb_rl_callback_handler_remove)
643 (gdb_rl_callback_handler_install)
644 (gdb_rl_callback_handler_reinstall): New declarations.
645 * infrun.c (reinstall_readline_callback_handler_cleanup): New
646 cleanup function.
647 (fetch_inferior_event): Install it.
648 * top.c (gdb_readline_wrapper_line) Call
649 gdb_rl_callback_handler_remove instead of
650 rl_callback_handler_remove.
651 (gdb_readline_wrapper_cleanup): Don't call
652 rl_callback_handler_install.
653
6e5d7f39
PA
6542014-10-29 Pedro Alves <palves@redhat.com>
655
656 * event-top.c (command_line_handler): Clear the first byte of
657 linebuffer, when it is first allocated.
658
551cb6a5
PA
6592014-10-29 Pedro Alves <palves@redhat.com>
660
661 * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
662 TRY_CATCH.
663
1e1e619b
PA
6642014-10-29 Pedro Alves <palves@redhat.com>
665
666 PR tui/16138
667 PR tui/17519
668 * tui/tui-interp.c (tui_is_toplevel): Delete global.
669 (tui_allowed_p): Delete function.
670 * tui/tui.c: Include "interps.h".
671 (tui_enable): Don't use tui_allowed_p. Error out here with
672 detailed error messages if the TUI is the top level interpreter,
673 or if output is not a terminal. Use newterm instead of initscr,
674 and error out if initializing the terminal fails. Also error out if
675 the terminal doesn't support cursor addressing.
676 * tui/tui.h (tui_allowed_p): Delete declaration.
677
6041179a
JB
6782014-10-29 Joel Brobecker <brobecker@adacore.com>
679
680 * arm-tdep.c (arm_skip_stack_protector): Return early if
681 address loaded by first "ldr" instruction does not have
682 a corresponding minimal symbol. Update comment.
683
6ae274b7
YQ
6842014-10-29 Yao Qi <yao@codesourcery.com>
685
686 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
687 loaded address correctly of ldr instruction.
688
7f5ef605
PA
6892014-10-28 Pedro Alves <palves@redhat.com>
690
691 PR gdb/12623
692 * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
693 field.
694 * infrun.c (resume) <stepping breakpoint instruction>: Set the
695 thread's stepped_breakpoint field. Skip if reverse debugging.
696 Add comment.
697 (init_thread_stepping_state, handle_signal_stop): Clear the
698 thread's stepped_breakpoint field.
699
7d1a114c
PA
7002014-10-27 Pedro Alves <palves@redhat.com>
701
702 * remote.c (remote_thread_alive): New, factored out from ...
703 (remote_thread_alive): ... this.
704 (remote_update_thread_list): Bail out before deleting threads if
705 the target returned an empty list, and, the current thread has a
706 magic/fake ptid.
707
e5f8a7cc
PA
7082014-10-27 Pedro Alves <palves@redhat.com>
709
710 * infrun.c (handle_signal_stop): Also skip handlers when a random
711 signal arrives while handling a "stepi" or a "nexti". Set the
712 thread's 'step_after_step_resume_breakpoint' flag.
713
71e396f9
LM
7142014-10-27 Luis Machado <lgustavo@codesourcery.com>
715
716 * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
717 (arm_record_ld_st_imm_offset): Reimplement to cover all
718 load/store cases for ARM opcode 010.
719 (arm_record_ld_st_multiple): Reimplement to cover all
720 load/store cases for ARM opcode 100.
721
3aee438b
DE
7222014-10-26 Doug Evans <xdje42@gmail.com>
723
724 * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
725
f88cb4b6
DE
7262014-10-26 Doug Evans <xdje42@gmail.com>
727
728 * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
729 parameter "kind" to "block_index".
730 * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
731 "block_index".
732 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
733
a023a30f
DE
7342014-10-26 Doug Evans <xdje42@gmail.com>
735
736 * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
737
4c35218e
DE
7382014-10-26 Doug Evans <xdje42@gmail.com>
739
740 * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
741 obstack_alloc.
742
f08e8df3
DE
7432014-10-26 Doug Evans <xdje42@gmail.com>
744
745 * parser-defs.h (block_found): Move decl from here ...
746 * symtab.h (block_found): ... to here.
747
cf901d3b
DE
7482014-10-26 Doug Evans <xdje42@gmail.com>
749
750 * symtab.h (struct field_of_this_result): Fix typo in comment.
751 (lookup_symbol_in_language): Move function comment here.
752 (lookup_symbol): Improve function comment.
753 (basic_lookup_symbol_nonlocal): Ditto.
754 (lookup_symbol_static, lookup_symbol_global): Ditto.
755 (lookup_symbol_aux_block): Ditto.
756 (lookup_language_this): Add function comment.
757 (lookup_static_symbol_aux): Explicitly mark as extern. Improve
758 function comment.
759 (lookup_block_symbol): Improve function comment.
760 (lookup_struct): Fix capitalization in function comment.
761 (lookup_transparent_type): Add function comment.
762 (lookup_global_symbol_from_objfile): Explicitly mark as extern.
763 Improve function comment.
764 (lookup_objfile_from_block): Add function comment.
765 * symtab.c (lookup_symbol_in_language): Update function comment.
766 (lookup_symbol, lookup_language_this): Ditto.
767 (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
768 (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
769 (basic_lookup_symbol_nonlocal): Ditto.
770 (lookup_symbol_static, lookup_symbol_global): Ditto.
771 (lookup_transparent_type, lookup_block_symbol): Ditto.
772
ff6c39cf
DE
7732014-10-25 Doug Evans <xdje42@gmail.com>
774
775 * symtab.c (types_info): Delete forward decl.
776 (functions_info, variables_info, sources_info): Ditto.
777 (_initialize_symtab): Rewrite forward decl to use
778 initialize_file_ftype.
779
ec201f0c
DE
7802014-10-25 Doug Evans <xdje42@gmail.com>
781
782 * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
783
ca040673
DE
7842014-10-25 Doug Evans <xdje42@gmail.com>
785
786 * dwarf2read.c (process_structure_scope): Remove second (nested) copy
787 of local var child_die.
788
6f259a23
DB
7892014-10-24 Don Breazeal <donb@codesourcery.com>
790
791 * infrun.c (follow_fork_inferior): Update fork message printing
792 to use target_terminal_ours_for_output instead of
793 target_terminal_ours, to use _() for all format strings, to print
794 "vfork" instead of "fork" for vforks, and to add a detach message.
795 (handle_vfork_child_exec_or_exit): Update message printing to use
796 target_terminal_ours_for_output instead of target_terminal_ours, to
797 use _() for all format strings, and to fix some formatting.
798
09dd9a69
PA
7992014-10-24 Pedro Alves <palves@redhat.com>
800
801 * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
802 * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
803 * config/vax/vax.mh: Delete.
804 * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
805 obsolete configurations section.
806 * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
807 * vax-nat.c: Delete file.
808
5ab806de
PA
8092014-10-24 Pedro Alves <palves@redhat.com>
810
811 * NEWS (Removed targets): Add OS/arch column.
812
3433cfa5
SC
8132014-10-24 Siva Chandra Reddy <sivachandra@google.com>
814
815 * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
816 on the arg type of a constructor only if it is of reference type.
817
96ba4233
SL
8182014-10-23 Sandra Loosemore <sandra@codesourcery.com>
819
820 * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
821 accessors and constants from nios2 opcodes update.
822 (nios2_get_next_pc): Likewise.
823
28153fd3
DE
8242014-10-19 Doug Evans <xdje42@gmail.com>
825
826 * gdbthread.h (set_running): Fix comment.
827 (set_executing, finish_thread_state): Fix comment.
828
fc9b8e47
DE
8292014-10-18 Doug Evans <xdje42@gmail.com>
830
831 * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
832
4ffbba72
DE
8332014-10-17 Doug Evans <dje@google.com>
834
835 * NEWS: Mention new event gdb.clear_objfiles.
836 * python/py-event.h (emit_clear_objfiles_event): Clear
837 * python/py-events.h (events_object): New member clear_objfiles.
838 * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
839 event.
840 * python/py-inferior.c (python_new_objfile): If objfile is NULL,
841 emit clear_objfiles event.
842 * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
843 function.
844 (emit_clear_objfiles_event): New function.
845 (clear_objfiles): New event.
846 * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
847 Declare.
848 * python/python.c (_initialize_python): Call
849 gdbpy_initialize_clear_objfiles_event.
850
d096d8c1
DE
8512014-10-17 Doug Evans <dje@google.com>
852
853 * NEWS: Mention new gdb.Objfile.progspace attribute.
854 * python/py-objfile.c (objfpy_get_progspace): New function.
855 (objfile_getset): New entry for "progspace".
856
6c4486e6
PA
8572014-10-17 Pedro Alves <palves@redhat.com>
858
859 PR gdb/17471
860 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
861 returns a copy of the input.
862 (run_command_1, continue_command, step_1, jump_command)
863 (signal_command, until_command, advance_command, finish_command)
864 (attach_command): Adjust and install a cleanup to free the
865 stripped args.
866
0ff33695
PA
8672014-10-17 Pedro Alves <palves@redhat.com>
868
869 PR gdb/17300
870 * infcmd.c (continue_1): If continuing all threads in the
871 foreground, make sure the inferior's terminal settings are put in
872 effect.
873
6fdebc3d
PA
8742014-10-17 Pedro Alves <palves@redhat.com>
875
876 PR gdb/17472
877 * annotate.c (annotate_breakpoints_invalid): Use
878 target_terminal_our_for_output instead of target_terminal_ours.
879 Give back the terminal to the target.
880 (annotate_frames_invalid): Likewise.
881
5842f62a
PA
8822014-10-17 Pedro Alves <palves@redhat.com>
883
884 * target.c (enum terminal_state): New enum.
885 (terminal_state): New global.
886 (target_terminal_init): New function.
887 (target_terminal_inferior): Skip if inferior already owns the
888 terminal.
889 (target_terminal_ours, target_terminal_ours_for_output): New
890 functions.
891 * target.h (target_terminal_init): Convert to function prototype.
892 (target_terminal_ours_for_output): Convert to function prototype
893 and tweak comment.
894 (target_terminal_ours): Convert to function prototype and tweak
895 comment.
896 * windows-nat.c (do_initial_windows_stuff): Call
897 target_terminal_init instead of child_terminal_init_with_pgrp.
898
32a8097b
PA
8992014-10-17 Pedro Alves <palves@redhat.com>
900
901 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
902 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
903 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
904 solib-osf.c.
905 * NEWS: Mention that support for alpha*-*-osf* has been removed.
906 * ada-lang.h [__alpha__ && __osf__]
907 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
908 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
909 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
910 GDB_OSABI_OSF1.
911 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
912 files.
913 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
914 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
915 * configure: Regenerate.
916 * configure.ac: Remove references to osf.
917 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
918 section. Remove all other references to osf.
919 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
920 Remove all other references to osf.
921 * dec-thread.c: Delete file.
922 * defs.h (GDB_OSABI_OSF1): Delete.
923 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
924 defined.
925 * osabi.c (gdb_osabi_names): Delete "OSF/1".
926 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
927 Delete code.
928 (unconditionally_kill_inferior)
929 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
930 * solib-osf.c: Delete file.
931
80134cf5
PA
9322014-10-17 Pedro Alves <palves@redhat.com>
933
934 * remote.c (clear_threads_listing_context): Move higher up, out of
935 the HAVE_LIBEXPAT guard.
936
89c7137f
TG
9372014-10-16 Tristan Gingold <gingold@adacore.com>
938
939 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
940 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
941 on amd64.
942
44ee4a52
PA
9432014-10-15 Pedro Alves <palves@redhat.com>
944
945 * dec-thread.c (dec_thread_count_gdb_threads)
946 (dec_thread_add_gdb_thread): Delete.
947 (dec_thread_update_thread_list): Delete.
948 (dec_thread_find_new_threads): Rename to ...
949 (dec_thread_update_thread_list): ... this. Delete GDB-size
950 threads that are no longer found in dec_thread_list.
951 (resync_thread_list): Delete.
952 (dec_thread_wait): Call dec_thread_update_thread_list instead of
953 resync_thread_list.
954
ab970af1
PA
9552014-10-15 Pedro Alves <palves@redhat.com>
956
957 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
958 * remote.c (remote_update_thread_list): Skip calling prune_threads
959 if any thread listing method is supported, and instead walk over
960 the set of remote threads listed, deleting those that are not
961 found in GDB's thread list.
962
e8032dde
PA
9632014-10-15 Pedro Alves <palves@redhat.com>
964
965 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
966 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
967 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
968 (bsd_uthread_target): Adjust.
969 * corelow.c (core_open): Adjust.
970 * dec-thread.c (dec_thread_find_new_threads): Update comment.
971 (dec_thread_update_thread_list): New function.
972 (init_dec_thread_ops): Adjust.
973 * gdbthread.h (prune_threads): New declaration.
974 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
975 (thread_db_update_thread_list): ... this. Call prune_threads.
976 (init_thread_db_ops): Adjust.
977 * nto-procfs.c (procfs_find_new_threads): Rename to ...
978 (procfs_update_thread_list): ... this. Call prune_threads.
979 (procfs_attach, procfs_create_inferior, init_procfs_targets):
980 Adjust.
981 * obsd-nat.c (obsd_find_new_threads): Rename to ...
982 (obsd_update_thread_list): ... this. Call prune_threads.
983 (obsd_add_target): Adjust.
984 * procfs.c (procfs_target): Adjust.
985 (procfs_notice_thread): Update comment.
986 (procfs_find_new_threads): Rename to ...
987 (procfs_update_thread_list): ... this. Call prune_threads.
988 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
989 comment.
990 (ravenscar_wait): Adjust.
991 (ravenscar_find_new_threads): Rename to ...
992 (ravenscar_update_thread_list): ... this. Call prune_threads.
993 (init_ravenscar_thread_ops): Adjust.
994 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
995 (record_btrace_update_thread_list): ... this. Adjust comment.
996 (init_record_btrace_ops): Adjust.
997 * remote.c (remote_threads_info): Rename to ...
998 (remote_update_thread_list): ... this. Call prune_threads.
999 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
1000 Adjust.
1001 * sol-thread.c (check_for_thread_db): Adjust.
1002 (sol_find_new_threads_callback): Rename to ...
1003 (sol_update_thread_list_callback): ... this.
1004 (sol_find_new_threads): Rename to ...
1005 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
1006 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
1007 * target-delegates.c: Regenerate.
1008 * target.c (target_find_new_threads): Rename to ...
1009 (target_update_thread_list): ... this.
1010 * target.h (struct target_ops): Rename to_find_new_threads field
1011 to to_update_thread_list.
1012 (target_find_new_threads): Rename to ...
1013 (target_update_thread_list): ... this.
1014 * thread.c (prune_threads): Make extern.
1015 (update_thread_list): Adjust.
1016
6dc54d91
PA
10172014-10-15 Pedro Alves <palves@redhat.com>
1018
1019 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
1020 Add describing comment. Return -1 if the qL packet is not
1021 supported.
1022 (struct thread_item, thread_item_t): Move higher up in
1023 the file. Add comments.
1024 (struct threads_parsing_context): Move higher up in
1025 the file, add comments, and remote to ...
1026 (struct threads_listing_context): ... this.
1027 (remote_newthread_step): Don't add the thread to GDB's thread
1028 database here. Instead push it to the thread_listing_context
1029 list.
1030 (remote_find_new_threads): Rename to ...
1031 (remote_get_threads_with_ql): ... this. Add target_ops and
1032 targets_listing_context parameters. Pass down context.
1033 (start_thread): Adjust.
1034 (clear_threads_parsing_context): Rename to ...
1035 (clear_threads_listing_context): ... this.
1036 (remote_get_threads_with_qxfer): New, with parts salvaged from old
1037 remote_threads_info.
1038 (remote_get_threads_with_qthreadinfo): Ditto.
1039 (remote_threads_info): Reimplement.
1040
36728e82
PA
10412014-10-15 Pedro Alves <palves@redhat.com>
1042
1043 * infrun.c (resume): Don't force displaced-stepping for all
1044 single-steps on software single-stepping archs.
1045
34b7e8a6
PA
10462014-10-15 Pedro Alves <palves@redhat.com>
1047
1048 * breakpoint.c (single_step_breakpoints): Delete global.
1049 (insert_single_step_breakpoint): Adjust to store the breakpoint
1050 pointer in the current thread.
1051 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
1052 (cancel_single_step_breakpoints): Delete functions.
1053 (breakpoint_has_location_inserted_here): Make extern.
1054 (single_step_breakpoint_inserted_here_p): Adjust to walk the
1055 breakpoint list.
1056 * breakpoint.h (breakpoint_has_location_inserted_here): New
1057 declaration.
1058 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
1059 (cancel_single_step_breakpoints): Remove declarations.
1060 * gdbthread.h (struct thread_control_state)
1061 <single_step_breakpoints>: New field.
1062 (delete_single_step_breakpoints)
1063 (thread_has_single_step_breakpoints_set)
1064 (thread_has_single_step_breakpoint_here): New declarations.
1065 * infrun.c (follow_exec): Also clear the single-step breakpoints.
1066 (singlestep_breakpoints_inserted_p, singlestep_ptid)
1067 (singlestep_pc): Delete globals.
1068 (infrun_thread_ptid_changed): Remove references to removed
1069 globals.
1070 (resume_cleanups): Delete the current thread's single-step
1071 breakpoints.
1072 (maybe_software_singlestep): Remove references to removed globals.
1073 (resume): Adjust to use thread_has_single_step_breakpoints_set and
1074 delete_single_step_breakpoints.
1075 (init_wait_for_inferior): Remove references to removed globals.
1076 (delete_thread_infrun_breakpoints): Delete the thread's
1077 single-step breakpoints too.
1078 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
1079 single-step breakpoints here.
1080 (delete_stopped_threads_single_step_breakpoints): New function.
1081 (adjust_pc_after_break): Adjust to use
1082 thread_has_single_step_breakpoints_set.
1083 (handle_inferior_event): Remove references to removed globals.
1084 Use delete_stopped_threads_single_step_breakpoints.
1085 (handle_signal_stop): Adjust to per-thread single-step
1086 breakpoints. Swap test order to do cheaper tests first.
1087 (switch_back_to_stepped_thread): Extend debug output. Remove
1088 references to removed globals.
1089 * record-full.c (record_full_wait_1): Adjust to per-thread
1090 single-step breakpoints.
1091 * thread.c (delete_single_step_breakpoints)
1092 (thread_has_single_step_breakpoints_set)
1093 (thread_has_single_step_breakpoint_here): New functions.
1094 (clear_thread_inferior_resources): Also delete the thread's
1095 single-step breakpoints.
1096
5b834a0a
PA
10972014-10-15 Pedro Alves <palves@redhat.com>
1098
1099 * thread.c (delete_thread_breakpoint): New function.
1100 (delete_step_resume_breakpoint)
1101 (delete_exception_resume_breakpoint): Use it.
1102 (delete_at_next_stop): New function.
1103 (clear_thread_inferior_resources): Use delete_at_next_stop.
1104
a1fd2fa5
PA
11052014-10-15 Pedro Alves <palves@redhat.com>
1106
1107 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
1108 (breakpoint_inserted_here_p): ... here. Remove special case for
1109 software single-step breakpoints.
1110 (find_non_raw_software_breakpoint_inserted_here): Inline ...
1111 (software_breakpoint_inserted_here_p): ... here. Remove special
1112 case for software single-step breakpoints.
1113 (bp_target_info_copy_insertion_state)
1114 (deprecated_insert_raw_breakpoint)
1115 (deprecated_remove_raw_breakpoint): Delete functions.
1116 * breakpoint.h (deprecated_insert_raw_breakpoint)
1117 (deprecated_remove_raw_breakpoint): Remove declarations.
1118
7c16b83e
PA
11192014-10-15 Pedro Alves <palves@redhat.com>
1120
1121 PR breakpoints/9649
1122 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
1123 Delete array globals.
1124 (single_step_breakpoints): New global.
1125 (breakpoint_xfer_memory): Remove special handling for single-step
1126 breakpoints.
1127 (update_breakpoints_after_exec): Delete bp_single_step
1128 breakpoints.
1129 (detach_breakpoints): Remove special handling for single-step
1130 breakpoints.
1131 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
1132 (bpstat_stop_status): Add comment.
1133 (bpstat_what, bptype_string, print_one_breakpoint_location)
1134 (adjust_breakpoint_address, init_bp_location): Handle
1135 bp_single_step.
1136 (new_single_step_breakpoint): New function.
1137 (set_momentary_breakpoint, bkpt_remove_location): Remove special
1138 handling for single-step breakpoints.
1139 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
1140 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
1141 Rewrite.
1142 (detach_single_step_breakpoints, find_single_step_breakpoint):
1143 Delete functions.
1144 (breakpoint_has_location_inserted_here): New function.
1145 (single_step_breakpoint_inserted_here_p): Rewrite.
1146 * breakpoint.h: Remove FIXME.
1147 (enum bptype) <bp_single_step>: New enum value.
1148 (insert_single_step_breakpoint): Update comment.
1149 * infrun.c (resume_cleanups)
1150 (delete_step_thread_step_resume_breakpoint): Remove single-step
1151 breakpoints.
1152 (fetch_inferior_event): Install a cleanup that removes infrun
1153 breakpoints.
1154 (switch_back_to_stepped_thread) <expect thread advanced also>:
1155 Clear step-over info.
1156
0cbcdb96
PA
11572014-10-15 Pedro Alves <palves@redhat.com>
1158
1159 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
1160 (delete_thread_infrun_breakpoints): New function, with parts
1161 salvaged from delete_step_resume_breakpoint_callback.
1162 (delete_step_thread_step_resume_breakpoint): Delete.
1163 (for_each_just_stopped_thread_callback_func): New typedef.
1164 (for_each_just_stopped_thread): New function.
1165 (delete_just_stopped_threads_infrun_breakpoints): New function.
1166 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
1167 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
1168 ... this. Adjust.
1169 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
1170
963f9c80
PA
11712014-10-15 Pedro Alves <palves@redhat.com>
1172
1173 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
1174 trying to step past a non-steppable watchpoint.
1175 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
1176 field.
1177 * infrun.c (struct step_over_info): Add new field
1178 'nonsteppable_watchpoint_p' and adjust comments.
1179 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
1180 Adjust.
1181 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
1182 (stepping_past_nonsteppable_watchpoint): New function.
1183 (step_over_info_valid_p): Also return true if stepping past a
1184 nonsteppable watchpoint.
1185 (proceed): Adjust call to set_step_over_info. Remove reference to
1186 init_infwait_state.
1187 (init_wait_for_inferior): Remove reference to init_infwait_state.
1188 (waiton_ptid): Delete global.
1189 (struct execution_control_state)
1190 <stepped_after_stopped_by_watchpoint>: Delete field.
1191 (wait_for_inferior, fetch_inferior_event): Always pass
1192 minus_one_ptid to target_wait.
1193 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
1194 field.
1195 (init_infwait_state): Delete function.
1196 (handle_inferior_event): Remove infwait_state handling.
1197 (handle_signal_stop) <watchpoints handling>: Adjust after
1198 stepped_after_stopped_by_watchpoint removal. Don't remove
1199 breakpoints here nor set infwait_state. Set the thread's
1200 stepping_over_watchpoint flag, and call keep_going instead.
1201 (keep_going): Handle stepping_over_watchpoint. Adjust
1202 set_step_over_info calls.
1203 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
1204 function.
1205
6cc83d2a
PA
12062014-10-15 Pedro Alves <palves@redhat.com>
1207
1208 * infrun.c (step_over_info_valid_p): New function.
1209 (resume): Use step_over_info_valid_p instead of checking the
1210 threads's trap_expected flag.
1211
6979730b
DE
12122014-10-15 Doug Evans <dje@google.com>
1213 Walfred Tedeschi <walfred.tedeschi@intel.com>
1214
1215 PR python/17364
1216 * python/lib/gdb/__init__.py (packages): Add "printer".
1217 * python/lib/gdb/command/bound_registers.py: Moved to ...
1218 * python/lib/gdb/printer/bound_registers.py: ... here.
1219 Add printer to global set of builtin printers. Rename printer from
1220 "bound" to "mpx_bound128".
1221 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
1222 registered as global "builtin" printer.
1223 (add_builtin_pretty_printer): New function.
1224 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
1225 gdb/printer/__init__.py.
1226
35a49624
IB
12272014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1228
1229 * Makefile.in (SFILES): Remove d-support.c.
1230 (COMMON_OBS): Remove d-support.o.
1231 * d-lang.h (d_parse_symbol): Remove declaration.
1232 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
1233 * d-support.c: Remove file.
1234
8fa0c4f8
AA
12352014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1236
1237 * gdb/infrun.c (process_event_stop_test): Apply
1238 gdbarch_addr_bits_remove to longjmp resume address.
1239
3666da81
PA
12402014-10-15 Pedro Alves <palves@redhat.com>
1241
1242 * regformats/microblaze.dat: Delete file.
1243
449aa9df
AKA
12442014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
1245
1246 * features/Makefile (microblaze-expedite): Replace pc with rpc.
1247 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1248
ebb8ece2
SC
12492014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1250
1251 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
1252 as non-trivial.
1253
82c48ac7
SC
12542014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1255
1256 PR c++/13403
1257 PR c++/15154
1258 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
1259 with qualified args.
1260
c40cc657
JB
12612014-10-14 Joel Brobecker <brobecker@adacore.com>
1262
1263 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
1264 of the case where the second operand is a pointer.
1265 <BINOP_SUB>: Likewise.
1266
0ea5cda8
SDJ
12672014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1268
1269 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
1270 only if it is not NULL.
1271 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
1272 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
1273 (struct probe_ops) <clear_semaphore>: Likewise.
1274 * tracepoint.c (start_tracing): Call set_semaphore only if it is
1275 not NULL.
1276 (stop_tracing): Likewise, for clear_semaphore.
1277
f7088df3
SDJ
12782014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1279
1280 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
1281 using language_c, instead of current_language.
1282
4e1bbde0
DE
12832014-10-13 Doug Evans <dje@google.com>
1284
6ff5a0f6 1285 * python/py-objfile.c (objfpy_initialize): New function.
4e1bbde0 1286 (objfpy_new, objfile_to_objfile_object): Call it.
6ff5a0f6 1287 * python/py-progspace.c (pspy_initialize): New function.
4e1bbde0
DE
1288 (pspy_new, pspace_to_pspace_object): Call it.
1289
c780cc2f
JK
12902014-10-13 Miroslav Franc <mfranc@redhat.com>
1291 Jan Kratochvil <jan.kratochvil@redhat.com>
1292
1293 Fix "save breakpoints" for "catch" command.
1294 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
1295 newline.
1296
99894e11
JK
12972014-10-12 Miroslav Franc <mfranc@redhat.com>
1298
1299 Fix "save breakpoints" for "disable $bpnum" command.
1300 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
1301
3831839c
PA
13022014-10-10 Pedro Alves <palves@redhat.com>
1303
1304 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
1305 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
1306 (HFILES_NO_SRCDIR): Remove solib-irix.h.
1307 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
1308 and been removed.
1309 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
1310 * configure.ac: Remove references to IRIX.
1311 * configure.host: Add *-*-irix* to the obsolete hosts section.
1312 Remove all other references to irix.
1313 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
1314 Delete files.
1315
cc3afae2
AKA
13162014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
1317
1318 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
1319 isn't valid, release the tdesc arch data and return NULL.
1320
cdfa0b0a
PA
13212014-10-10 Pedro Alves <palves@redhat.com>
1322
1323 * linux-tdep.c: Include observer.h.
1324 (linux_inferior_data): New global.
1325 (struct linux_info): New structure.
1326 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
1327 (get_linux_inferior_data): New functions.
1328 (linux_vsyscall_range): Rename to ...
1329 (linux_vsyscall_range_raw): ... this.
1330 (linux_vsyscall_range): New function; handles caching.
1331 (_initialize_linux_tdep): Register linux_inferior_data. Install
1332 inferior_exit and inferior_appeared observers.
1333
8b9a549d
PA
13342014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1335 Pedro Alves <palves@redhat.com>
1336
1337 PR symtab/14466
1338 * solib-svr4.c (svr4_read_so_list): Rename to ...
1339 (svr4_current_sos_1): ... this and change the function comment.
1340 (svr4_current_sos): New function.
1341
3437254d
PA
13422014-10-10 Pedro Alves <palves@redhat.com>
1343
1344 * arch-utils.c (default_vsyscall_range): New function.
1345 * arch-utils.h (default_vsyscall_range): New declaration.
1346 * gdbarch.sh (vsyscall_range): New hook.
1347 * gdbarch.h, gdbarch.c: Regenerate.
1348 * linux-tdep.c (linux_vsyscall_range): New function.
1349 (linux_init_abi): Install linux_vsyscall_range as
1350 vsyscall_range gdbarch hook.
1351 * memrange.c (address_in_mem_range): New function.
1352 * memrange.h (address_in_mem_range): New declaration.
1353 * symfile-mem.c (find_vdso_size): Delete function.
1354 (add_vsyscall_page): Use gdbarch_vsyscall_range.
1355
31cc0b80
PA
13562014-10-10 Pedro Alves <palves@redhat.com>
1357
1358 * infrun.c (normal_stop): Fix typo in comment.
1359
3e3286a2
SDJ
13602014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
1361
1362 PR tdep/9390
1363 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
1364 typo when using logical AND to determine instruction type.
1365
fcbdedf8
YQ
13662014-10-09 Yao Qi <yao@codesourcery.com>
1367
1368 * infrun.c (handle_signal_stop): Remove local variable
1369 'printed'.
1370
db984616
SS
13712014-10-08 Stan Shebs <stan@codesourcery.com>
1372
1373 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
1374
3ba37e6c
GB
13752014-10-08 Gary Benson <gbenson@redhat.com>
1376
1377 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
1378
a442d071
GB
13792014-10-08 Gary Benson <gbenson@redhat.com>
1380
1381 * common/common-defs.h: Include common-exceptions.h.
1382 * exceptions.h: Do not include common-exceptions.h.
1383
6f1947e8
GB
13842014-10-08 Gary Benson <gbenson@redhat.com>
1385
1386 * common/common-defs.h: Include cleanups.h.
1387 * common/common-exceptions.c: Do not include cleanups.h.
1388 * utils.h: Likewise.
1389
c765fdb9
GB
13902014-10-08 Gary Benson <gbenson@redhat.com>
1391
1392 * ada-lang.c: Do not include exceptions.h.
1393 * ada-valprint.c: Likewise.
1394 * amd64-tdep.c: Likewise.
1395 * auto-load.c: Likewise.
1396 * block.c: Likewise.
1397 * break-catch-throw.c: Likewise.
1398 * breakpoint.c: Likewise.
1399 * btrace.c: Likewise.
1400 * c-lang.c: Likewise.
1401 * cli/cli-cmds.c: Likewise.
1402 * cli/cli-interp.c: Likewise.
1403 * cli/cli-script.c: Likewise.
1404 * completer.c: Likewise.
1405 * corefile.c: Likewise.
1406 * corelow.c: Likewise.
1407 * cp-abi.c: Likewise.
1408 * cp-support.c: Likewise.
1409 * cp-valprint.c: Likewise.
1410 * darwin-nat.c: Likewise.
1411 * dwarf2-frame-tailcall.c: Likewise.
1412 * dwarf2-frame.c: Likewise.
1413 * dwarf2loc.c: Likewise.
1414 * dwarf2read.c: Likewise.
1415 * eval.c: Likewise.
1416 * event-loop.c: Likewise.
1417 * event-top.c: Likewise.
1418 * f-valprint.c: Likewise.
1419 * frame-unwind.c: Likewise.
1420 * frame.c: Likewise.
1421 * gdbtypes.c: Likewise.
1422 * gnu-v2-abi.c: Likewise.
1423 * gnu-v3-abi.c: Likewise.
1424 * guile/scm-auto-load.c: Likewise.
1425 * guile/scm-breakpoint.c: Likewise.
1426 * guile/scm-cmd.c: Likewise.
1427 * guile/scm-frame.c: Likewise.
1428 * guile/scm-lazy-string.c: Likewise.
1429 * guile/scm-param.c: Likewise.
1430 * guile/scm-symbol.c: Likewise.
1431 * guile/scm-type.c: Likewise.
1432 * hppa-hpux-tdep.c: Likewise.
1433 * i386-tdep.c: Likewise.
1434 * inf-loop.c: Likewise.
1435 * infcall.c: Likewise.
1436 * infcmd.c: Likewise.
1437 * infrun.c: Likewise.
1438 * interps.c: Likewise.
1439 * interps.h: Likewise.
1440 * jit.c: Likewise.
1441 * linespec.c: Likewise.
1442 * linux-nat.c: Likewise.
1443 * linux-thread-db.c: Likewise.
1444 * m32r-rom.c: Likewise.
1445 * main.c: Likewise.
1446 * memory-map.c: Likewise.
1447 * mi/mi-cmd-break.c: Likewise.
1448 * mi/mi-cmd-stack.c: Likewise.
1449 * mi/mi-interp.c: Likewise.
1450 * mi/mi-main.c: Likewise.
1451 * monitor.c: Likewise.
1452 * nto-procfs.c: Likewise.
1453 * objc-lang.c: Likewise.
1454 * p-valprint.c: Likewise.
1455 * parse.c: Likewise.
1456 * ppc-linux-tdep.c: Likewise.
1457 * printcmd.c: Likewise.
1458 * probe.c: Likewise.
1459 * python/py-auto-load.c: Likewise.
1460 * python/py-breakpoint.c: Likewise.
1461 * python/py-cmd.c: Likewise.
1462 * python/py-finishbreakpoint.c: Likewise.
1463 * python/py-frame.c: Likewise.
1464 * python/py-framefilter.c: Likewise.
1465 * python/py-function.c: Likewise.
1466 * python/py-gdb-readline.c: Likewise.
1467 * python/py-inferior.c: Likewise.
1468 * python/py-infthread.c: Likewise.
1469 * python/py-lazy-string.c: Likewise.
1470 * python/py-linetable.c: Likewise.
1471 * python/py-param.c: Likewise.
1472 * python/py-prettyprint.c: Likewise.
1473 * python/py-symbol.c: Likewise.
1474 * python/py-type.c: Likewise.
1475 * python/py-value.c: Likewise.
1476 * python/python-internal.h: Likewise.
1477 * python/python.c: Likewise.
1478 * record-btrace.c: Likewise.
1479 * record-full.c: Likewise.
1480 * regcache.c: Likewise.
1481 * remote-fileio.c: Likewise.
1482 * remote-mips.c: Likewise.
1483 * remote.c: Likewise.
1484 * rs6000-aix-tdep.c: Likewise.
1485 * rs6000-nat.c: Likewise.
1486 * skip.c: Likewise.
1487 * solib-darwin.c: Likewise.
1488 * solib-dsbt.c: Likewise.
1489 * solib-frv.c: Likewise.
1490 * solib-ia64-hpux.c: Likewise.
1491 * solib-spu.c: Likewise.
1492 * solib-svr4.c: Likewise.
1493 * solib.c: Likewise.
1494 * spu-tdep.c: Likewise.
1495 * stack.c: Likewise.
1496 * stap-probe.c: Likewise.
1497 * symfile-mem.c: Likewise.
1498 * symmisc.c: Likewise.
1499 * target.c: Likewise.
1500 * thread.c: Likewise.
1501 * top.c: Likewise.
1502 * tracepoint.c: Likewise.
1503 * tui/tui-interp.c: Likewise.
1504 * typeprint.c: Likewise.
1505 * utils.c: Likewise.
1506 * valarith.c: Likewise.
1507 * valops.c: Likewise.
1508 * valprint.c: Likewise.
1509 * value.c: Likewise.
1510 * varobj.c: Likewise.
1511 * windows-nat.c: Likewise.
1512 * xml-support.c: Likewise.
1513
484933d1
MR
15142014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1515
1516 * mips-tdep.c (add_offset_16): Rewrite to implement what the
1517 name implies.
1518 (extended_mips16_next_pc): Update accordingly.
1519
ab50adb6
MR
15202014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1521
1522 * mips-tdep.c (mips16_instruction_is_compact_branch): New
1523 function.
1524 (micromips_instruction_is_compact_branch): Likewise.
1525 (mips16_scan_prologue): Terminate scanning upon seeing a branch
1526 or a compact jump, reaching a jump delay slot, or seeing a
1527 second non-prologue instruction.
1528 (micromips_scan_prologue): Also terminate scanning upon seeing a
1529 compact branch or jump, or reaching a branch or jump delay slot.
1530 (mips32_scan_prologue): Terminate scanning upon reaching a branch
1531 or jump delay slot, or seeing a second non-prologue instruction.
1532 (mips32_instruction_has_delay_slot): Retain instruction
1533 examination code only, update arguments accordingly and move
1534 instruction fetch pieces to...
1535 (mips32_insn_at_pc_has_delay_slot): ... this new function.
1536 (micromips_instruction_has_delay_slot): Likewise and to...
1537 (micromips_insn_at_pc_has_delay_slot): ... this new function.
1538 (mips16_instruction_has_delay_slot): Likewise and to...
1539 (mips16_insn_at_pc_has_delay_slot): ... this new function.
1540 (mips_single_step_through_delay): Update accordingly.
1541 (mips_adjust_breakpoint_address): Likewise.
1542
ae790652
MR
15432014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1544
1545 * mips-tdep.c (micromips_instruction_has_delay_slot): When
1546 !mustbe32 also return 1 for 32-bit instructions.
1547 (mips16_instruction_has_delay_slot): Likewise. Add an
1548 explanatory comment.
1549
9b807e7b
MR
15502014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1551
1552 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
1553 symbols special.
1554
0d5ed153
MR
15552014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1556
1557 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
1558 update comments.
1559 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
1560 for the breakpoint's address. Don't preinitialize `placed_size'.
1561 (insert_bp_location): Set `reqstd_address' rather than
1562 `placed_address'.
1563 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
1564 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
1565 address.
1566 (bkpt_remove_location): Likewise.
1567 (deprecated_insert_raw_breakpoint): Likewise.
1568 (deprecated_remove_raw_breakpoint): Likewise.
1569 (find_single_step_breakpoint): Likewise.
1570 * mem-break.c (default_memory_insert_breakpoint): Use
1571 `reqstd_address' for the breakpoint's address. Don't set
1572 `placed_address' or `placed_size' if breakpoint contents couldn't
1573 have been determined.
1574 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
1575 the breakpoint's address.
1576 (remote_insert_hw_breakpoint): Likewise. Don't set
1577 `placed_address' or `placed_size' if breakpoint couldn't have been
1578 set.
1579 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
1580 `reqstd_address' for the breakpoint's address.
1581 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
1582 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
1583 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
1584 * microblaze-linux-tdep.c
1585 (microblaze_linux_memory_remove_breakpoint): Likewise.
1586 * monitor.c (monitor_insert_breakpoint): Likewise.
1587 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
1588 (procfs_insert_hw_breakpoint): Likewise.
1589 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
1590 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1591 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
1592 * remote-mips.c (mips_insert_breakpoint): Likewise.
1593 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
1594
3e871532
LM
15952014-10-03 Luis Machado <lgustavo@codesourcery.com>
1596
1597 * valops.c (value_assign): Check for bit field assignments
1598 before calling architecture-specific register value
1599 conversion functions.
1600
ec48dc8b
PM
16012014-10-03 Pierre Muller <muller@sourceware.org>
1602
1603 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
1604
b57bacec
PA
16052014-10-02 Pedro Alves <palves@redhat.com>
1606
1607 * breakpoint.c (breakpoints_should_be_inserted_now): Use
1608 threads_are_executing.
1609 * breakpoint.h (breakpoints_should_be_inserted_now): Add
1610 describing comment.
1611 * gdbthread.h (threads_are_executing): Declare.
1612 (handle_signal_stop) <random signals>: Don't print about the
1613 signal here if stopping.
1614 (end_stepping_range): Don't notify observers here.
1615 (normal_stop): Update the thread list. If stopped by a random
1616 signal or a stepping range ended, notify observers.
1617 * thread.c (threads_executing): New global.
1618 (init_thread_list): Clear 'threads_executing'.
1619 (set_executing): Set or clear 'threads_executing'.
1620 (threads_are_executing): New function.
1621 (update_threads_executing): New function.
1622 (update_thread_list): Use it.
1623
13fd3ff3
PA
16242014-10-02 Pedro Alves <palves@redhat.com>
1625
1626 PR breakpoints/17431
1627 * breakpoint.c (update_breakpoints_after_exec): Don't create
1628 overlay, longjmp, std terminate nor exception breakpoints here.
1629
32990ada
PA
16302014-10-02 Pedro Alves <palves@redhat.com>
1631
1632 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
1633 Adjust comments.
1634 * inferior.c (find_inferior_for_program_space): Give preference to
1635 the current inferior.
1636 * inferior.h (find_inferior_for_program_space): Update comment.
1637 * progspace.c (switch_to_program_space_and_thread): Prefer the
1638 current inferior if it's bound to the program space requested. If
1639 the inferior found doesn't have a PID yet, don't bother looking up
1640 a thread.
1641 * progspace.h (switch_to_program_space_and_thread): Adjust
1642 comment.
1643 * thread.c (any_thread_of_process, any_live_thread_of_process):
1644 Give preference to the current thread.
1645
0fec99e8
PA
16462014-10-01 Pedro Alves <palves@redhat.com>
1647
1648 * breakpoint.c (insert_bp_location): Error out if inserting a
1649 software breakpoint at a read-only address.
1650 * target.c (memory_xfer_check_region): New function, factored out
1651 from ...
1652 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
1653 ULONGEST.
1654 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
1655 against the memory region attributes.
1656
2ddf4301
SM
16572014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1658
1659 * NEWS: Announce new exit-code field in -list-thread-groups
1660 output.
1661 * inferior.c (exit_inferior_1): Don't clear exit code.
1662 (inferior_appeared): Clear exit code.
1663 * mi/mi-main.c (print_one_inferior): Add printing of the exit
1664 code.
1665
5fdeec1d
PA
16662014-10-01 Pedro Alves <palves@redhat.com>
1667
1668 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
1669 GENERATED" along with emacs/vi read-only markers.
1670 * regformats/aarch64.dat: Regenerate.
1671 * regformats/arm-with-iwmmxt.dat: Regenerate.
1672 * regformats/arm-with-neon.dat: Regenerate.
1673 * regformats/arm-with-vfpv2.dat: Regenerate.
1674 * regformats/arm-with-vfpv3.dat: Regenerate.
1675 * regformats/i386/amd64-avx-linux.dat: Regenerate.
1676 * regformats/i386/amd64-avx.dat: Regenerate.
1677 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
1678 * regformats/i386/amd64-avx512.dat: Regenerate.
1679 * regformats/i386/amd64-linux.dat: Regenerate.
1680 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
1681 * regformats/i386/amd64-mpx.dat: Regenerate.
1682 * regformats/i386/amd64.dat: Regenerate.
1683 * regformats/i386/i386-avx-linux.dat: Regenerate.
1684 * regformats/i386/i386-avx.dat: Regenerate.
1685 * regformats/i386/i386-avx512-linux.dat: Regenerate.
1686 * regformats/i386/i386-avx512.dat: Regenerate.
1687 * regformats/i386/i386-linux.dat: Regenerate.
1688 * regformats/i386/i386-mmx-linux.dat: Regenerate.
1689 * regformats/i386/i386-mmx.dat: Regenerate.
1690 * regformats/i386/i386-mpx-linux.dat: Regenerate.
1691 * regformats/i386/i386-mpx.dat: Regenerate.
1692 * regformats/i386/i386.dat: Regenerate.
1693 * regformats/i386/x32-avx-linux.dat: Regenerate.
1694 * regformats/i386/x32-avx.dat: Regenerate.
1695 * regformats/i386/x32-avx512-linux.dat: Regenerate.
1696 * regformats/i386/x32-avx512.dat: Regenerate.
1697 * regformats/i386/x32-linux.dat: Regenerate.
1698 * regformats/i386/x32.dat: Regenerate.
1699 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1700 * regformats/mips-dsp-linux.dat: Regenerate.
1701 * regformats/mips-linux.dat: Regenerate.
1702 * regformats/mips64-dsp-linux.dat: Regenerate.
1703 * regformats/mips64-linux.dat: Regenerate.
1704 * regformats/nios2-linux.dat: Regenerate.
1705 * regformats/rs6000/powerpc-32.dat: Regenerate.
1706 * regformats/rs6000/powerpc-32l.dat: Regenerate.
1707 * regformats/rs6000/powerpc-64l.dat: Regenerate.
1708 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
1709 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
1710 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
1711 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
1712 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
1713 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
1714 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
1715 * regformats/s390-linux32.dat: Regenerate.
1716 * regformats/s390-linux32v1.dat: Regenerate.
1717 * regformats/s390-linux32v2.dat: Regenerate.
1718 * regformats/s390-linux64.dat: Regenerate.
1719 * regformats/s390-linux64v1.dat: Regenerate.
1720 * regformats/s390-linux64v2.dat: Regenerate.
1721 * regformats/s390-te-linux64.dat: Regenerate.
1722 * regformats/s390x-linux64.dat: Regenerate.
1723 * regformats/s390x-linux64v1.dat: Regenerate.
1724 * regformats/s390x-linux64v2.dat: Regenerate.
1725 * regformats/s390x-te-linux64.dat: Regenerate.
1726 * regformats/tic6x-c62x-linux.dat: Regenerate.
1727 * regformats/tic6x-c62x.dat: Regenerate.
1728 * regformats/tic6x-c64x-linux.dat: Regenerate.
1729 * regformats/tic6x-c64x.dat: Regenerate.
1730 * regformats/tic6x-c64xp-linux.dat: Regenerate.
1731 * regformats/tic6x-c64xp.dat: Regenerate.
1732
db74e4ba
PA
17332014-10-01 Pedro Alves <palves@redhat.com>
1734
1735 * features/Makefile: Update comments.
1736 (XMLTOC): List all xml files we build C files from.
1737 (clean-cfiles): New rule.
1738
d63f2f84
PA
17392014-10-01 Pedro Alves <palves@redhat.com>
1740
1741 * features/i386/amd64-avx512-linux.c: Regenerate.
1742 * features/i386/amd64-avx512.c: Regenerate.
1743 * features/i386/x32-avx512-linux.c: Regenerate.
1744 * features/i386/x32-avx512.c: Regenerate.
1745
20ad026d
PA
17462014-10-01 Pedro Alves <palves@redhat.com>
1747
1748 * features/Makefile (WHICH): Remove arm-with-m,
1749 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
1750
acc9fe45
PA
17512014-10-01 Pedro Alves <palves@redhat.com>
1752
1753 * features/Makefile (clean): New rule.
1754
e001e535
PA
17552014-10-01 Pedro Alves <palves@redhat.com>
1756
1757 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
1758 (zmm14h): Add missing end quotes.
1759
bdc14417
PA
17602014-10-01 Pedro Alves <palves@redhat.com>
1761
1762 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
1763 * features/aarch64.c: Regenerate.
1764
d83ad864
DB
17652014-09-30 Don Breazeal <donb@codesourcery.com>
1766
1767 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
1768 code so as to work with follow_fork_inferior.
1769 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
1770 (inf_ttrace_create_inferior): Remove reference to
1771 inf_ttrace_vfork_ppid.
1772 (inf_ttrace_attach): Ditto.
1773 (inf_ttrace_detach): Ditto.
1774 (inf_ttrace_kill): Use current_inferior instead of
1775 inf_ttrace_vfork_ppid.
1776 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
1777 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
1778 inferior away from the parent.
1779 * infrun.c (follow_fork): Call follow_fork_inferior instead of
1780 target_follow_fork.
1781 (follow_fork_inferior): New function.
1782 (follow_inferior_reset_breakpoints): Make function static.
1783 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
1784 * linux-nat.c (linux_child_follow_fork): Move target-independent
1785 code to infrun.c:follow_fork_inferior.
1786
29082443
AA
17872014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1788
1789 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
1790 * gdbarch.c: Regenerate.
1791 * gdbarch.h: Likewise.
1792 * corelow.c (sniff_core_bfd): Drop presence check for deleted
1793 gdbarch method 'regset_from_core_section'.
1794 (get_core_register_section): Remove handling for the case that
1795 regset == NULL and regset_from_core_section is defined.
1796 (get_core_registers): Drop check for deleted method.
1797 * procfs.c (procfs_do_thread_registers): Adjust comment.
1798
f968fe80
AA
17992014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1800
1801 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
1802 (linux_nat_make_corefile_notes): Remove.
1803 (linux_target_install_ops): Do not set target method
1804 'make_corefile_notes'.
1805 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
1806 Remove field.
1807 (linux_corefile_thread_callback): Instead of args->collect, call
1808 linux_collect_thread_registers.
1809 (linux_make_corefile_notes): Remove 'collect' parameter. Return
1810 NULL unless there is a regset iterator.
1811 (linux_make_corefile_notes_1): Remove.
1812 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
1813 by linux_make_corefile_notes.
1814 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
1815
174ad59a
AA
18162014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1817
1818 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
1819 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
1820 Remove.
1821 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
1822
97094034
AA
18232014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1824
1825 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
1826 (xtensa_iterate_over_regset_sections): New.
1827 (xtensa_gdbarch_init): Adjust gdbarch initialization.
1828
f73d3ce7
AA
18292014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1830
1831 * vax-tdep.c (vax_regset_from_core_section): Remove.
1832 (vax_iterate_over_regset_sections): New.
1833 (vax_gdbarch_init): Adjust gdbarch initialization.
1834
cb24567a
AA
18352014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1836
1837 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
1838 (tilegx_regset_from_core_section): Remove.
1839 (tilegx_iterate_over_regset_sections): New.
1840 (tilegx_linux_init_abi): Adjust gdbarch initialization.
1841
e5139de8
AA
18422014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1843
1844 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
1845 (sparc_iterate_over_regset_sections): New.
1846 (sparc32_gdbarch_init): Adjust gdbarch initialization.
1847 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
1848 targets.
1849 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
1850 (sparc64fbsd_init_abi): Call fbsd_init_abi.
1851 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
1852 target method 'make_corefile_notes'.
1853
c6d41a6f
AA
18542014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1855
1856 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
1857 'sizeof_gregset' and 'sizeof_fpregset'.
1858 * sh-tdep.c (sh_regset_from_core_section): Remove.
1859 (sh_iterate_over_regset_sections): New.
1860 (sh_gdbarch_init): Adjust gdbarch initialization.
1861 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
1862 sizeof_fpregset.
1863 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
1864 'sizeof_gregset'.
1865
9845a0b5
AA
18662014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1867
1868 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
1869 (score7_linux_iterate_over_regset_sections): New.
1870 (score_gdbarch_init): Adjust gdbarch initialization.
1871
23ea9aeb
AA
18722014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1873
1874 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
1875 FreeBSD targets.
1876 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
1877 method 'make_corefile_notes'.
1878 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
1879 (ppcfbsd_regset_from_core_section): Remove.
1880 (ppcfbsd_iterate_over_regset_sections): New.
1881 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
1882 initialization.
1883 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
1884 (ppcnbsd_iterate_over_regset_sections): New.
1885 (ppcnbsd_init_abi): Adjust.
1886 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
1887 (ppcobsd_iterate_over_regset_sections): New.
1888 (ppcobsd_init_abi): Adjust.
1889 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
1890 (rs6000_aix_iterate_over_regset_sections): New.
1891 (rs6000_aix_init_osabi): Adjust.
1892
c5b8d704
AA
18932014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1894
1895 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
1896 (nios2_regset_from_core_section): Remove.
1897 (nios2_iterate_over_regset_sections): New.
1898 (nios2_linux_init_abi): Adjust gdbarch initialization.
1899
3636e608
AA
19002014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1901
1902 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
1903 (am33_iterate_over_regset_sections): New.
1904 (am33_linux_init_osabi): Adjust gdbarch initialization.
1905
d4036235
AA
19062014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1907
1908 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
1909 (mips_linux_iterate_over_regset_sections): New.
1910 (mips_linux_init_abi): Adjust gdbarch initialization.
1911 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
1912 (mips64obsd_iterate_over_regset_sections): New.
1913 (mips64obsd_init_abi): Adjust.
1914 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
1915 (mipsnbsd_iterate_over_regset_sections): New.
1916 (mipsnbsd_init_abi): Adjust.
1917
b61ddd6e
AA
19182014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1919
1920 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
1921 (m88k_iterate_over_regset_sections): New.
1922 (m88k_gdbarch_init): Adjust gdbarch initialization.
1923
55a2906a
AA
19242014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1925
1926 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
1927 (ia64_linux_iterate_over_regset_sections): New.
1928 (ia64_linux_init_abi): Adjust gdbarch initialization.
1929
022c98ab
AA
19302014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1931
1932 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
1933 (m68kbsd_iterate_over_regset_sections): New.
1934 (m68kbsd_init_abi): Adjust gdbarch initialization.
1935 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
1936 (m68k_linux_iterate_over_regset_sections): New.
1937 (m68k_linux_init_abi): Adjust gdbarch initialization.
1938
5fac247f
AA
19392014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1940
1941 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
1942 (m32r_linux_regset_from_core_section): Remove.
1943 (m32r_linux_iterate_over_regset_sections): New.
1944 (m32r_linux_init_abi): Adjust gdbarch initialization.
1945
490496c3
AA
19462014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1947
1948 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
1949 (amd64obsd_iterate_over_regset_sections): New.
1950 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
1951 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1952 Remove.
1953 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
1954 regset_from_core_section initialization.
1955 * i386-tdep.c (i386_regset_from_core_section): Remove.
1956 (i386_iterate_over_regset_sections): New.
1957 (i386_gdbarch_init): Adjust gdbarch initialization.
1958 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
1959 (i386_iterate_over_regset_sections): New prototype.
1960 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
1961 Remove.
1962 (i386obsd_aout_iterate_over_regset_sections): New.
1963 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
1964 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
1965 targets.
1966 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
1967 (amd64fbsd_init_abi): Call fbsd_init_abi.
1968 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
1969 (i386fbsd4_init_abi): Call fbsd_init_abi.
1970 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
1971 target method 'make_corefile_notes'.
1972 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
1973
50c5eb53
AA
19742014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1975
1976 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
1977 (hppa_hpux_iterate_over_regset_sections): New.
1978 (hppa_hpux_init_abi): Adjust gdbarch initialization.
1979 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
1980 (hppa_linux_iterate_over_regset_sections): New.
1981 (hppa_linux_init_abi): Adjust.
1982 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1983 (hppanbsd_iterate_over_regset_sections): New.
1984 (hppanbsd_init_abi): Adjust.
1985 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1986 (hppaobsd_iterate_over_regset_sections): New.
1987 (hppaobsd_init_abi): Adjust.
1988
66afae4f
AA
19892014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1990
1991 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
1992 (frv_linux_iterate_over_regset_sections): New.
1993 (frv_linux_init_abi): Adjust gdbarch initialization.
1994
ed09174e
AA
19952014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1996
1997 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
1998 (armbsd_iterate_over_regset_sections): New prototype.
1999 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
2000 (armbsd_iterate_over_regset_sections): New.
2001 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
2002 initialization.
2003
dff2166e
AA
20042014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2005
2006 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
2007 (alpha_linux_iterate_over_regset_sections): New.
2008 (alpha_linux_init_abi): Adjust gdbarch initialization.
2009 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
2010 prototype.
2011 (alphanbsd_iterate_over_regset_sections): New prototype.
2012
4108500a
AA
20132014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2014
2015 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
2016 Remove.
2017 (aarch64_linux_iterate_over_regset_sections): New.
2018 (aarch64_linux_init_abi): Adjust gdbarch initialization.
2019
a904c024
AA
20202014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2021
2022 * fbsd-tdep.c: New file.
2023 * fbsd-tdep.h: New file.
2024 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
2025 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
2026 (ALLDEPFILES): Add fbsd-tdep.c.
2027
8f0435f7
AA
20282014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2029
2030 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
2031 parameter.
2032 * gdbarch.h: Regenerate.
2033 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
2034 iterator.
2035 (get_core_register_section): Add parameter 'regset' and use it, if
2036 set. Add parameter 'min_size' and verify the bfd section size
2037 against it.
2038 (get_core_registers_cb): Add parameter 'regset' and pass it to
2039 get_core_register section. For the "standard" register sections
2040 ".reg" and ".reg2", set an appropriate default for human_name.
2041 (get_core_registers): Don't abort when the gdbarch has an iterator
2042 but no regset_from_core_section. Add NULL/0 for parameters
2043 'regset'/'min_size' in calls to get_core_register_section.
2044 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
2045 'regset' and use it instead of calling the
2046 regset_from_core_section gdbarch method.
2047 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
2048 * i386-tdep.c (i386_supply_xstateregset)
2049 (i386_collect_xstateregset, i386_xstateregset): Moved to
2050 i386-linux-tdep.c.
2051 (i386_regset_from_core_section): Drop handling for .reg-xfp and
2052 .reg-xstate.
2053 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
2054 core file support only if the regset iterator hasn't been set.
2055 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
2056 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
2057 Moved from i386-tdep.c and renamed to *_linux*.
2058 (i386_linux_iterate_over_regset_sections): Add regset parameter to
2059 each callback invocation. Allow any .reg-xstate size when reading
2060 from a core file.
2061 * amd64-tdep.c (amd64_supply_xstateregset)
2062 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
2063 amd64-linux-tdep.c.
2064 (amd64_regset_from_core_section): Remove.
2065 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
2066 install an amd64-specific regset_from_core_section gdbarch method.
2067 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
2068 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
2069 Moved from amd64-tdep.c and renamed to *_linux*.
2070 (amd64_linux_iterate_over_regset_sections): Add regset parameter
2071 to each callback invocation. Allow any .reg-xstate size when
2072 reading from a core file.
2073 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
2074 (arm_linux_iterate_over_regset_sections): Add regset parameter to
2075 each callback invocation.
2076 (arm_linux_init_abi): No longer set the regset_from_core_section
2077 gdbarch method.
2078 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
2079 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
2080 each callback invocation.
2081 (ppc_linux_init_abi): No longer set the regset_from_core_section
2082 gdbarch method.
2083 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
2084 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
2085 (s390_regset_from_core_section): Remove.
2086 (s390_iterate_over_regset_sections): Add regset parameter to each
2087 callback invocation.
2088 (s390_gdbarch_init): No longer set the regset_from_core_section
2089 gdbarch method. Drop initialization of deleted tdep fields.
2090
5aa82d05
AA
20912014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2092
2093 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
2094 (amd64_linux_iterate_over_regset_sections): New.
2095 (amd64_linux_init_abi_common): Don't install the regset section
2096 list, but the new iterator in gdbarch.
2097 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
2098 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
2099 (arm_linux_iterate_over_regset_sections): ...here. New function.
2100 (arm_linux_init_abi): Set iterator instead of section list.
2101 * corelow.c (get_core_registers_cb): New function, logic moved
2102 from...
2103 (get_core_registers): ...loop body here. Use new iterator method
2104 instead of walking through the regset section list.
2105 * gdbarch.sh: Remove 'core_regset_sections'. New method
2106 'iterate_over_regset_sections'. New typedef
2107 'iterate_over_regset_sections_cb'.
2108 * gdbarch.c: Regenerate.
2109 * gdbarch.h: Likewise.
2110 * i386-linux-tdep.c (i386_linux_regset_sections)
2111 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
2112 Remove.
2113 (i386_linux_iterate_over_regset_sections): New.
2114 (i386_linux_init_abi): Don't choose a regset section list, but
2115 install new iterator in gdbarch.
2116 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
2117 (linux_collect_regset_section_cb): New function, logic moved
2118 from...
2119 (linux_collect_thread_registers): ...loop body here. Use iterator
2120 method instead of walking through list.
2121 (linux_make_corefile_notes_1): Check for presence of iterator
2122 method instead of regset section list.
2123 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
2124 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
2125 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
2126 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
2127 (ppc_linux_iterate_over_regset_sections): ...here. New function.
2128 (ppc_linux_init_abi): Don't choose from above regset section
2129 lists, but install new iterator in gdbarch.
2130 * regset.h (struct core_regset_section): Remove.
2131 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
2132 have_linux_v1, have_linux_v2, and have_tdb.
2133 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
2134 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
2135 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
2136 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
2137 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
2138 (s390_iterate_over_regset_sections): ...here. New function. Use
2139 new tdep fields.
2140 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
2141 regset section lists, but install new iterator.
2142
2eca4a8d
JK
21432014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2144
2145 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
2146
a73c2b56
SM
21472014-09-26 Simon Marchi <simon.marchi@ericsson.com>
2148
2149 * progspace.c (print_program_space): Don't prune program spaces
2150 before printing them.
2151
03d46957
PA
21522014-09-25 Pedro Alves <palves@redhat.com>
2153
2154 * infrun.c (user_visible_resume_ptid): Don't check
2155 singlestep_breakpoints_inserted_p.
2156
e558d7c1
PA
21572014-09-25 Pedro Alves <palves@redhat.com>
2158
2159 * breakpoint.c (should_be_inserted): Add debug output.
2160
7f89fd65
PA
21612014-09-25 Pedro Alves <palves@redhat.com>
2162
2163 * infrun.c (stepping_past_instruction_at)
2164 (clear_exit_convenience_vars): Point at infrun.h instead of
2165 inferior.h.
2166 (handle_signal_stop): Fix typo.
2167
b7576e5c
YQ
21682014-09-24 Yao Qi <yao@codesourcery.com>
2169
2170 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
2171 bitmask.
2172
9a6cf368
GB
21732014-09-22 Gary Benson <gbenson@redhat.com>
2174
2175 * target.c (target_stop): Updated comment.
2176
03f4463b
GB
21772014-09-22 Gary Benson <gbenson@redhat.com>
2178
2179 * target/target.h (target_stop_ptid): Renamed as...
2180 (target_stop_and_wait): New function. Updated comment.
2181 All uses updated.
2182 (target_continue_ptid): Renamed as...
2183 (target_continue_no_signal): New function. Updated comment.
2184 All uses updated.
2185
a25a5a45
PA
21862014-09-22 Pedro Alves <palves@redhat.com>
2187
2188 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
2189 and "auto" merged.
2190 * breakpoint.c (enum ugll_insert_mode): New enum.
2191 (always_inserted_mode): Now a plain boolean.
2192 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
2193 (breakpoints_always_inserted_mode): Delete.
2194 (breakpoints_should_be_inserted_now): New function.
2195 (insert_breakpoints): Pass UGLL_INSERT to
2196 update_global_location_list instead of calling
2197 insert_breakpoint_locations manually.
2198 (create_solib_event_breakpoint_1): New, factored out from ...
2199 (create_solib_event_breakpoint): ... this.
2200 (create_and_insert_solib_event_breakpoint): Use
2201 create_solib_event_breakpoint_1 instead of calling
2202 insert_breakpoint_locations manually.
2203 (update_global_location_list): Change parameter type from boolean
2204 to enum ugll_insert_mode. All callers adjusted. Adjust to use
2205 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
2206 (update_global_location_list_nothrow): Change parameter type from
2207 boolean to enum ugll_insert_mode.
2208 (_initialize_breakpoint): "breakpoint always-inserted" option is
2209 now a boolean command. Update help text.
2210 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
2211 (breakpoints_should_be_inserted_now): New declaration.
2212 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
2213 Remove breakpoints_always_inserted_mode check.
2214 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
2215 * remote.c (remote_start_remote): Likewise.
2216
04086b45
PA
22172014-09-22 Pedro Alves <palves@redhat.com>
2218
2219 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
2220 (insert_breakpoints): Don't call insert_breakpoint_locations here.
2221 Instead, pass UGLL_INSERT to update_global_location_list.
2222 (update_global_location_list): Change parameter type from boolean
2223 to enum ugll_insert_mode. All callers adjusted. Adjust to use
2224 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
2225 (create_solib_event_breakpoint_1): New, factored out from ...
2226 (create_solib_event_breakpoint): ... this.
2227 (create_and_insert_solib_event_breakpoint): Use
2228 create_solib_event_breakpoint_1 instead of calling
2229 insert_breakpoint_locations manually.
2230 (update_global_location_list): Handle UGLL_INSERT.
2231
44702360
PA
22322014-09-22 Pedro Alves <palves@redhat.com>
2233
2234 * breakpoint.c (enum ugll_insert_mode): New enum.
2235 (update_global_location_list)
2236 (update_global_location_list_nothrow): Change parameter type from
2237 boolean to enum ugll_insert_mode. All callers adjusted.
2238
93c6145a
JB
22392014-09-19 Joel Brobecker <brobecker@adacore.com>
2240
2241 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
2242 SystemTap support in GDB.
2243
89a5711c
DB
22442014-09-19 Don Breazeal <donb@codesourcery.com>
2245
2246 * linux-nat.c (linux_handle_extended_wait): Call
2247 linux_ptrace_get_extended_event.
2248 (wait_lwp): Call linux_is_extended_waitstatus.
2249 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
2250 and linux_is_extended_waitstatus.
2251 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
2252 linux_ptrace_get_extended_event.
2253 (linux_ptrace_get_extended_event): New function.
2254 (linux_is_extended_waitstatus): New function.
2255 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
2256 (linux_is_extended_waitstatus): New declarations.
2257
c3b7b696
YQ
22582014-09-19 Yao Qi <yao@codesourcery.com>
2259
2260 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2261 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
2262 comments. Callers update.
2263 (dwarf_decode_lines): Likewise.
2264 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
2265 comments. Skip the line table if 'lowpc' is greater than
2266 'address'. Don't check
2267 dwarf2_per_objfile->has_section_at_zero.
2268
2b4fd423
DE
22692014-09-18 Doug Evans <dje@google.com>
2270
2271 * NEWS: Mention new "producer" attribute of gdb.Symtab.
2272 * python/py-symtab.c (stpy_get_producer): New function.
2273 (symtab_object_getset): Add "producer" attribute.
2274
5e43d467
UW
22752014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
2276
2277 PR gdb/17384
2278 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
2279 (do_captured_read_memory_integer): Remove.
2280 (safe_read_memory_integer): Use target_read_memory directly instead
2281 of catching errors in do_captured_read_memory_integer.
2282
04e79979
MR
22832014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
2284
2285 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
2286 not gdb/doc.
2287
76aeec5b
SDJ
22882014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2289
2290 * objc-lang.c (find_implementation_from_class): Remove dead code.
2291
2f693f9d
SDJ
22922014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2293
2294 PR cli/7233
2295 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
2296 "fprintf_unfiltered (gdb_stdlog...)".
2297
bb9d5f81
PP
22982014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2299
2300 PR breakpoints/12526
2301 * breakpoint.h (struct watchpoint): New fields val_bitpos and
2302 val_bitsize.
2303 * breakpoint.c (watch_command_1): Use these fields to retain
2304 bitfield information.
2305 (extract_bitfield_from_watchpoint_value): New function.
2306 (watchpoint_check): Use it.
2307 (update_watchpoint): Use it. Optimize the address and length of a
2308 HW watchpoint pointing to a bitfield.
2309 * value.h (unpack_value_bitfield): New prototype.
2310 * value.c (unpack_value_bitfield): Make extern.
2311
05db5edd
ST
23122014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2313
2314 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
2315 x86-dregs.o.
2316 * gnu-nat.c (inf_threads): New function.
2317 * gnu-nat.h (inf_threads_ftype): New typedef.
2318 (inf_threads): New declaration.
2319 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
2320 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
2321 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
2322 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
2323 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
2324 (i386_gnu_dr_get_control): New functions.
2325 (reg_addr): New structure.
2326 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
2327 i386 debugging register hooks.
2328 * NEWS: Mention this.
2329
5a578da5
OJ
23302014-08-13 Omair Javaid <omair.javaid@linaro.org>
2331
2332 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
2333 vector data transfer instructions.
2334 (arm_record_coproc_data_proc): Updated.
2335
f20f80dd
OJ
23362014-08-13 Omair Javaid <omair.javaid@linaro.org>
2337
2338 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
2339 arm_record_exreg_ld_st_insn.
2340 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
2341 load/store insns.
2342
851f26ae
OJ
23432014-08-13 Omair Javaid <omair.javaid@linaro.org>
2344
2345 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
2346 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
2347 processing instructions.
2348
1e1b6563
OJ
23492014-08-13 Omair Javaid <omair.javaid@linaro.org>
2350
2351 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
2352 for advance SIMD struct ld/st insn.
2353 (thumb2_record_decode_insn_handler): Replace stub handler with
2354 thumb2_record_asimd_struct_ld_st.
2355
60cc5e93
OJ
23562014-08-13 Omair Javaid <omair.javaid@linaro.org>
2357
2358 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
2359 for asimd, vfp and coprocessor insns.
2360 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
2361 and coprocessor insns.
2362 (thumb2_record_coproc_insn): New function.
2363 (thumb2_record_decode_insn_handler): Update coprocessor insns record
2364 handlers.
2365 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
2366 opcode 110 insns.
2367
81219e53
DE
23682014-09-13 Doug Evans <xdje42@gmail.com>
2369
2370 * NEWS: Mention new "queue-signal" command.
2371 * infcmd.c (queue_signal_command): New function.
2372 (_initialize_infcmd): Add new queue-signal command.
2373
d36bf488
DE
23742014-09-13 Doug Evans <xdje42@gmail.com>
2375
2376 * linux-nat.c (wait_lwp): Add debugging printf.
2377 (linux_nat_wait_1): Ditto.
2378
f37f681c
PA
23792014-09-12 Pedro Alves <palves@redhat.com>
2380
2381 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
2382 (create_and_insert_solib_event_breakpoint): New functions.
2383 * breakpoint.h (create_and_insert_solib_event_breakpoint)
2384 (remove_solib_event_breakpoints_at_next_stop): New declarations.
2385 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
2386 (remove_dbx_link_breakpoint): Delete function.
2387 (insert_dbx_link_bpt_in_file): Use
2388 create_and_insert_solib_event_breakpoint instead of
2389 deprecated_insert_raw_breakpoint.
2390 (procfs_wait): Don't check whether we hit __dbx_link here.
2391 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
2392 here.
2393 * solib-irix.c (base_breakpoint): Delete global.
2394 (disable_break): Delete function.
2395 (enable_break): Use create_solib_event_breakpoint
2396 instead of deprecated_insert_raw_breakpoint.
2397 (irix_solib_handle_event): New function.
2398 (irix_solib_create_inferior_hook): Don't run the target or disable
2399 the mapping-complete breakpoint here.
2400 (_initialize_irix_solib): Install irix_solib_handle_event as
2401 so_ops->handle_event hook.
2402
9d9bf2df
EBM
24032014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2404 Ulrich Weigand  <uweigand@de.ibm.com>
2405
2406 PR tdep/17379
2407 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
2408 instead of read_memory_unsigned_integer.
2409
b006a80e
GB
24102014-09-12 Gary Benson <gbenson@redhat.com>
2411
2412 * nat/linux-waitpid.c: Include common-defs.h.
2413 [GDBSERVER]: Add FIXME comment.
2414 [!GDBSERVER]: Don't include defs.h or signal.h.
2415 (linux_debug) [!GDBSERVER]: Remove empty block.
2416
296b1496
GB
24172014-09-12 Gary Benson <gbenson@redhat.com>
2418
2419 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
2420 Don't include defs.h or server.h.
2421
53f81362
GB
24222014-09-12 Gary Benson <gbenson@redhat.com>
2423
2424 * nat/linux-btrace.c: Include common-defs.h.
2425 Don't include defs.h, server.h or gdbthread.h.
2426 * nat/linux-btrace.h (struct target_ops): New forward declaration.
2427
727605ca
GB
24282014-09-12 Gary Benson <gbenson@redhat.com>
2429
2430 * common/agent.c: Include common-defs.h.
2431 Don't include defs.h or server.h.
2432 * common/buffer.c: Likewise.
2433 * common/common-debug.c: Likewise.
2434 * common/common-utils.c: Likewise.
2435 * common/errors.c: Likewise.
2436 * common/filestuff.c: Likewise.
2437 * common/format.c: Likewise.
2438 * common/gdb_vecs.c: Likewise.
2439 * common/print-utils.c: Likewise.
2440 * common/ptid.c: Likewise.
2441 * common/rsp-low.c: Likewise.
2442 * common/signals.c: Likewise.
2443 * common/vec.c: Likewise.
2444 * common/xml-utils.c: Likewise.
2445 * nat/linux-osdata.c: Likewise.
2446 * nat/linux-procfs.c: Likewise.
2447 * nat/linux-ptrace.c: Likewise.
2448 * nat/mips-linux-watch.c: Likewise.
2449 * target/waitstatus.c: Likewise.
2450
361c8ade
GB
24512014-09-12 Tom Tromey <tromey@redhat.com>
2452 Gary Benson <gbenson@redhat.com>
2453
2454 * common/common-regcache.h: New file.
2455 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
2456 * regcache.h: Include common-regcache.h.
2457 (regcache_read_pc): Don't declare.
2458 * regcache.c (get_thread_regcache_for_ptid): New function.
2459 * nat/linux-btrace.c: Don't include regcache.h.
2460 Include common-regcache.h.
2461 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2462
a01cbb49
TS
24632014-09-11 Thomas Schwinge <thomas@codesourcery.com>
2464
2465 * regcache.h (struct regset): Declare.
2466
98880d46
PA
24672014-09-11 Pedro Alves <palves@redhat.com>
2468
2469 PR gdb/17347
2470 * main.c: Include "infrun.h".
2471 (catch_command_errors, catch_command_errors_const): Wait for the
2472 foreground command to complete.
2473 * top.c (maybe_wait_sync_command_done): New function, factored out
2474 from ...
2475 (maybe_wait_sync_command_done): ... here.
2476 * top.h (maybe_wait_sync_command_done): New declaration.
2477
bd9269f7
GB
24782014-09-11 Tom Tromey <tromey@redhat.com>
2479 Gary Benson <gbenson@redhat.com>
2480
2481 * common/symbol.h: New file.
2482 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2483 * minsyms.c (find_minimal_symbol_address): New function.
2484 * common/agent.c: Include common/symbol.h.
2485 [!GDBSERVER]: Don't include objfiles.h.
2486 (agent_look_up_symbols): Use find_minimal_symbol_address.
2487
f8c1d06b
GB
24882014-09-11 Gary Benson <gbenson@redhat.com>
2489
2490 * target/target.h (target_stop_ptid, target_continue_ptid):
2491 Declare.
2492 * target.c (target_stop_ptid, target_continue_ptid): New
2493 functions.
2494 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2495 (agent_run_command): Always use target_stop_ptid and
2496 target_continue_ptid.
2497
721ec300
GB
24982014-09-11 Tom Tromey <tromey@redhat.com>
2499 Gary Benson <gbenson@redhat.com>
2500
2501 * target/target.h: New file.
2502 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2503 * target.h: Include target/target.h.
2504 (target_read_memory, target_write_memory): Don't declare.
2505 * target.c (target_read_uint32): New function.
2506 * common/agent.c: Include target/target.h.
2507 [!GDBSERVER]: Don't include target.h.
2508 (helper_thread_id): Type changed to uint32_t.
2509 (agent_get_helper_thread_id): Use target_read_uint32.
2510 (agent_run_command): Always use target_read_memory and
2511 target_write_memory.
2512 (agent_capability): Type changed to uint32_t.
2513 (agent_capability_check): Use target_read_uint32.
2514
c5e92cca
GB
25152014-09-11 Gary Benson <gbenson@redhat.com>
2516
2517 * common/common-debug.h (show_debug_regs): Declare.
2518 * common/common-debug.c (show_debug_regs): Define.
2519 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
2520 all uses with show_debug_regs. Replace all uses that considered
2521 debug_hw_points as a multi-value integer with straight boolean
2522 uses.
2523 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
2524 with show_debug_regs.
2525 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
2526 all uses with show_debug_regs.
2527 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
2528 uses with show_debug_regs.
2529
eeef931a
UW
25302014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2531
2532 * findvar.c (address_from_register): Handle targets requiring
2533 a special conversion routine even for plain pointer types.
2534
8efa9855
UW
25352014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2536
2537 * rs6000-nat.c (exec_one_dummy_insn): Remove.
2538 (store_register): Do not call exec_one_dummy_insn.
2539
eb479039
JB
25402014-09-10 Joel Brobecker <brobecker@adacore.com>
2541
2542 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
2543 dereference it first. Use value_enclosing_type instead of
2544 value_type.
2545 (ada_array_length): Likewise.
2546
deede10c
JB
25472014-09-10 Joel Brobecker <brobecker@adacore.com>
2548
2549 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
2550 Adjust function implementation and documentation accordingly.
2551 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
2552 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
2553 Update call to ada_value_ptr_subscript.
2554
7828a5f5
JB
25552014-09-10 Joel Brobecker <brobecker@adacore.com>
2556
2557 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
2558 instead of VAL's type.
2559
35782f14
JB
25602014-09-10 Joel Brobecker <brobecker@adacore.com>
2561
2562 * amd64-linux-nat.c: Add <sys/uio.h> #include.
2563
d342a0da
DE
25642014-09-09 Doug Evans <xdje42@gmail.com>
2565
2566 PR guile/17367
2567 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
2568 last parameter to pkg-config, not first.
2569 * configure.ac: Pass --with-guile provided pkg-config path to
2570 GDB_GUILE_PROGRAM_NAMES.
2571 * configure: Regenerate.
2572
b4a3d263
GKB
25732014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
2574
2575 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
2576 Bertazi".
2577
6e466374
MR
25782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2579
2580 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
2581 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
2582 the list of sections determining GDB_OSABI_IRIX.
2583
a1ada89a
JH
25842014-09-09 James Hogan <james.hogan@imgtec.com>
2585
2586 * MAINTAINERS (Write After Approval): Add "James Hogan".
2587
86db008d
JH
25882014-09-09 James Hogan <james.hogan@imgtec.com>
2589
2590 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
2591
72fde3df
JB
25922014-09-09 Joel Brobecker <brobecker@adacore.com>
2593
2594 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
2595
92d8d229
DE
25962014-09-08 Doug Evans <xdje42@gmail.com>
2597
2598 PR 17247
2599 * guile.c: #include <signal.h>.
2600 (_initialize_guile): Block SIGCHLD while initializing Guile.
2601
2602 Replaces the following, which is reverted.
2603
2604 2014-07-26 Doug Evans <xdje42@gmail.com>
2605
2606 PR 17185
2607 * configure.ac: Add check for header gc/gc.h.
2608 Add check for function setenv.
2609 * configure: Regenerate.
2610 * config.in: Regenerate.
2611 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2612
d81412aa
DE
26132014-09-08 Doug Evans <xdje42@gmail.com>
2614
2615 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
2616 with named constant. Fix style of pointer comparison.
2617 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
2618
a9f116cb
GKB
26192014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2620
2621 PR gdb/17035
2622 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
2623 decide whether we display the command on "show user".
2624 * cli/cli-script.c (show_user_1): Only verify cmdlines after
2625 printing command name.
2626 * cli/cli-decode.h (cli_user_command_p): Declare new function.
2627 * cli/cli-decode.c (cli_user_command_p): Create helper function
2628 to verify whether cmd_list_element is a user-defined command.
2629
c75bd3a2
JK
26302014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2631
2632 PR python/17355
2633 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
2634 Fix goto out of TRY_CATCH.
2635
faa42425 26362014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 2637 Tom Tromey <tromey@redhat.com>
faa42425
DE
2638
2639 PR 15276
2640 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
2641 $_any_caller_matches.
2642 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
2643 * python/lib/gdb/function/caller_is.py: New file.
2644
0d41ba00
DE
26452014-09-06 Doug Evans <xdje42@gmail.com>
2646
2647 * infcmd.c (program_info): Fix typo.
2648
474ca4f6
SDJ
26492014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2650
2651 PR gdb/17235
2652 * stap-probe.c (stap_parse_single_operand): Delete unused variable
2653 'number'. New variable 'has_digit'. Rewrite code to deal with
2654 subexpressions on SDT probes.
2655
ebf13736
PA
26562014-09-04 Pedro Alves <palves@redhat.com>
2657
2658 * c-exp.y (parse_number): Skip handling base-switching prefixes if
2659 the input is only one character long.
2660
eb0b0463
SDJ
26612014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2662
2663 PR fortran/17237
2664 * f-valprint.c (f_val_print): Specify the correct print option to
2665 use when printing integer values.
2666
5ee44bfa
GB
26672014-09-04 Gary Benson <gbenson@redhat.com>
2668
2669 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
2670 Remove code to cope with LWPs wrapped as PIDs.
2671 Add assertions to ensure no wrapped LWPs are passed.
2672
4875ffdb
PA
26732014-09-04 Pedro Alves <palves@redhat.com>
2674
2675 * value.c (value_ranges_copy_adjusted): New function, factored out
2676 from ...
2677 (value_contents_copy_raw): ... here.
2678 (unpack_value_bits_as_long_1): Rename back to ...
2679 (unpack_bits_as_long): ... this. Remove 'original_value' and
2680 'result' parameters. Change return type to LONGEST.
2681 (unpack_value_bits_as_long): Delete.
2682 (unpack_value_field_as_long_1): Delete.
2683 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
2684 (unpack_value_bitfield): New function.
2685 (value_field_bitfield): Reimplement using unpack_value_bitfield.
2686 (value_fetch_lazy): Use unpack_value_bitfield.
2687 * value.h (unpack_value_bits_as_long): Delete declaration.
2688
5f3b99cf
SS
26892014-09-03 Sasha Smundak <asmundak@google.com>
2690
2691 * python/py-frame.c (frapy_read_register): New function.
2692
ac740bc7
JH
26932014-09-03 James Hogan <james.hogan@imgtec.com>
2694
2695 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
2696 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
2697
7d793aa9
SDJ
26982014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2699
2700 PR python/16699
2701 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
2702 function.
2703 (add_cmd): Set "completer_handle_brkchars" to NULL.
2704 * cli/cli-decode.h (struct cmd_list_element)
2705 <completer_handle_brkchars>: New field.
2706 * command.h (completer_ftype_void): New typedef.
2707 (set_cmd_completer_handle_brkchars): New prototype.
2708 * completer.c (set_gdb_completion_word_break_characters): New
2709 function.
2710 (complete_line_internal): Call "completer_handle_brkchars"
2711 callback from command.
2712 * completer.h: Include "command.h".
2713 (set_gdb_completion_word_break_characters): New prototype.
2714 * python/py-cmd.c (cmdpy_completer_helper): New function.
2715 (cmdpy_completer_handle_brkchars): New function.
2716 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
2717 (cmdpy_init): Set completer_handle_brkchars to
2718 cmdpy_completer_handle_brkchars.
2719
97ea6506
GB
27202014-09-03 Gary Benson <gbenson@redhat.com>
2721
2722 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
2723 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
2724 Loop conditions changed to equivalent form.
2725 (struct x86_debug_reg_state): Updated dr_ref_count comment.
2726 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
2727 ALL_DEBUG_ADDRESS_REGISTERS.
2728
d1437815
JB
27292014-09-03 Joel Brobecker <brobecker@adacore.com>
2730
2731 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
2732 description fix.
2733
9b94fcf1
DE
27342014-09-02 Doug Evans <dje@google.com>
2735
2736 * typeprint.c (find_global_typedef): Fix comment.
2737
df7e5265
GB
27382014-09-02 Gary Benson <gbenson@redhat.com>
2739
2740 * i386-nat.h: Renamed as...
2741 * x86-nat.h: New file. All type, function and variable name
2742 prefixes changed from "i386_" to "x86_". All references updated.
2743 * i386-nat.c: Renamed as...
2744 * x86-nat.c: New file. All type, function and variable name
2745 prefixes changed from "i386_" to "x86_". All references updated.
2746 * common/i386-xstate.h: Renamed as...
2747 * common/x86-xstate.h: New file. All type, function and variable
2748 name prefixes changed from "i386_" to "x86_". All references
2749 updated.
2750 * nat/i386-cpuid.h: Renamed as...
2751 * nat/x86-cpuid.h: New file. All type, function and variable name
2752 prefixes changed from "i386_" to "x86_". All references updated.
2753 * nat/i386-gcc-cpuid.h: Renamed as...
2754 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
2755 name prefixes changed from "i386_" to "x86_". All references
2756 updated.
2757 * nat/i386-dregs.h: Renamed as...
2758 * nat/x86-dregs.h: New file. All type, function and variable name
2759 prefixes changed from "i386_" to "x86_". All references updated.
2760 * nat/i386-dregs.c: Renamed as...
2761 * nat/x86-dregs.c: New file. All type, function and variable name
2762 prefixes changed from "i386_" to "x86_". All references updated.
2763
1c3569d4
MR
27642014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
2765
2766 * varobj.c (_initialize_varobj): Move to the end of file.
2767
ff55e1b5
GB
27682014-08-29 Gary Benson <gbenson@redhat.com>
2769
2770 * common/common-exceptions.h: New file.
2771 * common/common-exceptions.c: Likewise.
2772 * Makefile.in (SFILES): Add common/common-exceptions.c.
2773 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
2774 (COMMON_OBS): Add common-exceptions.o.
2775 (common-exceptions.o): New rule.
2776 * exceptions.h (common-exceptions.h): Include.
2777 (gdb_setjmp.h): Do not include.
2778 (return_reason): Moved to common-exceptions.h.
2779 (enum return_reason): Likewise.
2780 (RETURN_MASK): Likewise.
2781 (typedef return_mask): Likewise.
2782 (enum errors): Likewise.
2783 (struct gdb_exception): Likewise.
2784 (exceptions_state_mc_init): Likewise.
2785 (exceptions_state_mc_action_iter): Likewise.
2786 (exceptions_state_mc_action_iter_1): Likewise.
2787 (TRY_CATCH): Likewise.
2788 (throw_exception): Likewise.
2789 (throw_verror): Likewise.
2790 (throw_vquit): Likewise.
2791 (throw_error): Likewise.
2792 (throw_quit): Likewise.
2793 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
2794 (enum catcher_action): Likewise.
2795 (struct catcher): Likewise.
2796 (current_catcher): Likewise.
2797 (catcher_list_size): Likewise.
2798 (exceptions_state_mc_init): Likewise.
2799 (catcher_pop): Likewise.
2800 (exceptions_state_mc): Likewise.
2801 (exceptions_state_mc_action_iter): Likewise.
2802 (exceptions_state_mc_action_iter_1): Likewise.
2803 (throw_exception): Likewise.
2804 (exception_messages): Likewise.
2805 (exception_messages_size): Likewise.
2806 (throw_it): Likewise.
2807 (throw_verror): Likewise.
2808 (throw_vquit): Likewise.
2809 (throw_error): Likewise.
2810 (throw_quit): Likewise.
2811 (prepare_to_throw_exception): New function.
2812
e9bcb658
GB
28132014-08-29 Gary Benson <gbenson@redhat.com>
2814
2815 * common/gdb_setjmp.h: New file.
2816 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
2817 * configure.ac: Move sigsetjmp check...
2818 * common/common.m4: ...here.
2819 * configure: Regenerate.
2820 * cp-support.c (SIGJMP_BUF): Delete.
2821 (SIGSETJMP): Likewise.
2822 (SIGLONGJMP): Likewise.
2823 * exceptions.h (gdb_setjmp.h): Include.
2824 (setjmp.h): Do not include.
2825 (EXCEPTIONS_SIGJMP_BUF): Delete.
2826 (EXCEPTIONS_SIGSETJMP): Likewise.
2827 (EXCEPTIONS_SIGLONGJMP): Likewise.
2828 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
2829 from gdb_setjmp.h.
2830 * exceptions.c: Likewise.
2831
e3180625
GB
28322014-08-29 Gary Benson <gbenson@redhat.com>
2833
2834 * cleanups.h: Moved to...
2835 * common/cleanups.h: New file.
2836 * cleanups.c: Moved to...
2837 * common/cleanups.c: New file. Include common-defs.h and
2838 cleanups.h. Do not include defs.h.
2839 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
2840 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
2841 (cleanups.o): New rule.
2842
e3d6ba5d
GB
28432014-08-29 Gary Benson <gbenson@redhat.com>
2844
2845 * common/errors.h (internal_warning): New declaration.
2846 (internal_vwarning): Likewise.
2847 * common/errors.c (internal_warning): New function.
2848 * utils.h (internal_warning): Don't declare.
2849 (internal_vwarning): Likewise.
2850 * utils.c (internal_warning): Removed.
2851
075c7033
GB
28522014-08-29 Gary Benson <gbenson@redhat.com>
2853
2854 * main.c (captured_main): Use warning during startup.
2855 Prefix startup warning messages with command name.
2856
91b35fd0
GB
28572014-08-29 Gary Benson <gbenson@redhat.com>
2858
2859 * main.c (captured_main): Handle usage errors with error.
2860
b1ec390e
GB
28612014-08-29 Gary Benson <gbenson@redhat.com>
2862
2863 * go32-nat.c (go32_create_inferior): Replace a fprintf/
2864 exit pair with a call to error. Wrap the message with _().
2865
fd0ef3dd
GB
28662014-08-29 Gary Benson <gbenson@redhat.com>
2867
2868 * main.c (captured_main): Replace a fprintf/exit
2869 pair with a call to error. Wrap the message with _().
2870
e0e6bcab
GB
28712014-08-29 Gary Benson <gbenson@redhat.com>
2872
2873 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
2874 pairs with calls to error. Wrap the message with _().
2875
0d2f5c07
GB
28762014-08-29 Gary Benson <gbenson@redhat.com>
2877
2878 * utils.c (vwarning): Protect calls to target_terminal_ours
2879 and wrap_here.
2880
5df43998
GB
28812014-08-29 Gary Benson <gbenson@redhat.com>
2882
2883 * exceptions.c (print_flush): Protect calls to
2884 target_terminal_ours and wrap_here.
2885
2437fd32
GB
28862014-08-29 Gary Benson <gbenson@redhat.com>
2887
2888 * utils.h (filtered_printing_initialized): New declaration.
2889 * utils.c (abort_with_message): New function.
2890 (internal_vproblem): Use abort_with_message for first level
2891 recursive internal problems, and if gdb_stderr is not set up.
2892 Protect calls to target_terminal_ours, begin_line and query.
2893
f1f58506
DE
28942014-08-28 Doug Evans <dje@google.com>
2895
2896 * symtab.c (in_prologue): Move definition to better spot.
2897 (skip_prologue_using_sal): Ditto.
2898
aab2f208
DE
28992014-08-28 Doug Evans <dje@google.com>
2900
2901 * symtab.c (find_function_start_sal): Move definition to better spot.
2902
6b65d1b6
YQ
29032014-08-28 Yao Qi <yao@codesourcery.com>
2904
2905 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
2906 found_stack_adjust in forward scan. Remove condition check
2907 on found_stack_adjust which is always true. Indent the code.
2908
a1b34d15
YQ
29092014-08-28 Yao Qi <yao@codesourcery.com>
2910
2911 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2912 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
2913 (dwarf_decode_lines): Remove argument
2914 want_line_info. Remove condition check on want_line_info.
2915 Callers update.
2916
d5962de5
DE
29172014-08-27 Doug Evans <dje@google.com>
2918
2919 * dwarf2read.c (dwarf_record_line): Fix typo.
2920
9b139002
SDJ
29212014-08-27 Patrick Palka <patrick@parcs.ath.cx>
2922
2923 * target.h (struct target_ops::to_terminal_save_ours): Remove
2924 declaration.
2925 (target_terminal_save_ours): Remove macro.
2926 * target-delegates.c: Regenerate.
2927 * inf-child.c (inf_child_target): Don't set the nonexistent
2928 field to_terminal_save_ours.
2929 * inferior.h (child_terminal_save_ours): Remove declaration.
2930 * terminal.h (gdb_save_tty_state): New declaration.
2931 * inflow.c (child_terminal_save_ours): Rename to ...
2932 (gdb_save_tty_state): ... this.
2933 * tui/tui.c: Include terminal.h.
2934 (tui_enable): Use gdb_save_tty_state instead of
2935 target_terminal_save_ours.
2936 (tui_disable): Likewise.
2937
9debeba0
DE
29382014-08-25 Doug Evans <dje@google.com>
2939
2940 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
2941 Pass NULL instead of 0 for context pointer.
2942
428fc5fc
YQ
29432014-08-25 Yao Qi <yao@codesourcery.com>
2944
2945 * dwarf2read.c: Fix grammatical error.
2946
cdc07690
YQ
29472014-08-24 Yao Qi <yao@codesourcery.com>
2948
2949 * dwarf2read.c (scan_partial_symbols): Update comments.
2950 Rename argument 'need_pc' with 'set_addrmap'.
2951 (add_partial_namespace): Rename argument 'need_pc' with
2952 'set_addrmap'.
2953 (add_partial_module): Likewise.
2954 (add_partial_subprogram): Likewise. Update comments.
2955 (dwarf2_name): Fix typo.
2956
a05a36a5
DE
29572014-08-22 Doug Evans <dje@google.com>
2958
2959 PR 17276
2960 * dwarf2read.c (dwarf_record_line_p): New function.
2961 (dwarf_decode_lines_1): Ignore subsequent line number entries
2962 for the same line if any entry had a non-zero discriminator.
2963
252a6764
DE
29642014-08-22 Doug Evans <dje@google.com>
2965
2966 * buildsym.h (record_line_ftype): New typedef.
2967 (record_line): Use it.
2968 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
2969 (dwarf_decode_lines_1): Call them.
2970
510db052
YQ
29712014-08-22 Yao Qi <yao@codesourcery.com>
2972
2973 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
2974 (ctf_end): Remove code.
2975
22fd09ae
JK
29762014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2977
2978 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
2979 (linux_make_corefile_notes): call update_thread_list, protected against
2980 exceptions.
2981
656e8868
PA
29822014-08-21 Pedro Alves <palves@redhat.com>
2983
2984 * infcmd.c (attach_command): Remove comment.
2985
de589d04
WN
29862014-08-21 Bin Cheng <bin.cheng@arm.com>
2987
2988 * aarch64-linux-nat.c (dr_changed_t): Change the type from
2989 unsigned LONGEST to ULONGEST.
2990
2a31c623
PA
29912014-08-20 Pedro Alves <palves@redhat.com>
2992
2993 * Makefile.in (check-read1): New rule.
2994
d36430db
JB
29952014-08-20 Joel Brobecker <brobecker@adacore.com>
2996
2997 * value.c (value_from_contents_and_address): Strip resolved_type's
2998 typedef layers before checking its TYPE_DATA_LOCATION.
2999
000339af
PA
30002014-08-20 Pedro Alves <palves@redhat.com>
3001
3002 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
3003
5f52445b
YQ
30042014-08-20 Yao Qi <yao@codesourcery.com>
3005
3006 * amd64-tdep.c (amd64_classify): Add a blank line after the
3007 example. Move "*/" to a new line.
3008 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
3009 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
3010 * dwarf2read.c (psymtab_include_file_name): Likewise.
3011
9a0dc9e3
PA
30122014-08-19 Andrew Burgess <aburgess@broadcom.com>
3013 Pedro Alves <palves@redhat.com>
3014
3015 PR symtab/14604
3016 PR symtab/14605
3017 * ada-lang.c (coerce_unspec_val_to_type): Use
3018 value_contents_copy_raw.
3019 * ada-valprint.c (val_print_packed_array_elements): Adjust.
3020 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
3021 * cp-valprint.c (cp_print_value_fields): Let the common printing
3022 code handle optimized out values.
3023 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
3024 * d-valprint.c (dynamic_array_type): Use
3025 value_bits_any_optimized_out.
3026 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
3027 check_any_valid fields.
3028 (check_pieced_value_bits): Delete and inline ...
3029 (check_pieced_synthetic_pointer): ... here.
3030 (check_pieced_value_validity): Delete.
3031 (check_pieced_value_invalid): Delete.
3032 (pieced_value_funcs): Remove check_validity and check_any_valid
3033 fields.
3034 (read_pieced_value): Use mark_value_bits_optimized_out.
3035 (write_pieced_value): Switch to use
3036 mark_value_bytes_optimized_out.
3037 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
3038 of assuming the whole value is optimized out.
3039 * findvar.c (read_frame_register_value): Remove special handling
3040 of optimized out registers.
3041 (value_from_register): Use mark_value_bytes_optimized_out.
3042 * frame-unwind.c (frame_unwind_got_optimized): Use
3043 mark_value_bytes_optimized_out.
3044 * jv-valprint.c (java_value_print): Adjust.
3045 (java_print_value_fields): Let the common printing code handle
3046 optimized out values.
3047 * mips-tdep.c (mips_print_register): Remove special handling of
3048 optimized out registers.
3049 * opencl-lang.c (lval_func_check_validity): Delete.
3050 (lval_func_check_any_valid): Delete.
3051 (opencl_value_funcs): Remove check_validity and check_any_valid
3052 fields.
3053 * p-valprint.c (pascal_object_print_value_fields): Let the common
3054 printing code handle optimized out values.
3055 * stack.c (read_frame_arg): Remove special handling of optimized
3056 out values. Fetch both VAL and ENTRYVAL before comparing
3057 contents. Adjust to value_available_contents_eq rename.
3058 * valprint.c (valprint_check_validity)
3059 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
3060 (val_print_array_elements): Adjust.
3061 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
3062 (value_bits_any_optimized_out): New function.
3063 (value_entirely_covered_by_range_vector): New function, factored
3064 out from value_entirely_unavailable.
3065 (value_entirely_unavailable): Reimplement.
3066 (value_entirely_optimized_out): New function.
3067 (insert_into_bit_range_vector): New function, factored out from
3068 mark_value_bits_unavailable.
3069 (mark_value_bits_unavailable): Reimplement.
3070 (struct ranges_and_idx): New struct.
3071 (find_first_range_overlap_and_match): New function, factored out
3072 from value_available_contents_bits_eq.
3073 (value_available_contents_bits_eq): Rename to ...
3074 (value_contents_bits_eq): ... this. Check both unavailable
3075 contents and optimized out contents.
3076 (value_available_contents_eq): Rename to ...
3077 (value_contents_eq): ... this.
3078 (allocate_value_lazy): Remove reference to the old optimized_out
3079 boolean.
3080 (allocate_optimized_out_value): Use
3081 mark_value_bytes_optimized_out.
3082 (require_not_optimized_out): Adjust to check whether the
3083 optimized_out vec is empty.
3084 (ranges_copy_adjusted): New function, factored out from
3085 value_contents_copy_raw.
3086 (value_contents_copy_raw): Also copy the optimized out ranges.
3087 Assert the destination ranges aren't optimized out.
3088 (value_contents_copy): Update comment, remove call to
3089 require_not_optimized_out.
3090 (value_contents_equal): Adjust to check whether the optimized_out
3091 vec is empty.
3092 (set_value_optimized_out, value_optimized_out_const): Delete.
3093 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
3094 New functions.
3095 (value_entirely_optimized_out, value_bits_valid): Delete.
3096 (value_copy): Take a VEC copy of the 'optimized_out' field.
3097 (value_primitive_field): Remove special handling of optimized out.
3098 (value_fetch_lazy): Assert that lazy values have no unavailable
3099 regions. Use value_bits_any_optimized_out. Remove some special
3100 handling for optimized out values.
3101 * value.h: Add intro comment about <optimized out> and
3102 <unavailable>.
3103 (struct lval_funcs): Remove check_validity and check_any_valid
3104 fields.
3105 (set_value_optimized_out, value_optimized_out_const): Remove.
3106 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
3107 New declarations.
3108 (value_bits_any_optimized_out): New declaration.
3109 (value_bits_valid): Delete declaration.
3110 (value_available_contents_eq): Rename to ...
3111 (value_contents_eq): ... this, and extend comments.
3112
6694c411
JK
31132014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3114
3115 Fix -fsanitize=address on unreadable inferior strings.
3116 * valprint.c (val_print_string): Fix access before BUFFER.
3117
89a1c21a
SM
31182014-08-19 Simon Marchi <simon.marchi@ericsson.com>
3119
3120 * target.c (target_struct_size): Remove.
3121 (target_struct_allocsize): Remove.
3122 (DEFAULT_ALLOCSIZE): Remove.
3123 (target_ops_p): New typedef.
3124 (DEF_VEC_P (target_ops_p)): New vector type.
3125 (target_structs): Change type to VEC (target_ops_p).
3126 (add_target_with_completer): Replace "push" code by VEC_safe_push.
3127 (find_default_run_target): Rewrite for loop following changes to
3128 target_structs.
3129
cb417230
JB
31302014-08-19 Joel Brobecker <brobecker@adacore.com>
3131
3132 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
3133 Adjust code accordingly. Adjust function description comment.
3134
817e0957
YQ
31352014-08-19 Yao Qi <yao@codesourcery.com>
3136
3137 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
3138 types.
3139
2974be62
AM
31402014-08-19 Alan Modra <amodra@gmail.com>
3141
3142 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
3143 * config.in: Regenerate.
3144 * configure: Regenerate.
3145
34abf635
GB
31462014-08-19 Tom Tromey <tromey@redhat.com>
3147 Gary Benson <gbenson@redhat.com>
3148
3149 * common/common-debug.h: New file.
3150 * common/common-debug.c: Likewise.
3151 * debug.c: Likewise.
3152 * Makefile.in (SFILES): Add common/common-debug.c.
3153 (HFILES_NO_SRCDIR): Add common/common-debug.h.
3154 (COMMON_OBS): Add common-debug.o and debug.o.
3155 (common-debug.o): New rule.
3156 * common/common-defs.h: Include common-debug.h.
3157 * common/agent.c (debug_agent_printf): New function.
3158 (DEBUG_AGENT): Redefine.
3159 * nat/i386-dregs.c (debug_printf): Undefine.
3160
f6e94d78
GB
31612014-08-19 Gary Benson <gbenson@redhat.com>
3162
3163 * common/common-defs.h: Include print-utils.h.
3164 * utils.h: Do not include print-utils.h.
3165
9239eeab
GB
31662014-08-19 Tom Tromey <tromey@redhat.com>
3167 Gary Benson <gbenson@redhat.com>
3168
3169 * common/common-types.h: New file.
3170 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
3171 * common/common-defs.h: Include common-types.h.
3172 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
3173 (ULONGEST): Remove.
3174
ef87c8bb
GB
31752014-08-19 Tom Tromey <tromey@redhat.com>
3176 Gary Benson <gbenson@redhat.com>
3177
3178 * common/errors.h: New file.
3179 * common/errors.c: Likewise.
3180 * Makefile.in (SFILES): Add common/errors.c.
3181 (HFILES_NO_SRCDIR): Add common/errors.h.
3182 (COMMON_OBS): Add errors.o.
3183 (errors.o): New rule.
3184 * common/common-defs.h: Include errors.h.
3185 * utils.h (perror_with_name, error, verror, warning, vwarning):
3186 Don't declare.
3187 * common/common-utils.h: (malloc_failure, internal_error):
3188 Likewise.
3189
196a707b
GB
31902014-08-19 Gary Benson <gbenson@redhat.com>
3191
3192 * utils.c (internal_vproblem): Always print the message.
3193
ded4fc8f
DE
31942014-08-18 Doug Evans <dje@google.com>
3195
3196 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
3197
950c97d8
JB
31982014-08-18 Joel Brobecker <brobecker@adacore.com>
3199
3200 * ada-typeprint.c (type_is_full_subrange_of_target_type):
3201 Return 0 if TYPE is dynamic.
3202 (print_range): Add handling of dynamic ranges.
3203
3cdcd0ce
JB
32042014-08-18 Keven Boell <keven.boell@intel.com>
3205 Joel Brobecker <brobecker@adacore.com>
3206
3207 * gdbtypes.h (struct main_type): Add field "data_location".
3208 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
3209 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
3210 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
3211 a dynamic data location.
3212 (resolve_dynamic_type): Add DW_AT_data_location handling.
3213 (copy_recursive, copy_type): Copy the data_location information
3214 when present.
3215 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
3216 * value.c (value_from_contents_and_address): Add
3217 DW_AT_data_location handling.
3218
08412b07
JB
32192014-08-18 Keven Boell <keven.boell@intel.com>
3220 Joel Brobecker <brobecker@adacore.com>
3221
3222 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
3223 field "get_object_address".
3224 * dwarf2expr.c (execute_stack_op): Add handling for
3225 DW_OP_push_object_address.
3226 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
3227 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
3228 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
3229 (dwarf_expr_get_obj_addr): New function.
3230 (dwarf_expr_ctx_funcs): Add get_object_address field.
3231 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
3232 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
3233 (dwarf2_evaluate_property): Add parameter "address". Use it.
3234 (needs_get_obj_addr): New function.
3235 (needs_frame_ctx_funcs): Add get_object_address field.
3236 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
3237 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
3238 (resolve_dynamic_array): Likewise.
3239
84754697
JB
32402014-08-18 Joel Brobecker <brobecker@adacore.com>
3241
3242 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
3243 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
3244 fixed value for records and unions for which some GNAT encodings
3245 are present.
3246
da5c522f
JB
32472014-08-18 Joel Brobecker <brobecker@adacore.com>
3248
3249 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
3250 rewrite to avoid "else if" and "else" constructs. Should be
3251 a no-op in practice.
3252
0d72a7c3
JB
32532014-08-18 Joel Brobecker <brobecker@adacore.com>
3254
3255 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
3256 of lexical block.
3257
e66d4446
SC
32582014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3259
3260 PR c++/17132
3261 * eval.c: Update all calls to find_overload_match.
3262 * valarith.c: Likewise.
3263 (value_user_defined_cpp_op, value_user_defined_op): New
3264 argument NOSIDE. Update all callers.
3265 * valops.c (find_overload_match): New argument NOSIDE.
3266 * value.h (find_overload_match): Update signature.
3267
940df408
SC
32682014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3269
3270 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
3271 'items' methods instead of 'iteritems' method on dictionaries.
3272
699ca60a
DE
32732014-08-15 Doug Evans <dje@google.com>
3274
3275 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
3276 closer to use.
3277
37780ee5
DE
32782014-08-15 Doug Evans <dje@google.com>
3279
3280 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
3281
0ad93d4f
DE
32822014-08-15 Doug Evans <dje@google.com>
3283
3284 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
3285
20d8c372
DE
32862014-08-15 Doug Evans <dje@google.com>
3287
3288 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
3289 unused.
3290
cb039ba4
EZ
32912014-08-15 Eli Zaretskii <eliz@gnu.org>
3292
3293 * dcache.h: Include target.h, to avoid compile time warnings.
3294
eb7a547a
JB
32952014-08-15 Joel Brobecker <brobecker@adacore.com>
3296
3297 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
3298 frame_info" partial declaration.
3299 * gdbarch.h: Regenerate.
3300
783cecc8
YQ
33012014-08-15 Yao Qi <yao@codesourcery.com>
3302
3303 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
3304 Add parameter 'decode_for_pst_p'. Callers update.
3305
65c749e7
YQ
33062014-08-13 Yao Qi <yao@codesourcery.com>
3307
3308 PR build/17104
3309 * configure.ac: Use local variable 'pos'.
3310 * configure: Regenerated.
3311
d769e349
DE
33122014-08-11 Doug Evans <dje@google.com>
3313
3314 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
3315 message, it is redundant with "Reading symbols from ..." message.
3316
24f1235e
DE
33172014-08-10 Doug Evans <xdje42@gmail.com>
3318
3319 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
3320
dcd2e6ef
YQ
33212014-08-09 Yao Qi <yao@codesourcery.com>
3322
3323 PR remote/9053
3324 * remote.c (remote_xfer_partial): Remove dead code.
3325
070bdf0b
AA
33262014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3327
3328 * ia64-linux-tdep.c: Include "regset.h".
3329 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
3330 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
3331 (ia64_linux_supply_fpregset): New function.
3332 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
3333 (ia64_linux_regset_from_core_section): New function.
3334 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
3335 method.
3336
08f9f542
AA
33372014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3338
3339 * m68klinux-tdep.c: Include "regset.h".
3340 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
3341 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
3342 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
3343 (m68k_linux_regset_from_core_section): New function.
3344 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
3345 method.
3346
8f1cee41
AA
33472014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3348
3349 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
3350 function. Move logic to...
3351 (tilegx_linux_regmap): ... this new register map.
3352 (tilegx_linux_regset): Refer to register map, replace supply
3353 method by regcache_supply_regset, and add collect method.
3354 * tilegx-tdep.h (enum tilegx_regnum): New enum value
3355 TILEGX_FIRST_EASY_REGNUM.
3356
c5741217
AA
33572014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3358
3359 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
3360 that calls regcache_supply_regset and handles the EPC register
3361 separately. Move main logic to...
3362 (score7_linux_gregmap): ... this new register map.
3363 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
3364 (score7_linux_gregset): Refer to register map. Add collect method.
3365 (score7_linux_regset_from_core_section): Replace
3366 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
3367 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
3368 (struct regset): Delete unused forward declaraction.
3369 (struct pt_regs): Delete structure definition.
3370 (elf_gregset_t): Delete typedef.
3371
81580573
AA
33722014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3373
3374 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
3375 (nios2_core_regset): Add collect method.
3376
ba199d7d
AA
33772014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3378
3379 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
3380 platform-independent and don't write to read-only input buffer.
3381 (m32r_linux_collect_gregset): New function.
3382 (m32r_linux_gregset): Add collect method.
3383
0006a9da
AA
33842014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3385
3386 * hppa-linux-tdep.c (greg_map): Rename to...
3387 (hppa_linux_gregmap): ... this. Also convert to
3388 regcache_map_entry format.
3389 (hppa_linux_supply_regset): Delete function.
3390 (hppa_linux_supply_fpregset): Delete function. Move logic to...
3391 (hppa_linux_fpregmap): ... this new register map.
3392 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
3393 register map, replace supply method by regcache_supply_regset, and
3394 add collect method regcache_collect_regset.
3395
901e1b23
AA
33962014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3397
3398 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
3399 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
3400 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
3401 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
3402 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
3403 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
3404 (frv_linux_supply_gregset): Replace main logic by call to
3405 regcache_supply_regset, but keep clearing gr32-gr63.
3406 (frv_linux_supply_fpregset): Delete function.
3407 (frv_linux_gregset): Refer to appropriate register map and add
3408 regcache_collect_regset as the collect method.
3409 (frv_linux_fpregset): Likewise. Also exchange the supply method
3410 by regcache_supply_regset.
3411
1d6e7555
AA
34122014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3413
3414 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
3415 by call to alpha_supply_int_regs.
3416 (alpha_linux_collect_gregset): New function.
3417 (alpha_linux_supply_fpregset): Replace logic by call to
3418 alpha_supply_fp_regs.
3419 (alpha_linux_collect_fpregset): New function.
3420 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
3421
d4d793bf
AA
34222014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3423
3424 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
3425 by call to regcache_collect_regset.
3426 (supply_gregset, supply_fpregset): Call regcache_supply_regset
3427 instead of aarch64_linux_supply_gregset/_fpregset.
3428 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
3429 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
3430 header file instead.
3431 (aarch64_linux_supply_gregset, supply_gregset_from_core)
3432 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
3433 functions. Move logic to ...
3434 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
3435 register maps.
3436 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
3437 refer to new register maps, replace *_regset_from_core by
3438 regcache_supply_regset, and also use regcache_collect_regset.
3439 * aarch64-linux-tdep.h: Include "regset.h".
3440 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
3441 Delete prototypes.
3442 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
3443 macros, moved from C source file.
3444 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
3445 variable declarations.
3446
99b7da5d
AA
34472014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3448
3449 * s390-linux-nat.c: Include "regset.h".
3450 (regmap_gregset): Delete macro.
3451 (s390_64_regmap_gregset): New register map for
3452 regcache_supply/_collect_regset.
3453 (s390_64_gregset): New regset.
3454 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
3455 (regmap_fpregset): Delete macro.
3456 (s390_native_supply, s390_native_collect): Delete functions.
3457 (supply_gregset, fill_gregset): Replace s390-specific regmap
3458 handling by a call to regcache_supply/_collect_regset.
3459 (supply_fpregset, fill_fpregset): Call regcache_supply/
3460 _collect_regset instead of s390_native_supply/_collect.
3461 (fetch_regset, store_regset): Likewise. Also change the last
3462 parameter to a regset instead of a regmap.
3463 (s390_linux_fetch_inferior_registers)
3464 (390_linux_store_inferior_registers): Adjust last parameter in
3465 calls to fetch_regset and store_regset.
3466 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3467 (s390_gregmap): ... this. Also make static const and convert to
3468 regcache_map_entry format.
3469 (s390x_regmap_gregset): Delete.
3470 (s390_regmap_fpregset): Rename to...
3471 (s390_fpregmap): ... this. Make static const and convert to
3472 regcache_map_entry format.
3473 (s390_regmap_upper, s390_regmap_last_break)
3474 (s390x_regmap_last_break, s390_regmap_system_call)
3475 (s390_regmap_tdb): Likewise.
3476 (s390_supply_regset, s390_collect_regset): Remove functions.
3477 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3478 s390_supply_regset.
3479 (s390_gregset, s390_fpregset, s390_upper_regset)
3480 (s390_last_break_regset, s390x_last_break_regset)
3481 (s390_system_call_regset, s390_tdb_regset): Make global and
3482 replace s390_supply/_collect_regset by regcache_supply/
3483 _collect_regset.
3484 (s390x_gregset): Delete.
3485 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3486 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3487 (s390_regmap_fpregset, s390_regmap_last_break)
3488 (s390x_regmap_last_break, s390_regmap_system_call)
3489 (s390_regmap_tdb): Delete global variable declarations.
3490 (s390_gregset, s390_fpregset, s390_last_break_regset)
3491 (s390x_last_break_regset, s390_system_call_regset)
3492 (s390_tdb_regset): New global variable declarations.
3493
0b309272
AA
34942014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3495
3496 * regcache.c: Include "regset.h".
3497 (regcache_transfer_regset): New local function.
3498 (regcache_supply_regset, regcache_collect_regset): New functions.
3499 * regcache.h (struct regcache_map_entry): New structure.
3500 (REGCACHE_MAP_SKIP): New enum value.
3501 (regcache_supply_regset, regcache_collect_regset): New prototypes.
3502
7fefa8d7
AA
35032014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3504
3505 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3506 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3507 (ppc_linux_collect_gregset ): Likewise.
3508 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3509 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3510 (ppc_collect_vrregset): Likewise.
3511 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3512 Likewise.
3513
96c4f946
YQ
35142014-08-07 Yao Qi <yao@codesourcery.com>
3515
3516 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
3517 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
3518 * remote.c (remote_read_bytes): Likewise.
3519
fffbe6a8
YQ
35202014-08-07 Yao Qi <yao@codesourcery.com>
3521
3522 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
3523
5ee8a82c
YQ
35242014-08-07 Yao Qi <yao@codesourcery.com>
3525
3526 PR remote/17230
3527 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
3528 TARGET_XFER_OK instead of 0.
3529
bb974a24
GB
35302014-08-07 Gary Benson <gbenson@redhat.com>
3531
3532 * common/common-defs.h: Include errno.h.
3533 * defs.h: Do not include errno.h.
3534 * ada-typeprint.c: Likewise.
3535 * c-typeprint.c: Likewise.
3536 * core-regset.c: Likewise.
3537 * corefile.c: Likewise.
3538 * corelow.c: Likewise.
3539 * event-loop.c: Likewise.
3540 * f-typeprint.c: Likewise.
3541 * gnu-nat.c: Likewise.
3542 * go32-nat.c: Likewise.
3543 * i386gnu-nat.c: Likewise.
3544 * m2-typeprint.c: Likewise.
3545 * nat/linux-btrace.c: Likewise.
3546 * p-typeprint.c: Likewise.
3547 * procfs.c: Likewise.
3548 * remote-sim.c: Likewise.
3549 * rs6000-nat.c: Likewise.
3550 * target.c: Likewise.
3551 * typeprint.c: Likewise.
3552 * ui-file.c: Likewise.
3553 * valops.c: Likewise.
3554 * valprint.c: Likewise.
3555
6d3d12eb
GB
35562014-08-07 Gary Benson <gbenson@redhat.com>
3557
3558 * common/common-defs.h: Include string.h.
3559 * aarch64-tdep.c: Do not include string.h.
3560 * ada-exp.y: Likewise.
3561 * ada-lang.c: Likewise.
3562 * ada-lex.l: Likewise.
3563 * ada-typeprint.c: Likewise.
3564 * ada-valprint.c: Likewise.
3565 * aix-thread.c: Likewise.
3566 * alpha-linux-tdep.c: Likewise.
3567 * alpha-mdebug-tdep.c: Likewise.
3568 * alpha-nat.c: Likewise.
3569 * alpha-osf1-tdep.c: Likewise.
3570 * alpha-tdep.c: Likewise.
3571 * alphanbsd-tdep.c: Likewise.
3572 * amd64-dicos-tdep.c: Likewise.
3573 * amd64-linux-tdep.c: Likewise.
3574 * amd64-nat.c: Likewise.
3575 * amd64-sol2-tdep.c: Likewise.
3576 * amd64fbsd-tdep.c: Likewise.
3577 * amd64obsd-tdep.c: Likewise.
3578 * arch-utils.c: Likewise.
3579 * arm-linux-nat.c: Likewise.
3580 * arm-linux-tdep.c: Likewise.
3581 * arm-tdep.c: Likewise.
3582 * arm-wince-tdep.c: Likewise.
3583 * armbsd-tdep.c: Likewise.
3584 * armnbsd-nat.c: Likewise.
3585 * armnbsd-tdep.c: Likewise.
3586 * armobsd-tdep.c: Likewise.
3587 * avr-tdep.c: Likewise.
3588 * ax-gdb.c: Likewise.
3589 * ax-general.c: Likewise.
3590 * bcache.c: Likewise.
3591 * bfin-tdep.c: Likewise.
3592 * breakpoint.c: Likewise.
3593 * build-id.c: Likewise.
3594 * buildsym.c: Likewise.
3595 * c-exp.y: Likewise.
3596 * c-lang.c: Likewise.
3597 * c-typeprint.c: Likewise.
3598 * c-valprint.c: Likewise.
3599 * charset.c: Likewise.
3600 * cli-out.c: Likewise.
3601 * cli/cli-cmds.c: Likewise.
3602 * cli/cli-decode.c: Likewise.
3603 * cli/cli-dump.c: Likewise.
3604 * cli/cli-interp.c: Likewise.
3605 * cli/cli-logging.c: Likewise.
3606 * cli/cli-script.c: Likewise.
3607 * cli/cli-setshow.c: Likewise.
3608 * cli/cli-utils.c: Likewise.
3609 * coffread.c: Likewise.
3610 * common/agent.c: Likewise.
3611 * common/buffer.c: Likewise.
3612 * common/buffer.h: Likewise.
3613 * common/common-utils.c: Likewise.
3614 * common/filestuff.c: Likewise.
3615 * common/filestuff.c: Likewise.
3616 * common/format.c: Likewise.
3617 * common/print-utils.c: Likewise.
3618 * common/rsp-low.c: Likewise.
3619 * common/signals.c: Likewise.
3620 * common/vec.h: Likewise.
3621 * common/xml-utils.c: Likewise.
3622 * core-regset.c: Likewise.
3623 * corefile.c: Likewise.
3624 * corelow.c: Likewise.
3625 * cp-abi.c: Likewise.
3626 * cp-name-parser.y: Likewise.
3627 * cp-support.c: Likewise.
3628 * cp-valprint.c: Likewise.
3629 * cris-tdep.c: Likewise.
3630 * d-exp.y: Likewise.
3631 * darwin-nat.c: Likewise.
3632 * dbxread.c: Likewise.
3633 * dcache.c: Likewise.
3634 * demangle.c: Likewise.
3635 * dicos-tdep.c: Likewise.
3636 * disasm.c: Likewise.
3637 * doublest.c: Likewise.
3638 * dsrec.c: Likewise.
3639 * dummy-frame.c: Likewise.
3640 * dwarf2-frame.c: Likewise.
3641 * dwarf2loc.c: Likewise.
3642 * dwarf2read.c: Likewise.
3643 * elfread.c: Likewise.
3644 * environ.c: Likewise.
3645 * eval.c: Likewise.
3646 * event-loop.c: Likewise.
3647 * exceptions.c: Likewise.
3648 * exec.c: Likewise.
3649 * expprint.c: Likewise.
3650 * f-exp.y: Likewise.
3651 * f-lang.c: Likewise.
3652 * f-typeprint.c: Likewise.
3653 * f-valprint.c: Likewise.
3654 * fbsd-nat.c: Likewise.
3655 * findcmd.c: Likewise.
3656 * findvar.c: Likewise.
3657 * fork-child.c: Likewise.
3658 * frame.c: Likewise.
3659 * frv-linux-tdep.c: Likewise.
3660 * frv-tdep.c: Likewise.
3661 * gdb.c: Likewise.
3662 * gdb_bfd.c: Likewise.
3663 * gdbarch.c: Likewise.
3664 * gdbarch.sh: Likewise.
3665 * gdbtypes.c: Likewise.
3666 * gnu-nat.c: Likewise.
3667 * gnu-v2-abi.c: Likewise.
3668 * gnu-v3-abi.c: Likewise.
3669 * go-exp.y: Likewise.
3670 * go-lang.c: Likewise.
3671 * go32-nat.c: Likewise.
3672 * guile/guile.c: Likewise.
3673 * guile/scm-auto-load.c: Likewise.
3674 * hppa-hpux-tdep.c: Likewise.
3675 * hppa-linux-nat.c: Likewise.
3676 * hppanbsd-tdep.c: Likewise.
3677 * hppaobsd-tdep.c: Likewise.
3678 * i386-cygwin-tdep.c: Likewise.
3679 * i386-dicos-tdep.c: Likewise.
3680 * i386-linux-tdep.c: Likewise.
3681 * i386-nto-tdep.c: Likewise.
3682 * i386-sol2-tdep.c: Likewise.
3683 * i386-tdep.c: Likewise.
3684 * i386bsd-tdep.c: Likewise.
3685 * i386gnu-nat.c: Likewise.
3686 * i386nbsd-tdep.c: Likewise.
3687 * i386obsd-tdep.c: Likewise.
3688 * i387-tdep.c: Likewise.
3689 * ia64-libunwind-tdep.c: Likewise.
3690 * ia64-linux-nat.c: Likewise.
3691 * inf-child.c: Likewise.
3692 * inf-ptrace.c: Likewise.
3693 * inf-ttrace.c: Likewise.
3694 * infcall.c: Likewise.
3695 * infcmd.c: Likewise.
3696 * inflow.c: Likewise.
3697 * infrun.c: Likewise.
3698 * interps.c: Likewise.
3699 * iq2000-tdep.c: Likewise.
3700 * irix5-nat.c: Likewise.
3701 * jv-exp.y: Likewise.
3702 * jv-lang.c: Likewise.
3703 * jv-typeprint.c: Likewise.
3704 * jv-valprint.c: Likewise.
3705 * language.c: Likewise.
3706 * linux-fork.c: Likewise.
3707 * linux-nat.c: Likewise.
3708 * lm32-tdep.c: Likewise.
3709 * m2-exp.y: Likewise.
3710 * m2-typeprint.c: Likewise.
3711 * m32c-tdep.c: Likewise.
3712 * m32r-linux-nat.c: Likewise.
3713 * m32r-linux-tdep.c: Likewise.
3714 * m32r-rom.c: Likewise.
3715 * m32r-tdep.c: Likewise.
3716 * m68hc11-tdep.c: Likewise.
3717 * m68k-tdep.c: Likewise.
3718 * m68kbsd-tdep.c: Likewise.
3719 * m68klinux-nat.c: Likewise.
3720 * m68klinux-tdep.c: Likewise.
3721 * m88k-tdep.c: Likewise.
3722 * machoread.c: Likewise.
3723 * macrocmd.c: Likewise.
3724 * main.c: Likewise.
3725 * mdebugread.c: Likewise.
3726 * mem-break.c: Likewise.
3727 * memattr.c: Likewise.
3728 * memory-map.c: Likewise.
3729 * mep-tdep.c: Likewise.
3730 * mi/mi-cmd-break.c: Likewise.
3731 * mi/mi-cmd-disas.c: Likewise.
3732 * mi/mi-cmd-env.c: Likewise.
3733 * mi/mi-cmd-stack.c: Likewise.
3734 * mi/mi-cmd-var.c: Likewise.
3735 * mi/mi-cmds.c: Likewise.
3736 * mi/mi-console.c: Likewise.
3737 * mi/mi-getopt.c: Likewise.
3738 * mi/mi-interp.c: Likewise.
3739 * mi/mi-main.c: Likewise.
3740 * mi/mi-parse.c: Likewise.
3741 * microblaze-rom.c: Likewise.
3742 * microblaze-tdep.c: Likewise.
3743 * mingw-hdep.c: Likewise.
3744 * minidebug.c: Likewise.
3745 * minsyms.c: Likewise.
3746 * mips-irix-tdep.c: Likewise.
3747 * mips-linux-tdep.c: Likewise.
3748 * mips-tdep.c: Likewise.
3749 * mips64obsd-tdep.c: Likewise.
3750 * mipsnbsd-tdep.c: Likewise.
3751 * mipsread.c: Likewise.
3752 * mn10300-linux-tdep.c: Likewise.
3753 * mn10300-tdep.c: Likewise.
3754 * monitor.c: Likewise.
3755 * moxie-tdep.c: Likewise.
3756 * mt-tdep.c: Likewise.
3757 * nat/linux-btrace.c: Likewise.
3758 * nat/linux-osdata.c: Likewise.
3759 * nat/linux-procfs.c: Likewise.
3760 * nat/linux-ptrace.c: Likewise.
3761 * nat/linux-waitpid.c: Likewise.
3762 * nbsd-tdep.c: Likewise.
3763 * nios2-linux-tdep.c: Likewise.
3764 * nto-procfs.c: Likewise.
3765 * nto-tdep.c: Likewise.
3766 * objc-lang.c: Likewise.
3767 * objfiles.c: Likewise.
3768 * opencl-lang.c: Likewise.
3769 * osabi.c: Likewise.
3770 * osdata.c: Likewise.
3771 * p-exp.y: Likewise.
3772 * p-lang.c: Likewise.
3773 * p-typeprint.c: Likewise.
3774 * parse.c: Likewise.
3775 * posix-hdep.c: Likewise.
3776 * ppc-linux-nat.c: Likewise.
3777 * ppc-sysv-tdep.c: Likewise.
3778 * ppcfbsd-tdep.c: Likewise.
3779 * ppcnbsd-tdep.c: Likewise.
3780 * ppcobsd-tdep.c: Likewise.
3781 * printcmd.c: Likewise.
3782 * procfs.c: Likewise.
3783 * prologue-value.c: Likewise.
3784 * python/py-auto-load.c: Likewise.
3785 * python/py-gdb-readline.c: Likewise.
3786 * ravenscar-thread.c: Likewise.
3787 * regcache.c: Likewise.
3788 * registry.c: Likewise.
3789 * remote-fileio.c: Likewise.
3790 * remote-m32r-sdi.c: Likewise.
3791 * remote-mips.c: Likewise.
3792 * remote-notif.c: Likewise.
3793 * remote-sim.c: Likewise.
3794 * remote.c: Likewise.
3795 * reverse.c: Likewise.
3796 * rs6000-aix-tdep.c: Likewise.
3797 * ser-base.c: Likewise.
3798 * ser-go32.c: Likewise.
3799 * ser-mingw.c: Likewise.
3800 * ser-pipe.c: Likewise.
3801 * ser-tcp.c: Likewise.
3802 * ser-unix.c: Likewise.
3803 * serial.c: Likewise.
3804 * sh-tdep.c: Likewise.
3805 * sh64-tdep.c: Likewise.
3806 * shnbsd-tdep.c: Likewise.
3807 * skip.c: Likewise.
3808 * sol-thread.c: Likewise.
3809 * solib-dsbt.c: Likewise.
3810 * solib-frv.c: Likewise.
3811 * solib-osf.c: Likewise.
3812 * solib-som.c: Likewise.
3813 * solib-spu.c: Likewise.
3814 * solib-target.c: Likewise.
3815 * solib.c: Likewise.
3816 * somread.c: Likewise.
3817 * source.c: Likewise.
3818 * sparc-nat.c: Likewise.
3819 * sparc-sol2-tdep.c: Likewise.
3820 * sparc-tdep.c: Likewise.
3821 * sparc64-tdep.c: Likewise.
3822 * sparc64fbsd-tdep.c: Likewise.
3823 * sparc64nbsd-tdep.c: Likewise.
3824 * sparcnbsd-tdep.c: Likewise.
3825 * spu-linux-nat.c: Likewise.
3826 * spu-multiarch.c: Likewise.
3827 * spu-tdep.c: Likewise.
3828 * stabsread.c: Likewise.
3829 * stack.c: Likewise.
3830 * std-regs.c: Likewise.
3831 * symfile.c: Likewise.
3832 * symmisc.c: Likewise.
3833 * symtab.c: Likewise.
3834 * target.c: Likewise.
3835 * thread.c: Likewise.
3836 * tilegx-linux-nat.c: Likewise.
3837 * tilegx-tdep.c: Likewise.
3838 * top.c: Likewise.
3839 * tracepoint.c: Likewise.
3840 * tui/tui-command.c: Likewise.
3841 * tui/tui-data.c: Likewise.
3842 * tui/tui-disasm.c: Likewise.
3843 * tui/tui-file.c: Likewise.
3844 * tui/tui-layout.c: Likewise.
3845 * tui/tui-out.c: Likewise.
3846 * tui/tui-regs.c: Likewise.
3847 * tui/tui-source.c: Likewise.
3848 * tui/tui-stack.c: Likewise.
3849 * tui/tui-win.c: Likewise.
3850 * tui/tui-windata.c: Likewise.
3851 * tui/tui-winsource.c: Likewise.
3852 * typeprint.c: Likewise.
3853 * ui-file.c: Likewise.
3854 * ui-out.c: Likewise.
3855 * user-regs.c: Likewise.
3856 * utils.c: Likewise.
3857 * v850-tdep.c: Likewise.
3858 * valarith.c: Likewise.
3859 * valops.c: Likewise.
3860 * valprint.c: Likewise.
3861 * value.c: Likewise.
3862 * varobj.c: Likewise.
3863 * vax-tdep.c: Likewise.
3864 * vaxnbsd-tdep.c: Likewise.
3865 * vaxobsd-tdep.c: Likewise.
3866 * windows-nat.c: Likewise.
3867 * xcoffread.c: Likewise.
3868 * xml-support.c: Likewise.
3869 * xstormy16-tdep.c: Likewise.
3870 * xtensa-linux-nat.c: Likewise.
3871
dccbb609
GB
38722014-08-07 Gary Benson <gbenson@redhat.com>
3873
3874 * common/common-defs.h: Include gdb_assert.h.
3875 * aarch64-tdep.c: Do not include gdb_assert.h.
3876 * addrmap.c: Likewise.
3877 * aix-thread.c: Likewise.
3878 * alpha-linux-tdep.c: Likewise.
3879 * alpha-mdebug-tdep.c: Likewise.
3880 * alphanbsd-tdep.c: Likewise.
3881 * amd64-nat.c: Likewise.
3882 * amd64-tdep.c: Likewise.
3883 * amd64bsd-nat.c: Likewise.
3884 * amd64fbsd-nat.c: Likewise.
3885 * amd64fbsd-tdep.c: Likewise.
3886 * amd64nbsd-nat.c: Likewise.
3887 * amd64nbsd-tdep.c: Likewise.
3888 * amd64obsd-nat.c: Likewise.
3889 * amd64obsd-tdep.c: Likewise.
3890 * arch-utils.c: Likewise.
3891 * arm-tdep.c: Likewise.
3892 * armbsd-tdep.c: Likewise.
3893 * auxv.c: Likewise.
3894 * bcache.c: Likewise.
3895 * bfin-tdep.c: Likewise.
3896 * blockframe.c: Likewise.
3897 * breakpoint.c: Likewise.
3898 * bsd-kvm.c: Likewise.
3899 * bsd-uthread.c: Likewise.
3900 * buildsym.c: Likewise.
3901 * c-exp.y: Likewise.
3902 * c-lang.c: Likewise.
3903 * charset.c: Likewise.
3904 * cleanups.c: Likewise.
3905 * cli-out.c: Likewise.
3906 * cli/cli-decode.c: Likewise.
3907 * cli/cli-dump.c: Likewise.
3908 * cli/cli-logging.c: Likewise.
3909 * cli/cli-script.c: Likewise.
3910 * cli/cli-utils.c: Likewise.
3911 * coffread.c: Likewise.
3912 * common/common-utils.c: Likewise.
3913 * common/queue.h: Likewise.
3914 * common/signals.c: Likewise.
3915 * common/vec.h: Likewise.
3916 * complaints.c: Likewise.
3917 * completer.c: Likewise.
3918 * corelow.c: Likewise.
3919 * cp-abi.c: Likewise.
3920 * cp-name-parser.y: Likewise.
3921 * cp-namespace.c: Likewise.
3922 * cp-support.c: Likewise.
3923 * cris-tdep.c: Likewise.
3924 * dbxread.c: Likewise.
3925 * dictionary.c: Likewise.
3926 * doublest.c: Likewise.
3927 * dsrec.c: Likewise.
3928 * dummy-frame.c: Likewise.
3929 * dwarf2-frame-tailcall.c: Likewise.
3930 * dwarf2-frame.c: Likewise.
3931 * dwarf2expr.c: Likewise.
3932 * dwarf2loc.c: Likewise.
3933 * dwarf2read.c: Likewise.
3934 * eval.c: Likewise.
3935 * event-loop.c: Likewise.
3936 * exceptions.c: Likewise.
3937 * expprint.c: Likewise.
3938 * f-valprint.c: Likewise.
3939 * fbsd-nat.c: Likewise.
3940 * findvar.c: Likewise.
3941 * frame-unwind.c: Likewise.
3942 * frame.c: Likewise.
3943 * frv-tdep.c: Likewise.
3944 * gcore.c: Likewise.
3945 * gdb-dlfcn.c: Likewise.
3946 * gdb_bfd.c: Likewise.
3947 * gdbarch.c: Likewise.
3948 * gdbarch.sh: Likewise.
3949 * gdbtypes.c: Likewise.
3950 * gnu-nat.c: Likewise.
3951 * gnu-v3-abi.c: Likewise.
3952 * go-lang.c: Likewise.
3953 * guile/scm-exception.c: Likewise.
3954 * guile/scm-gsmob.c: Likewise.
3955 * guile/scm-lazy-string.c: Likewise.
3956 * guile/scm-math.c: Likewise.
3957 * guile/scm-pretty-print.c: Likewise.
3958 * guile/scm-safe-call.c: Likewise.
3959 * guile/scm-utils.c: Likewise.
3960 * guile/scm-value.c: Likewise.
3961 * h8300-tdep.c: Likewise.
3962 * hppa-hpux-nat.c: Likewise.
3963 * hppa-tdep.c: Likewise.
3964 * hppanbsd-tdep.c: Likewise.
3965 * hppaobsd-tdep.c: Likewise.
3966 * i386-darwin-nat.c: Likewise.
3967 * i386-darwin-tdep.c: Likewise.
3968 * i386-nto-tdep.c: Likewise.
3969 * i386-tdep.c: Likewise.
3970 * i386bsd-nat.c: Likewise.
3971 * i386fbsd-tdep.c: Likewise.
3972 * i386gnu-nat.c: Likewise.
3973 * i386nbsd-tdep.c: Likewise.
3974 * i386obsd-tdep.c: Likewise.
3975 * i387-tdep.c: Likewise.
3976 * ia64-libunwind-tdep.c: Likewise.
3977 * ia64-tdep.c: Likewise.
3978 * inf-ptrace.c: Likewise.
3979 * inf-ttrace.c: Likewise.
3980 * infcall.c: Likewise.
3981 * infcmd.c: Likewise.
3982 * infrun.c: Likewise.
3983 * inline-frame.c: Likewise.
3984 * interps.c: Likewise.
3985 * jv-lang.c: Likewise.
3986 * jv-typeprint.c: Likewise.
3987 * linux-fork.c: Likewise.
3988 * linux-nat.c: Likewise.
3989 * linux-thread-db.c: Likewise.
3990 * m32c-tdep.c: Likewise.
3991 * m32r-linux-nat.c: Likewise.
3992 * m32r-tdep.c: Likewise.
3993 * m68k-tdep.c: Likewise.
3994 * m68kbsd-nat.c: Likewise.
3995 * m68kbsd-tdep.c: Likewise.
3996 * m88k-tdep.c: Likewise.
3997 * machoread.c: Likewise.
3998 * macroexp.c: Likewise.
3999 * macrotab.c: Likewise.
4000 * maint.c: Likewise.
4001 * mdebugread.c: Likewise.
4002 * memory-map.c: Likewise.
4003 * mep-tdep.c: Likewise.
4004 * mi/mi-common.c: Likewise.
4005 * microblaze-tdep.c: Likewise.
4006 * mingw-hdep.c: Likewise.
4007 * mips-linux-nat.c: Likewise.
4008 * mips-linux-tdep.c: Likewise.
4009 * mips-tdep.c: Likewise.
4010 * mips64obsd-tdep.c: Likewise.
4011 * mipsnbsd-tdep.c: Likewise.
4012 * mn10300-linux-tdep.c: Likewise.
4013 * mn10300-tdep.c: Likewise.
4014 * moxie-tdep.c: Likewise.
4015 * mt-tdep.c: Likewise.
4016 * nat/linux-btrace.c: Likewise.
4017 * nat/linux-osdata.c: Likewise.
4018 * nat/linux-ptrace.c: Likewise.
4019 * nat/mips-linux-watch.c: Likewise.
4020 * nios2-linux-tdep.c: Likewise.
4021 * nios2-tdep.c: Likewise.
4022 * objc-lang.c: Likewise.
4023 * objfiles.c: Likewise.
4024 * obsd-nat.c: Likewise.
4025 * opencl-lang.c: Likewise.
4026 * osabi.c: Likewise.
4027 * parse.c: Likewise.
4028 * ppc-linux-nat.c: Likewise.
4029 * ppc-sysv-tdep.c: Likewise.
4030 * ppcfbsd-nat.c: Likewise.
4031 * ppcfbsd-tdep.c: Likewise.
4032 * ppcnbsd-nat.c: Likewise.
4033 * ppcnbsd-tdep.c: Likewise.
4034 * ppcobsd-nat.c: Likewise.
4035 * ppcobsd-tdep.c: Likewise.
4036 * printcmd.c: Likewise.
4037 * procfs.c: Likewise.
4038 * prologue-value.c: Likewise.
4039 * psymtab.c: Likewise.
4040 * python/py-lazy-string.c: Likewise.
4041 * python/py-value.c: Likewise.
4042 * regcache.c: Likewise.
4043 * reggroups.c: Likewise.
4044 * registry.c: Likewise.
4045 * remote-sim.c: Likewise.
4046 * remote.c: Likewise.
4047 * rs6000-aix-tdep.c: Likewise.
4048 * rs6000-tdep.c: Likewise.
4049 * s390-linux-tdep.c: Likewise.
4050 * score-tdep.c: Likewise.
4051 * ser-base.c: Likewise.
4052 * ser-mingw.c: Likewise.
4053 * sh-tdep.c: Likewise.
4054 * sh64-tdep.c: Likewise.
4055 * solib-darwin.c: Likewise.
4056 * solib-spu.c: Likewise.
4057 * solib-svr4.c: Likewise.
4058 * source.c: Likewise.
4059 * sparc-nat.c: Likewise.
4060 * sparc-sol2-tdep.c: Likewise.
4061 * sparc-tdep.c: Likewise.
4062 * sparc64-sol2-tdep.c: Likewise.
4063 * sparc64-tdep.c: Likewise.
4064 * sparc64fbsd-tdep.c: Likewise.
4065 * sparc64nbsd-tdep.c: Likewise.
4066 * sparc64obsd-tdep.c: Likewise.
4067 * sparcnbsd-tdep.c: Likewise.
4068 * sparcobsd-tdep.c: Likewise.
4069 * spu-multiarch.c: Likewise.
4070 * spu-tdep.c: Likewise.
4071 * stabsread.c: Likewise.
4072 * stack.c: Likewise.
4073 * symfile.c: Likewise.
4074 * symtab.c: Likewise.
4075 * target-descriptions.c: Likewise.
4076 * target-memory.c: Likewise.
4077 * target.c: Likewise.
4078 * tic6x-linux-tdep.c: Likewise.
4079 * tic6x-tdep.c: Likewise.
4080 * tilegx-linux-nat.c: Likewise.
4081 * tilegx-tdep.c: Likewise.
4082 * top.c: Likewise.
4083 * tramp-frame.c: Likewise.
4084 * tui/tui-out.c: Likewise.
4085 * tui/tui-winsource.c: Likewise.
4086 * ui-out.c: Likewise.
4087 * user-regs.c: Likewise.
4088 * utils.c: Likewise.
4089 * v850-tdep.c: Likewise.
4090 * valops.c: Likewise.
4091 * value.c: Likewise.
4092 * varobj.c: Likewise.
4093 * vax-nat.c: Likewise.
4094 * xml-syscall.c: Likewise.
4095 * xml-tdesc.c: Likewise.
4096 * xstormy16-tdep.c: Likewise.
4097 * xtensa-linux-nat.c: Likewise.
4098 * xtensa-tdep.c: Likewise.
4099
e76df0d0
GB
41002014-08-07 Gary Benson <gbenson@redhat.com>
4101
4102 * common/common-defs.h: Include common-utils.h.
4103 * defs.h: Do not include common-utils.h.
4104 * common/gdb_assert.h: Likewise.
4105 * darwin-nat.h: Likewise.
4106 * nat/linux-btrace.c: Likewise.
4107 * target/waitstatus.h: Likewise.
4108
4cb9c816
GB
41092014-08-07 Gary Benson <gbenson@redhat.com>
4110
4111 * common/common-defs.h: Include ptid.h.
4112 * defs.h: Do not include ptid.h.
4113 * inferior.h: Likewise.
4114 * infrun.h: Likewise.
4115 * nat/linux-btrace.h: Likewise.
4116 * nat/linux-osdata.h: Likewise.
4117 * target/waitstatus.h: Likewise.
4118
3995eeee
GB
41192014-08-07 Gary Benson <gbenson@redhat.com>
4120
4121 * common/common-defs.h: Include gdb_locale.h.
4122 * defs.h: Do not include gdb_locale.h.
4123
cb9f1a9b
GB
41242014-08-07 Gary Benson <gbenson@redhat.com>
4125
4126 * common/common-defs.h: Include gdb/signals.h.
4127 * defs.h: Do not include gdb/signals.h.
4128
a5fceff8
GB
41292014-08-07 Gary Benson <gbenson@redhat.com>
4130
4131 * common/common-defs.h: Include pathmax.h.
4132 * defs.h: Do not include pathmax.h.
4133
b9391142
GB
41342014-08-07 Gary Benson <gbenson@redhat.com>
4135
4136 * common/common-defs.h: Include libiberty.h.
4137 * defs.h: Do not include libiberty.h.
4138 * common/queue.h: Likewise.
4139 * cp-name-parser.y: Likewise.
4140 * mi/mi-cmd-catch.c: Likewise.
4141 * python/python.c: Likewise.
4142
0e443c87
GB
41432014-08-07 Gary Benson <gbenson@redhat.com>
4144
4145 * common/common-defs.h: Include ansidecl.h.
4146 * defs.h: Do not include ansidecl.h.
4147 * common/buffer.h: Likewise.
4148 * common/common-utils.h: Likewise.
4149
8ebb3f56
GB
41502014-08-07 Gary Benson <gbenson@redhat.com>
4151
4152 * common/common-defs.h: Include stddef.h.
4153 * defs.h: Do not include stddef.h.
4154 * common/common-utils.h: Likewise.
4155 * amd64fbsd-nat.c: Likewise.
4156 * bcache.c: Likewise.
4157 * charset.c: Likewise.
4158 * common/buffer.h: Likewise.
4159 * common/vec.h: Likewise.
4160 * i386bsd-nat.c: Likewise.
4161 * nat/linux-btrace.h: Likewise.
4162 * ppcfbsd-nat.c: Likewise.
4163 * ppcnbsd-tdep.h: Likewise.
4164 * ppcobsd-nat.c: Likewise.
4165 * ppcobsd-tdep.h: Likewise.
4166 * python/py-gdb-readline.c: Likewise.
4167
8980bdf6
GB
41682014-08-07 Gary Benson <gbenson@redhat.com>
4169
4170 * common/common-defs.h: Include stdarg.h.
4171 * defs.h: Do not include stdarg.h.
4172 * ada-lang.c: Likewise.
4173 * common/common-utils.h: Likewise.
4174 * guile/scm-string.c: Likewise.
4175 * guile/scm-utils.c: Likewise.
4176 * m32c-tdep.c: Likewise.
4177
d7096f71
GB
41782014-08-07 Gary Benson <gbenson@redhat.com>
4179
4180 * common/common-defs.h: Include stdlib.h.
4181 * defs.h: Do not include stdlib.h.
4182 * addrmap.c: Likewise.
4183 * bcache.c: Likewise.
4184 * common/buffer.c: Likewise.
4185 * common/common-utils.c: Likewise.
4186 * cp-name-parser.y: Likewise.
4187 * go32-nat.c: Likewise.
4188 * mn10300-linux-tdep.c: Likewise.
4189 * nat/linux-osdata.c: Likewise.
4190 * tui/tui.c: Likewise.
4191 * windows-nat.c: Likewise.
4192
d02f550d
GB
41932014-08-07 Gary Benson <gbenson@redhat.com>
4194
4195 * common/common-defs.h: Include stdio.h.
4196 * defs.h: Do not include stdio.h.
4197 * ada-lang.c: Likewise.
4198 * common/buffer.c: Likewise.
4199 * common/common-utils.c: Likewise.
4200 * cp-name-parser.y: Likewise.
4201 * gnu-nat.c: Likewise.
4202 * go32-nat.c: Likewise.
4203 * i386gnu-nat.c: Likewise.
4204 * proc-api.c: Likewise.
4205 * proc-events.c: Likewise.
4206 * proc-flags.c: Likewise.
4207 * proc-why.c: Likewise.
4208 * python/python-internal.h: Likewise.
4209 * target-memory.c: Likewise.
4210 * tui/tui-io.c: Likewise.
4211 * tui/tui.c: Likewise.
4212
b6d7a4bf
SM
42132014-08-06 Simon Marchi <simon.marchi@ericsson.com>
4214
4215 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
4216 (scan_dyntag_auxv): Same.
4217
af19829b
YQ
42182014-08-06 Yao Qi <yao@codesourcery.com>
4219
4220 * amd64-linux-nat.c: Remove duplicated include
4221 "x86-linux-nat.h".
4222 * i386-linux-nat.c: Likewise.
4223
8e07a239
YQ
42242014-08-06 Yao Qi <yao@codesourcery.com>
4225
4226 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
4227 operand" with "Special opcode" in comments.
4228
7bfe8241
GB
42292014-08-05 Gary Benson <gbenson@redhat.com>
4230
4231 * interps.c (initialize_interps): Remove prototype.
4232 (interpreter_initialized): Remove static global.
4233 (interp_add): Do not call initialize_interps.
4234 (initialize_interps): Remove function.
4235
d6c95504
GB
42362014-08-05 Gary Benson <gbenson@redhat.com>
4237
4238 * utils.c (vwarning): Remove spurious va_end.
4239
241fd515
AM
42402014-08-05 Alan Modra <amodra@gmail.com>
4241
4242 * charset.c (convert_between_encodings): Cast result of obstack_base.
4243 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
4244 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
4245 (read_unwind_info): Use size_t for some locals.
4246 * jit.c (finalize_symtab): Likewise.
4247 * utils.c (hashtab_obstack_allocate): Likewise.
4248 * symmisc.c (print_objfile_statistics): Update format strings.
4249
dc304a94
JK
42502014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4251
4252 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
4253 (Changes in GDB 7.8): ... here.
4254
3cecbbbe
TT
42552014-08-04 Tom Tromey <tromey@redhat.com>
4256
4257 * target.c (set_targetdebug): New function.
4258 (initialize_targets): Pass set_targetdebug when creating "set
4259 debug target".
4260
6908c509
JB
42612014-08-01 Joel Brobecker <brobecker@adacore.com>
4262
4263 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
4264 if detecting a variable-sized field that is not the last field.
4265 Fix struct type length computation.
4266
53e8f97d
JB
42672014-08-01 Joel Brobecker <brobecker@adacore.com>
4268
4269 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4270 Add debug trace.
4271
e068c55d
JB
42722014-08-01 Joel Brobecker <brobecker@adacore.com>
4273
4274 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4275 Remove "+ 8" offset in computation of CHAIN_VMA.
4276
4d4ca2a1
DE
42772014-07-31 Doug Evans <dje@google.com>
4278
4279 * inflow.c (child_terminal_inferior): Add comment.
4280 (child_terminal_ours_for_output): Add comment.
4281 (child_terminal_ours): Add comment.
4282 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
4283 (linux_nat_terminal_ours): Add comment.
4284
462f517e
GB
42852014-07-31 Gary Benson <gbenson@redhat.com>
4286
4287 * common/btrace-common.h: Do not include defs.h or server.h.
4288 * nat/mips-linux-watch.h: Likewise.
4289 * gdb-dlfcn.h: Do not include defs.h.
4290 * tracefile.h: Likewise.
4291
74228e77
RM
42922014-07-30 Roland McGrath <mcgrathr@google.com>
4293
4294 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
4295
014f9477
TT
42962014-07-30 Tom Tromey <tromey@redhat.com>
4297
4298 * bsd-kvm.c (bsd_kvm_open): Constify.
4299 * corelow.c (core_open): Constify.
4300 * ctf.c (ctf_open): Constify.
4301 * dbug-rom.c (dbug_open): Constify.
4302 * exec.c (exec_open): Constify.
4303 * m32r-rom.c (m32r_open, mon2000_open): Constify.
4304 * microblaze-rom.c (picobug_open): Constify.
4305 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
4306 Constify.
4307 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
4308 * record-btrace.c (record_btrace_open): Constify.
4309 * record-full.c (record_full_core_open_1, record_full_open_1)
4310 (record_full_open): Constify.
4311 * remote-m32r-sdi.c (m32r_open): Constify.
4312 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
4313 (rockhopper_open, lsi_open): Constify.
4314 * remote-sim.c (gdbsim_open): Constify.
4315 * remote.c (remote_open, extended_remote_open, remote_open_1):
4316 Constify.
4317 * target.h (struct target_ops) <to_open>: Make "arg" const.
4318 * tracefile-tfile.c (tfile_open): Constify.
4319
e799154c
TT
43202014-07-30 Tom Tromey <tromey@redhat.com>
4321
4322 * breakpoint.c (map_breakpoint_numbers): Update.
4323 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
4324 (get_number_const): New function.
4325 (get_number): Rewrite using get_number_const.
4326 (init_number_or_range): Make "string" const.
4327 (number_is_in_list): Make "list" const.
4328 * cli/cli-utils.h (get_number_const): Declare.
4329 (struct get_number_or_range_state) <string, end_ptr>: Now const.
4330 (init_number_or_range, number_is_in_list): Update.
4331 * printcmd.c (map_display_numbers): Update.
4332 * value.c (value_from_history_ref): Constify.
4333 * value.h (value_from_history_ref): Update.
4334
5f08566b
TT
43352014-07-30 Tom Tromey <tromey@redhat.com>
4336
4337 * corefile.c (hook_type, call_extra_exec_file_hooks)
4338 (specify_exec_file_hook): Constify.
4339 * exec.c (exec_file_attach): Make "filename" const.
4340 * gdbcore.h (deprecated_exec_file_display_hook)
4341 (specify_exec_file_hook, exec_file_attach): Constify.
4342 * main.c (captured_main): Use catch_command_errors_const.
4343
8981c758
TT
43442014-07-30 Tom Tromey <tromey@redhat.com>
4345
4346 * target.c (open_target): New function.
4347 (add_target_with_completer, add_deprecated_target_alias): Use
4348 set_cmd_sfunc, set_cmd_context.
4349 (debug_to_open): Remove.
4350 (setup_target_debug): Update.
4351
a1c7835a
YQ
43522014-07-30 Yao Qi <yao@codesourcery.com>
4353
4354 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
4355 comments.
4356 * parse.c (exp_iterate): Update comments.
4357
976411d6
GB
43582014-07-30 Gary Benson <gbenson@redhat.com>
4359
4360 * common/common-defs.h: New file.
4361 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
4362 * defs.h: Include common-defs.h.
4363 Do not include config.h or build-gnulib/config.h.
4364
5d4848a4
GB
43652014-07-30 Gary Benson <gbenson@redhat.com>
4366
4367 * common/common-utils.h: Do not include config.h.
4368 * nat/linux-btrace.h: Likewise.
4369
d41f6d8e
GB
43702014-07-30 Gary Benson <gbenson@redhat.com>
4371
4372 * btrace.c: Include defs.h.
4373 * common/ptid.c: Include defs.h or server.h as appropriate.
4374 * nat/mips-linux-watch.c: Likewise.
4375
84202f9c
TT
43762014-07-29 Tom Tromey <tromey@redhat.com>
4377
4378 * target.c (target_is_pushed): Simplify.
4379
2530441c
JB
43802014-07-29 Joel Brobecker <brobecker@adacore.com>
4381
4382 GDB 7.8 released.
4383
7e09a223
YQ
43842014-07-29 Yao Qi <yao@codesourcery.com>
4385
4386 PR gdb/17206
4387 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
4388
7ebdbe92
DE
43892014-07-28 Doug Evans <xdje42@gmail.com>
4390
4391 PR guile/17203
4392 * guile/scm-param.c (pascm_parameter_defined_p): New function.
4393 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
4394 parameters.
4395
f347ffc9
WN
43962014-07-28 Will Newton <will.newton@linaro.org>
4397
4398 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
4399 (THUMB2_SET_R7_SIGRETURN2): Likewise.
4400 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
4401 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
4402 (THUMB2_EABI_SYSCALL): Likewise.
4403 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
4404 struct tramp_frame.
4405 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
4406 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
4407
37c5f1f7
DE
44082014-07-27 Doug Evans <xdje42@gmail.com>
4409
4410 * guile/scm-param.c (pascm_print_param_smob): Fix output.
4411
0c3abbc7
DE
44122014-07-27 Doug Evans <xdje42@gmail.com>
4413
4414 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
4415
e76c5d17
DE
44162014-07-26 Ludovic Courtès <ludo@gnu.org>
4417 Doug Evans <xdje42@gmail.com>
4418
4419 PR guile/17146
4420 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
4421 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
4422 * configure.ac: Try to use guild to compile an scm file, if it fails
4423 then disable guile support.
4424 * configure: Regenerate.
4425 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
4426 GUILE_FILE_LIST.
4427 (GUILE_COMPILED_FILES): New variable.
4428 (GUILE_FILES) Update.
4429 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
4430 (stamp-guile): Compile scm files.
4431 * guile/guile.c (boot_guile_support): New function.
4432 (standard_throw_args_p): New function.
4433 (print_standard_throw_error, print_throw_error): New functions.
4434 (handle_boot_error): New function.
4435 (initialize_scheme_side): Rewrite to call boot_guile_support.
4436 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
4437 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
4438
186fcde0
DE
44392014-07-26 Ludovic Courtès <ludo@gnu.org>
4440 Doug Evans <xdje42@gmail.com>
4441
4442 PR guile/17146
4443 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
4444 * guile/lib/gdb/support.scm: New file.
4445 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
4446 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
4447 All uses updated.
4448 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
4449 All uses updated.
4450 (%assert-type): Ditto, and renamed to assert-type.
4451 (%exception-print-style): Delete.
4452
4df42755
DE
44532014-07-26 Doug Evans <xdje42@gmail.com>
4454
4455 PR build/17105
4456 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
4457 * configure: Regenerate.
4458 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
4459 PYTHON_FILES.
4460 (PYTHON_FILES): New variable.
4461 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4462 (GUILE_FILES): New variable.
4463 (stamp-python, install-python, uninstall-python): Handle empty
4464 file list.
4465 (stamp-guile, install-guile, uninstall-guile): Ditto.
4466
ee7333ae
DE
44672014-07-26 Doug Evans <xdje42@gmail.com>
4468
4469 PR guile/17177
4470 * guile/lib/gdb.scm (pretty-printers): Export.
4471 (set-pretty-printers!): Export.
4472 * guile/lib/gdb/printing.scm (gdb module): Update.
4473 (prepend-pretty-printer!, append-pretty-printer!): Update.
4474 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4475 (pretty_printer_list_var): Delete.
4476 (pretty_printer_list): New static global.
4477 (gdbscm_pretty_printers): New function.
4478 (gdbscm_set_pretty_printers_x): New function.
4479 (ppscm_find_pretty_printer_from_gdb): Update.
4480 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4481 (gdbscm_initialize_pretty_printers): Update.
4482
74edf516
DE
44832014-07-26 Doug Evans <xdje42@gmail.com>
4484
4485 PR 17185
4486 * configure.ac: Add check for header gc/gc.h.
4487 Add check for function setenv.
4488 * configure: Regenerate.
4489 * config.in: Regenerate.
4490 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4491
d54398a7
MR
44922014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
4493
4494 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4495 variation in gdbarch matching.
4496
ab16fce8
TT
44972014-07-25 Tom Tromey <tromey@redhat.com>
4498
4499 * exec.c (using_exec_ops): Remove.
4500 (exec_close_1): Update. Remove extraneous block, reindent.
4501 (add_target_sections): Use target_is_pushed.
4502
88056fbb
PA
45032014-07-25 Pedro Alves <palves@redhat.com>
4504
4505 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4506 * monitor.c (monitor_create_inferior): Likewise.
4507 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4508 * remote-sim.c (gdbsim_create_inferior): Likewise.
4509 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4510 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4511 * windows-nat.c (do_initial_windows_stuff): Likewise.
4512
70509625
PA
45132014-07-25 Pedro Alves <palves@redhat.com>
4514
4515 * NEWS: Mention signal passing and "signal" command changes.
4516 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
4517 comment.
4518 * breakpoint.c (until_break_command): Adjust clear_proceed_status
4519 call.
4520 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
4521 * infcmd.c (proceed_thread_callback, continue_1, step_once)
4522 (jump_command): Adjust clear_proceed_status call.
4523 (signal_command): Warn if other thread that are resumed have
4524 signals that will be delivered. Adjust clear_proceed_status call.
4525 (until_next_command, finish_command)
4526 (proceed_after_attach_callback, attach_command_post_wait)
4527 (attach_command): Adjust clear_proceed_status call.
4528 * infrun.c (proceed_after_vfork_done): Likewise.
4529 (proceed_after_attach_callback): Adjust comment.
4530 (clear_proceed_status_thread): Clear stop_signal if not in pass
4531 state.
4532 (clear_proceed_status_callback): Delete.
4533 (clear_proceed_status): New 'step' parameter. Only clear the
4534 proceed status of threads the command being prepared is about to
4535 resume.
4536 (proceed): If passed in an explicit signal, override stop_signal
4537 with it. Don't pass the last stop signal to the thread we're
4538 resuming.
4539 (init_wait_for_inferior): Adjust clear_proceed_status call.
4540 (switch_back_to_stepped_thread): Clear the signal if it should not
4541 be passed.
4542 * infrun.h (clear_proceed_status): New 'step' parameter.
4543 (user_visible_resume_ptid): Add comment.
4544 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
4545 signal is in pass state.
4546 * remote.c (append_pending_thread_resumptions): Likewise.
4547 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
4548
d8be2939
TT
45492014-07-25 Tom Tromey <tromey@redhat.com>
4550
4551 * target.h (target_stopped_data_address)
4552 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
4553 parentheses.
4554
7d0d9d2b
PL
45552014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
4556
4557 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
4558 comments.
4559 (avr_pointer_to_address): Likewise.
4560
e9e7f724
TT
45612014-07-24 Tom Tromey <tromey@redhat.com>
4562
4563 * monitor.c (compile_pattern): Update.
4564 * target.h (struct target_ops) <to_shortname, to_longname,
4565 to_doc>: Now const.
4566
1947513d
TT
45672014-07-24 Tom Tromey <tromey@redhat.com>
4568
4569 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
4570 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
4571 (add_info_alias, add_com): Make "doc" const.
4572 (print_doc_line): Make "str" const.
4573 (delete_cmd): Update.
4574 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
4575 (print_doc_line): Update.
4576 * cli/cli-script.c (document_command): Update.
4577 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
4578 (add_com, add_info, add_info_alias): Update.
4579 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4580 * python/py-cmd.c (cmdpy_destroyer): Update.
4581
64e61d29
TT
45822014-07-24 Tom Tromey <tromey@redhat.com>
4583
4584 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
4585 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
4586 (help_cmd_list): Constify.
4587 (lookup_cmd): Update.
4588 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
4589 const.
4590 (help_cmd_list, apropos_cmd): Update.
4591 * cli/cli-script.c (show_user): Update.
4592 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
4593 * cli/cli-setshow.h (cmd_show_list): Update.
4594 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
4595 (cmd_show_list): Update.
4596 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4597 * python/py-cmd.c (cmdpy_destroyer): Update.
4598
429e55ea
TT
45992014-07-24 Tom Tromey <tromey@redhat.com>
4600
4601 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
4602 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
4603 const.
4604 * command.h (deprecate_cmd): Update.
4605 * maint.c (maintenance_do_deprecate): Add casts.
4606
64669f3b
TT
46072014-07-24 Tom Tromey <tromey@redhat.com>
4608
4609 * cli/cli-decode.c (help_cmd): Make parameter "const".
4610 * cli/cli-decode.h (help_cmd): Update.
4611
d3d3328b
TT
46122014-07-24 Tom Tromey <tromey@redhat.com>
4613
4614 * stack.c (up_silently_base, down_silently_base): Make argument
4615 const.
4616
414842dc
TT
46172014-07-24 Tom Tromey <tromey@redhat.com>
4618
4619 * solib.c (solib_add): Make "pattern" const.
4620 * solib.h (solib_add): Update.
4621
baa336ce
TT
46222014-07-24 Tom Tromey <tromey@redhat.com>
4623
4624 * remote.c (remote_serial_open, print_packet, putpkt)
4625 (putpkt_binary): Constify.
4626 * remote.h (putpkt): Update.
4627
5a19e2d0
TT
46282014-07-24 Tom Tromey <tromey@redhat.com>
4629
4630 * monitor.c (monitor_open): Make "args" const.
4631 * monitor.h (monitor_open): Update.
4632
fc4baa5e
TT
46332014-07-24 Tom Tromey <tromey@redhat.com>
4634
4635 * maint.c (match_bfd_flags): Make "string" const.
4636 (print_bfd_section_info): Remove casts.
4637 (print_objfile_section_info): Make "string" const.
4638
0d5f0dbe
TT
46392014-07-24 Tom Tromey <tromey@redhat.com>
4640
4641 * inf-child.c (inf_child_open_target): Make "arg" const.
4642 * inf-child.h (inf_child_open_target): Update.
4643
41c77899
TT
46442014-07-24 Tom Tromey <tromey@redhat.com>
4645
4646 * environ.c (unset_in_environ): Make "var" const.
4647 * environ.h (unset_in_environ): Update.
4648
93db0d79
TT
46492014-07-24 Tom Tromey <tromey@redhat.com>
4650
4651 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
4652 Make "cmd" const.
4653 (scan_filename_with_cleanup): Likewise.
4654 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
4655 Make arguments const.
4656 (restore_command): Update.
4657
36d6eb95
PA
46582014-07-24 Pedro Alves <palves@redhat.com>
4659
4660 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
4661
8009206a
TT
46622014-07-24 Tom Tromey <tromey@redhat.com>
4663 Gary Benson <gbenson@redhat.com>
4664
4665 * nat/linux-ptrace.c (additional_flags): New global.
4666 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
4667 additional_flags; don't check GDBSERVER.
4668 (linux_ptrace_set_additional_flags): New function.
4669 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
4670 Declare.
4671 * linux-nat.c (_initialize_linux_nat): Call
4672 linux_ptrace_set_additional_flags.
4673
a7068b60
TT
46742014-07-24 Tom Tromey <tromey@redhat.com>
4675
4676 * make-target-delegates (munge_type, write_debugmethod): New
4677 functions.
4678 (debug_names): New global.
4679 ($TARGET_DEBUG_PRINTER): New global.
4680 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
4681 name.
4682 Write debug methods. Generate init_debug_target.
4683 * target-debug.h: New file.
4684 * target-delegates.c: Rebuild.
4685 * target.c: Include target-debug.h.
4686 (debug_target): Hoist definition.
4687 (target_kill, target_get_section_table, target_memory_map)
4688 (target_flash_erase, target_flash_done, target_detach)
4689 (target_disconnect, target_wait, target_resume)
4690 (target_pass_signals, target_program_signals, target_follow_fork)
4691 (target_mourn_inferior, target_search_memory)
4692 (target_thread_address_space, target_close)
4693 (target_find_new_threads, target_core_of_thread)
4694 (target_verify_memory, target_insert_mask_watchpoint)
4695 (target_remove_mask_watchpoint): Remove targetdebug code.
4696 (debug_to_post_attach, debug_to_prepare_to_store)
4697 (debug_to_files_info, debug_to_insert_breakpoint)
4698 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
4699 (debug_to_region_ok_for_hw_watchpoint)
4700 (debug_to_can_accel_watchpoint_condition)
4701 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
4702 (debug_to_watchpoint_addr_within_range)
4703 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
4704 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
4705 (debug_to_terminal_init, debug_to_terminal_inferior)
4706 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
4707 (debug_to_terminal_save_ours, debug_to_terminal_info)
4708 (debug_to_load, debug_to_post_startup_inferior)
4709 (debug_to_insert_fork_catchpoint)
4710 (debug_to_remove_fork_catchpoint)
4711 (debug_to_insert_vfork_catchpoint)
4712 (debug_to_remove_vfork_catchpoint)
4713 (debug_to_insert_exec_catchpoint)
4714 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
4715 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
4716 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
4717 (setup_target_debug): Call init_debug_target.
4718 * target.h (TARGET_DEBUG_PRINTER): New macro.
4719 (struct target_ops) <to_resume, to_wait, to_pass_signals,
4720 to_program_signals>: Use TARGET_DEBUG_PRINTER.
4721
2c51604d
GB
47222014-07-24 Gary Benson <gbenson@redhat.com>
4723
4724 * exceptions.h (throw_vfatal): Renamed to...
4725 (throw_vquit): New declaration.
4726 (throw_quit): Likewise.
4727 * exceptions.c (throw_vfatal): Renamed to...
4728 (throw_vquit): New function.
4729 (throw_quit): Likewise.
4730 (throw_error): Call throw_verror rather than throw_it.
4731 * utils.h (vfatal): Removed.
4732 (fatal): Likewise.
4733 * utils.c (vfatal): Removed.
4734 (fatal): Likewise.
4735 (internal_verror): Replaced call to fatal with call to throw_quit.
4736 (quit): Replaced calls to fatal with calls to throw_quit.
4737
34211963
ME
47382014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
4739
4740 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
4741 target_read_code.
4742
a52b4d3e
ME
47432014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
4744
4745 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
4746 less than zero in conditional expression.
4747
a8bdc56b
TT
47482014-07-23 Tom Tromey <tromey@redhat.com>
4749
4750 * make-target-delegates ($ARGS_PART): Match trailing close paren.
4751 ($INTRO_PART): Don't match whitespace.
4752 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
4753 argument matching.
4754 ($METHOD): Add $METHOD_TRAILER.
4755 (trim): Rewrite.
4756 (scan_target_h): New sub.
4757 Change main loop not to collect state.
4758 * target-delegates.c: Rebuild.
4759
91b52240
GB
47602014-07-23 Gary Benson <gbenson@redhat.com>
4761
4762 * cp-support.c (gdb_demangle): Fix build on systems without
4763 sigaltstack.
4764
45326f6f
JK
47652014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4766
4767 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
4768 for reference entry value target data value.
4769
e214cf6c
JK
47702014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4771
4772 * stack.c (read_frame_arg): Verify value_optimized_out before calling
4773 value_available_contents_eq.
4774
bddbbedd
PA
47752014-07-22 Pedro Alves <palves@redhat.com>
4776
4777 * value.c (allocate_optimized_out_value): Don't mark value as
4778 non-lazy.
4779
45c71484
JW
47802014-07-22 Jiong Wang <jiong.wang@arm.com>
4781
4782 * MAINTAINERS (Write After Approval): Update my email address.
4783
9597b22a
DE
47842014-07-20 Doug Evans <dje@google.com>
4785
4786 PR server/17147
4787 * remote.c (putpkt_binary): Add text to error message.
4788
91101fe5
YQ
47892014-07-20 Yao Qi <yao@codesourcery.com>
4790
4791 * eval.c: Remove "Chill" from comments.
4792 * gdbtypes.h: Likewise.
4793 * symtab.h: Likewise.
4794
c9402c95
YQ
47952014-07-20 Yao Qi <yao@codesourcery.com>
4796
4797 * std-operator.def: Update comments to TERNOP_SLICE.
4798
ae8fddda
YQ
47992014-07-20 Yao Qi <yao@codesourcery.com>
4800
4801 * std-operator.def: Remove BINOP_RANGE.
4802 * breakpoint.c (watchpoint_exp_is_const): Update.
4803 * expprint.c (dump_subexp_body_standard): Likewise.
4804 * eval.c (init_array_element): Remove dead code.
4805 (evaluate_subexp_standard): Likewise.
4806
9c816640
YQ
48072014-07-20 Yao Qi <yao@codesourcery.com>
4808
4809 * std-operator.def: Remove BINOP_IN.
4810 * breakpoint.c (watchpoint_exp_is_const): Update.
4811 * eval.c (evaluate_subexp_standard): Likewise.
4812 * expprint.c (dump_subexp_body_standard): Likewise.
4813
164224e9
ME
48142014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
4815
4816 * microblaze-tdep.c (microblaze_register_names): Add
4817 the rshr and rslr register names.
4818 (microblaze_gdbarch_init): Use of tdesc_has_registers.
4819 Use of tdesc_find_feature. Use of tdesc_data_alloc.
4820 Use of tdesc_numbered_register. Use of
4821 microblaze_register_g_packet_guesses. Use of
4822 tdesc_use_registers. Use of set_gdbarch_register_type.
4823 (microblaze_register_g_packet_guesses): New.
4824 * microblaze-tdep.h (microblaze_reg_num): Add
4825 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
4826 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
4827 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
4828 * features/microblaze-core.xml: New file.
4829 * features/microblaze-stack-protect.xml: New file.
4830 * features/microblaze-with-stack-protect.c: New file.
4831 * features/microblaze-with-stack-protect.xml: New file.
4832 * features/microblaze.xml: New file.
4833 * features/microblaze.c: New file.
4834 * features/Makefile (microblaze-with-stack-protect): Add
4835 microblaze-with-stack-protect microblaze and microblaze-expedite.
4836 * regformats/microblaze-with-stack-protect.dat: New file.
4837 * regformats/microblaze.dat: New file.
4838 * doc/gdb.texinfo (MicroBlaze Features): Added.
4839
e8b2341c
TT
48402014-07-18 Tom Tromey <tromey@redhat.com>
4841
4842 * exec.c (exec_ops): Now static.
4843 * exec.h (exec_ops): Don't declare.
4844
44e89118
TT
48452014-07-18 Tom Tromey <tromey@redhat.com>
4846
4847 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
4848 to find_target_beneath.
4849 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
4850 find_target_beneath.
4851 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
4852
b0ed115f
TT
48532014-07-18 Tom Tromey <tromey@redhat.com>
4854
4855 PR gdb/17130:
4856 * utils.c (quit): Use target_supports_terminal_ours.
4857 * target.h (target_supports_terminal_ours): Declare.
4858 * target.c (target_supports_delete_record): Don't check
4859 to_delete_record against NULL.
4860 (target_supports_terminal_ours): New function.
4861
e75fdfca
TT
48622014-07-18 Tom Tromey <tromey@redhat.com>
4863
4864 PR gdb/17130:
4865 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
4866 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
4867 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
4868 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
4869 * windows-nat.c (windows_xfer_partial): Always delegate.
4870 * record-btrace.c (record_btrace_xfer_partial): Simplify
4871 delegation.
4872 (record_btrace_fetch_registers, record_btrace_store_registers)
4873 (record_btrace_prepare_to_store, record_btrace_resume)
4874 (record_btrace_wait, record_btrace_find_new_threads)
4875 (record_btrace_thread_alive): Likewise.
4876 * procfs.c (procfs_xfer_partial): Always delegate.
4877 * corelow.c (core_xfer_partial): Always delegate.
4878 * sol-thread.c (sol_find_new_threads): Simplify delegation.
4879
83814951
TT
48802014-07-18 Tom Tromey <tromey@redhat.com>
4881
4882 * exec.c (exec_make_note_section): Move earlier.
4883
b8b8facf
DE
48842014-07-17 Doug Evans <dje@google.com>
4885
74b49205 4886 PR gdb/17170
b8b8facf
DE
4887 * maint.c (count_symtabs_and_blocks): Handle NULL
4888 current_program_space.
4889 (report_command_stats): Check global enabled flag in addition to
4890 recorded enabled flag.
4891 (make_command_stats_cleanup): Handle msg_type == 0, startup.
4892
69ff6be5
PA
48932014-07-16 Pedro Alves <palves@redhat.com>
4894
4895 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
4896
252db1b5
TT
48972014-07-16 Tom Tromey <tromey@redhat.com>
4898
4899 * target.h (struct target_ops) <to_delete_record>: Reformat
4900 comment.
4901
a432721e
TT
49022014-07-16 Tom Tromey <tromey@redhat.com>
4903
4904 * target-delegates.c: Rebuild.
4905
487d9753
PL
49062014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4907
4908 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
4909 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
4910 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
4911 (avr_pointer_to_address): Likewise.
4912 (avr_address_class_type_flags): New function.
4913 (avr_address_class_type_flags_to_name): Likewise.
4914 (avr_address_class_name_to_type_flags): Likewise.
4915 (avr_gdbarch_init): Set address_class_type_flags,
4916 address_class_type_flags_to_name and
4917 address_class_name_to_type_flags.
4918
57745c90
PA
49192014-07-15 Pedro Alves <palves@redhat.com>
4920
4921 * linux-nat.c (kill_callback): Save errno and work with saved
4922 copy.
4923
2d40be18
SM
49242014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4925
4926 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
4927
572f6555
EBM
49282014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4929
4930 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
4931 breakpoint support correctly.
4932
cc1c52ad
PA
49332014-07-14 Pedro Alves <palves@redhat.com>
4934
4935 * utils.c (prompt_for_continue): Call target_terminal_ours.
4936
1e973570
PA
49372014-07-14 Pedro Alves <palves@redhat.com>
4938
4939 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
4940 catch_errors. Don't re-enable stdin or notify observers where,
4941 and rethrow error.
4942 (fetch_inferior_event_wrapper): Delete.
4943
93d6eb10
PA
49442014-07-14 Pedro Alves <palves@redhat.com>
4945
4946 PR gdb/17072
4947 * top.c: Include "inf-loop.h".
4948 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
4949 field.
4950 (gdb_readline_wrapper_cleanup): Make the target async again, if it
4951 was async before.
4952 (gdb_readline_wrapper): Store whether the target is async, and
4953 make it sync.
4954
0017922d
PA
49552014-07-14 Pedro Alves <palves@redhat.com>
4956
4957 PR gdb/17072
4958 * top.c (gdb_readline_wrapper_line): Tweak comment.
4959 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
4960 the input handler callback.
4961
94696ad3
PA
49622014-07-14 Pedro Alves <palves@redhat.com>
4963
4964 PR gdb/17072
4965 * main.c: Include event-top.h.
4966 (handle_command_errors): New function.
4967 (catch_command_errors, catch_command_errors_const): Use it.
4968
9d1e69a2
PA
49692014-07-14 Pedro Alves <palves@redhat.com>
4970
4971 * exceptions.c (catch_command_errors, catch_command_errors_const):
4972 Moved to main.c.
4973 * exceptions.h (catch_command_errors_ftype)
4974 (catch_command_errors_const_ftype): Moved to main.c.
4975 (catch_command_errors, catch_command_errors_const): Delete
4976 declarations.
4977 * main.c (catch_command_errors_ftype)
4978 (catch_command_errors_const_ftype): Moved here from exceptions.h.
4979 (catch_command_errors, catch_command_errors_const)): Moved here
4980 from exceptions.c and make static.
4981
feefc97b
PA
49822014-07-14 Pedro Alves <palves@redhat.com>
4983
4984 * exceptions.c (print_any_exception): Delete.
4985 (catch_exceptions_with_msg): Use exception_print instead of
4986 print_any_exception.
4987 (catch_errors): Use exception_fprintf instead of
4988 print_any_exception.
4989 (catch_command_errors, catch_command_errors_const): Use
4990 exception_print instead of print_any_exception.
4991
c933f875
PA
49922014-07-14 Pedro Alves <palves@redhat.com>
4993
4994 * infcall.c (run_inferior_call): Set 'sync_execution' while
4995 running the inferior call.
4996
feb6f816
PA
49972014-07-14 Pedro Alves <palves@redhat.com>
4998
4999 * value.c (value_contents_equal): Delete function.
5000 * value.h (value_contents_equal): Delete declaration.
5001
d98b7a16
TT
50022014-07-14 Tom Tromey <tromey@redhat.com>
5003
5004 PR exp/17106:
5005 * gdbtypes.c (is_dynamic_type_internal): New function, from
5006 is_dynamic_type.
5007 (is_dynamic_type): Rewrite.
5008 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
5009 (resolve_dynamic_struct): Likewise.
5010 (resolve_dynamic_type_internal): New function, from
5011 resolve_dynamic_type.
5012 (resolve_dynamic_type): Rewrite.
5013
548740d6
TT
50142014-07-14 Tom Tromey <tromey@redhat.com>
5015
5016 * target.c (target_require_runnable): Also check record_stratum.
5017 Update comment.
5018
808f7ab1
YQ
50192014-07-11 Yao Qi <yao@codesourcery.com>
5020
5021 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
5022 thumb_instruction_restores_sp return true.
5023
540314bd
YQ
50242014-07-11 Yao Qi <yao@codesourcery.com>
5025
5026 * arm-tdep.c (thumb_instruction_restores_sp): New function.
5027 (thumb_in_function_epilogue_p): Call
5028 thumb_instruction_restores_sp.
5029
1db01f22
YQ
50302014-07-11 Yao Qi <yao@codesourcery.com>
5031
5032 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
5033 'add sp, #imm'.
5034 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
5035
3116063b
GB
50362014-07-11 Gary Benson <gbenson@redhat.com>
5037
5038 * amd64-linux-nat.c (gdbcore.h): Remove include.
5039 (regset.h): Likewise.
5040 (nat/linux-btrace.h): Likewise.
5041 (btrace.h): Likewise.
5042 (gdb_assert.h): Likewise.
5043 (string.h): Likewise.
5044 (sys/uio.h): Likewise.
5045 (sys/debugreg.h): Likewise.
5046 (sys/syscall.h): Likewise.
5047 (sys/procfs.h): Likewise.
5048 (sys/user.h): Likewise.
5049 (asm/ptrace.h): Likewise.
5050 (i386-nat.h): Likewise.
5051 * i386-linux-nat.c (i386-nat.h): Likewise.
5052 (regset.h): Likewise.
5053 (target.h): Likewise.
5054 (linux-nat.h): Likewise.
5055 (nat/linux-btrace.h): Likewise.
5056 (btrace.h): Likewise.
5057 (gdb_assert.h): Likewise.
5058 (string.h): Likewise.
5059 (sys/uio.h): Likewise.
5060 (sys/user.h): Likewise.
5061 (sys/procfs.h): Likewise.
5062 (sys/reg.h): Likewise.
5063 (sys/debugreg.h): Likewise.
5064 (ORIG_EAX): Remove definition.
5065
040baaf6
GB
50662014-07-11 Gary Benson <gbenson@redhat.com>
5067
5068 * i386-linux-nat.h: New file.
5069 * x86-linux-nat.h: Likewise.
5070 * x86-linux-nat.c: Likewise.
5071 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
5072 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
5073 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5074 * amd64-linux-nat.c (x86-linux-nat.h): New include.
5075 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
5076 (PTRACE_SETREGSET): Likewise.
5077 (arch_lwp_info): Now in x86-linux-nat.c.
5078 (have_ptrace_getregset): Now in x86-linux-nat.h.
5079 (x86_linux_dr_get): Now in x86-linux-nat.c.
5080 (x86_linux_dr_set): Likewise.
5081 (x86_linux_dr_get_addr): Likewise.
5082 (x86_linux_dr_get_control): Likewise.
5083 (x86_linux_dr_get_status): Likewise.
5084 (update_debug_registers_callback): Likewise.
5085 (x86_linux_dr_set_control): Likewise.
5086 (x86_linux_dr_set_addr): Likewise.
5087 (x86_linux_prepare_to_resume): Likewise.
5088 (x86_linux_new_thread): Likewise.
5089 (x86_linux_new_fork): Likewise.
5090 (x86_linux_get_thread_area): Likewise.
5091 (super_post_startup_inferior): Likewise.
5092 (x86_linux_child_post_startup_inferior): Likewise.
5093 (AMD64_LINUX_USER64_CS): Likewise.
5094 (AMD64_LINUX_X32_DS): Likewise.
5095 (x86_linux_read_description): Likewise.
5096 (x86_linux_enable_btrace): Likewise.
5097 (x86_linux_disable_btrace): Likewise.
5098 (x86_linux_teardown_btrace): Likewise.
5099 (x86_linux_read_btrace): Likewise.
5100 (x86_linux_create_target): Likewise.
5101 (x86_linux_add_target): Likewise.
5102 * i386-linux-nat.c (x86-linux-nat.h): New include.
5103 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
5104 (PTRACE_SETREGSET): Likewise.
5105 (arch_lwp_info): Now in x86-linux-nat.c.
5106 (have_ptrace_getregset): Now in x86-linux-nat.h.
5107 (x86_linux_dr_get): Now in x86-linux-nat.c.
5108 (x86_linux_dr_set): Likewise.
5109 (x86_linux_dr_get_addr): Likewise.
5110 (x86_linux_dr_get_control): Likewise.
5111 (x86_linux_dr_get_status): Likewise.
5112 (update_debug_registers_callback): Likewise.
5113 (x86_linux_dr_set_control): Likewise.
5114 (x86_linux_dr_set_addr): Likewise.
5115 (x86_linux_prepare_to_resume): Likewise.
5116 (x86_linux_new_thread): Likewise.
5117 (x86_linux_new_fork): Likewise.
5118 (x86_linux_get_thread_area): Likewise.
5119 (super_post_startup_inferior): Likewise.
5120 (x86_linux_child_post_startup_inferior): Likewise.
5121 (AMD64_LINUX_USER64_CS): Likewise.
5122 (AMD64_LINUX_X32_DS): Likewise.
5123 (x86_linux_read_description): Likewise.
5124 (x86_linux_enable_btrace): Likewise.
5125 (x86_linux_disable_btrace): Likewise.
5126 (x86_linux_teardown_btrace): Likewise.
5127 (x86_linux_read_btrace): Likewise.
5128 (x86_linux_create_target): Likewise.
5129 (x86_linux_add_target): Likewise.
5130
1aa7e42c
GB
51312014-07-11 Gary Benson <gbenson@redhat.com>
5132
5133 * amd64-linux-nat.c: Comment and whitespace changes.
5134 * i386-linux-nat.c: Comment and whitespace changes.
5135
c1e246a0
GB
51362014-07-11 Gary Benson <gbenson@redhat.com>
5137
5138 * amd64-linux-nat.c (x86_linux_create_target): New function.
5139 (x86_linux_add_target): Likewise.
5140 (_initialize_amd64_linux_nat): Delegate to the above new functions.
5141 * i386-linux-nat.c (x86_linux_create_target): New function.
5142 (x86_linux_add_target): Likewise.
5143 (_initialize_i386_linux_nat): Delegate to the above new functions.
5144
8c420b8d
GB
51452014-07-11 Gary Benson <gbenson@redhat.com>
5146
5147 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
5148 (ps_get_thread_area): Delegate to the above in 32-bit mode.
5149 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
5150 (ps_get_thread_area): Delegate to the above.
5151
cb1da100
GB
51522014-07-11 Gary Benson <gbenson@redhat.com>
5153
5154 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
5155 x86_linux_read_description. All uses updated. amd64-specific
5156 code conditionalized. Conditionalized i386-specific code added.
5157 Redundant cast removed.
5158 * i386-linux-nat.c (i386_linux_read_description): Renamed to
5159 x86_linux_read_description. All uses updated. i386-specific
5160 code conditionalized. Conditionalized amd64-specific code added.
5161 One sizeof replaced with the actual type it is describing.
5162
2acf3cd0
GB
51632014-07-11 Gary Benson <gbenson@redhat.com>
5164
5165 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
5166 x86_linux_dr_get. All uses updated.
5167 (amd64_linux_dr_set): Renamed to
5168 x86_linux_dr_set. All uses updated.
5169 (amd64_linux_dr_get_addr): Renamed to
5170 x86_linux_dr_get_addr. All uses updated.
5171 (amd64_linux_dr_get_control): Renamed to
5172 x86_linux_dr_get_control. All uses updated.
5173 (amd64_linux_dr_get_status): Renamed to
5174 x86_linux_dr_get_status. All uses updated.
5175 (amd64_linux_dr_set_control): Renamed to
5176 x86_linux_dr_set_control. All uses updated.
5177 (amd64_linux_dr_set_addr): Renamed to
5178 x86_linux_dr_set_addr. All uses updated.
5179 (amd64_linux_prepare_to_resume): Renamed to
5180 x86_linux_prepare_to_resume. All uses updated.
5181 (amd64_linux_new_thread): Renamed to
5182 x86_linux_new_thread. All uses updated.
5183 (amd64_linux_new_fork): Renamed to
5184 x86_linux_new_fork. All uses updated.
5185 (amd64_linux_child_post_startup_inferior): Renamed to
5186 x86_linux_child_post_startup_inferior. All uses updated.
5187 (amd64_linux_enable_btrace): Renamed to
5188 x86_linux_enable_btrace. All uses updated.
5189 (amd64_linux_disable_btrace): Renamed to
5190 x86_linux_disable_btrace. All uses updated.
5191 (amd64_linux_teardown_btrace): Renamed to
5192 x86_linux_teardown_btrace. All uses updated.
5193 (amd64_linux_read_btrace): Renamed to
5194 x86_linux_read_btrace. All uses updated.
5195 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
5196 x86_linux_dr_get. All uses updated.
5197 (i386_linux_dr_set): Renamed to
5198 x86_linux_dr_set. All uses updated.
5199 (i386_linux_dr_get_addr): Renamed to
5200 x86_linux_dr_get_addr. All uses updated.
5201 (i386_linux_dr_get_control): Renamed to
5202 x86_linux_dr_get_control. All uses updated.
5203 (i386_linux_dr_get_status): Renamed to
5204 x86_linux_dr_get_status. All uses updated.
5205 (i386_linux_dr_set_control): Renamed to
5206 x86_linux_dr_set_control. All uses updated.
5207 (i386_linux_dr_set_addr): Renamed to
5208 x86_linux_dr_set_addr. All uses updated.
5209 (i386_linux_prepare_to_resume): Renamed to
5210 x86_linux_prepare_to_resume. All uses updated.
5211 (i386_linux_new_thread): Renamed to
5212 x86_linux_new_thread. All uses updated.
5213 (i386_linux_new_fork): Renamed to
5214 x86_linux_new_fork. All uses updated.
5215 (i386_linux_child_post_startup_inferior): Renamed to
5216 x86_linux_child_post_startup_inferior. All uses updated.
5217 (i386_linux_enable_btrace): Renamed to
5218 x86_linux_enable_btrace. All uses updated.
5219 (i386_linux_disable_btrace): Renamed to
5220 x86_linux_disable_btrace. All uses updated.
5221 (i386_linux_teardown_btrace): Renamed to
5222 x86_linux_teardown_btrace. All uses updated.
5223 (i386_linux_read_btrace): Renamed to
5224 x86_linux_read_btrace. All uses updated.
5225
b9c1d481
AS
52262014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5227
5228 * remote.c (extended_remote_post_attach): New function.
5229 (init_extended_remote_ops): Install it as to_post_attach method.
5230
7180e04a
PA
52312014-07-09 Pedro Alves <palves@redhat.com>
5232
5233 * infcmd.c (attach_command_post_wait): Don't call
5234 target_terminal_inferior here.
5235 (attach_command): Call it here instead.
5236
9a9a7608
AB
52372014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5238
5239 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
5240 field.
5241 * c-varobj.c (c_is_path_expr_parent): New function, moved core
5242 from varobj.c, with additional checks.
5243 (c_varobj_ops): Fill in is_path_expr_parent field.
5244 (cplus_varobj_ops): Fill in is_path_expr_parent field.
5245 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
5246 field.
5247 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
5248 ops method.
5249 (varobj_default_is_path_expr_parent): New function.
5250 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
5251 (varobj_default_is_path_expr_parent): Declare new function.
5252
1f267ae3
MM
52532014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5254
5255 * infcmd.c (finish_backward): Turn internal error into normal error.
5256
b2ee242b
PA
52572014-07-07 Pedro Alves <palves@redhat.com>
5258
8a869bca 5259 PR gdb/17096
b2ee242b
PA
5260 * remote.c (async_handle_remote_sigint)
5261 (async_handle_remote_sigint_twice): Call
5262 gdb_call_async_signal_handler instead of
5263 mark_async_signal_handler.
5264
38e229b2
TT
52652014-07-07 Tom Tromey <tromey@redhat.com>
5266
5267 * target-delegates.c: Rebuild.
5268 * target.c (target_info_record): Remove.
5269 * record.c (info_record_command): Unconditionally call
5270 to_info_record.
5271 * target.h (struct target_ops) <to_info_record>: Use
5272 TARGET_DEFAULT_IGNORE.
5273 (target_info_record): Remove.
5274
f0f9ff95
TT
52752014-07-07 Tom Tromey <tromey@redhat.com>
5276
5277 * target.h (struct target_ops) <to_get_thread_local_address>: Use
5278 TARGET_DEFAULT_NORETURN.
5279 * target.c (generic_tls_error): New function.
5280 (target_translate_tls_address): Don't search target stack.
5281 * target-delegates.c: Rebuild.
5282 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
5283 stack.
5284 * linux-thread-db.c (thread_db_get_thread_local_address):
5285 Unconditionally call beneath target.
5286
4a5be5ee
MK
52872014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
5288
5289 * cli/cli-logging.c (pop_output_files): Assign targerr to
5290 gdb_stdtargerr.
5291
92c3b204
AB
52922014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
5293
5294 * MAINTAINERS (Write After Approval): Update my email address.
5295
9b11e3a7
GB
52962014-07-02 Gary Benson <gbenson@redhat.com>
5297
5298 * proc-service.c (ps_xfer_memory): Update comment.
5299 (ps_pstop): Remove unused function.
5300 (ps_pcontinue): Likewise.
5301 (ps_lstop): Likewise.
5302 (ps_lcontinue): Likewise.
5303 (ps_lgetxregsize): Likewise.
5304 (ps_lgetxregs): Likewise.
5305 (ps_lsetxregs): Likewise.
5306 (ps_plog): Likewise.
5307 (ps_ptread): Likewise.
5308 (ps_ptwrite): Likewise.
5309
cf363f18
MW
53102014-07-01 Mark Wielaard <mjw@redhat.com>
5311
5312 * dwarf2read.c (add_array_cv_type): New function.
5313 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
5314 (read_tag_volatile_type): Likewise.
5315
82ae6c8d
TT
53162014-07-01 Tom Tromey <tromey@redhat.com>
5317
5318 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
5319 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
5320 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
5321 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
5322 * command.h (cmd_cfunc_ftype): Move earlier.
5323 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
5324 (add_com, add_info): Use cmd_cfunc_ftype.
5325
96142726
TT
53262014-06-30 Tom Tromey <tromey@redhat.com>
5327
5328 * symtab.c (operator_chars): Make parameters and return type
5329 const.
5330 (file_matches): Make "files" const.
5331 (struct search_symbols_data) <files>: Now const.
5332 (search_symbols): Make "regexp" and "files" parameters const.
5333 Update.
5334 (symtab_symbol_info): Remove cast.
5335 (rbreak_command): Update.
5336 * symtab.h (search_symbols): Update.
5337
b67a2c6f
YQ
53382014-06-27 Yao Qi <yao@codesourcery.com>
5339
5340 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
5341 Change parameter type to 'struct thread_info *'. Caller
5342 updated.
5343 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
5344 Update declaration.
5345 * dummy-frame.c (struct dummy_frame_id): New.
5346 (dummy_frame_id_eq): New function.
5347 (struct dummy_frame) <id>: Change its type to 'struct
5348 dummy_frame_id'.
5349 (dummy_frame_push): Add parameter ptid and save it in
5350 dummy_frame_id.
5351 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
5352 inferior_ptid.
5353 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
5354 to inferior_ptid.
5355 (lookup_dummy_frame): Change parameter type to 'struct
5356 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
5357 instead of frame_id_eq.
5358 (dummy_frame_pop): Add parameter ptid. Callers updated.
5359 Update comments. Compose dummy_frame_id and pass it to
5360 lookup_dummy_frame.
5361 (dummy_frame_discard): Add parameter ptid.
5362 (dummy_frame_sniffer): Compose dummy_frame_id and call
5363 dummy_frame_id_eq instead of frame_id_eq.
5364 (fprint_dummy_frames): Print ptid.
5365 * dummy-frame.h: Remove comments.
5366 (dummy_frame_push): Add ptid in declaration.
5367 (dummy_frame_pop, dummy_frame_discard): Likewise.
5368
5b10184c
TT
53692014-06-26 Tom Tromey <tromey@redhat.com>
5370
5371 * cli/cli-cmds.c (error_no_arg): Make "why" const.
5372 * command.h (error_no_arg): Update.
5373
06900326
TT
53742014-06-26 Tom Tromey <tromey@redhat.com>
5375
5376 * cli/cli-setshow.c (do_set_command): Make "arg" const.
5377 (do_show_command): Make "arg" const.
5378 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
5379
c2bcbb1d
TT
53802014-06-26 Tom Tromey <tromey@redhat.com>
5381
5382 * record-full.c (record_full_get_bookmark): Make "args" const.
5383 (record_full_goto_bookmark): Make "raw_bookmark" const.
5384 * record.c (record_goto): New function.
5385 (cmd_record_goto): Use it. Now static.
5386 * record.h (record_goto): Declare.
5387 (cmd_record_goto): Remove declaration.
5388 * target-delegates.c: Rebuild.
5389 * target.h (struct target_ops) <to_get_bookmark,
5390 to_goto_bookmark>: Make parameter const.
5391
9cbe5fff
TT
53922014-06-26 Tom Tromey <tromey@redhat.com>
5393
5394 * defs.h (generic_load): Update.
5395 * m32r-rom.c (m32r_load_gen): Make "filename" const.
5396 * monitor.c (monitor_load): Make "args" const.
5397 * remote-m32r-sdi.c (m32r_load): Make "args" const.
5398 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
5399 const.
5400 (mips_load): Make "file" const.
5401 * remote-sim.c (gdbsim_load): Make "args" const.
5402 * remote.c (remote_load): Make "name" const.
5403 * symfile.c (generic_load): Make "args" const.
5404 * target-delegates.c: Rebuild.
5405 * target.c (target_load): Make "arg" const.
5406 (debug_to_load): Make "args" const.
5407 * target.h (struct target_ops) <to_load>: Make parameter const.
5408 (target_load): Update.
5409
34a68019
TT
54102014-06-26 Tom Tromey <tromey@redhat.com>
5411
5412 PR symtab/16902:
5413 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
5414 (dwarf2_physname, read_partial_die)
5415 (guess_partial_die_structure_name, fixup_partial_die)
5416 (guess_full_die_structure_name, anonymous_struct_prefix)
5417 (dwarf2_name): Use per-BFD obstack.
5418
efc889c1
YQ
54192014-06-26 Yao Qi <yao@codesourcery.com>
5420
5421 * dummy-frame.c (dummy_frame_sniffer): Move local variables
5422 dummyframe and this_id into inner block below.
5423
4395285e
YQ
54242014-06-26 Yao Qi <yao@codesourcery.com>
5425
5426 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
5427 with "signal_pass[0]" in the initialization of signal_pass.
5428
aef92902
MM
54292014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5430
5431 * record-btrace.c (record_btrace_generating_corefile)
5432 (record_btrace_prepare_to_generate_core)
5433 (record_btrace_done_generating_core): New.
5434 (record_btrace_xfer_partial, record_btrace_fetch_registers)
5435 (record_btrace_store_registers, record_btrace_prepare_to_store):
5436 Forward request when generating a core file.
5437 (record_btrace_open): Set record_btrace_generating_corefile to zero.
5438 (init_record_btrace_ops): Set to_prepare_to_generate_core and
5439 to_done_generating_core.
5440
5fff78c4
MM
54412014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5442
5443 * target.h (target_ops) <to_prepare_to_generate_core>
5444 <to_done_generating_core>: New.
5445 (target_prepare_to_generate_core, target_done_generating_core): New.
5446 * target.c (target_prepare_to_generate_core)
5447 (target_done_generating_core): New.
5448 * target-delegates.c: Regenerate.
5449 * gcore.c: (write_gcore_file): Rename to ...
5450 (write_gcore_file_1): ...this.
5451 (write_gcore_file): Call target_prepare_to_generate_core
5452 and target_done_generating_core.
5453
1d1f1ccb
MM
54542014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5455
5456 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
5457 * gcore.c (write_gcore_file): Free memory returned from
5458 make_corefile_notes.
5459 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5460 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5461
3343ef86
YQ
54622014-06-24 Yao Qi <yao@codesourcery.com>
5463
5464 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5465 (arm_linux_init_abi): Set skip_trampoline_code with
5466 gdbarch_skip_trampoline_code instead of
5467 find_solib_trampoline_target.
5468
18d18ac8
YQ
54692014-06-24 Yao Qi <yao@codesourcery.com>
5470
5471 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5472 arm_skip_bx_reg returns non-zero.
5473
80d8d390
YQ
54742014-06-24 Yao Qi <yao@codesourcery.com>
5475
5476 * arm-tdep.c (arm_skip_bx_reg): New function.
5477 (arm_skip_stub): Call arm_skip_bx_reg.
5478
6a18a01c
DB
54792014-06-23 Don Breazeal <donb@codesourcery.com>
5480
5481 * MAINTAINERS: Add myself as write-after-approval maintainer.
5482
8e9db26e
PA
54832014-06-23 Pedro Alves <palves@redhat.com>
5484
5485 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5486 DR_CONTROL before setting DR0..DR3.
5487 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5488 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5489 bits of DR_CONTROL related to the debug register slot being
5490 disabled. If all slots are vacant, clear local slowdown as well,
5491 and assert DR_CONTROL is 0.
5492
70afc5b7
SC
54932014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5494
5495 * python/lib/gdb/command/xmethods.py
5496 (get_method_matchers_in_loci): Lookup xmethod matchers in the
5497 current progspace only if the string "progspace" matches LOCUS_RE.
5498
840ed64d
JK
54992014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5500
5501 Fix --with-system-readline with readline-6.3 patch 5.
5502 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5503 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5504 types.
5505
26f2dc30
TT
55062014-06-20 Tom Tromey <tromey@redhat.com>
5507
5508 * dwarf2read.c (dw2_get_real_path): Use correct type in
5509 OBSTACK_CALLOC.
5510 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5511
125f8a3d
GB
55122014-06-20 Gary Benson <gbenson@redhat.com>
5513
5514 * common/gdb_thread_db.h: Moved to nat. All includes updated.
5515 * common/glibc_thread_db.h: Likewise.
5516 * common/i386-cpuid.h: Likewise.
5517 * common/i386-gcc-cpuid.h: Likewise.
5518 * common/linux-btrace.h: Likewise.
5519 * common/linux-osdata.h: Likewise.
5520 * common/linux-procfs.h: Likewise.
5521 * common/linux-ptrace.h: Likewise.
5522 * common/mips-linux-watch.h: Likewise.
5523 * common/linux-btrace.c: Moved to nat.
5524 * common/linux-osdata.c: Likewise.
5525 * common/linux-procfs.c: Likewise.
5526 * common/linux-ptrace.c: Likewise.
5527 * common/mips-linux-watch.c: Likewise.
5528 * nat/gdb_thread_db.h: Moved from common.
5529 * nat/glibc_thread_db.h: Likewise.
5530 * nat/i386-cpuid.h: Likewise.
5531 * nat/i386-gcc-cpuid.h: Likewise.
5532 * nat/linux-btrace.c: Likewise.
5533 * nat/linux-btrace.h: Likewise.
5534 * nat/linux-osdata.c: Likewise.
5535 * nat/linux-osdata.h: Likewise.
5536 * nat/linux-procfs.c: Likewise.
5537 * nat/linux-procfs.h: Likewise.
5538 * nat/linux-ptrace.c: Likewise.
5539 * nat/linux-ptrace.h: Likewise.
5540 * nat/mips-linux-watch.c: Likewise.
5541 * nat/mips-linux-watch.h: Likewise.
5542 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
5543 (object file files): Reordered.
5544 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
5545 of glibc_thread_db.h.
5546
42995dbd
GB
55472014-06-20 Gary Benson <gbenson@redhat.com>
5548
5549 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
5550 (i386_dr_low_type): Moved to nat/i386-dregs.h.
5551 (i386_dr_low): Likewise.
5552 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
5553 (i386_dr_low_set_addr): Likewise.
5554 (i386_dr_low_get_addr): Likewise.
5555 (i386_dr_low_can_set_control): Likewise.
5556 (i386_dr_low_set_control): Likewise.
5557 (i386_dr_low_get_control): Likewise.
5558 (i386_dr_low_get_status): Likewise.
5559 (i386_get_debug_register_length): Likewise.
5560 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
5561 (i386_dr_low): Likewise.
5562 * nat/i386-dregs.c (i386-low.h): Remove include.
5563 (i386-nat.h): Likewise.
5564 (nat/i386-dregs.h): New include.
5565 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
5566 (i386_dr_low_set_addr): Likewise.
5567 (i386_dr_low_get_addr): Likewise.
5568 (i386_dr_low_can_set_control): Likewise.
5569 (i386_dr_low_set_control): Likewise.
5570 (i386_dr_low_get_control): Likewise.
5571 (i386_dr_low_get_status): Likewise.
5572 (i386_get_debug_register_length): Likewise.
5573 (debug_hw_points): Likewise.
5574
3ed9baed
IB
55752014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5576
5577 * Makefile.in (SFILES): Add d-exp.y.
5578 (YYFILES): Add d-exp.c.
5579 (YYOBJ): Add d-exp.o.
5580 (local-maintainer-clean): Delete d-exp.c.
5581 * d-exp.y: New file.
5582 * d-lang.h (d_parse): New declaration.
5583 (d_error): New declaration.
5584 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
5585 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
5586 PREC_ORDER operators.
5587 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
5588
78c164b0
YQ
55892014-06-19 Yao Qi <yao@codesourcery.com>
5590
5591 * gdbthread.h (any_running): Remove the declaration.
5592 * thread.c (any_running): Remove.
5593
f6e29b6e
YQ
55942014-06-19 Yao Qi <yao@codesourcery.com>
5595
5596 * gdbthread.h (struct thread_info) <state>: Change its type to
5597 'enum thread_state'. Update comments.
5598
034f788c
PA
55992014-06-19 Pedro Alves <palves@redhat.com>
5600
5601 * gdbthread.h (ALL_THREADS): Delete.
5602 (ALL_NON_EXITED_THREADS): New macro.
5603 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
5604 instead of ALL_THREADS.
5605 * infrun.c (find_thread_needs_step_over)
5606 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
5607 instead of ALL_THREADS.
5608 * record-btrace.c (record_btrace_open)
5609 (record_btrace_stop_recording, record_btrace_close)
5610 (record_btrace_is_replaying, record_btrace_resume)
5611 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
5612 * remote.c (append_pending_thread_resumptions): Likewise.
5613 * thread.c (thread_apply_all_command): Likewise.
5614
46e33252
GB
56152014-06-19 Gary Benson <gbenson@redhat.com>
5616
5617 * i386-nat.c (i386_stopped_by_watchpoint):
5618 Use i386_dr_stopped_by_watchpoint.
5619 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
5620 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
5621
3a8ee006
GB
56222014-06-19 Gary Benson <gbenson@redhat.com>
5623
5624 * nat/i386-dregs.c: New file.
5625 * Makefile.in (i386-dregs.o): New rule.
5626 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
5627 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
5628 * config/i386/darwin.mh (NATDEPFILES): Likewise.
5629 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5630 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
5631 * config/i386/go32.mh (NATDEPFILES): Likewise.
5632 * config/i386/linux.mh (NATDEPFILES): Likewise.
5633 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5634 * config/i386/mingw.mh (NATDEPFILES): Likewise.
5635 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
5636 * i386-nat.h (debug_hw_points): New declaration.
5637 * i386-nat.c (breakpoint.h): Remove include.
5638 (command.h): Likewise.
5639 (target.h): Likewise.
5640 (gdb_assert.h): Likewise.
5641 (debug_hw_points): Made nonstatic.
5642 (debug_printf): Now in i386-dregs.c.
5643 (TARGET_HAS_DR_LEN_8): Likewise.
5644 (DR_CONTROL_SHIFT): Likewise.
5645 (DR_CONTROL_SIZE): Likewise.
5646 (DR_RW_EXECUTE): Likewise.
5647 (DR_RW_WRITE): Likewise.
5648 (DR_RW_READ): Likewise.
5649 (DR_RW_IORW): Likewise.
5650 (DR_LEN_1): Likewise.
5651 (DR_LEN_2): Likewise.
5652 (DR_LEN_4): Likewise.
5653 (DR_LEN_8): Likewise.
5654 (DR_LOCAL_ENABLE_SHIFT): Likewise.
5655 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
5656 (DR_ENABLE_SIZE): Likewise.
5657 (DR_LOCAL_SLOWDOWN): Likewise.
5658 (DR_GLOBAL_SLOWDOWN): Likewise.
5659 (DR_CONTROL_RESERVED): Likewise.
5660 (I386_DR_CONTROL_MASK): Likewise.
5661 (I386_DR_VACANT): Likewise.
5662 (I386_DR_LOCAL_ENABLE): Likewise.
5663 (I386_DR_GLOBAL_ENABLE): Likewise.
5664 (I386_DR_DISABLE): Likewise.
5665 (I386_DR_SET_RW_LEN): Likewise.
5666 (I386_DR_GET_RW_LEN): Likewise.
5667 (I386_DR_WATCH_HIT): Likewise.
5668 (i386_wp_op_t): Likewise.
5669 (i386_show_dr): Likewise.
5670 (i386_length_and_rw_bits): Likewise.
5671 (i386_insert_aligned_watchpoint): Likewise.
5672 (i386_remove_aligned_watchpoint): Likewise.
5673 (i386_handle_nonaligned_watchpoint): Likewise.
5674 (i386_update_inferior_debug_regs): Likewise.
5675 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
5676 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
5677 (i386_region_ok_for_watchpoint):
5678 Use i386_dr_region_ok_for_watchpoint.
5679 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
5680
322a8e06
GB
56812014-06-19 Gary Benson <gbenson@redhat.com>
5682
5683 * i386-nat.c (i386_insert_hw_breakpoint): Use
5684 i386_insert_watchpoint.
5685 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
5686
8f26655c
GB
56872014-06-19 Gary Benson <gbenson@redhat.com>
5688
5689 * i386-nat.c (i386_dr_show): Renamed to
5690 i386_show_dr and made static. All uses updated.
5691 (i386_dr_length_and_rw_bits): Renamed to
5692 i386_length_and_rw_bits and made static.
5693 All uses updated.
5694 (i386_dr_insert_aligned_watchpoint): Renamed to
5695 i386_insert_aligned_watchpoint and made static.
5696 All uses updated.
5697 (i386_dr_remove_aligned_watchpoint): Renamed to
5698 i386_remove_aligned_watchpoint and made static.
5699 All uses updated.
5700 (i386_dr_update_inferior_debug_regs): Renamed to
5701 i386_update_inferior_debug_regs and made static.
5702 All uses updated.
5703 * nat/i386-dregs.h (i386_dr_show): Removed.
5704 (i386_dr_length_and_rw_bits): Likewise.
5705 (i386_dr_insert_aligned_watchpoint): Likewise.
5706 (i386_dr_remove_aligned_watchpoint): Likewise.
5707 (i386_dr_update_inferior_debug_regs): Likewise.
5708
992c7d70
GB
57092014-06-19 Gary Benson <gbenson@redhat.com>
5710
5711 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
5712 * configure: Regenerate.
5713 * config.in: Likewise.
5714 * main.c (signal.h): New include.
5715 (setup_alternate_signal_stack): New function.
5716 (captured_main): Call the above.
5717 * cp-support.c (signal.h): New include.
5718 (catch_demangler_crashes): New flag.
5719 (SIGJMP_BUF): New define.
5720 (SIGSETJMP): Likewise.
5721 (SIGLONGJMP): Likewise.
5722 (gdb_demangle_jmp_buf): New static global.
5723 (gdb_demangle_attempt_core_dump): Likewise.
5724 (gdb_demangle_signal_handler): New function.
5725 (gdb_demangle): If catch_demangler_crashes is set, install the
5726 above signal handler before calling bfd_demangle, and restore
5727 the original signal handler afterwards. Display the offending
5728 symbol and call demangler_warning the first time a segmentation
5729 fault is caught.
5730 (_initialize_cp_support): New maint set/show command.
5731
eae7090b
GB
57322014-06-19 Gary Benson <gbenson@redhat.com>
5733
5734 * utils.h (resource_limit_kind): New enum.
5735 (can_dump_core): New declaration.
5736 (warn_cant_dump_core): Likewise.
5737 (dump_core): Likewise.
5738 * utils.c (dump_core): Made nonstatic. Added new
5739 parameter "limit_kind".
5740 (can_dump_core): Made nonstatic. Moved printing code to...
5741 (warn_cant_dump_core): New function.
5742 (can_dump_core_warn): Likewise.
5743 (internal_vproblem): Replace calls to can_dump_core with
5744 calls to can_dump_core_warn. Supply new argument to each.
5745
57fcfb1b
GB
57462014-06-19 Gary Benson <gbenson@redhat.com>
5747
5748 * utils.h (demangler_vwarning): New declaration.
5749 (demangler_warning): Likewise.
5750 * utils.c (struct internal_problem)
5751 <user_settable_should_quit>: New field.
5752 <user_settable_should_dump_core>: Likewise
5753 (internal_error_problem): Add values for above new fields.
5754 (internal_warning_problem): Likewise.
5755 (demangler_warning_problem): New static global.
5756 (demangler_vwarning): New function.
5757 (demangler_warning): Likewise.
5758 (add_internal_problem_command): Selectively add commands.
5759 (_initialize_utils): New internal problem command.
5760 * maint.c (maintenance_demangler_warning): New function.
5761 (_initialize_maint_cmds): New command.
5762
17a40b44
TT
57632014-06-18 Tom Tromey <tromey@redhat.com>
5764
5765 * f-valprint.c (info_common_command_for_block): Update.
5766 * symtab.h (struct general_symbol_info) <common_block>: Now
5767 const.
5768
346d1dfe
TT
57692014-06-18 Tom Tromey <tromey@redhat.com>
5770
5771 * symtab.h (struct symtab) <blockvector>: Now const.
5772 * ada-lang.c (ada_add_global_exceptions): Update.
5773 * buildsym.c (augment_type_symtab): Update.
5774 * dwarf2read.c (dw2_lookup_symbol): Update.
5775 * jit.c (finalize_symtab): Update.
5776 * jv-lang.c (add_class_symtab_symbol): Update.
5777 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
5778 Update.
5779 * objfiles.c (objfile_relocate1): Update.
5780 * psymtab.c (lookup_symbol_aux_psymtabs)
5781 (maintenance_check_psymtabs): Update.
5782 * python/py-symtab.c (stpy_global_block, stpy_static_block):
5783 Update.
5784 * spu-tdep.c (spu_catch_start): Update.
5785 * symmisc.c (dump_symtab_1): Update.
5786 * symtab.c (lookup_global_symbol_from_objfile)
5787 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
5788 (basic_lookup_transparent_type_quick)
5789 (basic_lookup_transparent_type, find_pc_sect_symtab)
5790 (find_pc_sect_line, search_symbols): Update.
5791 * block.c (find_block_in_blockvector): Make "bl" const.
5792 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
5793 const.
5794 (blockvector_contains_pc): Make "bv" const.
5795 (block_for_pc_sect): Update.
5796 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5797 (blockvector_contains_pc): Update.
5798 * breakpoint.c (resolve_sal_pc): Update.
5799 * inline-frame.c (block_starting_point_at): Update.
5800
1834676b
TT
58012014-06-18 Tom Tromey <tromey@redhat.com>
5802
5803 * completer.c (complete_line): Make "line_buffer" const.
5804 * completer.h (complete_line): Update.
5805
ac1a991b
TT
58062014-06-18 Tom Tromey <tromey@redhat.com>
5807
5808 * symtab.c (add_macro_name): Remove unneeded cast.
5809
5bc98e52
TT
58102014-06-18 Tom Tromey <tromey@redhat.com>
5811
5812 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
5813 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
5814
8236def8
TT
58152014-06-18 Tom Tromey <tromey@redhat.com>
5816
5817 * probe.c (info_probes_for_ops): Make "arg" const.
5818 * probe.h (info_probes_for_ops): Update.
5819
3977b71f
TT
58202014-06-18 Tom Tromey <tromey@redhat.com>
5821
5822 * varobj.c (varobj_create): Update.
5823 * valops.c (value_of_this): Update.
5824 * tracepoint.c (add_local_symbols, scope_info): Update.
5825 * symtab.h (struct general_symbol_info) <block>: Now const.
5826 * symtab.c (skip_prologue_sal)
5827 (default_make_symbol_completion_list_break_on)
5828 (skip_prologue_using_sal): Update.
5829 * stack.h (iterate_over_block_locals)
5830 (iterate_over_block_local_vars): Update.
5831 * stack.c (print_frame_args): Update.
5832 (iterate_over_block_locals, iterate_over_block_local_vars): Make
5833 parameter const.
5834 (get_selected_block): Make return type const.
5835 * python/py-frame.c (frapy_block): Update.
5836 * python/py-block.c (gdbpy_block_for_pc): Update.
5837 * p-exp.y (%union) <bval>: Now const.
5838 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
5839 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
5840 * m2-exp.y (%union) <bval>: Now const.
5841 * linespec.c (get_current_search_block): Make return type const.
5842 (create_sals_line_offset, find_label_symbols): Update.
5843 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
5844 Update.
5845 (block_starting_point_at): Make "block" const.
5846 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
5847 (check_exception_resume): Update.
5848 * guile/scm-frame.c (gdbscm_frame_block): Update.
5849 * guile/scm-block.c (gdbscm_lookup_block): Update.
5850 * frame.h (get_frame_block): Update.
5851 (get_selected_block): Make return type const.
5852 * frame.c (frame_id_inner): Update.
5853 * f-valprint.c (info_common_command_for_block)
5854 (info_common_command): Update.
5855 * dwarf2loc.c (dwarf2_find_location_expression)
5856 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
5857 (locexpr_describe_location_piece): Update.
5858 * c-exp.y (%union) <bval>: Now const.
5859 * breakpoint.c (resolve_sal_pc): Update.
5860 * blockframe.c (get_frame_block):Make return type const.
5861 (get_pc_function_start, get_frame_function, find_pc_sect_function)
5862 (block_innermost_frame): Update.
5863 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5864 (block_for_pc, block_for_pc_sect): Update.
5865 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
5866 'pblock' const.
5867 (block_for_pc_sect, block_for_pc): Make return type const.
5868 * ax-gdb.c (gen_expr): Update.
5869 * alpha-mdebug-tdep.c (find_proc_desc): Update.
5870 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
5871 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
5872 (ada_read_var_value): Update.
5873 * ada-exp.y (struct name_info) <block>: Now const.
5874 (%union): Likewise.
5875 (block_lookup): Constify.
5876
b9228891
GB
58772014-06-18 Gary Benson <gbenson@redhat.com>
5878
5879 * nat/i386-dregs.h: New file.
5880 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
5881 * i386-nat.h (i386-dregs.h): New include.
5882 (DR_FIRSTADDR): Now in i386-dregs.h.
5883 (DR_LASTADDR): Likewise.
5884 (DR_NADDR): Likewise.
5885 (DR_STATUS): Likewise.
5886 (DR_CONTROL): Likewise.
5887 (i386_debug_reg_state): Likewise.
5888 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
5889
a1aa2221
LM
58902014-06-18 Don Breazeal <donb@codesourcery.com>
5891
5892 * breakpoint.c (set_longjmp_breakpoint): Call
5893 momentary_breakpoint_from_master with additional argument.
5894 (set_longjmp_breakpoint_for_call_dummy): Call
5895 momentary_breakpoint_from_master with additional argument.
5896 (set_std_terminate_breakpoint): Call
5897 momentary_breakpoint_from_master with additional argument.
5898 (momentary_breakpoint_from_master): Add argument to function
5899 definition and use it to initialize structure member flag.
74228e77 5900 (clone_momentary_breakpoint): Call
a1aa2221
LM
5901 momentary_breakpoint_from_master with additional argument.
5902 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
5903 member flags set in momentary_breakpoint_from_master.
5904
4be83cc2
GB
59052014-06-18 Gary Benson <gbenson@redhat.com>
5906
5907 * i386-nat.c (i386_show_dr): Renamed to
5908 i386_dr_show and made nonstatic. All uses updated.
5909 (i386_length_and_rw_bits): Renamed to
5910 i386_dr_length_and_rw_bits and made nonstatic.
5911 All uses updated.
5912 (i386_insert_aligned_watchpoint): Renamed to
5913 i386_dr_insert_aligned_watchpoint and made nonstatic.
5914 All uses updated.
5915 (i386_remove_aligned_watchpoint): Renamed to
5916 i386_dr_remove_aligned_watchpoint and made nonstatic.
5917 All uses updated.
5918 (i386_update_inferior_debug_regs): Renamed to
5919 i386_dr_update_inferior_debug_regs and made nonstatic.
5920 All uses updated.
5921
131aa0d4
GB
59222014-06-18 Gary Benson <gbenson@redhat.com>
5923
5924 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
5925 (i386_dr_low_can_set_control): Likewise.
5926 (i386_dr_low_set_addr): Likewise.
5927 (i386_dr_low_set_control): Likewise.
5928 (i386_dr_low_get_addr): Likewise.
5929 (i386_dr_low_get_status): Likewise.
5930 (i386_dr_low_get_control): Likewise.
5931 (i386_insert_aligned_watchpoint): Use new macros.
5932 (i386_update_inferior_debug_regs): Likewise.
5933 (i386_stopped_data_address): Likewise.
5934
d9305f7f
GB
59352014-06-18 Gary Benson <gbenson@redhat.com>
5936
5937 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
5938 New parameter. All uses updated.
5939
ea008da4
GB
59402014-06-18 Gary Benson <gbenson@redhat.com>
5941
5942 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
5943 All uses updated.
5944
1b6d4134
GB
59452014-06-18 Gary Benson <gbenson@redhat.com>
5946
5947 * i386-nat.c (debug_printf): New macro.
5948 (i386_get_debug_register_length): Likewise.
5949 (TARGET_HAS_DR_LEN_8): Use above macro.
5950 (i386_show_dr): Use debug_printf instead of puts_unfiltered
5951 and printf_unfiltered. Use phex to format values.
5952
9b4550ef
GB
59532014-06-18 Gary Benson <gbenson@redhat.com>
5954
5955 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
5956 Make const.
5957
6e62758f
GB
59582014-06-18 Gary Benson <gbenson@redhat.com>
5959
5960 * i386-nat.c: Comment changes.
5961
51c79e94
GB
59622014-06-18 Gary Benson <gbenson@redhat.com>
5963
5964 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
5965
3e11889a
GB
59662014-06-18 Gary Benson <gbenson@redhat.com>
5967
5968 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
5969 (i386_insert_aligned_watchpoint): Likewise.
5970 (i386_remove_aligned_watchpoint): Likewise.
5971 (i386_handle_nonaligned_watchpoint): Likewise.
5972
fc6e2f03
GB
59732014-06-18 Gary Benson <gbenson@redhat.com>
5974
5975 * i386-nat.c: Whitespace changes.
5976
2afe7d50
SB
59772014-06-17 Samuel Bronson <naesten@gmail.com>
5978
5979 * MAINTAINERS: Update Roland McGrath's email address.
5980 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 5981 Red Hat a while ago, and giving me a current address.
2afe7d50 5982
3bca49ee
TT
59832014-06-17 Tom Tromey <tromey@redhat.com>
5984
5985 * utils.h (savestring): Remove declaration.
5986
6e366df1
TT
59872014-06-17 Tom Tromey <tromey@redhat.com>
5988
5989 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
5990
6be47f0c
KS
59912014-06-16 Keith Seitz <keiths@redhat.com>
5992
5993 PR mi/15863
5994 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
5995 to update the varobj if inferior_ptid is null_ptid.
5996
7bc112c1
TT
59972014-06-16 Tom Tromey <tromey@redhat.com>
5998
5999 * target.h (struct target_ops) <to_info_proc>: Make parameter
6000 const.
6001 (target_info_proc): Update.
6002 * target.c (target_info_proc): Make "args" const.
6003 * procfs.c (procfs_info_proc): Update.
6004 * linux-tdep.c (linux_info_proc): Update.
6005 (linux_core_info_proc_mappings): Make "args" const.
6006 (linux_core_info_proc): Update.
6007 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
6008 * gdbarch.c: Rebuild.
6009 * gdbarch.h: Rebuild.
6010 * corelow.c (core_info_proc): Update.
6011
fee354ee
TT
60122014-06-16 Tom Tromey <tromey@redhat.com>
6013
6014 * target.h (struct target_ops) <to_disconnect>: Make parameter
6015 const.
6016 (target_disconnect): Update.
6017 * target.c (target_disconnect): Make "args" const.
6018 * target-delegates.c: Rebuild.
6019 * remote.c (remote_disconnect): Update.
6020 * record.h (record_disconnect): Update.
6021 * record.c (record_disconnect): Update.
6022 * inf-child.c (inf_child_disconnect): Update.
6023
a30bf1f1
TT
60242014-06-16 Tom Tromey <tromey@redhat.com>
6025
6026 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
6027 * target.c (debug_to_rcmd, default_rcmd): Update.
6028 * target-delegates.c: Rebuild.
6029 * remote.c (remote_rcmd): Update.
6030 * monitor.c (monitor_rcmd): Update.
6031
d03de421
PA
60322014-06-16 Pedro Alves <palves@redhat.com>
6033
6034 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
6035 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
6036 have OBJF_SHARED set.
6037 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
6038 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
6039 instead of OBJF_USERLOADED.
6040 * objfiles.h (OBJF_SHARED): Update comment.
6041 (userloaded_objfile_contains_address_p): Rename to ...
6042 (shared_objfile_contains_address_p): ... this, and update
6043 comments.
6044 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
6045 new objfile.
6046 (remove_symbol_file_command): Skip objfiles that don't have
6047 OBJF_SHARED set.
6048
99f4262f
TT
60492014-06-16 Tom Tromey <tromey@redhat.com>
6050
6051 * minsyms.h (prim_record_minimal_symbol)
6052 (prim_record_minimal_symbol_and_info): Update comments.
6053
97d66cc6
EZ
60542014-06-14 Eli Zaretskii <eliz@gnu.org>
6055
6056 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
6057 or --without-guile, according to how GDB was built.
6058
635c7e8a
TT
60592014-06-13 Tom Tromey <tromey@redhat.com>
6060
6061 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
6062 to help_list.
6063 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
6064 to help_list.
6065 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
6066 help_list.
6067 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
6068 help_list.Pass all_commands, not -1, to help_list.
6069 * cli/cli-dump.c (dump_command, append_command)
6070 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
6071 (binary_dump_command, binary_append_command): Pass all_commands,
6072 not -1, to help_list.
6073 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
6074 -1, to help_list.
6075 * valprint.c (set_print, set_print_raw): Pass all_commands, not
6076 -1, to help_list.
6077 * typeprint.c (set_print_type): Pass all_commands, not -1, to
6078 help_list.
6079 * top.c (set_history): Pass all_commands, not -1, to help_list.
6080 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
6081 all_commands, not -1, to help_list.
6082 * symfile.c (overlay_command): Pass all_commands, not -1, to
6083 help_list.
6084 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
6085 help_list.
6086 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
6087 help_list.
6088 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
6089 -1, to help_list.
6090 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
6091 not -1, to help_list.
6092 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
6093 not -1, to help_list.
6094 * maint.c (maintenance_command, maintenance_info_command)
6095 (maintenance_print_command, maintenance_set_cmd): Pass
6096 all_commands, not -1, to help_list.
6097 * macrocmd.c (macro_command): Pass all_commands, not -1, to
6098 help_list.
6099 * language.c (set_check): Pass all_commands, not -1, to help_list.
6100 * infcmd.c (unset_command): Pass all_commands, not -1, to
6101 help_list.
6102 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
6103 help_list.
6104 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
6105 help_list.
6106 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
6107 help_list.
6108 * breakpoint.c (save_command): Pass all_commands, not -1, to
6109 help_list.
6110 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
6111 all_commands, not -1, to help_list.
6112
b94ade42
PL
61132014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
6114
6115 * regcache.c (struct register_to_invalidate): New structure.
6116 (do_register_invalidate, make_cleanup_regcache_invalidate): New
6117 functions.
6118 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
6119
31f628ae
YQ
61202014-06-12 Yao Qi <yao@codesourcery.com>
6121
6122 * varobj.c (varobj_get_num_children): Call
6123 varobj_is_dynamic_p.
6124 (varobj_list_children): Likewise.
6125 (varobj_update): Likewise. Update comments.
6126
cde5ef40
YQ
61272014-06-12 Yao Qi <yao@codesourcery.com>
6128
6129 * varobj.c (varobj_pretty_printed_p): Rename to ...
6130 (varobj_is_dynamic_p): ... this. New function.
6131 * varobj.h (varobj_pretty_printed_p): Remove declaration.
6132 (varobj_is_dynamic_p): Declare.
6133 * mi/mi-cmd-var.c (print_varobj): All callers updated.
6134 (mi_print_value_p, varobj_update_one): Likewise.
6135
576ea091
YQ
61362014-06-12 Pedro Alves <pedro@codesourcery.com>
6137 Yao Qi <yao@codesourcery.com>
6138
6139 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
6140 (varobj_get_iterator): Wrap up code for pretty-printer by
6141 "#if HAVE_PYTHON" and "#endif".
6142 (update_dynamic_varobj_children): Likewise.
6143
827f100c
YQ
61442014-06-12 Pedro Alves <pedro@codesourcery.com>
6145 Yao Qi <yao@codesourcery.com>
6146
6147 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
6148 gdb_python_initialized is false. Move some code from varobj.c.
6149 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
6150 * varobj.c: Move "varobj-iter.h" inclusion earlier.
6151 (struct varobj_item): Moved to varobj-iter.h".
6152 (varobj_clear_saved_item): New function.
6153 (update_dynamic_varobj_children): Move python-related code to
6154 py-varobj.c.
6155 (free_variable): Call varobj_clear_saved_item and
6156 varobj_iter_delete.
6157
e5250216
YQ
61582014-06-12 Pedro Alves <pedro@codesourcery.com>
6159 Yao Qi <yao@codesourcery.com>
6160
6161 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
6162 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
6163 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
6164 (py-varobj.o): New rule.
6165 * python/py-varobj.c: New file.
6166 * python/python-internal.h (py_varobj_get_iterator): Declare.
6167 * varobj-iter.h: New file.
6168 * varobj.c: Include "varobj-iter.h"
6169 (struct varobj) <child_iter>: Change its type from "PyObject *"
6170 to "struct varobj_iter *".
6171 <saved_item>: Likewise.
6172 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
6173 [HAVE_PYTHON] (varobj_get_iterator): New function.
6174 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
6175 python-specific code to python/py-varobj.c.
6176 (install_visualizer): Call varobj_iter_delete instead of
6177 Py_XDECREF.
6178 * varobj.h (varobj_ensure_python_env): Declare.
6179
5a2e0d6e
YQ
61802014-06-12 Yao Qi <yao@codesourcery.com>
6181
6182 * varobj.c (struct varobj_item): New structure.
6183 (create_child_with_value): Update declaration.
6184 (varobj_add_child): Replace arguments 'name' and 'value' with
6185 'item'. All callers updated.
6186 (install_dynamic_child): Likewise.
6187 (update_dynamic_varobj_children): Likewise.
6188 (varobj_add_child): Likewise.
6189 (create_child_with_value): Likewise.
6190
919b9a93
JB
61912014-06-11 Joel Brobecker <brobecker@adacore.com>
6192
6193 * NEWS: Create a new section for the next release branch.
6194 Rename the section of the current branch, now that it has
6195 been cut.
6196
71a55bdf
JB
61972014-06-11 Joel Brobecker <brobecker@adacore.com>
6198
6199 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
6200 * version.in: Bump version to 7.8.50.DATE-cvs.
6201
364fe1f7
PA
62022014-06-11 Pedro Alves <palves@redhat.com>
6203
6204 PR remote/17028
6205 * ser-mingw.c (net_windows_socket_check_pending): New function.
6206 (net_windows_select_thread): Ignore spurious wakeups. Use
6207 net_windows_socket_check_pending.
6208 (net_windows_wait_handle): Check for pending events with
6209 ioctlsocket, through net_windows_socket_check_pending, instead of
6210 checking the socket's event.
6211
5a6c7709
SC
62122014-06-10 Siva Chandra Reddy <sivachandra@google.com>
6213
6214 * python/python-internal.h (gdb_PyObject_GetAttrString)
6215 (gdb_PyObject_HasAttrString): New inline function definitions.
6216 * py-value.c (get_field_flag): Remove the now unnecessary cast to
6217 char * of the second argument to PyObject_GetAttrString.
74228e77 6218
0e58ee40
JB
62192014-06-10 Joel Brobecker <brobecker@adacore.com>
6220
6221 * serial.c (serial_write): Fix index of character to be printed
6222 in call to serial_logchar when serial debug traces are enabled.
6223
d190df30
JB
62242014-06-10 Joel Brobecker <brobecker@adacore.com>
6225
6226 * gdbtypes (resolve_dynamic_range): Add function description.
6227
b4b01d36
PA
62282014-06-09 Pedro Alves <palves@redhat.com>
6229
6230 * linux-nat.c (linux_child_follow_fork): Initialize status with
6231 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
6232 inner block. Only pass the signal to PTRACE_DETACH if in pass
6233 state.
6234
3657956b
GB
62352014-06-09 Gary Benson <gbenson@redhat.com>
6236
6237 * common/signals.c (gdb_signal_from_host): Reorder to separate
6238 the always-available ANSI-standard signals from the signals that
6239 require checking.
6240 (do_gdb_signal_to_host): Likewise.
6241 * proc-events.c (signal_table): Likewise.
6242
c077881a
HZ
62432014-06-08 Hui Zhu <hui@codesourcery.com>
6244
6245 * common/linux-ptrace.c (linux_disable_event_reporting): New
6246 function.
6247 * common/linux-ptrace.h (linux_disable_event_reporting): New
6248 declaration.
6249 * linux-nat.c (linux_child_follow_fork): Do a single step before
6250 detach.
6251
4186eb54
KS
62522014-06-07 Keith Seitz <keiths@redhat.com>
6253
6254 Revert:
6255 PR c++/16253
6256 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6257 from symbol_matches_domain in symtab.c. All local callers
6258 of symbol_matches_domain updated.
6259 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6260 search STRUCT_DOMAIN.
6261 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6262 independently. standard_lookup will do that automatically.
6263 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6264 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6265 (cp_lookup_symbol_in_namespace): Likewise.
6266 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6267 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6268 may return a STRUCT_DOMAIN match.
6269 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6270 * cp-support.c: Include language.h.
6271 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6272 VAR_DOMAIN.
6273 * psymtab.c (match_partial_symbol): Compare the requested
6274 domain with the symbol's domain directly.
6275 (lookup_partial_symbol): Likewise.
6276 * symtab.c (lookup_symbol_in_language): Explain when/why
6277 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6278 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6279 appropriate languages.
6280 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6281 and moved to ada-lang.c
6282 (lookup_block_symbol): Explain that this function only returns
6283 symbol matching the requested DOMAIN.
6284 Compare the requested domain with the symbol's domain directly.
6285 (iterate_over_symbols): Compare the requested domain with the
6286 symbol's domain directly.
6287 * symtab.h (symbol_matches_domain): Remove.
6288
25326a28 62892014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
6290
6291 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
6292 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
6293 (gdbscm_guile_version_is_at_least): Declare.
6294 (gdbscm_scm_string_to_int): Declare.
6295 * guile/guile.c (gdbscm_guile_major_version): New global.
6296 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
6297 (guile_datadir): New static global.
6298 (gdbscm_guile_data_directory): New function.
6299 (initialize_scheme_side): Update.
6300 (misc_guile_functions): Add guile-data-directory.
6301 (initialize_gdb_module): Fetch guile version number.
6302 * guile/lib/gdb.scm: Remove call to add-to-load-path.
6303 * guile/lib/gdb/init.scm (%initialize!): Ditto.
6304 * guile/lib/gdb/boot.scm: Use guile-data-directory.
6305 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
6306 comments.
6307 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
6308 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
6309 * guile/scm-value.c (gdbscm_value_to_string): Only call
6310 scm_port_conversion_strategy if Guile version >= 2.0.6.
6311
0a770bb2 63122014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
6313
6314 * main.c (print_gdb_help): Add -q and --silent.
6315
73ba372c
GB
63162014-06-06 Gary Benson <gbenson@redhat.com>
6317
6318 * common/signals.c: Remove preprocessor conditionals for
6319 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6320 SIGSEGV and SIGTERM.
6321 * proc-events.c: Likewise.
6322
c33b2f12
MM
63232014-06-06 Markus Metzger <markus.t.metzger@intel.com>
6324
6325 * symfile.c (symfile_free_objfile): Remove restriction to
6326 OBJF_USERLOADED.
6327 * symfile-mem.c (symbol_file_add_from_memory): Call
6328 add_target_sections_of_objfile.
6329
fb934770
LC
63302014-06-05 Ludovic Courtès <ludo@gnu.org>
6331
6332 * guile/scm-value.c (gdbscm_history_append_x): Use
6333 'vlscm_get_value_smob_arg_unsafe' instead of
6334 'vlscm_scm_to_value'.
6335
6ef284bd
SM
63362014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6337
6338 PR mi/15806
6339 * utils.c (printchar): Don't escape at all if quoter is NUL.
6340 Update function documentation to clarify effect of parameter
6341 QUOTER.
6342 * remote.c (escape_buffer): Pass '\\' as the quoter to
6343 fputstrn_unfiltered.
6344 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
6345 generate the output.
6346 (mi_solib_unloaded): Same.
6347
270c9937
JB
63482014-06-05 Joel Brobecker <brobecker@adacore.com>
6349
6350 * development.sh: Delete.
6351 * Makefile.in (config.status): Adjust dependency on development.sh.
6352 * configure.ac: Adjust development.sh source call.
6353 * configure: Regenerate.
6354
16f691fb
DE
63552014-06-04 Doug Evans <xdje42@gmail.com>
6356
6357 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
6358 is_scheme_bkpt, spec.
6359 (bpscm_make_breakpoint_smob): Initialize new members.
6360 (gdbscm_create_breakpoint_x): Split into two ...
6361 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
6362 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
6363 (scheme_function breakpoint_functions): Update.
6364 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
6365 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
6366 register-breakpoint!.
6367
ef7cab6b
JB
63682014-06-04 Joel Brobecker <brobecker@adacorer.com>
6369
6370 PR server/17023
6371 * mem-break.c (z_type_supported): Return zero if
6372 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
6373
012370f6
TT
63742014-06-04 Tom Tromey <tromey@redhat.com>
6375
6376 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
6377 value_from_contents_and_address_unresolved.
6378 (ada_template_to_fixed_record_type_1): Likewise.
6379 (ada_which_variant_applies): Likewise.
6380 * value.h (value_from_contents_and_address_unresolved): Declare.
6381 * value.c (value_from_contents_and_address_unresolved): New
6382 function.
6383 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
6384 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
6385 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
6386
92e2a17f
TT
63872014-06-04 Tom Tromey <tromey@redhat.com>
6388
6389 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
6390
c0939df1
TT
63912014-06-04 Tom Tromey <tromey@redhat.com>
6392
6393 * procfs.c (procfs_attach): Make "args" const.
6394 * windows-nat.c (windows_attach): Make "args" const.
6395 * nto-procfs.c (procfs_attach): Make "args" const.
6396 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
6397 * go32-nat.c (go32_attach): Make "args" const.
6398 * gnu-nat.c (gnu_attach): Make "args" const.
6399 * darwin-nat.c (darwin_attach): Make "args" const.
6400 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
6401 * linux-nat.c (linux_nat_attach): Make "args" const.
6402 * remote.c (extended_remote_attach_1, extended_remote_attach):
6403 Make "args" const.
6404 * target.h (struct target_ops) <to_attach>: Make "args" const.
6405 (find_default_attach): Likewise.
6406 * utils.c (parse_pid_to_attach): Make "args" const.
6407 * utils.h (parse_pid_to_attach): Update.
6408
8eaff7cd
TT
64092014-06-04 Tom Tromey <tromey@redhat.com>
6410
6411 * target-delegates.c: Rebuild.
6412 * target.c (default_thread_address_space): New function.
6413 (target_thread_address_space): Simplify.
6414 * target.h (struct target_ops) <to_thread_address_space>: Add
6415 TARGET_DEFAULT_FUNC.
6416
1913f160
DE
64172014-06-04 Doug Evans <xdje42@gmail.com>
6418
6419 * guile/scm-type.c (type_smob): Remove duplicate typedef.
6420
70ad5bff
MM
64212014-06-04 Markus Metzger <markus.t.metzger@intel.com>
6422
6423 * record-btrace.c: Include event-loop.h and inf-loop.h.
6424 (record_btrace_resume_exec_dir)
6425 (record_btrace_async_inferior_event_handler)
6426 (record_btrace_handle_async_inferior_event): New.
6427 (record_btrace_open): Create async event handler.
6428 (record_btrace_close): Delete async event handler.
6429 (record_btrace_resume): Set record_btrace_resume_exec_dir,
6430 Mark async event handler.
6431 (record_btrace_execution_direction): New.
6432 (init_record_btrace_ops): Initialize to_execution_direction.
6433
b6210538
DE
64342014-06-03 Doug Evans <xdje42@gmail.com>
6435
6436 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
6437 (gdbscm_make_parameter): Ditto.
6438
a5b1fd27
DE
64392014-06-03 Doug Evans <dje@google.com>
6440
6441 * exec.c (exec_close_1): Call clear_section_table instead of
6442 resize_section_table.
6443 (clear_section_table): New function.
6444 (resize_section_table): Make static. Rename arg num_added to
6445 adjustment.
6446 * exec.h (clear_section_table): Declare.
6447 (resize_section_table): Delete.
6448 * progspace.c (release_program_space): Call clear_section_table
6449 instead of resize_section_table.
6450
0c6e92a5
SC
64512014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6452
6453 * NEWS (Python Scripting): Add entry about the new xmethods
6454 feature.
6455
883964a7
SC
64562014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6457
6458 * python/py-xmethods.c: New file.
6459 * python/py-objfile.c (objfile_object): New field 'xmethods'.
6460 (objfpy_dealloc): XDECREF on the new xmethods field.
6461 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6462 field.
6463 (objfpy_get_xmethods): New function.
6464 (objfile_getset): New entry 'xmethods'.
6465 * python/py-progspace.c (pspace_object): New field 'xmethods'.
6466 (pspy_dealloc): XDECREF on the new xmethods field.
6467 (pspy_new, pspace_to_pspace_object): Initialize xmethods
6468 field.
6469 (pspy_get_xmethods): New function.
6470 (pspace_getset): New entry 'xmethods'.
6471 * python/python-internal.h: Add declarations for new functions.
6472 * python/python.c (_initialize_python): Invoke
6473 gdbpy_initialize_xmethods.
6474 * python/lib/gdb/__init__.py (xmethods): New
6475 attribute.
6476 * python/lib/gdb/xmethod.py: New file.
6477 * python/lib/gdb/command/xmethods.py: New file.
6478
58992dc5
SC
64792014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6480
6481 * eval.c (evaluate_subexp_standard): Call the xmethod if the
6482 best match method returned by find_overload_match is an xmethod.
6483 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6484 the best matching operator returned by find_overload_match is an
6485 xmethod.
6486 * valops.c: #include "extension.h".
6487 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6488 Return void. The list of matching source methods is returned in
6489 "fn_list" and a vector of matching debug method workers is
6490 returned in "xm_worker_vec". Update all callers.
6491 (value_find_oload_method_list): Likewise.
6492 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
6493 non-NULL, then the index of the best matching method in this
6494 vector is returned. Update all callers.
6495 (find_overload_match): Include xmethods while performing overload
6496 resolution.
6497
e81e7f5e
SC
64982014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6499
6500 * defs.h (enum lval_type): New enumerator "lval_xcallable".
6501 * extension-priv.h (struct extension_language_ops): Add the
6502 xmethod interface.
6503 * extension.c (new_xmethod_worker, clone_xmethod_worker,
6504 get_matching_xmethod_workers, get_xmethod_argtypes,
6505 invoke_xmethod, free_xmethod_worker,
6506 free_xmethod_worker_vec): New functions.
6507 * extension.h: #include "common/vec.h".
6508 New function declarations.
6509 (struct xmethod_worker): New struct.
6510 (VEC (xmethod_worker_ptr)): New vector type.
6511 (xmethod_worker_ptr): New typedef.
6512 (xmethod_worker_vec): Likewise.
6513 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6514 builtin_type.
6515 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
6516 (struct builtin_type): New field "xmethod".
6517 * valarith.c (value_ptradd): Assert that the value argument is not
6518 lval_xcallable.
6519 * valops.c (value_must_coerce_to_target): Return 0 for
6520 lval_xcallable values.
6521 * value.c (struct value): New field XM_WORKER in the field
6522 LOCATION.
6523 (value_address, value_raw_address): Return 0 for lval_xcallable
6524 values.
6525 (set_value_address): Assert that the value is not an
6526 lval_xcallable.
6527 (value_free): Free the associated xmethod worker when freeing
6528 lval_xcallable values.
6529 (set_value_component_location): Assert that the WHOLE value is not
6530 lval_xcallable.
6531 (value_of_xmethod, call_xmethod): New functions.
6532 * value.h: Declare "struct xmethod_worker".
6533 Declare new functions value_of_xmethod, call_xmethod.
6534
ef370185
JB
65352014-06-03 Joel Brobecker <brobecker@adacore.com>
6536 Pedro Alves <palves@redhat.com>
6537
6538 PR breakpoints/17000
6539 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
6540 New function, extracted from software_breakpoint_inserted_here_p.
6541 (software_breakpoint_inserted_here_p): Replace factored out code
6542 by call to find_non_raw_software_breakpoint_inserted_here.
6543 (bp_target_info_copy_insertion_state): New function.
6544 (bkpt_insert_location): Handle the case of a single-step
6545 breakpoint already inserted at the same address.
6546 (bkpt_remove_location): Handle the case of a single-step
6547 breakpoint still inserted at the same address.
6548 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
6549 breakpoint already inserted at the same address.
6550 (deprecated_remove_raw_breakpoint): Handle the case of a
6551 non-raw breakpoint still inserted at the same address.
6552 (find_single_step_breakpoint): New function, extracted from
6553 single_step_breakpoint_inserted_here_p.
6554 (find_single_step_breakpoint): New function,
6555 factored out from single_step_breakpoint_inserted_here_p.
6556 (single_step_breakpoint_inserted_here_p): Reimplement.
6557
1e2ccb61
BM
65582014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6559
6560 Pushed by Joel Brobecker <brobecker@adacore.com>
6561 * source.c (show_substitute_path_command): Fix display of matching
6562 substitution rules.
6563
d3448d85
GB
65642014-06-03 Gary Benson <gbenson@redhat.com>
6565
6566 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
6567
06eb1586
DE
65682014-06-02 Doug Evans <xdje42@gmail.com>
6569
6570 Add parameter support for Guile.
6571 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
6572 (SUBDIR_GUILE_SRCS): Add scm-param.c.
6573 (scm-param.o): New rule.
6574 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
6575 (gdbscm_misc_error): Declare.
6576 (gdbscm_canonicalize_command_name): Declare.
6577 (gdbscm_scm_to_host_string): Declare.
6578 (gdbscm_scm_from_host_string): Declare.
6579 (gdbscm_initialize_parameters): Declare.
6580 * guile/guile.c (initialize_gdb_module): Call
6581 gdbscm_initialize_parameters.
6582 * guile/lib/gdb.scm: Export parameter symbols.
6583 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
6584 cmdscm_canonicalize_name and made public. All callers updated.
6585 * guile/scm-exception.c (gdbscm_misc_error): New function.
6586 * guile/scm-param.c: New file.
6587 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
6588 (gdbscm_scm_to_host_string): New function.
6589 (gdbscm_scm_from_host_string): New function.
6590 * scm-utils.c (gdbscm_gc_dup_argv): New function.
6591
e698b8c4
DE
65922014-06-02 Doug Evans <xdje42@gmail.com>
6593
6594 Add command support for Guile.
6595 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
6596 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
6597 (scm-cmd.o): New rule.
6598 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
6599 (gdbscm_user_error_p): Declare.
6600 (gdbscm_parse_command_name): Declare.
6601 (gdbscm_valid_command_class_p): Declare.
6602 (gdbscm_initialize_commands): Declare.
6603 * guile/guile.c (initialize_gdb_module): Call
6604 gdbscm_initialize_commands.
6605 * guile/lib/gdb.scm: Export command symbols.
6606 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
6607 (throw-user-error): New function.
6608 * guile/scm-cmd.c: New file.
6609 * guile/scm-exception.c (user_error_symbol): New static global.
6610 (gdbscm_user_error_p): New function.
6611 (gdbscm_initialize_exceptions): Set user_error_symbol.
6612 * scm-utils.c (gdbscm_gc_xstrdup): New function.
6613
fb1f94b0
PM
66142014-06-02 Phil Muldoon <pmuldoon@redhat.com>
6615
6616 * top.c (command_loop): Handle comments here...
6617 (command_line_input): ... not here.
6618
ded03782
DE
66192014-06-02 Doug Evans <xdje42@gmail.com>
6620
6621 Add progspace support for Guile.
6622 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
6623 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
6624 (scm-progspace.o): New rule.
6625 * guile/guile-internal.h (pspace_smob): New typedef.
6626 (psscm_pspace_smob_pretty_printers): Declare.
6627 (psscm_pspace_smob_from_pspace): Declare.
6628 (psscm_scm_from_pspace): Declare.
6629 * guile/guile.c (initialize_gdb_module): Call
6630 gdbscm_initialize_pspaces.
6631 * guile/lib/gdb.scm: Export progspace symbols.
6632 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
6633 support.
6634 (append-pretty-printer!): Ditto.
6635 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
6636 Implement.
6637 * guile/scm-progspace.c: New file.
6638
397998fc
AM
66392014-06-03 Alan Modra <amodra@gmail.com>
6640
6641 * ppc64-tdep.c (ppc64_standard_linkage8): New.
6642 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
6643
6aa5f3a6
DE
66442014-06-02 Doug Evans <dje@google.com>
6645
6646 Add support for skeletonless type units.
6647 * dwarf2read.c (struct dwarf2_per_objfile): New member
6648 n_allocated_type_units.
6649 (struct dwarf2_per_objfile) <tu_stats>: New member
6650 nr_all_type_units_reallocs.
6651 (create_signatured_type_table_from_index): Initialize
6652 n_allocated_type_units
6653 (create_all_type_units): Ditto.
6654 (add_type_unit): Move up in file. New arg slot.
6655 All callers updated. Increase space for all_type_units more
6656 efficiently.
6657 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
6658 (lookup_dwo_signatured_type): Handle skeletonless TUs.
6659 (lookup_dwp_signatured_type): Ditto.
6660 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
6661 All callers updated.
6662 (build_type_psymtabs_1): Leave type_unit_groups as
6663 NULL if no TUs present.
6664 (print_tu_stats): New function.
6665 (process_skeletonless_type_unit): New function.
6666 (process_dwo_file_for_skeletonless_type_units): New
6667 function.
6668 (process_skeletonless_type_units): New function.
6669 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
6670 Call print tu_stats if debugging enabled.
6671
41fac0cf
PA
66722014-06-02 Pedro Alves <palves@redhat.com>
6673
6674 * breakpoint.c (build_target_command_list): Don't build a command
6675 list if we have any duplicate location that isn't a dprintf.
6676
cd1608cc
PA
66772014-06-02 Pedro Alves <palves@redhat.com>
6678
6679 * breakpoint.c (dprintf_breakpoint_hit): New function.
6680 (initialize_breakpoint_ops): Install it as dprintf's
6681 breakpoint_hit method.
6682
486ef3b9
JB
66832014-06-02 Joel Brobecker <brobecker@adacore.com>
6684
6685 * source.c (substitute_path_rule_matches): Simplify using
6686 filename_ncmp instead of FILENAME_CMP.
6687
230cd560
JB
66882014-06-02 Joel Brobecker <brobecker@adacore.com>
6689
6690 * source.c (substitute_path_rule_matches): Remove trailing spaces.
6691
16954d5d
LC
66922014-06-01 Ludovic Courtès <ludo@gnu.org>
6693
6694 * configure.ac: When Guile is available, check for the
6695 availability of 'scm_new_smob'.
6696 * configure, config.h.in: Regenerate.
6697 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
6698 function.
6699
53e8a631
AB
67002014-05-30 Andrew Burgess <aburgess@broadcom.com>
6701
6702 * frame.c (struct frame_info): Add stop_string field.
6703 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
6704 (get_prev_frame_always): Old content moved into
6705 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
6706 TRY_CATCH, handle MEMORY_ERROR exceptions.
6707 (frame_stop_reason_string): New function definition.
6708 * frame.h (unwind_stop_reason_to_string): Extend comment to
6709 mention frame_stop_reason_string.
6710 (frame_stop_reason_string): New function declaration.
6711 * stack.c (frame_info): Switch to frame_stop_reason_string.
6712 (backtrace_command_1): Switch to frame_stop_reason_string.
6713 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
6714 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
6715 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
6716
70e38b8e
AB
67172014-05-30 Andrew Burgess <aburgess@broadcom.com>
6718
6719 * frame.c (frame_stop_reason_string): Rename to ...
6720 (unwind_stop_reason_to_string): this.
6721 * frame.h (frame_stop_reason_string): Rename to ...
6722 (unwind_stop_reason_to_string): this.
6723 * stack.c (frame_info): Update call to frame_stop_reason_string.
6724 (backtrace_command_1): Likewise.
6725 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
6726 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
6727
938f0e2f
AB
67282014-05-30 Andrew Burgess <aburgess@broadcom.com>
6729
6730 * frame.c (remove_prev_frame): New function.
6731 (get_prev_frame_if_no_cycle): Create / discard cleanup using
6732 remove_prev_frame.
6733
a09dd441
PA
67342014-05-29 Pedro Alves <palves@redhat.com>
6735
6736 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
6737 and make it const. When a single-step decays to a continue,
6738 clear 'step', not 'hw_step'. Pass whether the caller wanted
6739 to step to user_visible_resume_ptid, not what we ask the
6740 target to do.
6741
bdc36728
PA
67422014-05-29 Pedro Alves <palves@redhat.com>
6743
6744 * infrun.c (process_event_stop_test, handle_step_into_function)
6745 (handle_step_into_function_backward): Adjust.
6746 Don't set the even thread's stop_step and call stop_waiting before
6747 calling end_stepping_range. Instead do that ...
6748 (end_stepping_range): ... here. Take an ecs pointer parameter.
6749
22bcd14b
PA
67502014-05-29 Pedro Alves <palves@redhat.com>
6751
6752 * infrun.c (stop_stepping): Rename to ...
6753 (stop_waiting): ... this.
6754 (proceed): Update comment.
6755 (process_event_stop_test, handle_inferior_event)
6756 (handle_signal_stop, handle_step_into_function)
6757 (handle_step_into_function_backward): Update.
6758
4ae57c05
PA
67592014-05-29 Pedro Alves <palves@redhat.com>
6760
6761 * infcall.c (run_inferior_call): Don't check whether the current
6762 thread is running after the proceed call.
6763
329ea579
PA
67642014-05-29 Pedro Alves <palves@redhat.com>
6765 Tom Tromey <tromey@redhat.com>
6766
6767 * NEWS: Mention "maint set target-async", "set mi-async", and that
6768 background execution commands are now always available.
6769 * target.h (target_async_permitted): Update comment.
6770 * target.c (target_async_permitted, target_async_permitted_1):
6771 Default to 1.
6772 (set_target_async_command): Rename to ...
6773 (maint_set_target_async_command): ... this.
6774 (show_target_async_command): Rename to ...
6775 (maint_show_target_async_command): ... this.
6776 (_initialize_target): Adjust.
6777 * infcmd.c (prepare_execution_command): Make extern.
6778 * inferior.h (prepare_execution_command): Declare.
6779 * infrun.c (set_observer_mode): Leave target async alone.
6780 * mi/mi-interp.c (mi_interpreter_init): Install
6781 mi_on_sync_execution_done as sync_execution_done observer.
6782 (mi_on_sync_execution_done): New function.
6783 (mi_execute_command_input_handler): Don't print the prompt if we
6784 just started a synchronous command with an async target.
6785 (mi_on_resume): Check sync_execution before printing prompt.
6786 * mi/mi-main.h (mi_async_p): Declare.
6787 * mi/mi-main.c: Include gdbcmd.h.
6788 (mi_async_p): New function.
6789 (mi_async, mi_async_1): New globals.
6790 (set_mi_async_command, show_mi_async_command, mi_async): New
6791 functions.
6792 (exec_continue): Call prepare_execution_command.
6793 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
6794 (mi_execute_async_cli_command): Use mi_async_p.
6795 (_initialize_mi_main): Install "set mi-async". Make
6796 "target-async" a deprecated alias.
6797
92bcb5f9
PA
67982014-05-29 Pedro Alves <palves@redhat.com>
6799
6800 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
6801 (_initialize_cli_interp): Adjust.
6802 * event-loop.c: Include "observer.h".
6803 (start_event_loop): Notify 'command_error' observers instead of
6804 calling display_gdb_prompt. Remove FIXME comment.
6805 * event-top.c (display_gdb_prompt): Remove call into the
6806 interpreters.
6807 * inf-loop.c: Include "observer.h".
6808 (inferior_event_handler): Notify 'command_error' observers instead
6809 of calling display_gdb_prompt.
6810 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
6811 observers instead of calling display_gdb_prompt.
6812 * interps.c (interp_set): Don't call display_gdb_prompt.
6813 (current_interp_display_prompt_p): Delete.
6814 * interps.h (interp_prompt_p): Delete declaration.
6815 (interp_prompt_p_ftype): Delete.
6816 (struct interp_procs) <prompt_proc_p>: Delete field.
6817 (current_interp_display_prompt_p): Delete declaration.
6818 * mi-interp.c (mi_interpreter_prompt_p): Delete.
6819 (_initialize_mi_interp): Adjust.
6820 * tui-interp.c (tui_init): Install 'sync_execution_done' and
6821 'command_error' observers.
6822 (tui_on_sync_execution_done, tui_on_command_error): New
6823 functions.
6824 (tui_display_prompt_p): Delete.
6825 (_initialize_tui_interp): Adjust.
6826
fd664c91
PA
68272014-05-29 Pedro Alves <palves@redhat.com>
6828
6829 PR gdb/13860
6830 * cli/cli-interp.c: Include infrun.h and observer.h.
6831 (cli_uiout, cli_interp): New globals.
6832 (cli_on_signal_received, cli_on_end_stepping_range)
6833 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
6834 functions.
6835 (cli_interpreter_init): Install them as 'end_stepping_range',
6836 'signal_received' 'signal_exited', 'exited' and 'no_history'
6837 observers.
6838 (_initialize_cli_interp): Remove cli_interp local.
6839 * infrun.c (handle_inferior_event): Call the several stop reason
6840 observers instead of printing the stop reason directly.
6841 (end_stepping_range): New function.
6842 (print_end_stepping_range_reason, print_signal_exited_reason)
6843 (print_exited_reason, print_signal_received_reason)
6844 (print_no_history_reason): Make static, and add an uiout
6845 parameter. Print to that instead of to CURRENT_UIOUT.
6846 * infrun.h (print_end_stepping_range_reason)
6847 (print_signal_exited_reason, print_exited_reason)
6848 (print_signal_received_reason print_no_history_reason): New
6849 declarations.
6850 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
6851 'mi_uiout'.
6852 <cli_uiout>: New field.
6853 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
6854 uiout for CLI output. Install 'signal_received',
6855 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
6856 observers.
6857 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
6858 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
6859 (mi_on_no_history): New functions.
6860 (ui_out_free_cleanup): Delete function.
6861 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
6862 instead use the one already stored in the MI interpreter data.
6863 (mi_ui_out): Adjust.
6864 * tui/tui-interp.c: Include infrun.h and observer.h.
6865 (tui_interp): New global.
6866 (tui_on_signal_received, tui_on_end_stepping_range)
6867 (tui_on_signal_exited, tui_on_exited)
6868 (tui_on_no_history): New functions.
6869 (tui_init): Install them as 'end_stepping_range',
6870 'signal_received' 'signal_exited', 'exited' and 'no_history'
6871 observers.
6872 (_initialize_tui_interp): Delete tui_interp local.
6873
8817a6f2
PA
68742014-05-29 Pedro Alves <palves@redhat.com>
6875
6876 PR gdb/15713
6877 * linux-nat.c (linux_nat_resume_callback): Rename the second
6878 parameter to 'except'. Skip LP if it points to EXCEPT.
6879 (linux_nat_resume): Don't mark the event lwp as not stopped
6880 before resuming sibling lwps. Instead ask
6881 linux_nat_resume_callback to skip the event lwp. Mark it as not
6882 stopped after actually resuming it.
6883 (linux_handle_syscall_trap): Mark the lwp as not stopped after
6884 resuming it.
6885 (wait_lwp): Mark the lwp as stopped here.
6886 (stop_wait_callback): Mark the lwp as not stopped right after
6887 resuming it. Don't mark lwps as stopped here.
6888 (linux_nat_filter_event): Mark the lwp as stopped earlier.
6889 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
6890
251bde03
PA
68912014-05-29 Pedro Alves <palves@redhat.com>
6892
6893 PR PR15693
6894 * infrun.c (resume): Determine how much to resume depending on
6895 whether the caller wanted a step, not whether we can hardware step
6896 the target. Mark all threads that we intend to run as running,
6897 unless we're calling an inferior function.
6898 (normal_stop): If the thread is running an infcall, don't finish
6899 thread state.
6900 * target.c (target_resume): Don't mark threads as running here.
6901
7f3c0343
JB
69022014-05-28 Joel Brobecker <brobecker@adacore.com>
6903
6904 * serial.c (_initialize_serial): Remove support for
6905 the "set remotebaud" and "show remotebaud" commands.
6906 * NEWS: Add entry documenting the removal of that command.
6907
ee34b3f9
YQ
69082014-05-28 Yao Qi <yao@codesourcery.com>
6909
6910 * charset.c: Fix typo in comments.
6911
add6c04d
GB
69122014-05-27 Gary Benson <gbenson@redhat.com>
6913
6914 * utils.c (internal_vproblem): Prompt for a bug report.
6915
92c48fc5
AW
69162014-05-26 Andy Wingo <wingo@igalia.com>
6917
6918 * guile/scm-arch.c (arscm_mark_arch_smob):
6919 * guile/scm-block.c (bkscm_mark_block_smob)
6920 (bkscm_mark_block_syms_progress_smob):
6921 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
6922 * guile/scm-exception.c (exscm_mark_exception_smob):
6923 * guile/scm-frame.c (frscm_mark_frame_smob):
6924 * guile/scm-iterator.c (itscm_mark_iterator_smob):
6925 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
6926 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
6927 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
6928 (ppscm_mark_pretty_printer_worker_smob):
6929 * guile/scm-symbol.c (syscm_mark_symbol_smob):
6930 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
6931 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
6932 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
6933 mark functions.
6934 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
6935 function.
6936
b2715b27
AW
69372014-05-26 Andy Wingo <wingo@igalia.com>
6938 Doug Evans <xdje42@gmail.com>
6939
6940 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
6941 empty_base_class. All uses updated.
6942 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
6943 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
6944 Adapt all callers.
6945 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
6946 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
6947 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
6948 (gdbscm_gsmob_has_property_p, add_property_name)
6949 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
6950 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
6951 (gdb-object-has-property?, gdb-object-properties): Remove.
6952 (gdb-object-kind): Renamed from gsmob-kind.
6953
214ab2da
AW
69542014-05-26 Andy Wingo <wingo@igalia.com>
6955
6956 * configure.ac (try_guile_versions): Allow building with guile 2.2.
6957 * configure: Regenerate.
6958
589fdceb
MM
69592014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6960
6961 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
6962
67b5c0c1
MM
69632014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6964
6965 * record-btrace.c (record_btrace_allow_memory_access): Remove.
6966 (replay_memory_access_read_only, replay_memory_access_read_write)
6967 (replay_memory_access_types, replay_memory_access)
6968 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
6969 (cmd_set_record_btrace, cmd_show_record_btrace)
6970 (cmd_show_replay_memory_access): New.
6971 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
6972 (record_btrace_remove_breakpoint): Replace
6973 record_btrace_allow_memory_access with replay_memory_access.
6974 (_initialize_record_btrace): Add commands.
6975 * NEWS: Announce it.
6976
036cd381
RR
69772014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6978
6979 * aarch64-linux-nat.c (asm/ptrace.h): Include.
6980
c77c1e42
RR
69812014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6982
6983 * MAINTAINERS (Write After Approval): Move self back from
6984 paper trail.
6985
45741a9c
PA
69862014-05-22 Pedro Alves <palves@redhat.com>
6987
6988 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
6989 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
6990 (disable_randomization, enum exec_direction_kind)
6991 (execution_direction, stop_registers, start_remote)
6992 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
6993 (wait_for_inferior, normal_stop, get_last_target_status)
6994 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
6995 (insert_step_resume_breakpoint_at_sal)
6996 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
6997 (set_step_info, print_stop_event, signal_stop_state)
6998 (signal_print_state, signal_pass_state, signal_stop_update)
6999 (signal_print_update, signal_pass_update)
7000 (update_signals_program_target, clear_exit_convenience_vars)
7001 (displaced_step_dump_bytes, update_observer_mode)
7002 (signal_catch_update, gdb_signal_from_command): Move
7003 declarations ...
7004 * infrun.h: ... to this new file.
7005 * amd64-tdep.c: Include infrun.h.
7006 * annotate.c: Include infrun.h.
7007 * arch-utils.c: Include infrun.h.
7008 * arm-linux-tdep.c: Include infrun.h.
7009 * arm-tdep.c: Include infrun.h.
7010 * break-catch-sig.c: Include infrun.h.
7011 * breakpoint.c: Include infrun.h.
7012 * common/agent.c: Include infrun.h instead of inferior.h.
7013 * corelow.c: Include infrun.h.
7014 * event-top.c: Include infrun.h.
7015 * go32-nat.c: Include infrun.h.
7016 * i386-tdep.c: Include infrun.h.
7017 * inf-loop.c: Include infrun.h.
7018 * infcall.c: Include infrun.h.
7019 * infcmd.c: Include infrun.h.
7020 * infrun.c: Include infrun.h.
7021 * linux-fork.c: Include infrun.h.
7022 * linux-nat.c: Include infrun.h.
7023 * linux-thread-db.c: Include infrun.h.
7024 * monitor.c: Include infrun.h.
7025 * nto-tdep.c: Include infrun.h.
7026 * procfs.c: Include infrun.h.
7027 * record-btrace.c: Include infrun.h.
7028 * record-full.c: Include infrun.h.
7029 * remote-m32r-sdi.c: Include infrun.h.
7030 * remote-mips.c: Include infrun.h.
7031 * remote-notif.c: Include infrun.h.
7032 * remote-sim.c: Include infrun.h.
7033 * remote.c: Include infrun.h.
7034 * reverse.c: Include infrun.h.
7035 * rs6000-tdep.c: Include infrun.h.
7036 * s390-linux-tdep.c: Include infrun.h.
7037 * solib-irix.c: Include infrun.h.
7038 * solib-osf.c: Include infrun.h.
7039 * solib-svr4.c: Include infrun.h.
7040 * target.c: Include infrun.h.
7041 * top.c: Include infrun.h.
7042 * windows-nat.c: Include infrun.h.
7043 * mi/mi-interp.c: Include infrun.h.
7044 * mi/mi-main.c: Include infrun.h.
7045 * python/py-threadevent.c: Include infrun.h.
7046
98eb56a4
PA
70472014-05-22 Pedro Alves <palves@redhat.com>
7048
7049 * infrun.c (handle_inferior_event): Store the exit code for
7050 --return-child-result here, instead of ...
7051 (print_exited_reason): ... here.
7052
17b2616c
PA
70532014-05-21 Pedro Alves <palves@redhat.com>
7054
7055 PR gdb/13860
7056 * gdbthread.h (struct thread_control_state): New field
7057 `command_interp'.
7058 * infrun.c (follow_fork): Copy the new thread control field to the
7059 child fork thread.
7060 (clear_proceed_status_thread): Clear the new thread control field.
7061 (proceed): Set the new thread control field.
7062 * interps.h (command_interp): Declare.
7063 * interps.c (command_interpreter): New global.
7064 (command_interp): New function.
7065 (interp_exec): Set `command_interpreter' while here.
7066 * cli-out.c (cli_uiout_dtor): New function.
7067 (cli_ui_out_impl): Install it.
7068 * mi/mi-interp.c: Include cli-out.h.
7069 (mi_cmd_interpreter_exec): Add comment.
7070 (restore_current_uiout_cleanup): New function.
7071 (ui_out_free_cleanup): New function.
7072 (mi_on_normal_stop): If finishing an execution command started by
7073 a CLI command, or any kind of breakpoint-like event triggered,
7074 print the stop event to the output (CLI) stream.
7075 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
7076
5166082f
PA
70772014-05-21 Pedro Alves <palves@redhat.com>
7078
7079 * cli/cli-cmds.c (list_command): Handle the first "list" after the
7080 current source line having changed.
7081 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
7082 * infrun.c (normal_stop): Adjust call to
7083 set_current_sal_from_frame.
7084 * source.c (clear_lines_listed_range): New function.
7085 (set_current_source_symtab_and_line, identify_source_line): Clear
7086 the lines listed range.
7087 (line_info): Handle the first "info line" after the current source
7088 line having changed.
7089 * stack.c (print_stack_frame): Remove center handling.
7090 (set_current_sal_from_frame): Remove 'center' parameter. Don't
7091 center sal.line.
7092
c1ee2fb3
PA
70932014-05-21 Pedro Alves <palves@redhat.com>
7094
7095 * inf-child.c (inf_child_mourn_inferior): New function.
7096 * inf-child.h (inf_child_mourn_inferior): New declaration.
7097 * darwin-nat.c (darwin_mourn_inferior): Use
7098 inf_child_mourn_inferior.
7099 * gnu-nat.c (gnu_mourn_inferior): Likewise.
7100 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
7101 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
7102 * nto-procfs.c (procfs_mourn_inferior): Likewise.
7103 * windows-nat.c (windows_mourn_inferior): Likewise.
7104
5c6d4fb2
DE
71052014-05-21 Doug Evans <xdje42@gmail.com>
7106
250748cb 7107 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 7108
4a2722c5
DE
71092014-05-21 Doug Evans <xdje42@gmail.com>
7110
17292b30 7111 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
7112 (gdbscm_out_of_range_error): Ditto.
7113 (gdbscm_memory_error): Ditto.
250748cb
DE
7114 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
7115 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
7116 (gdbscm_out_of_range_error): Update.
7117 (gdbscm_memory_error): Update.
7118 (gdbscm_scm_to_target_string_unsafe): Delete.
7119
6a3cb8e8
PA
71202014-05-21 Pedro Alves <palves@redhat.com>
7121
7122 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
7123 globals.
7124 (inf_child_open_target): New function.
7125 (inf_child_open): Use inf_child_open_target to push the target
7126 instead of erroring out.
7127 (inf_child_disconnect, inf_child_close)
7128 (inf_child_maybe_unpush_target): New functions.
7129 (inf_child_target): Install inf_child_disconnect and
7130 inf_child_close. Store a pointer to the returned object.
7131 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
7132 declarations.
7133 * target.c (auto_connect_native_target): New global.
7134 (show_default_run_target): New function.
7135 (find_default_run_target): Return NULL if automatically connecting
7136 to the native target is disabled.
7137 (_initialize_target): Install set/show auto-connect-native-target.
7138 * NEWS: Mention "set auto-connect-native-target", and "target
7139 native".
7140 * linux-nat.c (super_close): New global.
7141 (linux_nat_close): Call super_close.
7142 (linux_nat_add_target): Store a pointer to the base class's
7143 to_close method.
7144 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
7145 inf_child_maybe_unpush.
7146 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
7147 already pushed.
7148 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
7149 the inferior. Use inf_child_maybe_unpush_target.
7150 (inf_ttrace_attach): Don't push the target if it is already
7151 pushed.
7152 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
7153 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
7154 after mourning the inferior. Use inf_child_maybe_unpush_target.
7155 (darwin_attach_pid): Don't push the target if it is already
7156 pushed.
7157 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
7158 mourning the inferior. Use inf_child_maybe_unpush_target.
7159 (gnu_detach): Use inf_child_maybe_unpush_target.
7160 * go32-nat.c (go32_create_inferior): Don't push the target if it
7161 is already pushed.
7162 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
7163 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
7164 (procfs_open): Rename to ...
7165 (procfs_open_1): ... this. Add target_ops parameter. Adjust
7166 comments. Can target_preopen before changing node. Call
7167 inf_child_open_target to push the target explicitly.
7168 (procfs_attach): Don't push the target if it is already pushed.
7169 (procfs_detach): Use inf_child_maybe_unpush_target.
7170 (procfs_create_inferior): Don't push the target if it is already
7171 pushed.
7172 (nto_native_ops): New global.
7173 (procfs_open): Reimplement.
7174 (procfs_native_open): New function.
7175 (init_procfs_targets): Install procfs_native_open as to_open of
7176 "target native". Store a pointer to the "native" target in
7177 nto_native_ops.
7178 * procfs.c (procfs_attach): Don't push the target if it is already
7179 pushed.
7180 (procfs_detach): Use inf_child_maybe_unpush_target.
7181 (procfs_mourn_inferior): Only unpush the target after mourning the
7182 inferior. Use inf_child_maybe_unpush_target.
7183 (procfs_init_inferior): Don't push the target if it is already
7184 pushed.
7185 * windows-nat.c (do_initial_windows_stuff): Don't push the target
7186 if it is already pushed.
7187
930ee1b1
PA
71882014-05-21 Pedro Alves <palves@redhat.com>
7189
7190 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
7191 and "procfs" targets are now called "native" instead.
7192
1f5d1b13
PA
71932014-05-21 Pedro Alves <palves@redhat.com>
7194
7195 * go32-nat.c (go32_open): Delete.
7196 (go32_target): Don't override the to_open method.
7197
132f8e03
PA
71982014-05-21 Pedro Alves <palves@redhat.com>
7199
7200 * nto-procfs.c (procfs_can_run): New function.
7201 (nto_procfs_ops): New global.
7202 (init_procfs_targets): New, based on procfs_target. Install
7203 "target native" in addition to "target procfs".
7204 (_initialize_procfs): Call init_procfs_targets instead of adding
7205 the target here.
7206
03c136c3
PA
72072014-05-21 Pedro Alves <palves@redhat.com>
7208
7209 * windows-nat.c (windows_target): Don't override to_shortname,
7210 to_longname or to_doc.
7211
a635d0f3
PA
72122014-05-21 Pedro Alves <palves@redhat.com>
7213
7214 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
7215 to_doc.
7216
4f9b5133
PA
72172014-05-21 Pedro Alves <palves@redhat.com>
7218
7219 * darwin-nat.c (_initialize_darwin_inferior): Don't override
7220 to_shortname, to_longname or to_doc.
7221
bc85afde
PA
72222014-05-21 Pedro Alves <palves@redhat.com>
7223
7224 * go32-nat.c (go32_target): Don't override to_shortname,
7225 to_longname or to_doc.
7226
4ebfc96e
PA
72272014-05-21 Pedro Alves <palves@redhat.com>
7228
7229 * inf-child.c (inf_child_open): Remove mention of "child".
7230 (inf_child_target): Rename target to "native" instead of "child".
7231
2648dfed
AA
72322014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7233
7234 * Makefile.in (SFILES): Delete "regset.c".
7235 (COMMON_OBS): Delete "regset.o".
7236 * regset.c: Remove.
7237 * regset.h (regset_alloc): Delete prototype.
7238
b13feb94
AA
72392014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7240
7241 * sparc-linux-tdep.c (sparc32_linux_gregset)
7242 (sparc32_linux_fpregset): New static regset structures.
7243 (sparc32_linux_init_abi): Drop dynamic regset allocations.
7244 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
7245 'fpregset' fields.
7246 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
7247 (sparc64_linux_fpregset): New static regset structures.
7248 (sparc64_linux_init_abi): Drop dynamic regset allocations.
7249 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
7250 New static regset structures.
7251 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
7252 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
7253 New static regset structures.
7254 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
7255 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
7256 New static regset structures.
7257 (sparc64obsd_init_abi): Drop dynamic regset allocations.
7258 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
7259 New static regset structures.
7260 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
7261
b4fd25c9
AA
72622014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7263
7264 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
7265 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
7266 register maps ("regmaps") from "*regset" to "*regmap". Do this
7267 for all regmap types and variables.
7268 * sparc-linux-tdep.c (sparc32_linux_step_trap)
7269 (sparc32_linux_supply_core_gregset)
7270 (sparc32_linux_collect_core_gregset)
7271 (sparc32_linux_supply_core_fpregset)
7272 (sparc32_linux_collect_core_fpregset): Likewise.
7273 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
7274 (sparc_gregmap, sparc_fpregmap): ... these.
7275 (sparc_supply_gregset, sparc_collect_gregset)
7276 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7277 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
7278 (_initialize_sparc_nat): Rename regmaps.
7279 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
7280 (sparc_gregmap, sparc_fpregmap): ... these.
7281 (sparc_supply_gregset, sparc_collect_gregset)
7282 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7283 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
7284 Rename macros to...
7285 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
7286 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
7287 Likewise.
7288 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
7289 Rename to...
7290 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
7291 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
7292 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
7293 regmaps.
7294 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7295 (sparc32_bsd_fpregset): Rename to...
7296 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7297 (sparc32_bsd_fpregmap): ... these.
7298 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
7299 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7300 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
7301 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
7302 (struct sparc_gregmap, struct sparc_fpregmap)
7303 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7304 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
7305 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
7306 (sparc32_supply_regset, sparc32_collect_gregset)
7307 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
7308 prototypes.
7309 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
7310 (sparc64_linux_ptrace_gregmap): ... this.
7311 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
7312 (_initialize_sparc64_linux_nat): Rename regmaps.
7313 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
7314 (sparc64_linux_core_gregmap): ... this.
7315 (sparc64_linux_supply_core_gregset)
7316 (sparc64_linux_collect_core_gregset)
7317 (sparc64_linux_supply_core_fpregset)
7318 (sparc64_linux_collect_core_fpregset): Rename regmaps.
7319 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
7320 (sparc64_sol2_fpregset): Rename to...
7321 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
7322 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
7323 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
7324 regmaps.
7325 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
7326 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
7327 (sparc64_bsd_fpregset): Rename to...
7328 (struct sparc_gregmap, sparc64_sol2_gregmap)
7329 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
7330 (sparc64_bsd_fpregmap): ... these.
7331 (sparc64_supply_gregset, sparc64_collect_gregset)
7332 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
7333 prototypes.
7334 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
7335 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
7336 (sparc64fbsd_gregmap): ... this.
7337 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
7338 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
7339 Rename regmaps.
7340 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
7341 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
7342 (sparc64nbsd_collect_fpregset): Likewise.
7343 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
7344 (sparc64nbsd_gregmap): ... this.
7345 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
7346 regmaps.
7347 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
7348 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
7349 (sparc64obsd_gregmap): ... this.
7350 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
7351 regmaps.
7352 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
7353 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
7354 (sparc32nbsd_gregmap): ... this.
7355 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
7356 regmaps.
7357
8fea3224
AA
73582014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7359
7360 * score-tdep.c (score7_linux_gregset): New static regset
7361 structure.
7362 (score7_linux_regset_from_core_section): Remove dynamic regset
7363 allocation.
7364 (score_gdbarch_init): Drop allocation of tdep structure.
7365 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
7366
24534243
AA
73672014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7368
7369 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
7370 regset structures.
7371 (am33_regset_from_core_section): Remove dynamic regset
7372 allocations.
7373
b7195f27
AA
73742014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7375
7376 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
7377 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
7378 structures.
7379 (mips_linux_regset_from_core_section): Remove dynamic regset
7380 allocations.
7381 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7382 'gregset64', 'fpregset', and 'fpregset64'.
7383 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
7384 deleted tdep fields.
7385
ecc37a5a
AA
73862014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7387
7388 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
7389 regset structures.
7390 (amd64_regset_from_core_section): Remove dynamic regset
7391 allocations.
7392 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
7393 structure.
7394 (amd64obsd_regset_from_core_section): Remove dynamic regset
7395 allocation.
7396 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
7397 Likewise.
7398 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
7399 x86-common regset supply function.
7400 * i386-tdep.c (i386_collect_gregset): Make static.
7401 (i386_gregset): New global regset structure.
7402 (i386_fpregset, i386_xstateregset): New static regset structures.
7403 (i386_regset_from_core_section): Remove dynamic regset
7404 allocations.
7405 (i386_gdbarch_init): Remove initialization of tdep fields
7406 'gregset', 'fpregset', and 'xstateregset'.
7407 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7408 'fpregset', and 'xstateregset'.
7409 (i386_collect_gregset): Remove prototype.
7410 (i386_gregset): New declaration.
7411 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
7412 structure.
7413 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
7414 allocation.
7415
b7611c43
AA
74162014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7417
7418 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
7419 (arm_linux_vfpregset): New static regset structures.
7420 (arm_linux_regset_from_core_section): Remove dynamic allocation of
7421 regset structures.
7422 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
7423 and 'vfpregset' fields.
7424
a069a2bd
AA
74252014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7426
7427 * aarch64-linux-tdep.c (aarch64_linux_gregset)
7428 (aarch64_linux_fpregset): New static regset structures.
7429 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
7430 of regset structures.
7431 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
7432 'fpregset' fields.
7433
09424cff
AA
74342014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7435
7436 * regset.h (struct regset): Remove gdbarch field.
7437 * regset.c (regset_alloc): Drop initialization of gdbarch field.
7438 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7439 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
7440 Likewise.
7441 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
7442 (ppc32_linux_fpregset, ppc32_linux_vrregset)
7443 (ppc32_linux_vsxregset): Likewise.
7444 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
7445 via the regcache instead of the regset.
7446 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
7447 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
7448 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
7449 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
7450 Likewise.
7451
3ca7dae4
AA
74522014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7453
7454 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
7455 Constify structures.
7456 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
7457 (alphanbsd_aout_gregset): Likewise.
7458 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
7459 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7460 Likewise.
7461 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7462 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7463 Likewise.
7464 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7465 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7466 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7467 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7468 * m88k-tdep.c (m88k_gregset): Likewise.
7469 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7470 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7471 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7472 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7473 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7474 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7475 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7476 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7477 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7478 Likewise.
7479 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7480 * sh-tdep.h (sh_corefile_gregset): Likewise.
7481 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7482 * vax-tdep.c (vax_gregset): Likewise.
7483
5876f503
JK
74842014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7485
7486 Fix TLS access for -static -pthread.
7487 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7488 (try_thread_db_load_1): Initialize it.
7489 (thread_db_get_thread_local_address): Call it if LM is zero.
7490 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7491 * target.h (struct target_ops) (to_get_thread_local_address): Add
7492 load_module_addr comment.
7493
0256a6ac
PA
74942014-05-21 Pedro Alves <palves@redhat.com>
7495
7496 * dcache.c (dcache_read_memory_partial): If reading the cache line
7497 fails, fallback to reading just the memory the caller wanted.
7498
227533ac
DE
74992014-05-20 Doug Evans <dje@google.com>
7500
7501 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7502 instead of get_current_arch.
7503
936d2992
PA
75042014-05-20 Pedro Alves <palves@redhat.com>
7505
7506 * NEWS: Mention that compare-sections now works with all targets.
7507
7508 * remote.c (PACKET_qCRC): New enum value.
7509 (remote_verify_memory): Don't send qCRC if the target has no
7510 execution. Use packet_support/packet_ok. If the target doesn't
7511 support the qCRC packet, fallback to a deep memory copy.
7512 (compare_sections_command): Say "target image" instead of "remote
7513 executable".
7514 (_initialize_remote): Add PACKET_qCRC to the list of config
7515 packets that have no associated command. Extend comment.
7516 * target.c (simple_verify_memory, default_verify_memory): New
7517 function.
7518 * target.h (struct target_ops) <to_verify_memory>: Default to
7519 default_verify_memory.
7520 (simple_verify_memory): New declaration.
7521 * target-delegates.c: Regenerate.
7522
e59fa00f
MM
75232014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7524
7525 * record-btrace.c (record_btrace_step_thread): Check for empty history.
7526
f2205de0
HZ
75272014-05-20 Hui Zhu <hui@codesourcery.com>
7528 Yao Qi <yao@codesourcery.com>
7529
7530 PR backtrace/16558
7531 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
7532 and change address of sp and pc.
7533
c4e54771
TT
75342014-05-19 Tom Tromey <tromey@redhat.com>
7535
7536 * gdbtypes.c (rank_function): Use XNEWVEC.
7537 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
7538
73051182
DE
75392014-05-19 Doug Evans <dje@google.com>
7540
7541 * dwarf2read.c (build_type_psymtabs_1): Renamed from
7542 build_type_unit_groups and moved closer to only caller. Remove
7543 arguments. All references updated. Remove outdated .gdb_index
7544 comment.
7545 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
7546 build_type_psymtabs_1.
7547
8832e7e3
DE
75482014-05-19 Doug Evans <dje@google.com>
7549
7550 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
7551 n_type_unit_groups, all_type_unit_groups. All uses removed.
7552 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
7553 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
7554 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
7555 (add_type_unit_group_to_table): Delete.
7556
cd8ae15e
DE
75572014-05-19 Doug Evans <dje@google.com>
7558
7559 * eval.c (evaluate_subexp_standard): Add some comments.
7560
08f4850b
DE
75612014-05-17 Doug Evans <xdje42@gmail.com>
7562
7563 * progspace.c (remove_program_space): Delete, unused.
7564 * progspace.h (remove_program_space): Ditto.
7565
bed8455c
DE
75662014-05-17 Doug Evans <xdje42@gmail.com>
7567
7568 * inferior.c (prune_inferiors): Fix comment.
7569 (remove_inferior_command): Call prune_program_spaces.
7570
8d551b02
DE
75712014-05-16 Doug Evans <dje@google.com>
7572
7573 New command line option -D.
7574 * NEWS: Mention it.
7575 * main.c (set_gdb_data_directory): New function.
7576 (captured_main): Recognize -D. Flag error for --data-directory "".
7577 Call set_gdb_data_directory.
7578 (print_gdb_help): Print --data-directory, -D.
7579 * main.h (set_gdb_data_directory): Declare.
7580 * top.c (staged_gdb_datadir): New static global.
7581 (set_gdb_datadir): Call set_gdb_data_directory
7582 (show_gdb_datadir): New function.
7583 (init_main): Update init of data-directory parameter.
7584
18848e28
GF
75852014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
7586
7587 Import the "dirfd" gnulib module.
7588 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
7589 * gnulib/aclocal.m4: Update.
7590 * gnulib/config.in: Update.
7591 * gnulib/configure: Update.
7592 * gnulib/import/Makefile.am: Update.
7593 * gnulib/import/Makefile.in: Update.
7594 * gnulib/import/dirfd.c: New.
7595 * gnulib/import/m4/dirfd.m4: New.
7596 * gnulib/import/m4/gnulib-cache.m4: Update.
7597 * gnulib/import/m4/gnulib-comp.m4: Update.
7598
95c64f92
YQ
75992014-05-16 Pierre Muller <muller@sourceware.org>
7600 Yao Qi <yao@codesourcery.com>
7601
7602 * valprint.c (print_wchar): Move the code on checking whether
7603 W is a printable wide char to the default branch of switch
7604 statement below. Call wchar_printable instead of gdb_iswprint.
7605
cac395ea
TM
76062014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
7607
19679eca 7608 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
7609 ldr.w and ldrd instructions.
7610
83655187
DE
76112014-05-15 Doug Evans <dje@google.com>
7612
7613 * dwarf2read.c (read_structure_type): Delete outdated comments.
7614
dd756689
TT
76152014-05-14 Tom Tromey <tromey@redhat.com>
7616
7617 * macrocmd.c (print_macro_definition): Reindent.
7618
75ddda77
DE
76192014-05-13 Doug Evans <xdje42@gmail.com>
7620
7621 * python/py-cmd.c (cmdpy_completer): Add comment.
7622 (completers): Make const.
7623
b0f16a3e
SM
76242014-05-13 Simon Marchi <simon.marchi@ericsson.com>
7625
7626 * infrun.c (resume): Remove should_resume (unused). Move up
7627 declaration of resume_ptid.
7628
033c3379
TT
76292014-05-13 Tom Tromey <tromey@redhat.com>
7630
7631 * language.h (unop_type_check): Remove.
7632 (binop_type_check): Don't declare.
7633
9b44a3a5
AA
76342014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
7635
7636 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
7637 call to regcache_raw_collect.
7638
303a33fa
SM
76392014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7640
7641 * mi/mi-console.c (mi_console_raw_packet): Use the value from
7642 mi_console->quote as the quoting character.
7643
196100a0
SM
76442014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7645
7646 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
7647
f989a1c8
TT
76482014-04-29 Tom Tromey <tromey@redhat.com>
7649
7650 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
7651 "show debug varobj".
7652
9404b58f
KM
76532014-05-07 Kyle McMartin <kyle@redhat.com>
7654
7655 Pushed by Joel Brobecker <brobecker@adacore.com>.
7656 * aarch64-tdep.c (aarch64_software_single_step): New function.
7657 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
7658 with aarch64_software_single_step.
7659
5e49ba57
JB
76602014-05-05 Joel Brobecker <brobecker@adacore.com>
7661
7662 GDB 7.7.1 released.
7663
c888a17d
KS
76642014-05-05 Keith Seitz <keiths@redhat.com>
7665
7666 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
7667 variable or history value is successfully parsed.
7668
290a839c
YQ
76692014-05-05 Yao Qi <yao@codesourcery.com>
7670 Pedro Alves <palves@redhat.com>
7671
7672 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
7673 address of blocks that intersects the requested range. Trim
7674 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
7675 sections.
7676 * ctf.c (ctf_xfer_partial): Likewise.
7677
91256dc2
YQ
76782014-05-05 Yao Qi <yao@codesourcery.com>
7679
7680 * printcmd.c (display_command): Remove the check to
7681 target_has_execution.
7682
07284463
MK
76832014-05-03 Mark Kettenis <kettenis@gnu.org>
7684
7685 * ppcobsd-nat.c: Include "obsd-nat.h".
7686 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
7687 add_target.
7688 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7689
30a1e6cc
SDJ
76902014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7691
7692 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
7693 and 16-bit signed and unsigned arguments. Update comment.
7694 (stap_parse_probe_arguments): Extend code to handle such
7695 arguments. Use warning instead of complaint to notify about
7696 unrecognized bitness.
7697
f33da99a
SDJ
76982014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7699
7700 PR breakpoints/16889
7701 * stap-probe.c (stap_parse_probe_arguments): Simplify
7702 check for non-prefixed probes (i.e., probes whose
7703 arguments do not start with "N@"). Always set the
7704 argument type to a sane value.
7705
95cf3b38
DT
77062014-05-01 David Taylor <dtaylor@emc.com>
7707
7708 * remote.c (compare_sections_command): Add -r option to compare
7709 all loadable read-only sections.
7710
1cfdf534
SC
77112014-04-30 Siva Chandra Reddy <sivachandra@google.com>
7712
7713 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
7714 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
7715 Update all callers.
7716 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
7717 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
7718 Remove unused CORE_ADDR argument. Update all callers.
7719
ca4f7f8b
PA
77202014-04-29 Pedro Alves <palves@redhat.com>
7721
7722 * remote.c (struct packet_config) <detect>: Extend comment.
7723 (add_packet_config_cmd): Don't set the config's detect or support
7724 fields here.
7725 (init_all_packet_configs): Also initialize the config's 'detect'
7726 field.
7727 (reset_all_packet_configs_support): New function.
7728 (remote_open_1): Call reset_all_packet_configs_support instead of
7729 init_all_packet_configs.
7730 (_initialize_remote): Initialize all packet configs. Assert that
7731 all packets have an associated command, except a few known
7732 outliers.
7733
11c1ba78
JB
77342014-04-28 Joel Brobecker <brobecker@adacore.com>
7735
7736 * dwarf2read.c (read_subrange_type): Handle dynamic
7737 DW_AT_lower_bound attributes.
7738
8739bc53
JB
77392014-04-28 Joel Brobecker <brobecker@adacore.com>
7740
7741 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
7742 dynamic bounds before computing its upper bound.
7743 (ada_discrete_type_low_bound): Same as above with the lower bound.
7744
6f8a3220
JB
77452014-04-28 Joel Brobecker <brobecker@adacore.com>
7746
7747 * dwarf2read.c (is_dynamic_type): Return true for dynamic
7748 range types. Adjust the array handling implementation to
7749 take advantage of this change.
7750 (resolve_dynamic_range): New function, mostly extracted from
7751 resolve_dynamic_bounds.
7752 (resolve_dynamic_array): New function, mostly extracted from
7753 resolve_dynamic_bounds.
7754 (resolve_dynamic_bounds): Delete.
7755 (resolve_dynamic_type): Reimplement. Add handling of
7756 TYPE_CODE_RANGE types.
7757
4d072ce4
JB
77582014-04-28 Joel Brobecker <brobecker@adacore.com>
7759
7760 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
7761 handling of parallel ___XA types.
7762
52865325
JB
77632014-04-28 Joel Brobecker <brobecker@adacore.com>
7764
7765 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
7766 unnecessary second call to static_unwrap_type.
7767
433e77fa
HZ
77682014-04-27 Hui Zhu <hui@codesourcery.com>
7769
7770 * stack.c (print_frame_info): Call do_gdb_disassembly with
7771 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
7772
b51a69ee
DE
77732014-04-26 Doug Evans <xdje42@gmail.com>
7774
7775 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
7776
7ae1a6a6
PA
77772014-04-25 Pedro Alves <palves@redhat.com>
7778
7779 PR server/16255
7780 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
7781 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
7782 and newline from built string.
7783 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
7784 (linux_ptrace_attach_fail_reason): ... this.
7785 * linux-nat.c (linux_nat_attach): Adjust to use
7786 linux_ptrace_attach_fail_reason.
7787
4082afcc
PA
77882014-04-25 Pedro Alves <palves@redhat.com>
7789
7790 * remote.c (struct remote_state): Remove multi_process_aware,
7791 non_stop_aware, cond_tracepoints, cond_breakpoints,
7792 breakpoint_commands, fast_tracepoints, static_tracepoints,
7793 install_in_trace, disconnected_tracing,
7794 enable_disable_tracepoints, string_tracing, and
7795 augmented_libraries_svr4_read fields.
7796 (remote_multi_process_p): Move further below in the file.
7797 (struct packet_config): Add comments.
7798 (update_packet_config): Delete function.
7799 (show_packet_config_cmd): Use packet_config_support.
7800 (add_packet_config_cmd): Use NULL as set callback.
7801 (packet_ok): "set remote foo-packet"-style commands no longer
7802 change config->supported -- adjust.
7803 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
7804 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
7805 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
7806 (PACKET_QNonStop, PACKET_multiprocess_feature)
7807 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
7808 (PACKET_DisconnectedTracing_feature)
7809 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
7810 (set_remote_protocol_packet_cmd): Delete function.
7811 (packet_config_support, packet_support): New functions.
7812 (set_remote_protocol_Z_packet_cmd): Don't call
7813 update_packet_config.
7814 (remote_query_attached, remote_pass_signals)
7815 (remote_program_signals, remote_threads_info)
7816 (remote_threads_extra_info, remote_start_remote): Use
7817 packet_support.
7818 (remote_start_remote): Use packet_config_support and
7819 packet_support.
7820 (init_all_packet_configs): Set all packets to unknown support,
7821 instead of calling update_packet_config.
7822 (remote_check_symbols): Use packet_support.
7823 (remote_supported_packet): Unconditionally set the packet config's
7824 support status.
7825 (remote_multi_process_feature, remote_non_stop_feature)
7826 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
7827 (remote_breakpoint_commands_feature)
7828 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
7829 (remote_install_in_trace_feature)
7830 (remote_disconnected_tracing_feature)
7831 (remote_enable_disable_tracepoint_feature)
7832 (remote_string_tracing_feature)
7833 (remote_augmented_libraries_svr4_read_feature): Delete functions.
7834 (remote_protocol_features): Adjust to use remote_supported_packet
7835 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
7836 "ConditionalTracepoints", "ConditionalBreakpoints",
7837 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
7838 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
7839 "EnableDisableTracepoints", and "tracenz".
7840 (remote_query_supported): Use packet_support.
7841 (remote_open_1): Adjust.
7842 (extended_remote_attach_1): Use packet_support. Switch on the
7843 result of packet_ok instead of checking whether the packet ended
7844 up disabled.
7845 (remote_vcont_resume): Use packet_support.
7846 (remote_resume, remote_stop_ns, fetch_register_using_p)
7847 (remote_prepare_to_store, store_register_using_P)
7848 (check_binary_download, remote_write_bytes): Use packet_support.
7849 (remote_vkill): Use packet_support. Switch on the result of
7850 packet_ok instead of checking whether the packet ended up
7851 disabled.
7852 (extended_remote_supports_disable_randomization): Use
7853 packet_support.
7854 (extended_remote_run): Switch on the result of packet_ok instead
7855 of checking whether the packet ended up disabled.
7856 (remote_insert_breakpoint, remote_remove_breakpoint)
7857 (remote_insert_watchpoint, remote_remove_watchpoint)
7858 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
7859 packet_support.
7860 (remote_search_memory): Use packet_config_support.
7861 (remote_get_thread_local_address, remote_get_tib_address)
7862 (remote_hostio_send_command, remote_can_execute_reverse): Use
7863 packet_support.
7864 (remote_supports_cond_tracepoints)
7865 (remote_supports_cond_breakpoints)
7866 (remote_supports_fast_tracepoints)
7867 (remote_supports_static_tracepoints)
7868 (remote_supports_install_in_trace)
7869 (remote_supports_enable_disable_tracepoint)
7870 (remote_supports_string_tracing)
7871 (remote_can_run_breakpoint_commands): Rewrite, checking whether
7872 the packet config says the feature is enabled or disabled.
7873 (remote_download_tracepoint, remote_trace_set_readonly_regions)
7874 (remote_get_trace_status): Use packet_support.
7875 (remote_set_disconnected_tracing): Adjust to check whether the
7876 feature is enabled with packet_support.
7877 (remote_set_trace_buffer_size, remote_use_agent)
7878 (remote_can_use_agent, remote_supports_btrace): Use
7879 packet_support.
7880 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
7881 Use packet_config_support.
7882 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
7883 the packet config says the feature is enabled or disabled.
7884 (set_range_stepping): Use packet_support.
7885
bdb52a22
TT
78862014-04-25 Tom Tromey <tromey@redhat.com>
7887
7888 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
7889 argument.
7890
e9475ead
SA
78912014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
7892
7893 * NEWS: Mention support for C99 variable length arrays.
7894
82eacd52
JB
78952014-04-24 Joel Brobecker <brobecker@adacore.com>
7896
7897 * ada-lang.c (standard_exc): Expand introductory comment.
7898
01f9f808
MS
78992014-04-24 Michael Sturm <michael.sturm@mintel.com>
7900 Walfred Tedeschi <walfred.tedeschi@intel.com>
7901
7902 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
7903 AVX512 registers.
7904 (amd64_linux_read_description): Add code to handle AVX512 xstate
7905 mask and return respective tdesc.
7906 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
7907 and features/i386/x32-avx512-linux.c.
7908 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
7909 (amd64_linux_core_read_description): Add code to handle AVX512
7910 xstate mask and return respective tdesc.
7911 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
7912 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
7913 calculation.
7914 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
7915 (tdesc_amd64_avx512_linux): New prototype.
7916 (tdesc_x32_avx512_linux): Likewise.
7917 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
7918 features/i386/x32-avx512.c.
7919 (amd64_ymm_avx512_names): New register names for pseudo
7920 registers YMM16-31.
7921 (amd64_ymmh_avx512_names): New register names for raw registers
7922 YMMH16-31.
7923 (amd64_k_names): New register names for K registers.
7924 (amd64_zmmh_names): New register names for ZMM raw registers.
7925 (amd64_zmm_names): New registers names for ZMM pseudo registers.
7926 (amd64_xmm_avx512_names): New register names for XMM16-31
7927 registers.
7928 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
7929 registers.
7930 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
7931 if feature is present.
7932 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
7933 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
7934 (AMD64_NUM_REGS): Adjust to new number of registers.
7935 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
7936 registers supplied via XSTATE by AVX512 registers.
7937 (i386_linux_read_description): Add case for AVX512.
7938 * i386-linux-tdep.c: Include i386-avx512-linux.c.
7939 (i386_linux_gregset_reg_offset): Add AVX512 registers.
7940 (i386_linux_core_read_description): Add case for AVX512.
7941 (i386_linux_init_abi): Install supported register note section
7942 for AVX512.
7943 (_initialize_i386_linux_tdep): Add call to tdesc init function for
7944 AVX512.
7945 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
7946 registers to be number of zmm7h + 1.
7947 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
7948 * i386-tdep.c: Include features/i386/i386-avx512.c.
7949 (i386_zmm_names): Add ZMM pseudo register names array.
7950 (i386_zmmh_names): Add ZMM raw register names array.
7951 (i386_k_names): Add K raw register names array.
7952 (num_lower_zmm_regs): Add constant for the number of lower ZMM
7953 registers. AVX512 has 16 more ZMM registers than there are YMM
7954 registers.
7955 (i386_zmmh_regnum_p): Add function to look up register number of
7956 ZMM raw registers.
7957 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
7958 (i386_k_regnum_p): Likewise for K raw registers.
7959 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
7960 registers added by AVX512.
7961 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
7962 registers added by AVX512.
7963 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
7964 added by AVX512.
7965 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
7966 (i386_pseudo_register_name): Add ZMM pseudo registers.
7967 (i386_zmm_type): Construct and return vector registers type for ZMM
7968 registers.
7969 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
7970 ZMM0-31 pseudo registers and K registers.
7971 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
7972 and YMM16-31 registers from register cache.
7973 (i386_pseudo_register_write): Add code to write K, ZMM and
7974 YMM16-31 registers.
7975 (i386_register_reggroup_p): Add code to include/exclude AVX512
7976 registers in/from respective register groups.
7977 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
7978 registers if feature is present in xcr0.
7979 (i386_gdbarch_init): Add code to initialize AVX512 feature
7980 variables in tdep structure, wire in pseudo registers and call
7981 initialize_tdesc_i386_avx512.
7982 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
7983 variables.
7984 (i386_regnum): Add AVX512 registers.
7985 (I386_SSE_NUM_REGS): New define for number of SSE registers.
7986 (I386_AVX_NUM_REGS): Likewise for AVX registers.
7987 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
7988 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
7989 512 bits wide.
7990 (i386_xmm_avx512_regnum_p): New prototype for register look up.
7991 (i386_ymm_avx512_regnum_p): Likewise.
7992 (i386_k_regnum_p): Likewise.
7993 (i386_zmm_regnum_p): Likewise.
7994 (i386_zmmh_regnum_p): Likewise.
7995 * i387-tdep.c : Update year in copyright notice.
7996 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
7997 XSAVE buffer.
7998 (XSAVE_YMM_AVX512_ADDR): New macro.
7999 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
8000 XSAVE buffer.
8001 (XSAVE_XMM_AVX512_ADDR): New macro.
8002 (xsave_avx512_k_offset): New table for K register offsets in
8003 XSAVE buffer.
8004 (XSAVE_AVX512_K_ADDR): New macro.
8005 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
8006 in XSAVE buffer.
8007 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
8008 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
8009 buffer.
8010 (i387_collect_xsave): Add code to collect AVX512 registers from
8011 XSAVE buffer.
8012 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
8013 of XMM16-31 registers.
8014 (I387_NUM_K_REGS): New define for number of K registers.
8015 (I387_K0_REGNUM): New define for K0 register number.
8016 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
8017 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
8018 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
8019 registers.
8020 (I387_YMM16H_REGNUM): New define for YMM16H register number.
8021 (I387_XMM16_REGNUM): New define for XMM16 register number.
8022 (I387_YMM0_REGNUM): New define for YMM0 register number.
8023 (I387_KEND_REGNUM): New define for last K register number.
8024 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
8025 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
8026 number.
8027 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
8028 number.
8029 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
8030 size.
8031 * features/Makefile: Add AVX512 related files.
8032 * features/i386/32bit-avx512.xml: New file.
8033 * features/i386/64bit-avx512.xml: Likewise.
8034 * features/i386/amd64-avx512-linux.c: Likewise.
8035 * features/i386/amd64-avx512-linux.xml: Likewise.
8036 * features/i386/amd64-avx512.c: Likewise.
8037 * features/i386/amd64-avx512.xml: Likewise.
8038 * features/i386/i386-avx512-linux.c: Likewise.
8039 * features/i386/i386-avx512-linux.xml: Likewise.
8040 * features/i386/i386-avx512.c: Likewise.
8041 * features/i386/i386-avx512.xml: Likewise.
8042 * features/i386/x32-avx512-linux.c: Likewise.
8043 * features/i386/x32-avx512-linux.xml: Likewise.
8044 * features/i386/x32-avx512.c: Likewise.
8045 * features/i386/x32-avx512.xml: Likewise.
8046 * regformats/i386/amd64-avx512-linux.dat: New file.
8047 * regformats/i386/amd64-avx512.dat: Likewise.
8048 * regformats/i386/i386-avx512-linux.dat: Likewise.
8049 * regformats/i386/i386-avx512.dat: Likewise.
8050 * regformats/i386/x32-avx512-linux.dat: Likewise.
8051 * regformats/i386/x32-avx512.dat: Likewise.
8052 * NEWS: Add note about new support for AVX512.
8053
8054
08351840
PA
80552014-04-23 Pedro Alves <palves@redhat.com>
8056
8057 * breakpoint.c (insert_bp_location): Tolerate errors if the
8058 breakpoint is set in a user-loaded objfile.
8059 (remove_breakpoint_1): Likewise. Also tolerate errors if the
8060 location is marked shlib_disabled. If the breakpoint is set in a
8061 user-loaded objfile is a GDB-side memory breakpoint, validate it
8062 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
8063 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
8064 flag.
8065 * mem-break.c (memory_validate_breakpoint): New function.
8066 * objfiles.c (userloaded_objfile_contains_address_p): New
8067 function.
8068 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
8069 * target.h (memory_validate_breakpoint): New declaration.
8070
076855f9
PA
80712014-04-23 Pedro Alves <palves@redhat.com>
8072
8073 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
8074 the breakpoint is set in a shared library, only suppress
8075 errors for software breakpoints, not hardware breakpoints.
8076
483805cf
PA
80772014-04-22 Pedro Alves <palves@redhat.com>
8078
8079 * infrun.c (schedlock_applies): New function, factored out from
8080 find_thread_needs_step_over.
8081 (find_thread_needs_step_over): Use it.
8082 (switch_back_to_stepped_thread): Always clear trap_expected if the
8083 step over is finished. Return early if scheduler locking applies.
8084 Look for the stepping thread and a potential step-over thread with
8085 a single loop.
8086 (currently_stepping_or_nexting_callback): Delete.
8087
a75fef0e
NC
80882014-04-22 Nick Clifton <nickc@redhat.com>
8089
8090 * NEWS: Mention that ARM sim now supports tracing.
8091
48b6e87e
YQ
80922014-04-22 Yao Qi <yao@codesourcery.com>
8093
8094 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
8095 to ...
8096 * tracefile.c (tracefile_fetch_registers): ... it. New
8097 function.
8098 * tracefile.h (tracefile_fetch_registers): Declare.
8099 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
8100 tracefile_fetch_registers.
8101
17617f2d
EZ
81022014-04-19 Eli Zaretskii <eliz@gnu.org>
8103
8104 PR gdb/14018
8105 * windows-nat.c (thread_rec): Don't display a warning when
8106 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
8107 fails for any reason, set th->suspended to -1, so that we don't
8108 try to resume such a thread. Also, don't return NULL in these
8109 cases, to avoid completely ruin the session due to "PC register is
8110 not available" error.
8111 (do_windows_fetch_inferior_registers): Check errors in
8112 GetThreadContext call.
8113 (windows_continue): Accept an additional argument KILLED; if not
8114 zero, ignore errors in the SetThreadContext call, since the
8115 inferior was killed and is shutting down.
8116 (windows_resume, get_windows_debug_event)
8117 (windows_create_inferior, windows_mourn_inferior)
8118 (windows_kill_inferior): All callers of windows_continue changed
8119 to adjust to its new calling sequence.
8120
5723a6fd
YQ
81212014-04-19 Yao Qi <yao@codesourcery.com>
8122
8123 * ctf.c (ctf_open): Call post_create_inferior.
8124
614d5099
YQ
81252014-04-19 Yao Qi <yao@codesourcery.com>
8126
8127 * ctf.c (handle_id): New static variable.
8128 (ctf_open_dir): Get handle_id from bt_context_add_trace return
8129 value. Get the declaration of event "register" and get length
8130 of field "contents".
8131
dac3e710
YQ
81322014-04-19 Yao Qi <yao@codesourcery.com>
8133
8134 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
8135
2bca57ba
SC
81362014-04-18 Siva Chandra Reddy <sivachandra@google.com>
8137
8138 * valops.c (oload_method_static): Remove unnecessary argument
8139 METHOD. Update all callers.
8140
51d48146
PA
81412014-04-18 Pedro alves <palves@redhat.com>
8142 Tom Tromey <tromey@redhat.com>
8143
8144 PR backtrace/15558
8145 * frame.c (get_prev_frame_1): Rename to ...
8146 (get_prev_frame_always): ... this, and make extern. Adjust.
8147 (skip_artificial_frames): Use get_prev_frame_always.
8148 (frame_unwind_caller_id, frame_pop, get_prev_frame)
8149 (get_frame_unwind_stop_reason): Adjust to rename.
8150 * frame.h (get_prev_frame_always): Declare.
8151 * inline-frame.c: Include frame.h.
8152 (inline_frame_this_id): Use get_prev_frame_always.
8153
1bdad2e0
TG
81542014-04-18 Tristan Gingold <gingold@adacore.com>
8155
8156 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
8157 code by using bfd_mach_o_get_base_address.
8158
7ce16bd4
UW
81592014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
8160
8161 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
8162 (spu_ax_pseudo_register_collect): New function.
8163 (spu_ax_pseudo_register_push_stack): Likewise.
8164 (spu_dwarf_reg_to_regnum): Likewise.
8165 (spu_gdbarch_init): Install them. Append DWARF unwinders.
8166
2ed3c037
UW
81672014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
8168
8169 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
8170 Replace FRAME argument with FRAME_ID.
8171 * gdbarch.c, gdbarch.h: Regenerate.
8172 * findvar.c (default_value_from_register): Add GDBARCH argument;
8173 replace FRAME by FRAME_ID. No longer call get_frame_id.
8174 (value_from_register): Update call to gdbarch_value_from_register.
8175 * value.h (default_value_from_register): Update prototype.
8176 * s390-linux-tdep.c (s390_value_from_register): Update interface
8177 and call to default_value_from_register.
8178 * spu-tdep.c (spu_value_from_register): Likewise.
8179
8180 * findvar.c (address_from_register): Remove TYPE argument.
8181 Do not call value_from_register; use gdbarch_value_from_register
8182 with null_frame_id instead.
8183 * value.h (address_from_register): Update prototype.
8184 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
8185 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
8186 address_from_register interface change.
8187
71e50e83
YQ
81882014-04-17 Yao Qi <yao@codesourcery.com>
8189
8190 * gdbtypes.h: Update comments to link to types and macros'
8191 definitions.
8192
7a23c549
SC
81932014-04-16 Siva Chandra Reddy <sivachandra@google.com>
8194
8195 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
8196
22869d73
KS
81972014-04-16 Keith Seitz <keiths@redhat.com>
8198
8199 PR gdb/15827
8200 * dwarf2read.c (skip_one_die): Check that all relative-offset
8201 sibling DIEs fall within range of the current reader's buffer.
8202 (read_partial_die): Likewise.
8203
c4f87ca6
KS
82042014-04-16 Keith Seitz <keiths@redhat.com>
8205
8206 PR c++/16597
8207 * cp-namespace.c (lookup_symbol_file): If the type name of
8208 `this' is NULL, return immediately.
8209
b50c8614
KS
82102014-04-14 Keith Seitz <keiths@redhat.com>
8211
8212 PR c++/16253
8213 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
8214 from symbol_matches_domain in symtab.c. All local callers
8215 of symbol_matches_domain updated.
8216 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
8217 search STRUCT_DOMAIN.
8218 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
8219 independently. standard_lookup will do that automatically.
8220 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
8221 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8222 (cp_lookup_symbol_in_namespace): Likewise.
8223 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
8224 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
8225 may return a STRUCT_DOMAIN match.
8226 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
8227 * cp-support.c: Include language.h.
8228 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
8229 VAR_DOMAIN.
8230 * psymtab.c (match_partial_symbol): Compare the requested
8231 domain with the symbol's domain directly.
8232 (lookup_partial_symbol): Likewise.
8233 * symtab.c (lookup_symbol_in_language): Explain when/why
8234 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8235 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
8236 appropriate languages.
8237 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
8238 and moved to ada-lang.c
8239 (lookup_block_symbol): Explain that this function only returns
8240 symbol matching the requested DOMAIN.
8241 Compare the requested domain with the symbol's domain directly.
8242 (iterate_over_symbols): Compare the requested domain with the
8243 symbol's domain directly.
8244 * symtab.h (symbol_matches_domain): Remove.
8245
3d567982
TT
82462014-04-14 Tom Tromey <tromey@redhat.com>
8247
8248 PR c++/15246:
8249 * c-exp.y (type_aggregate_p): New function.
8250 (qualified_name, classify_inner_name): Use it.
8251 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
8252 and TYPE_TARGET_TYPE of an enum type.
8253 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
8254 an enum type.
8255 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
8256 handle TYPE_DECLARED_CLASS.
8257 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
8258 types.
8259 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
8260 * valops.c (enum_constant_from_type): New function.
8261 (value_aggregate_elt): Use it.
8262 * cp-namespace.c (cp_lookup_nested_symbol): Handle
8263 TYPE_CODE_ENUM.
8264
c848d642
TT
82652014-04-14 Tom Tromey <tromey@redhat.com>
8266
8267 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
8268 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
8269 const.
8270 * value.h (value_aggregate_elt): Update.
8271
0626fc76
TT
82722014-04-14 Tom Tromey <tromey@redhat.com>
8273
8274 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
8275
5ecaaa66
SA
82762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8277
8278 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8279 (evaluate_subexp_standard): Pass noside argument.
8280 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8281 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8282 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8283 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8284 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8285
1612e0c0
SA
82862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8287
8288 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8289 points to a constant blob.
8290
c451ebe5
SA
82912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8292
8293 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8294 property and store it as the high bound and flag the range accordingly.
8295 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8296 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8297 * gdbtypes.h (enum range_flags): New enum.
8298 (struct range_bounds): Add flags member.
8299
1d42e4c4
SA
83002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8301
8302 * c-typeprint.c (c_type_print_varspec_suffix): Added
8303 check for not yet resolved high bound. If unresolved, print
8304 "variable length" string to the console instead of random
8305 length.
8306
9f1f738a
SA
83072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8308
8309 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
8310 value.
8311 (ada_template_to_fixed_record_type_1): Likewise.
8312 (ada_to_fixed_type_1): Likewise.
8313 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8314 (cp_print_value): Likewise.
8315 * d-valprint.c (dynamic_array_type): Likewise.
8316 * findvar.c (address_of_variable): Likewise.
8317 * jv-valprint.c (java_value_print): Likewise.
8318 * valops.c (value_ind): Likewise.
8319 * value.c (coerce_ref): Likewise.
8320
3c8452d4
SA
83212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8322
8323 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8324 value and retrieve the dynamic type size.
8325
4ad88275
SA
83262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8327
8328 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8329 passed to sizeof is dynamic evaluate the argument to compute the length.
8330
80180f79
SA
83312014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8332 Joel Brobecker <brobecker@adacore.com>
8333
8334 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8335 (dwarf2_evaluate_property): New function.
8336 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8337 * dwarf2read.c (attr_to_dynamic_prop): New function.
8338 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8339 attribute.
8340 * gdbtypes.c: Include dwarf2loc.h.
8341 (is_dynamic_type): New function.
8342 (resolve_dynamic_type): New function.
8343 (resolve_dynamic_bounds): New function.
8344 (get_type_length): New function.
8345 (check_typedef): Use get_type_length to compute type length.
8346 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8347 (TYPE_LOW_BOUND_KIND): New macro.
8348 (is_dynamic_type): New function prototype.
8349 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8350 to resolve dynamic properties of the type. Update comment.
8351 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8352
a1556843
RH
83532014-04-14 Richard Henderson <rth@redhat.com>
8354
8355 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
8356
0be03e84
DE
83572014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8358 Doug Evans <xdje42@gmail.com>
8359
8360 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
8361 dereference TYPE_CODE_REF values.
8362
6b662e19
JB
83632014-04-11 Joel Brobecker <brobecker@adacore.com>
8364
8365 Revert the following changes due to regressions:
8366
8367 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8368 (dwarf2_evaluate_property): New function.
8369 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8370 * dwarf2read.c (attr_to_dynamic_prop): New function.
8371 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8372 attribute.
8373 * gdbtypes.c: Include dwarf2loc.h.
8374 (is_dynamic_type): New function.
8375 (resolve_dynamic_type): New function.
8376 (resolve_dynamic_bounds): New function.
8377 (get_type_length): New function.
8378 (check_typedef): Use get_type_length to compute type length.
8379 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8380 (TYPE_LOW_BOUND_KIND): New macro.
8381 (is_dynamic_type): New function prototype.
8382 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8383 to resolve dynamic properties of the type. Update comment.
8384 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8385
8386 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8387 passed to sizeof is dynamic evaluate the argument to compute the length.
8388
8389 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8390 value and retrieve the dynamic type size.
8391
8392 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8393 (ada_template_to_fixed_record_type_1): Likewise.
8394 (ada_to_fixed_type_1): Likewise.
8395 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8396 (cp_print_value): Likewise.
8397 * d-valprint.c (dynamic_array_type): Likewise.
8398 * eval.c (evaluate_subexp_with_coercion): Likewise.
8399 * findvar.c (address_of_variable): Likewise.
8400 * jv-valprint.c (java_value_print): Likewise.
8401 * valops.c (value_ind): Likewise.
8402 * value.c (coerce_ref): Likewise.
8403
8404 * c-typeprint.c (c_type_print_varspec_suffix): Added
8405 check for not yet resolved high bound. If unresolved, print
8406 "variable length" string to the console instead of random
8407 length.
8408
8409 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8410 property and store it as the high bound and flag the range accordingly.
8411 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8412 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8413 * gdbtypes.h (enum range_flags): New enum.
8414 (struct range_bounds): Add flags member.
8415
8416 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8417 points to a constant blob.
8418
8419 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8420 (evaluate_subexp_standard): Pass noside argument.
8421 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8422 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8423 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8424 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8425 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8426
245a5f0b
KS
84272014-04-11 Keith Seitz <keiths@redhat.com>
8428
8429 PR c++/16675
8430 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
8431 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
8432 reference types.
8433
3bce8237
SA
84342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8435
8436 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8437 (evaluate_subexp_standard): Pass noside argument.
8438 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8439 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8440 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8441 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8442 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8443
92b09522
SA
84442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8445
8446 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8447 points to a constant blob.
8448
e1969afb
SA
84492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8450
8451 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8452 property and store it as the high bound and flag the range accordingly.
8453 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8454 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8455 * gdbtypes.h (enum range_flags): New enum.
8456 (struct range_bounds): Add flags member.
8457
b86138fb
SA
84582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8459
8460 * c-typeprint.c (c_type_print_varspec_suffix): Added
8461 check for not yet resolved high bound. If unresolved, print
8462 "variable length" string to the console instead of random
8463 length.
8464
bcd629a4
SA
84652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8466
8467 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8468 (ada_template_to_fixed_record_type_1): Likewise.
8469 (ada_to_fixed_type_1): Likewise.
8470 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8471 (cp_print_value): Likewise.
8472 * d-valprint.c (dynamic_array_type): Likewise.
8473 * eval.c (evaluate_subexp_with_coercion): Likewise.
8474 * findvar.c (address_of_variable): Likewise.
8475 * jv-valprint.c (java_value_print): Likewise.
8476 * valops.c (value_ind): Likewise.
8477 * value.c (coerce_ref): Likewise.
8478
04b19544
SA
84792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8480
8481 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8482 value and retrieve the dynamic type size.
8483
26cb189f
SA
84842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8485
8486 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8487 passed to sizeof is dynamic evaluate the argument to compute the length.
8488
37c1ab67
SA
84892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8490
8491 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8492 (dwarf2_evaluate_property): New function.
8493 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8494 * dwarf2read.c (attr_to_dynamic_prop): New function.
8495 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8496 attribute.
8497 * gdbtypes.c: Include dwarf2loc.h.
8498 (is_dynamic_type): New function.
8499 (resolve_dynamic_type): New function.
8500 (resolve_dynamic_bounds): New function.
8501 (get_type_length): New function.
8502 (check_typedef): Use get_type_length to compute type length.
8503 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8504 (TYPE_LOW_BOUND_KIND): New macro.
8505 (is_dynamic_type): New function prototype.
8506 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8507 to resolve dynamic properties of the type. Update comment.
8508 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8509
729efb13
SA
85102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8511
8512 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8513 declaring high/low bounds and change uses accordingly. Call
8514 create_range_type instead of create_static_range_type.
8515 * gdbtypes.c (create_range_type): New function.
8516 (create_range_type): Convert bounds into struct bound_prop and pass
8517 them to create_range_type.
8518 * gdbtypes.h (struct bound_prop): New struct.
8519 (create_range_type): New function prototype.
8520 (struct range_bounds): Use struct bound_prop instead of LONGEST for
8521 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
8522 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
8523 part of the bound.
8524 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
8525
0c9c3474
SA
85262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8527
8528 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
8529 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
8530 * ada-lang.c: All uses of create_range_type updated.
8531 * coffread.c: All uses of create_range_type updated.
8532 * dwarf2read.c: All uses of create_range_type updated.
8533 * f-exp.y: All uses of create_range_type updated.
8534 * m2-valprint.c: All uses of create_range_type updated.
8535 * mdebugread.c: All uses of create_range_type updated.
8536 * stabsread.c: All uses of create_range_type updated.
8537 * valops.c: All uses of create_range_type updated.
8538 * valprint.c: All uses of create_range_type updated.
8539
9d497a19
PA
85402014-04-10 Pedro Alves <palves@redhat.com>
8541
8542 * breakpoint.c (single_step_breakpoints)
8543 (single_step_gdbarch): Move up in the file.
8544 (one_breakpoint_xfer_memory): New function, factored out from ...
8545 (breakpoint_xfer_memory): ... here. Also process single-step
8546 breakpoints.
8547
15a9128a
TG
85482014-04-09 Tristan Gingold <gingold@adacore.com>
8549
8550 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
8551 comments.
8552 (darwin_decode_exception_message): Free port only after use.
8553
9c97a070
PL
85542014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
8555
8556 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
8557 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
8558 when setting the size of call_length.
8559
7af389b8
SC
85602014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8561
8562 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
8563 dereference TYPE_CODE_REF values.
8564
86ad98c3
JB
85652014-04-07 Joel Brobecker <brobecker@adacore.com>
8566
8567 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
8568 end of warning message.
8569
b0aeadb3
DE
85702014-04-03 Doug Evans <dje@google.com>
8571
8572 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
8573 of stub_comp_unit_die, stub_comp_dir is non-NULL.
8574
5979d6b6
AM
85752014-04-02 Alan Modra <amodra@gmail.com>
8576
8577 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
8578 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
8579 (struct symbol_file_add_from_memory_args): Add size field.
8580 (find_vdso_size): New function.
8581 (add_vsyscall_page): Attempt to find vdso size.
8582
0d60c288
DE
85832014-04-01 Doug Evans <dje@google.com>
8584
8585 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
8586
a41f2563
TG
85872014-04-01 Tristan Gingold <gingold@adacore.com>
8588
8589 * darwin-nat.c (darwin_encode_reply): Add prototype.
8590 (darwin_decode_exception_message): Reply to unknown inferiors.
8591 (darwin_decode_message): Handle message by id. Ignore message
8592 to unknown inferior.
8593 (darwin_wait): Discard unknown messages, add debug trace.
8594
11a865c8
DE
85952014-03-31 Doug Evans <dje@google.com>
8596
8597 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
8598 comp_dir_string.
8599
770e7fc7
DE
86002014-03-31 Doug Evans <dje@google.com>
8601
8602 New option "set print symbol-loading".
8603 * NEWS: Mention it.
8604 * solib.c (solib_read_symbols): Only print symbol loading messages
8605 if requested.
8606 (solib_add): If symbol loading is in "brief" mode, notify user
8607 symbols are being loaded.
8608 (reload_shared_libraries_1): Ditto.
8609 * symfile.c (print_symbol_loading_off): New static global.
8610 (print_symbol_loading_brief): New static global.
8611 (print_symbol_loading_full): New static global.
8612 (print_symbol_loading_enums): New static global.
8613 (print_symbol_loading): New static global.
8614 (print_symbol_loading_p): New function.
8615 (symbol_file_add_with_addrs): Only print symbol loading messages
8616 if requested.
8617 (_initialize_symfile): Register "print symbol-loading" set/show
8618 command.
8619 * symfile.h (print_symbol_loading_p): Declare.
8620
c32c64b7
DE
86212014-03-30 Doug Evans <xdje42@gmail.com>
8622
8623 * infrun.c (set_last_target_status): New function.
8624 (handle_inferior_event): Call it.
8625
7c0bc051
DE
86262014-03-30 Doug Evans <xdje42@gmail.com>
8627
8628 * inferior.h (enum stop_kind): Improve comment.
8629
8776cfe9
JB
86302014-03-28 Joel Brobecker <brobecker@adacore.com>
8631
8632 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
8633 a reference, strip the reference layer before calling
8634 the lang_ops value_has_mutated callback.
8635
410a0ff2
SDJ
86362014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
8637
8638 Remove some globals from our parser.
8639 * language.c (unk_lang_parser): Add "struct parser_state"
8640 argument.
8641 * language.h (struct language_defn) <la_parser>: Likewise.
8642 * parse.c (expout, expout_size, expout_ptr): Remove variables.
8643 (initialize_expout): Add "struct parser_state" argument.
8644 Rewrite function to use the parser state.
8645 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
8646 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
8647 write_exp_elt_longcst, write_exp_elt_dblcst,
8648 write_exp_elt_decfloatcst, write_exp_elt_type,
8649 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8650 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
8651 write_dollar_variable): Likewise.
8652 (parse_exp_in_context_1): Use parser state.
8653 (insert_type_address_space): Add "struct parser_state" argument.
8654 Use parser state.
8655 (increase_expout_size): New function.
8656 * parser-defs.h: Forward declare "struct language_defn" and
8657 "struct parser_state".
8658 (expout, expout_size, expout_ptr): Remove extern declarations.
8659 (parse_gdbarch, parse_language): Rewrite macro declarations to
8660 accept the parser state.
8661 (struct parser_state): New struct.
8662 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
8663 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
8664 write_exp_elt_decfloatcst, write_exp_elt_type,
8665 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8666 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
8667 write_exp_msymbol, write_dollar_variable,
8668 mark_struct_expression, insert_type_address_space): Add "struct
8669 parser_state" argument.
8670 (increase_expout_size): New function.
8671 * utils.c (do_clear_parser_state): New function.
8672 (make_cleanup_clear_parser_state): Likewise.
8673 * utils.h (make_cleanup_clear_parser_state): New function
8674 prototype.
8675 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
8676 Update calls to write_exp* in order to pass the parser state.
8677 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
8678 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
8679 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8680 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
8681 * stap-probe.c (stap_parse_register_operand): Likewise.
8682 (stap_parse_single_operand): Likewise.
8683 (stap_parse_argument_1): Likewise.
8684 (stap_parse_argument): Use parser state.
8685 * stap-probe.h: Include "parser-defs.h".
8686 (struct stap_parse_info) <pstate>: New field.
8687 * c-exp.y (parse_type): Rewrite to use parser state.
8688 (yyparse): Redefine to c_parse_internal.
8689 (pstate): New global variable.
8690 (parse_number): Add "struct parser_state" argument.
8691 (write_destructor_name): Likewise.
8692 (type_exp): Update calls to write_exp* and similars in order to
8693 use parser state.
8694 (exp1, exp, variable, qualified_name, space_identifier,
8695 typename, typebase): Likewise.
8696 (write_destructor_name, parse_number, lex_one_token,
8697 classify_name, classify_inner_name, c_parse): Add "struct
8698 parser_state" argument. Update function to use parser state.
8699 * c-lang.h: Forward declare "struct parser_state".
8700 (c_parse): Add "struct parser_state" argument.
8701 * ada-exp.y (parse_type): Rewrite macro to use parser state.
8702 (yyparse): Redefine macro to ada_parse_internal.
8703 (pstate): New variable.
8704 (write_int, write_object_renaming, write_var_or_type,
8705 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
8706 type_int, type_long, type_long_long, type_float, type_double,
8707 type_long_double, type_char, type_boolean, type_system_address):
8708 Add "struct parser_state" argument.
8709 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
8710 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
8711 var_or_type, aggregate, aggregate_component_list,
8712 positional_list, others, component_group,
8713 component_associations): Update calls to write_exp* and similar
8714 functions in order to use parser state.
8715 (ada_parse, write_var_from_sym, write_int,
8716 write_exp_op_with_string, write_object_renaming,
8717 find_primitive_type, write_selectors, write_ambiguous_var,
8718 write_var_or_type, write_name_assoc, type_int, type_long,
8719 type_long_long, type_float, type_double, type_long_double,
8720 type_char, type_boolean, type_system_address): Add "struct
8721 parser_state" argument. Adjust function to use parser state.
8722 * ada-lang.c (parse): Likewise.
8723 * ada-lang.h: Forward declare "struct parser_state".
8724 (ada_parse): Add "struct parser_state" argument.
8725 * ada-lex.l (processInt, processReal): Likewise. Adjust all
8726 calls to both functions.
8727 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
8728 parser state.
8729 (yyparse): Redefine macro to f_parse_internal.
8730 (pstate): New variable.
8731 (parse_number): Add "struct parser_state" argument.
8732 (type_exp, exp, subrange, typebase): Update calls to write_exp*
8733 and similars in order to use parser state.
8734 (parse_number): Adjust code to use parser state.
8735 (yylex): Likewise.
8736 (f_parse): New function.
8737 * f-lang.h: Forward declare "struct parser_state".
8738 (f_parse): Add "struct parser_state" argument.
8739 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
8740 parser state.
8741 (yyparse): Redefine macro for java_parse_internal.
8742 (pstate): New variable.
8743 (push_expression_name, push_expression_name, insert_exp): Add
8744 "struct parser_state" argument.
8745 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
8746 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
8747 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
8748 PostIncrementExpression, PostDecrementExpression,
8749 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
8750 UnaryExpressionNotPlusMinus, CastExpression,
8751 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
8752 RelationalExpression, EqualityExpression, AndExpression,
8753 ExclusiveOrExpression, InclusiveOrExpression,
8754 ConditionalAndExpression, ConditionalOrExpression,
8755 ConditionalExpression, Assignment, LeftHandSide): Update
8756 calls to write_exp* and similars in order to use parser state.
8757 (parse_number): Ajust code to use parser state.
8758 (yylex): Likewise.
8759 (java_parse): New function.
8760 (push_variable): Add "struct parser_state" argument. Adjust
8761 code to user parser state.
8762 (push_fieldnames, push_qualified_expression_name,
8763 push_expression_name, insert_exp): Likewise.
8764 * jv-lang.h: Forward declare "struct parser_state".
8765 (java_parse): Add "struct parser_state" argument.
8766 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
8767 parser state.
8768 (yyparse): Redefine macro to m2_parse_internal.
8769 (pstate): New variable.
8770 (type_exp, exp, fblock, variable, type): Update calls to
8771 write_exp* and similars to use parser state.
8772 (yylex): Likewise.
8773 (m2_parse): New function.
8774 * m2-lang.h: Forward declare "struct parser_state".
8775 (m2_parse): Add "struct parser_state" argument.
8776 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
8777 * objc-lang.h: Forward declare "struct parser_state".
8778 (end_msglist): Add "struct parser_state" argument.
8779 * p-exp.y (parse_type): Rewrite macro to use parser state.
8780 (yyparse): Redefine macro to pascal_parse_internal.
8781 (pstate): New variable.
8782 (parse_number): Add "struct parser_state" argument.
8783 (type_exp, exp1, exp, qualified_name, variable): Update calls to
8784 write_exp* and similars in order to use parser state.
8785 (parse_number, yylex): Adjust code to use parser state.
8786 (pascal_parse): New function.
8787 * p-lang.h: Forward declare "struct parser_state".
8788 (pascal_parse): Add "struct parser_state" argument.
8789 * go-exp.y (parse_type): Rewrite macro to use parser state.
8790 (yyparse): Redefine macro to go_parse_internal.
8791 (pstate): New variable.
8792 (parse_number): Add "struct parser_state" argument.
8793 (type_exp, exp1, exp, variable, type): Update calls to
8794 write_exp* and similars in order to use parser state.
8795 (parse_number, lex_one_token, classify_name, yylex): Adjust code
8796 to use parser state.
8797 (go_parse): Likewise.
8798 * go-lang.h: Forward declare "struct parser_state".
8799 (go_parse): Add "struct parser_state" argument.
8800
342587c4
DE
88012014-03-27 Doug Evans <dje@google.com>
8802
8803 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
8804
33e80786
DE
88052014-03-27 Doug Evans <dje@google.com>
8806
8807 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
8808 Remove argument abbrev_section. All callers updated.
8809
1dbab08b
DE
88102014-03-27 Doug Evans <dje@google.com>
8811
8812 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
8813 addr_base, ranges_base.
8814
318d3177
KS
88152014-03-26 Keith Seitz <keiths@redhat.com>
8816
8817 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
8818 types, not VAR_DOMAIN.
8819
1e54db15
SL
88202014-03-25 Sandra Loosemore <sandra@codesourcery.com>
8821
8822 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
8823 "ra" registers.
8824 * features/nios2-linux.c: Regenerated.
8825 * features/nios2.c: Regenerated.
8826
d3839ede
PA
88272014-03-25 Pedro Alves <palves@redhat.com>
8828
8829 * cli/cli-script.c (script_from_file): Force the interpreter to
8830 sync mode.
8831
7588d2ec
PL
88322014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8833
8834 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
8835 small stack allocation.
8836
a6290449
TG
88372014-03-24 Tristan Gingold <gingold@adacore.com>
8838
8839 * darwin-nat.c (exc_server): Remove unused prototype.
8840 (darwin_dump_message): Correctly display data on x86_64.
8841 (darwin_encode_reply): Fix style.
8842 Add comments and fix indentation.
8843
31ae9d24 88442014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
8845
8846 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
8847
6339bfc4
DE
88482014-03-22 Doug Evans <xdje42@gmail.com>
8849
8850 * infcmd.c: Whitespace fixes.
8851 (interrupt_command): Merge two function comments into one.
8852
0a07590b
DE
88532014-03-22 Doug Evans <xdje42@gmail.com>
8854
8855 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
8856 All uses updated.
8857
b55fbac4
YQ
88582014-03-22 Yao Qi <yao@codesourcery.com>
8859
8860 * remote.c (target_read_live_memory): Remove.
8861 (memory_xfer_live_readonly_partial): Rename it to
8862 remote_xfer_live_readonly_partial. Remove argument 'object'.
8863 All callers updated. Call remote_read_bytes_1
8864 instead of target_read_live_memory.
8865 * tracepoint.c (set_traceframe_number): Remove.
8866 (make_cleanup_restore_traceframe_number): Likewise .
8867 * tracepoint.h (set_traceframe_number): Remove declaration.
8868 (make_cleanup_restore_traceframe_number): Likewise.
8869
9217e74e
YQ
88702014-03-22 Yao Qi <yao@codesourcery.com>
8871
8872 * remote.c (remote_read_bytes): Move code on reading from the
8873 remote stub to ...
8874 (remote_read_bytes_1): ... here. New function.
8875
8acf9577
YQ
88762014-03-22 Yao Qi <yao@codesourcery.com>
8877
8878 * ctf.c (ctf_xfer_partial): Check the return value of
8879 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
8880 return TARGET_XFER_UNAVAILABLE.
8881 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8882 * target.c (target_read_live_memory): Move it to remote.c.
8883 (memory_xfer_live_readonly_partial): Likewise.
8884 (memory_xfer_partial_1): Move some code to remote_read_bytes.
8885 * remote.c (target_read_live_memory): Moved from target.c.
8886 (memory_xfer_live_readonly_partial): Likewise.
8887 (remote_read_bytes): Factored out from
8888 memory_xfer_partial_1.
8889
feef67ab
DE
88902014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
8891
8892 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
8893 NULL pointer.
8894
b65dc60b
PA
88952014-03-21 Pedro Alves <palves@redhat.com>
8896
8897 * infrun.c (normal_stop): Extend comment.
8898
b4ab256d
HZ
88992014-03-21 Hui Zhu <hui@codesourcery.com>
8900 Pedro Alves <palves@redhat.com>
8901
8902 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
8903 static buffer.
8904 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
8905 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
8906 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
8907
deba7593
MR
89082014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
8909
8910 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
8911 `z' formatted output modifier.
8912
1bff71c3
SDJ
89132014-03-20 Tom Tromey <tromey@redhat.com>
8914 Sergio Durigan Junior <sergiodj@redhat.com>
8915
8916 * probe.c (parse_probes): Turn assert into an ordinary error.
8917 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
8918 exceptions when parsing probes. Rearrange the code for clarity.
8919
90e28950
TT
89202014-03-20 Tom Tromey <tromey@redhat.com>
8921
8922 PR gdb/14135
8923 * top.c (execute_command): Only dispatch events if the command
8924 started the target.
8925
beb460e8
PA
89262014-03-20 Tom Tromey <tromey@redhat.com>
8927
8928 PR cli/15718
8929 * infcall.c: Include event-top.h.
8930 (run_inferior_call): Call async_disable_stdin if needed.
8931
99619bea
PA
89322014-03-20 Pedro Alves <palves@redhat.com>
8933
8934 * infrun.c (prepare_to_proceed): Delete.
8935 (thread_still_needs_step_over): New function.
8936 (find_thread_needs_step_over): New function.
8937 (proceed): If the current thread needs a step-over, set its
8938 steping_over_breakpoint flag. Adjust to use
8939 find_thread_needs_step_over instead of prepare_to_proceed.
8940 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
8941 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
8942 breakpoint.
8943 (switch_back_to_stepped_thread): Step over breakpoints of all
8944 threads not the stepping thread, before switching back to the
8945 stepping thread.
8946
2adfaa28
PA
89472014-03-20 Pedro Alves <palves@redhat.com>
8948
8949 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
8950 extern.
8951 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
8952 * infrun.c (saved_singlestep_ptid)
8953 (stepping_past_singlestep_breakpoint): Delete.
8954 (resume): Remove stepping_past_singlestep_breakpoint handling.
8955 (proceed): Store the prev_pc of the stepping thread too.
8956 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
8957 singlestep_pc.
8958 (enum infwait_states): Delete infwait_thread_hop_state.
8959 (struct execution_control_state) <hit_singlestep_breakpoint>: New
8960 field.
8961 (handle_inferior_event): Adjust.
8962 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
8963 handling and the thread-hop code. Before removing single-step
8964 breakpoints, check whether the thread hit a single-step breakpoint
8965 of another thread. If it did, the trap is not a random signal.
8966 (switch_back_to_stepped_thread): If the event thread hit a
8967 single-step breakpoint, unblock it before switching to the
8968 stepping thread. Handle the case of the stepped thread having
8969 advanced already.
8970 (keep_going): Handle the case of the current thread moving past a
8971 single-step breakpoint.
8972
31e77af2
PA
89732014-03-20 Pedro Alves <palves@redhat.com>
8974
8975 PR breakpoints/7143
8976 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
8977 are being stepped over.
8978 (breakpoint_address_match): Make extern.
8979 * breakpoint.h (breakpoint_address_match): New declaration.
8980 * inferior.h (stepping_past_instruction_at): New declaration.
8981 * infrun.c (struct step_over_info): New type.
8982 (step_over_info): New global.
8983 (set_step_over_info, clear_step_over_info)
8984 (stepping_past_instruction_at): New functions.
8985 (handle_inferior_event): Clear the step-over info when
8986 trap_expected is cleared.
8987 (resume): Remove now stale comment.
8988 (clear_proceed_status): Clear step-over info.
8989 (proceed): Adjust step-over handling to set or clear the step-over
8990 info instead of removing all breakpoints.
8991 (handle_signal_stop): When setting up a thread-hop, don't remove
8992 breakpoints here.
8993 (stop_stepping): Clear step-over info.
8994 (keep_going): Adjust step-over handling to set or clear step-over
8995 info and then always inserting breakpoints, instead of removing
8996 all breakpoints when stepping over one.
8997
b9f437de
PA
89982014-03-20 Pedro Alves <palves@redhat.com>
8999
9000 * infrun.c (previous_inferior_ptid): Adjust comment.
9001 (deferred_step_ptid): Delete.
9002 (infrun_thread_ptid_changed, prepare_to_proceed)
9003 (init_wait_for_inferior): Adjust.
9004 (handle_signal_stop): Delete deferred_step_ptid handling.
9005
06c868a8
JK
90062014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9007
9008 PR gdb/15358
9009 * defs.h (sync_quit_force_run): New declaration.
9010 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
9011 * event-top.c (async_sigterm_handler): New declaration.
9012 (async_sigterm_token): New variable.
9013 (async_init_signals): Create also async_sigterm_token.
9014 (async_sigterm_handler): New function.
9015 (sync_quit_force_run): New variable.
9016 (handle_sigterm): Replace quit_force call by other calls.
9017 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
9018
dea80df0
MR
90192014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
9020
9021 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
9022 offset into SPE pseudo registers.
9023
0c7e1a46
PA
90242014-03-18 Pedro Alves <palves@redhat.com>
9025
9026 PR gdb/13860
9027 * inferior.h (print_stop_event): Declare.
9028 * infrun.c (print_stop_event): New, factored out from ...
9029 (normal_stop): ... this.
9030 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
9031 of bpstat_print/print_stack_frame.
9032
9c1fcd01
TT
90332014-03-17 Tom Tromey <tromey@redhat.com>
9034
9035 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
9036
11aa919a
PMR
90372014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
9038
9039 * ada-lang.c (decode_constrained_packed_array): Perform a
9040 minimal coercion for reference with coerce_ref instead of
9041 ada_coerce_ref.
9042
d4ccb5e0
TG
90432014-03-17 Tristan Gingold <gingold@adacore.com>
9044
9045 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
9046 (darwin_solib_create_inferior_hook): Emit a warning if version
9047 is unhandled.
9048
49840f2a
UW
90492014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
9050
9051 * python/py-value.c (get_field_flag): Cast flag_name argument to
9052 PyObject_GetAttrString to support Python 2.4.
9053
ed4123e5
JK
90542014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9055
9056 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
9057 (Global Maintainers): Remove Jan Kratochvil.
9058
d6b64346
PA
90592014-03-14 Pedro Alves <palves@redhat.com>
9060
9061 * inferior.h (terminal_ours_for_output): Rename to ...
9062 (child_terminal_ours_for_output): ... this.
9063 (terminal_save_ours): Rename to ...
9064 (child_terminal_save_ours): ... this.
9065 (terminal_ours): Rename to ...
9066 (child_terminal_ours): ... this.
9067 (terminal_inferior): Rename to ...
9068 (child_terminal_inferior): ... this.
9069 (terminal_init_inferior): Rename to ...
9070 (child_terminal_init_inferior): ... this.
9071 (terminal_init_inferior_with_pgrp): Rename to ...
9072 (child_terminal_init_inferior_with_pgrp): ... this.
9073 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
9074 (child_terminal_init_with_pgrp): ... this.
9075 (terminal_save_ours): Rename to ...
9076 (child_terminal_save_ours): ... this.
9077 (terminal_init_inferior): Rename to ...
9078 (child_terminal_init): ... this. Adjust.
9079 (terminal_inferior): Rename to ...
9080 (child_terminal_inferior): ... this.
9081 (terminal_ours_for_output): Rename to ...
9082 (child_terminal_ours_for_output): ... this. Adjust.
9083 (terminal_ours): Rename to ...
9084 (child_terminal_ours): ... this.
9085 (terminal_ours_1): Rename to ...
9086 (child_terminal_ours_1): ... this. Adjust.
9087 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
9088 * windows-nat.c (do_initial_windows_stuff): Adjust.
9089 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
9090 (gnu_terminal_init): ... this. Adjust.
9091 (gnu_target): Adjust.
9092 * inf-child.c (inf_child_target): Adjust.
9093
5a1e8c7a
DE
90942014-03-13 Doug Evans <xdje42@gmail.com>
9095
9096 PR guile/16612
9097 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
9098 new eq?-hashtab.
9099
350e1a76
DE
91002014-03-13 Doug Evans <xdje42@gmail.com>
9101
9102 * value.c (record_latest_value): Call release_value_or_incref
9103 instead of release_value.
9104
a69900ae
PA
91052014-03-13 Pedro Alves <palves@redhat.com>
9106
9107 * procfs.c (procfs_target): Don't override to_shortname,
9108 to_longname or to_doc.
9109
5db9f0bd
PA
91102014-03-13 Pedro Alves <palves@redhat.com>
9111
9112 * inf-child.c (inf_child_open, inf_child_target): Don't mention
9113 Unix in user visible strings.
9114
5e3a2c38
SS
91152014-03-12 Stan Shebs <stan@codesourcery.com>
9116
9117 * gdbtypes.h: Annotate comments for Doxygen, add a page
9118 block comment with some general info.
9119
8bc2fe48
PA
91202014-03-12 Pedro Alves <palves@redhat.com>
9121
9122 * infcmd.c (prepare_execution_command): New function, factored out
9123 from several execution commands.
9124 (run_command_1, continue_command, step_1, jump_command)
9125 (signal_command, until_command, advance_command, finish_command)
9126 (attach_command): Use prepare_execution_command.
9127
638c5f49
OJ
91282014-03-12 Omair Javaid <omair.javaid@linaro.org>
9129
9130 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
9131 (MAX_BPTS): Define.
9132 (MAX_WPTS): Define.
9133 (struct arm_linux_thread_points): Removed.
9134 (struct arm_linux_process_info): New.
9135 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
9136 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
9137 (arm_linux_find_breakpoints_by_tid): Removed.
9138 (struct arch_lwp_info): New.
9139 (arm_linux_find_process_pid): New functions.
9140 (arm_linux_add_process): New functions.
9141 (arm_linux_process_info_get): New functions.
9142 (arm_linux_forget_process): New function.
9143 (arm_linux_get_debug_reg_state): New function.
9144 (struct update_registers_data): New.
9145 (update_registers_callback): New function.
9146 (arm_linux_insert_hw_breakpoint1): Updated.
9147 (arm_linux_remove_hw_breakpoint1): Updated.
9148 (arm_linux_insert_hw_breakpoint): Updated.
9149 (arm_linux_remove_hw_breakpoint): Updated.
9150 (arm_linux_insert_watchpoint): Updated.
9151 (arm_linux_remove_watchpoint): Updated.
9152 (arm_linux_new_thread): Updated.
9153 (arm_linux_prepare_to_resume): New function.
9154 (arm_linux_new_fork): New function.
9155 (_initialize_arm_linux_nat): Updated.
9156
6d03af93
PA
91572014-03-12 Pedro Alves <palves@redhat.com>
9158
9159 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
9160
b3ccfe11
TT
91612014-03-12 Tom Tromey <tromey@redhat.com>
9162
9163 * inf-child.c (return_zero): New function.
9164 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
9165 * aix-thread.c (aix_thread_inferior_created): New function.
9166 (aix_thread_attach): Remove.
9167 (init_aix_thread_ops): Don't set to_attach.
9168 (_initialize_aix_thread): Register inferior_created observer.
9169 * corelow.c (init_core_ops): Don't set to_attach or
9170 to_create_inferior.
9171 * exec.c (init_exec_ops): Don't set to_attach or
9172 to_create_inferior.
9173 * infcmd.c (run_command_1): Use find_run_target. Make direct
9174 target calls.
9175 (attach_command): Use find_attach_target. Make direct target
9176 calls.
9177 * record-btrace.c (init_record_btrace_ops): Don't set
9178 to_create_inferior.
9179 * record-full.c (record_full_can_async_p, record_full_is_async_p):
9180 Remove.
9181 (init_record_full_ops, init_record_full_core_ops): Update. Don't
9182 set to_create_inferior.
9183 * target.c (complete_target_initialization): Add assertion.
9184 (target_create_inferior): Remove.
9185 (find_default_attach, find_default_create_inferior): Remove.
9186 (find_attach_target, find_run_target): New functions.
9187 (find_default_is_async_p, find_default_can_async_p)
9188 (target_supports_non_stop, target_attach): Remove.
9189 (init_dummy_target): Don't set to_create_inferior or
9190 to_supports_non_stop.
9191 * target.h (struct target_ops) <to_attach>: Add comment. Remove
9192 TARGET_DEFAULT_FUNC.
9193 <to_create_inferior>: Add comment.
9194 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
9195 TARGET_DEFAULT_RETURN.
9196 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
9197 (find_attach_target, find_run_target): Declare.
9198 (target_create_inferior): Remove.
9199 (target_has_execution_1): Update comment.
9200 (target_supports_non_stop): Remove.
9201 * target-delegates.c: Rebuild.
9202
91f83b02
PA
92032014-03-12 Pedro Alves <palves@redhat.com>
9204
9205 * inf-child.h: Update comment to not mention Unix.
9206
f1aea813
PA
92072014-03-12 Pedro Alves <palves@redhat.com>
9208
9209 * inf-child.c: Update top comment to not mention Unix. Add
9210 generic comment describing how this target is meant to be used.
9211 (inf_child_post_attach, inf_child_post_startup_inferior)
9212 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
9213 Unix in comment.
9214
ee8e9165
PA
92152014-03-12 Pedro Alves <palves@redhat.com>
9216
9217 * nto-procfs.c: Include inf-child.h.
9218 (procfs_ops): Delete global.
9219 (procfs_can_run): Delete method.
9220 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
9221 target pointer instead of referencing procfs_ops.
9222 (procfs_prepare_to_store): Delete.
9223 (init_procfs_ops): Delete function.
9224 (procfs_target): New function, based on init_procfs_ops, but
9225 inherit inf_child_target.
9226 (_initialize_procfs): Use procfs_target.
9227
51a9c8c5
PA
92282014-03-12 Pedro Alves <palves@redhat.com>
9229
9230 * windows-nat.c: Include inf-child.h.
9231 (windows_ops): Delete global.
9232 (windows_open, windows_prepare_to_store, windows_can_run): Delete
9233 methods.
9234 (init_windows_ops): Delete function.
9235 (windows_target): New function, based on init_windows_ops, but
9236 inherit inf_child_target.
9237 (_initialize_windows_nat): Use windows_target. Install x86
9238 specific target methods here.
9239
c1966e26
DE
92402014-03-10 Doug Evans <xdje42@gmail.com>
9241
9242 * guile/guile.c (call_initialize_gdb_module): New function.
9243 (initialize_guile): Replace call to scm_init_guile with call to
9244 scm_with_guile.
9245
023db19c
JB
92462014-03-10 Joel Brobecker <brobecker@adacore.com>
9247
9248 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
9249 in call to TYPE_CODE macro.
9250
5ec18f2b
JG
92512014-03-10 Jerome Guitton <guitton@adacore.com>
9252
8668be63
JB
9253 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
9254 Resolve tagged types to full view.
5ec18f2b 9255
7d03f2eb
HZ
92562014-03-10 Hui Zhu <hui@codesourcery.com>
9257
9258 * target.h (target_insert_breakpoint): Remove "hardware" from its
9259 comments.
9260
c5164cbc
DE
92612014-03-07 Doug Evans <dje@google.com>
9262
9263 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
9264
c4a3fee2
DE
92652014-03-07 Doug Evans <dje@google.com>
9266
9267 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
9268 Remove unused local comp_dir_attr. Assert exactly one of
9269 stub_comp_unit_die, stub_comp_dir is non-NULL.
9270
3156469c
JB
92712014-03-07 Joel Brobecker <brobecker@adacore.com>
9272
9273 * target.h (complete_target_initialization, add_target):
9274 Add comment.
9275
c1a7b7c6
PA
92762014-03-07 Pedro Alves <palves@redhat.com>
9277
9278 * go32-nat.c: Include inf-child.h.
9279 (go32_ops): Delete global.
9280 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
9281 Delete methods.
9282 (go32_create_inferior): Push the passed in target pointer instead
9283 of referencing go32_ops.
9284 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
9285 (go32_target): New function, based on init_go32_ops, but inherit
9286 inf_child_target.
9287 (_initialize_go32_nat): Use go32_target. Move parts of
9288 init_go32_ops here.
9289
d3c1a85f
JB
92902014-03-06 Joel Brobecker <brobecker@adacore.com>
9291
9292 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
9293 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
9294 SYMBOL_VALUE_ADDRESS.
9295 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
9296
5fa1d40e
YQ
92972014-03-06 Yao Qi <yao@codesourcery.com>
9298
9299 * breakpoint.c (get_tracepoint_by_number): Remove argument
9300 optional_p. All callers updated. Adjust comments. Update
9301 output message.
9302 * breakpoint.h (get_tracepoint_by_number): Update declaration.
9303
0c13193f
YQ
93042014-03-06 Yao Qi <yao@codesourcery.com>
9305
9306 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
9307 early if get_number returns zero. Use 'p' instead of 'args'.
9308
2217da06
YQ
93092014-03-06 Yao Qi <yao@codesourcery.com>
9310
9311 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
9312 message.
9313
cc3da688
YQ
93142014-03-06 Yao Qi <yao@codesourcery.com>
9315
9316 PR breakpoints/16508
9317 * tracepoint.c (check_trace_running): New function.
9318 (trace_find_command): Move code to check_trace_running and
9319 call check_trace_running.
9320 (trace_find_pc_command): Likewise.
9321 (trace_find_tracepoint_command): Likewise.
9322 (trace_find_line_command): Likewise.
9323 (trace_find_range_command): Likewise.
9324 * tracepoint.h (check_trace_running): Likewise.
9325 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
9326
6a5f844b
YQ
93272014-03-06 Yao Qi <yao@codesourcery.com>
9328
9329 * target.h (struct target_ops) <to_traceframe_info>: Use
9330 TARGET_DEFAULT_NORETURN (tcomplain ()).
9331 * target-delegates.c: Regenerated.
9332
0f26cec1
PA
93332014-03-05 Pedro Alves <palves@redhat.com>
9334
9335 PR gdb/16575
9336 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
9337 void. Update comment.
9338 (dcache_xfer_memory): Delete.
9339 (dcache_read_memory_partial): New, based on the read bits of
9340 dcache_xfer_memory.
9341 (dcache_update): Add status parameter. Use ULONGEST for len, and
9342 adjust. Discard cache lines if the reason for the update was
9343 error.
9344 * dcache.h (dcache_xfer_memory): Delete declaration.
9345 (dcache_read_memory_partial): New declaration.
9346 (dcache_update): Update prototype.
9347 * target.c (raw_memory_xfer_partial): Update the dcache here.
9348 (memory_xfer_partial_1): Don't handle dcache writes here.
9349
b2b255bd
MF
93502014-03-05 Mike Frysinger <vapier@gentoo.org>
9351
9352 * remote-sim.c (gdbsim_load): Add const to prog.
9353
5d9cf8a4
TT
93542014-03-03 Tom Tromey <tromey@redhat.com>
9355
9356 * elfread.c (probe_key): Change to bfd_data.
9357 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
9358 now per-BFD, not per-objfile.
9359 * stap-probe.c (stap_probe_destroy): Update comment.
9360 (handle_stap_probe): Allocate on the per-BFD obstack.
9361
729662a5
TT
93622014-03-03 Tom Tromey <tromey@redhat.com>
9363
9364 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
9365 * breakpoint.c (create_longjmp_master_breakpoint): Use
9366 get_probe_address.
9367 (add_location_to_breakpoint, bkpt_probe_insert_location)
9368 (bkpt_probe_remove_location): Update.
9369 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
9370 * elfread.c (elf_symfile_relocate_probe): Remove.
9371 (elf_probe_fns): Update.
9372 (insert_exception_resume_breakpoint): Change type of "probe"
9373 parameter to bound_probe.
9374 (check_exception_resume): Update.
9375 * objfiles.c (objfile_relocate1): Don't relocate probes.
9376 * probe.c (bound_probe_s): New typedef.
9377 (parse_probes): Use get_probe_address. Set sal's objfile.
9378 (find_probe_by_pc): Return a bound_probe.
9379 (collect_probes): Return a VEC(bound_probe_s).
9380 (compare_probes): Update.
9381 (gen_ui_out_table_header_info): Change type of "probes"
9382 parameter. Update.
9383 (info_probes_for_ops): Update.
9384 (get_probe_address): New function.
9385 (probe_safe_evaluate_at_pc): Update.
9386 * probe.h (struct probe_ops) <get_probe_address>: New field.
9387 <set_semaphore, clear_semaphore>: Add objfile parameter.
9388 (struct probe) <objfile>: Remove field.
9389 <arch>: New field.
9390 <address>: Update comment.
9391 (struct bound_probe): New.
9392 (find_probe_by_pc): Return a bound_probe.
9393 (get_probe_address): Declare.
9394 * solib-svr4.c (struct probe_and_action) <address>: New field.
9395 (hash_probe_and_action, equal_probe_and_action): Update.
9396 (register_solib_event_probe): Add address parameter.
9397 (solib_event_probe_at): Update.
9398 (svr4_create_probe_breakpoints): Add objfile parameter. Use
9399 get_probe_address.
9400 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
9401 (stap_get_probe_address): New function.
9402 (stap_can_evaluate_probe_arguments, compute_probe_arg)
9403 (compile_probe_arg): Update.
9404 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
9405 address.
9406 (handle_stap_probe): Don't relocate the probe.
9407 (stap_relocate): Remove.
9408 (stap_gen_info_probes_table_values): Update.
9409 (stap_probe_ops): Remove stap_relocate.
9410 * symfile-debug.c (debug_sym_relocate_probe): Remove.
9411 (debug_sym_probe_fns): Update.
9412 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
9413 * symtab.c (init_sal): Use memset.
9414 * symtab.h (struct symtab_and_line) <objfile>: New field.
9415 * tracepoint.c (start_tracing, stop_tracing): Update.
9416
ff887920
TT
94172014-03-03 Tom Tromey <tromey@redhat.com>
9418
9419 * probe.h (parse_probes, find_probe_by_pc)
9420 (find_probes_in_objfile): Fix comments.
9421
f0407826
DE
94222014-03-02 Doug Evans <xdje42@gmail.com>
9423
9424 * infrun.c (handle_signal_stop): Replace test for
9425 TARGET_WAITKIND_STOPPED with an assert.
9426
35e6a711
DE
94272014-03-02 Doug Evans <xdje42@gmail.com>
9428
9429 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
9430
667f9d0b
DE
94312014-03-02 Doug Evans <xdje42@gmail.com>
9432
9433 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
9434
dc92ace0
MK
94352014-03-01 Mark Kettenis <kettenis@gnu.org>
9436
9437 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
9438
a900370f
MK
94392014-03-01 Mark Kettenis <kettenis@gnu.org>
9440
9441 * i386obsd-nat.c: Include "obsd-nat.h".
9442 (_initialize_i386obsd_nat): Call obsd_add_target instead of
9443 add_target.
9444 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
9445
b72a7981
MK
94462014-03-01 Mark Kettenis <kettenis@gnu.org>
9447
9448 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
9449
96c70aba
MK
94502014-03-01 Mark Kettenis <kettenis@gnu.org>
9451
9452 * mips64obsd-nat.c: Include "obsd-nath".
9453 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9454 add_target
9455 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9456
874a80af
MK
94572014-03-01 Mark Kettenis <kettenis@gnu.org>
9458
8fd408f1
MK
9459 * amd64obsd-nat.c: Include "obsd-nat,h.
9460 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9461 add_target.
874a80af
MK
9462 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9463
9cf95373
SC
94642014-02-28 Siva Chandra Reddy <sivachandra@google.com>
9465
9466 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9467 (find_overload_match): Update call to find_oload_champ.
9468 (find_oload_champ_namespace_loop): Likewise
9469
863e4da4
MK
94702014-02-28 Mark Kettenis <kettenis@gnu.org>
9471
025cac40
MK
9472 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9473
1ed586ce
MK
9474 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9475 * config/sparc/obsd64.mh: New file.
9476 * sparc64obsd-nat.c: New file.
9477
863e4da4
MK
9478 * obsd-nat.h: New file.
9479 * obsd-nat.c: New file.
9480 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9481 (ALLDEPFILES): Add obsd-nat.c.
9482
89de4da4
TT
94832014-02-28 Tom Tromey <tromey@redhat.com>
9484
9485 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
9486 * cli-out.h (cli_ui_out_impl): Now const.
9487 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
9488 * ui-out.c (struct ui_out) <impl>: Now const.
9489 (default_ui_out_impl): Now const.
9490 (ui_out_new): Make 'impl' parameter const.
9491 * ui-out.h (ui_out_new): Update.
9492
c725e7b6
MK
94932014-02-27 Mark Kettenis <kettenis@gnu.org>
9494
9495 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9496
670b46b3
MK
94972014-02-27 Mark Kettenis <kettenis@gnu.org>
9498
9499 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9500
c91550fc
JK
95012014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9502
9503 Additional PR 8882 fix.
9504 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9505
2fa0369e
PA
95062014-02-27 Pedro Alves <palves@redhat.com>
9507
9508 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9509 isn't set.
9510
d632a097
PA
95112014-02-27 Pedro Alves <palves@redhat.com>
9512
9513 PR 12702
9514 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
9515 * nat/linux-waitpid.c: Include string.h.
9516 (status_to_str): Moved here and made extern.
9517 * nat/linux-waitpid.h (status_to_str): New declaration.
9518
2ebd5a35
HZ
95192014-02-27 Hui Zhu <hui@codesourcery.com>
9520
9521 PR 12702
9522 * infrun.c (ptid_match): Move ...
9523 * common/ptid.c (ptid_match): ... here.
9524 * inferior.h (ptid_match): Move ...
9525 * common/ptid.h (ptid_match): ... here.
9526
3cdd631f
MK
95272014-02-27 Mark Kettenis <kettenis@gnu.org>
9528
9529 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
9530 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
9531 gdb_target_obs.
9532
bee30a64
MK
95332014-02-27 Mark Kettenis <kettenis@gnu.org>
9534
9535 * obsd-tdep.c (obsd_auxv_parse): New function.
9536 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
9537
9538 * gdbarch.sh (auxv_parse): New.
9539 * gdbarch.h: Regenerated.
9540 * gdbarch.c: Regenerated.
9541 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
9542
7a5a839f
LC
95432014-02-26 Ludovic Courtès <ludo@gnu.org>
9544
9545 * guile/scm-value.c (gdbscm_history_append_x): New function.
9546 (value_functions): Add it.
9547
31aa7e4e
JB
95482014-02-27 Joel Brobecker <brobecker@adacore.com>
9549
9550 * dwarf2read.c (attr_value_as_address): New function.
9551 (dwarf2_find_base_address, read_call_site_scope): Use
9552 attr_value_as_address in place of DW_ADDR.
9553 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
9554 the low and high addresses. Slight rework of the handling
9555 of the high pc being a constant form, and limit it to
9556 DWARF verson 4 or higher.
9557 (dwarf2_record_block_ranges): Likewise.
9558 (read_partial_die): Likewise.
9559 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
9560
9b333ba3
TT
95612014-02-26 Tom Tromey <tromey@redhat.com>
9562
9563 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
9564
5f6cac40
TT
95652014-02-26 Tom Tromey <tromey@redhat.com>
9566
9567 * elfread.c (elf_read_minimal_symbols): Return early if
9568 minimal symbols have already been read. Add "ei" parameter.
9569 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
9570 * minsyms.c (prim_record_minimal_symbol_full): Update.
9571 * objfiles.h (struct objstats) <n_minsyms>: Move...
9572 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
9573 * symmisc.c (print_objfile_statistics): Update.
9574
2750ef27
TT
95752014-02-26 Tom Tromey <tromey@redhat.com>
9576
9577 * elfread.c (elf_read_minimal_symbols): New function, from
9578 elf_symfile_read.
9579 (elf_symfile_read): Call it.
9580
34643a32
TT
95812014-02-26 Tom Tromey <tromey@redhat.com>
9582
9583 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
9584 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
9585 (lookup_minimal_symbol_solib_trampoline)
9586 (lookup_minimal_symbol_by_pc_section_1)
9587 (lookup_minimal_symbol_and_objfile): Update.
9588 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
9589 Don't allocate a minimal symbol if minsyms have already been read.
9590 (build_minimal_symbol_hash_tables): Update.
9591 (install_minimal_symbols): Do nothing if minsyms already read.
9592 Use the per-BFD obstack.
9593 (terminate_minimal_symbol_table): Use the per-BFD obstack.
9594 * objfiles.c (allocate_objfile): Call
9595 terminate_minimal_symbol_table later.
9596 (have_minimal_symbols): Update.
9597 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
9598 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
9599 Move from struct objfile.
9600 <minsyms_read>: New field.
9601 (struct objfile) <msymbols, minimal_symbol_count,
9602 msymbol_hash, msymbol_demangled_hash>: Move.
9603 (ALL_OBJFILE_MSYMBOLS): Update.
9604 * symfile.c (read_symbols): Set minsyms_read.
9605 (reread_symbols): Update.
9606 * symmisc.c (dump_objfile, dump_msymbols): Update.
9607
2273f0ac
TT
96082014-02-26 Tom Tromey <tromey@redhat.com>
9609
9610 * minsyms.c (msymbols_sort): Remove.
9611 * minsyms.h (msymbols_sort): Remove.
9612 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
9613 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
9614 * elfread.c (elf_symtab_read): Don't add section offsets.
9615 * xcoffread.c (record_minimal_symbol): Don't add section offset
9616 to minimal symbol address.
9617 * somread.c (text_offset, data_offset): Remove.
9618 (som_symtab_read): Don't add section offsets to minimal symbol
9619 addresses.
9620 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
9621 Don't add section offsets to minimal symbols.
9622 * coffread.c (coff_symtab_read): Don't add section offsets
9623 to minimal symbol addresses.
9624 * machoread.c (macho_symtab_add_minsym): Don't add section offset
9625 to minimal symbol addresses.
9626 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
9627 section offset to minimal symbol addresses.
9628 * mdebugread.c (parse_partial_symbols): Don't add section
9629 offset to minimal symbol addresses.
9630 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
9631 offset to minimal symbol addresses.
9632
77e371c0
TT
96332014-02-26 Tom Tromey <tromey@redhat.com>
9634
9635 * ada-lang.c (ada_main_name): Update.
9636 (ada_add_standard_exceptions): Update.
9637 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9638 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9639 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
9640 * auxv.c (ld_so_xfer_auxv): Update.
9641 * avr-tdep.c (avr_scan_prologue): Update.
9642 * ax-gdb.c (gen_var_ref): Update.
9643 * blockframe.c (get_pc_function_start)
9644 (find_pc_partial_function_gnu_ifunc): Update.
9645 * breakpoint.c (create_overlay_event_breakpoint)
9646 (create_longjmp_master_breakpoint)
9647 (create_std_terminate_master_breakpoint)
9648 (create_exception_master_breakpoint): Update.
9649 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9650 * c-valprint.c (c_val_print): Update.
9651 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9652 * common/agent.c (agent_look_up_symbols): Update.
9653 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9654 * dwarf2loc.c (call_site_to_target_addr): Update.
9655 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
9656 * elfread.c (elf_gnu_ifunc_record_cache)
9657 (elf_gnu_ifunc_resolve_by_got): Update.
9658 * findvar.c (default_read_var_value): Update.
9659 * frame.c (inside_main_func): Update.
9660 * frv-tdep.c (frv_frame_this_id): Update.
9661 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9662 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9663 Update.
9664 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
9665 (hppa_hpux_find_dummy_bpaddr): Update.
9666 * hppa-tdep.c (hppa_symbol_address): Update.
9667 * infcmd.c (until_next_command): Update.
9668 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
9669 Update.
9670 * linespec.c (minsym_found, add_minsym): Update.
9671 * linux-nat.c (get_signo): Update.
9672 * linux-thread-db.c (inferior_has_bug): Update.
9673 * m32c-tdep.c (m32c_return_value)
9674 (m32c_m16c_address_to_pointer): Update.
9675 * m32r-tdep.c (m32r_frame_this_id): Update.
9676 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9677 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9678 * maint.c (maintenance_translate_address): Update.
9679 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
9680 (frob_address): New function.
9681 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
9682 frob_address. Rename parameter to "pc_in".
9683 (compare_minimal_symbols, compact_minimal_symbols): Use raw
9684 addresses.
9685 (find_solib_trampoline_target, minimal_symbol_upper_bound):
9686 Update.
9687 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9688 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
9689 * objc-lang.c (find_objc_msgsend): Update.
9690 * objfiles.c (objfile_relocate1): Update.
9691 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9692 * p-valprint.c (pascal_val_print): Update.
9693 * parse.c (write_exp_msymbol): Update.
9694 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
9695 (ppc_elfv2_skip_entrypoint): Update.
9696 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9697 * printcmd.c (build_address_symbolic, msym_info)
9698 (address_info): Update.
9699 * proc-service.c (ps_pglobal_lookup): Update.
9700 * psymtab.c (find_pc_sect_psymtab_closer)
9701 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
9702 Change msymbol parameter to bound_minimal_symbol.
9703 * ravenscar-thread.c (get_running_thread_id): Update.
9704 * remote.c (remote_check_symbols): Update.
9705 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
9706 address.
9707 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9708 * solib-dsbt.c (lm_base): Update.
9709 * solib-frv.c (lm_base, main_got): Update.
9710 * solib-irix.c (locate_base): Update.
9711 * solib-som.c (som_solib_create_inferior_hook)
9712 (link_map_start): Update.
9713 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
9714 * solib-svr4.c (elf_locate_base, enable_break): Update.
9715 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9716 (flush_ea_cache): Update.
9717 * stabsread.c (define_symbol, scan_file_globals): Update.
9718 * stack.c (find_frame_funname): Update.
9719 * symfile-debug.c (debug_qf_expand_symtabs_matching)
9720 (debug_qf_find_pc_sect_symtab): Update.
9721 * symfile.c (simple_read_overlay_table)
9722 (simple_overlay_update): Update.
9723 * symfile.h (struct quick_symbol_functions)
9724 <find_pc_sect_symtab>: Change type of msymbol to
9725 bound_minimal_symbol.
9726 * symmisc.c (dump_msymbols): Update.
9727 * symtab.c (find_pc_sect_symtab_via_partial)
9728 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
9729 (search_symbols, print_msymbol_info): Update.
9730 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
9731 (MSYMBOL_VALUE_ADDRESS): Redefine.
9732 (BMSYMBOL_VALUE_ADDRESS): New macro.
9733 * tracepoint.c (scope_info): Update.
9734 * tui/tui-disasm.c (tui_find_disassembly_address)
9735 (tui_get_begin_asm_address): Update.
9736 * valops.c (find_function_in_inferior): Update.
9737 * value.c (value_static_field, value_fn_field): Update.
9738
3b7344d5
TT
97392014-02-26 Tom Tromey <tromey@redhat.com>
9740
9741 * ada-lang.c (ada_update_initial_language): Update.
9742 (ada_main_name, ada_has_this_exception_support): Update.
9743 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9744 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9745 * arm-tdep.c (arm_skip_stub): Update.
9746 * auxv.c (ld_so_xfer_auxv): Update.
9747 * avr-tdep.c (avr_scan_prologue): Update.
9748 * ax-gdb.c (gen_var_ref): Update.
9749 * breakpoint.c (struct breakpoint_objfile_data)
9750 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
9751 type to bound_minimal_symbol.
9752 (create_overlay_event_breakpoint)
9753 (create_longjmp_master_breakpoint)
9754 (create_std_terminate_master_breakpoint)
9755 (create_exception_master_breakpoint): Update.
9756 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9757 * c-exp.y (classify_name): Update.
9758 * coffread.c (coff_symfile_read): Update.
9759 * common/agent.c (agent_look_up_symbols): Update.
9760 * d-lang.c (d_main_name): Update.
9761 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9762 * dec-thread.c (enable_dec_thread): Update.
9763 * dwarf2loc.c (call_site_to_target_addr): Update.
9764 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
9765 * eval.c (evaluate_subexp_standard): Update.
9766 * findvar.c (struct minsym_lookup_data) <result>: Change type
9767 to bound_minimal_symbol.
9768 <objfile>: Remove.
9769 (minsym_lookup_iterator_cb, default_read_var_value): Update.
9770 * frame.c (inside_main_func): Update.
9771 * frv-tdep.c (frv_frame_this_id): Update.
9772 * gcore.c (call_target_sbrk): Update.
9773 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9774 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9775 Update.
9776 * go-lang.c (go_main_name): Update.
9777 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
9778 (hppa_hpux_find_import_stub_for_addr): Update.
9779 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
9780 Update. Change return type.
9781 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
9782 type.
9783 * jit.c (jit_breakpoint_re_set_internal): Update.
9784 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
9785 Update.
9786 * linux-nat.c (get_signo): Update.
9787 * linux-thread-db.c (inferior_has_bug): Update
9788 * m32c-tdep.c (m32c_return_value)
9789 (m32c_m16c_address_to_pointer): Update.
9790 * m32r-tdep.c (m32r_frame_this_id): Update.
9791 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9792 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9793 * minsyms.c (lookup_minimal_symbol_internal): Rename to
9794 lookup_minimal_symbol. Change return type.
9795 (lookup_minimal_symbol): Remove.
9796 (lookup_bound_minimal_symbol): Update.
9797 (lookup_minimal_symbol_text): Change return type.
9798 (lookup_minimal_symbol_solib_trampoline): Change return type.
9799 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
9800 (lookup_minimal_symbol_solib_trampoline): Change return type.
9801 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9802 * objc-lang.c (lookup_objc_class, lookup_child_selector)
9803 (value_nsstring, find_imps): Update.
9804 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9805 * p-lang.c (pascal_main_name): Update.
9806 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
9807 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9808 * proc-service.c (ps_pglobal_lookup): Update.
9809 * ravenscar-thread.c (get_running_thread_msymbol): Change
9810 return type.
9811 (has_ravenscar_runtime, get_running_thread_id): Update.
9812 * remote.c (remote_check_symbols): Update.
9813 * sol-thread.c (ps_pglobal_lookup): Update.
9814 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9815 * solib-dsbt.c (lm_base): Update.
9816 * solib-frv.c (lm_base, frv_relocate_section_addresses):
9817 Update.
9818 * solib-irix.c (locate_base): Update.
9819 * solib-som.c (som_solib_create_inferior_hook)
9820 (som_solib_desire_dynamic_linker_symbols, link_map_start):
9821 Update.
9822 * solib-spu.c (spu_enable_break): Update.
9823 * solib-svr4.c (elf_locate_base, enable_break): Update.
9824 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9825 (flush_ea_cache): Update.
9826 * stabsread.c (define_symbol): Update.
9827 * symfile.c (simple_read_overlay_table): Update.
9828 * symtab.c (find_pc_sect_line): Update.
9829 * tracepoint.c (scope_info): Update.
9830 * tui-disasm.c (tui_get_begin_asm_address): Update.
9831 * value.c (value_static_field): Update.
9832
40c1a007
TT
98332014-02-26 Tom Tromey <tromey@redhat.com>
9834
9835 * minsyms.c (prim_record_minimal_symbol_full): Use
9836 SET_MSYMBOL_VALUE_ADDRESS.
9837 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
9838 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
9839 SET_MSYMBOL_VALUE_ADDRESS.
9840 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
9841 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
9842
efd66ac6
TT
98432014-02-26 Tom Tromey <tromey@redhat.com>
9844
9845 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
9846 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
9847 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
9848 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
9849 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
9850 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9851 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
9852 * ada-lang.c (ada_main_name): Update.
9853 (ada_lookup_simple_minsym): Update.
9854 (ada_make_symbol_completion_list): Update.
9855 (ada_add_standard_exceptions): Update.
9856 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
9857 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9858 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
9859 * arm-tdep.c (skip_prologue_function): Update.
9860 (arm_skip_stack_protector, arm_skip_stub): Update.
9861 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
9862 (arm_wince_skip_main_prologue): Update.
9863 * auxv.c (ld_so_xfer_auxv): Update.
9864 * avr-tdep.c (avr_scan_prologue): Update.
9865 * ax-gdb.c (gen_var_ref): Update.
9866 * block.c (call_site_for_pc): Update.
9867 * blockframe.c (get_pc_function_start): Update.
9868 (find_pc_partial_function_gnu_ifunc): Update.
9869 * breakpoint.c (create_overlay_event_breakpoint): Update.
9870 (create_longjmp_master_breakpoint): Update.
9871 (create_std_terminate_master_breakpoint): Update.
9872 (create_exception_master_breakpoint): Update.
9873 (resolve_sal_pc): Update.
9874 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9875 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
9876 Update.
9877 * c-valprint.c (c_val_print): Update.
9878 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9879 * coffread.c (coff_symfile_read): Update.
9880 * common/agent.c (agent_look_up_symbols): Update.
9881 * dbxread.c (find_stab_function_addr): Update.
9882 (end_psymtab): Update.
9883 * dwarf2loc.c (call_site_to_target_addr): Update.
9884 (func_verify_no_selftailcall): Update.
9885 (tailcall_dump): Update.
9886 (call_site_find_chain_1): Update.
9887 (dwarf_expr_reg_to_entry_parameter): Update.
9888 * elfread.c (elf_gnu_ifunc_record_cache): Update.
9889 (elf_gnu_ifunc_resolve_by_got): Update.
9890 * f-valprint.c (info_common_command): Update.
9891 * findvar.c (read_var_value): Update.
9892 * frame.c (get_prev_frame_1): Update.
9893 (inside_main_func): Update.
9894 * frv-tdep.c (frv_skip_main_prologue): Update.
9895 (frv_frame_this_id): Update.
9896 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9897 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
9898 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
9899 (gnuv3_skip_trampoline): Update.
9900 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
9901 (hppa64_hpux_in_solib_call_trampoline): Update.
9902 (hppa_hpux_skip_trampoline_code): Update.
9903 (hppa64_hpux_search_dummy_call_sequence): Update.
9904 (hppa_hpux_find_import_stub_for_addr): Update.
9905 (hppa_hpux_find_dummy_bpaddr): Update.
9906 * hppa-tdep.c (hppa_symbol_address)
9907 (hppa_lookup_stub_minimal_symbol): Update.
9908 * i386-tdep.c (i386_skip_main_prologue): Update.
9909 (i386_pe_skip_trampoline_code): Update.
9910 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
9911 * infcall.c (get_function_name): Update.
9912 * infcmd.c (until_next_command): Update.
9913 * jit.c (jit_breakpoint_re_set_internal): Update.
9914 (jit_inferior_init): Update.
9915 * linespec.c (minsym_found): Update.
9916 (add_minsym): Update.
9917 * linux-fork.c (info_checkpoints_command): Update.
9918 * linux-nat.c (get_signo): Update.
9919 * linux-thread-db.c (inferior_has_bug): Update.
9920 * m32c-tdep.c (m32c_return_value): Update.
9921 (m32c_m16c_address_to_pointer): Update.
9922 (m32c_m16c_pointer_to_address): Update.
9923 * m32r-tdep.c (m32r_frame_this_id): Update.
9924 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9925 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9926 * maint.c (maintenance_translate_address): Update.
9927 * minsyms.c (add_minsym_to_hash_table): Update.
9928 (add_minsym_to_demangled_hash_table): Update.
9929 (msymbol_objfile): Update.
9930 (lookup_minimal_symbol): Update.
9931 (iterate_over_minimal_symbols): Update.
9932 (lookup_minimal_symbol_text): Update.
9933 (lookup_minimal_symbol_by_pc_name): Update.
9934 (lookup_minimal_symbol_solib_trampoline): Update.
9935 (lookup_minimal_symbol_by_pc_section_1): Update.
9936 (lookup_minimal_symbol_and_objfile): Update.
9937 (prim_record_minimal_symbol_full): Update.
9938 (compare_minimal_symbols): Update.
9939 (compact_minimal_symbols): Update.
9940 (build_minimal_symbol_hash_tables): Update.
9941 (install_minimal_symbols): Update.
9942 (terminate_minimal_symbol_table): Update.
9943 (find_solib_trampoline_target): Update.
9944 (minimal_symbol_upper_bound): Update.
9945 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9946 * mips-tdep.c (mips_stub_frame_sniffer): Update.
9947 (mips_skip_pic_trampoline_code): Update.
9948 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
9949 * objc-lang.c (selectors_info): Update.
9950 (classes_info): Update.
9951 (find_methods): Update.
9952 (find_imps): Update.
9953 (find_objc_msgsend): Update.
9954 * objfiles.c (objfile_relocate1): Update.
9955 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
9956 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9957 * p-valprint.c (pascal_val_print): Update.
9958 * parse.c (write_exp_msymbol): Update.
9959 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
9960 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
9961 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9962 * printcmd.c (build_address_symbolic): Update.
9963 (sym_info): Update.
9964 (address_info): Update.
9965 * proc-service.c (ps_pglobal_lookup): Update.
9966 * psymtab.c (find_pc_sect_psymtab_closer): Update.
9967 (find_pc_sect_psymtab): Update.
9968 * python/py-framefilter.c (py_print_frame): Update.
9969 * ravenscar-thread.c (get_running_thread_id): Update.
9970 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
9971 Update.
9972 * remote.c (remote_check_symbols): Update.
9973 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
9974 (rs6000_skip_trampoline_code): Update.
9975 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
9976 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9977 * solib-dsbt.c (lm_base): Update.
9978 * solib-frv.c (lm_base): Update.
9979 (main_got): Update.
9980 * solib-irix.c (locate_base): Update.
9981 * solib-som.c (som_solib_create_inferior_hook): Update.
9982 (som_solib_desire_dynamic_linker_symbols): Update.
9983 (link_map_start): Update.
9984 * solib-spu.c (spu_enable_break): Update.
9985 (ocl_enable_break): Update.
9986 * solib-svr4.c (elf_locate_base): Update.
9987 (enable_break): Update.
9988 * spu-tdep.c (spu_get_overlay_table): Update.
9989 (spu_catch_start): Update.
9990 (flush_ea_cache): Update.
9991 * stabsread.c (define_symbol): Update.
9992 (scan_file_globals): Update.
9993 * stack.c (find_frame_funname): Update.
9994 (frame_info): Update.
9995 * symfile.c (simple_read_overlay_table): Update.
9996 (simple_overlay_update): Update.
9997 * symmisc.c (dump_msymbols): Update.
9998 * symtab.c (fixup_section): Update.
9999 (find_pc_sect_line): Update.
10000 (skip_prologue_sal): Update.
10001 (search_symbols): Update.
10002 (print_msymbol_info): Update.
10003 (rbreak_command): Update.
10004 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
10005 (completion_list_objc_symbol): Update.
10006 (default_make_symbol_completion_list_break_on): Update.
10007 * tracepoint.c (scope_info): Update.
10008 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
10009 (tui_get_begin_asm_address): Update.
10010 * valops.c (find_function_in_inferior): Update.
10011 * value.c (value_static_field): Update.
10012 (value_fn_field): Update.
10013
50e65b17
TT
100142014-02-26 Tom Tromey <tromey@redhat.com>
10015
10016 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
10017 bound minimal symbols. Move code that knows about minsym
10018 table layout...
10019 * minsyms.c (minimal_symbol_upper_bound): ... here. New
10020 function.
10021 * minsyms.h (minimal_symbol_upper_bound): Declare.
10022 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
10023 minimal_symbol_upper_bound.
10024
1b588015
JB
100252014-02-27 Joel Brobecker <brobecker@adacore.com>
10026
10027 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
10028 Use the type's name if its basic type does not have a tag.
10029
dbb9c2b1
JB
100302014-02-27 Joel Brobecker <brobecker@adacore.com>
10031
10032 * dwarf2read.c (read_subrange_type): Add comment.
10033
55426c9d
JB
100342014-02-27 Joel Brobecker <brobecker@adacore.com>
10035
10036 * dwarf2read.c (update_enumeration_type_from_children): New
10037 function, mostly extracted from process_structure_scope.
10038 (read_enumeration_type): Call update_enumeration_type_from_children.
10039 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
10040 and flag_flag_enum fields.
10041
f2fce0ca
PA
100422014-02-26 Pedro Alves <palves@redhat.com>
10043
10044 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
10045 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
10046 to_xfer_partial method.
10047
7a44e40e
PA
100482014-02-26 Pedro Alves <palves@redhat.com>
10049
10050 * target.c (complete_target_initialization): Don't install
10051 default_xfer_partial as to_xfer_partial hook.
10052 (nomemory): Delete.
10053 (update_current_target): Don't INHERIT nor de_fault
10054 deprecated_xfer_memory. Delete de_fault macro.
10055 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
10056 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
10057 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
10058 field.
10059
bd265cd0
PA
100602014-02-26 Pedro Alves <palves@redhat.com>
10061
10062 * go32-nat.c (my_write_child): New function.
10063 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
10064 (go32_xfer_partial): New function.
10065 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
10066 Instead install a to_xfer_partial hook.
10067
9d46c4e5
PA
100682014-02-26 Pedro Alves <palves@redhat.com>
10069
10070 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
10071 to_xfer_partial helper. Rewrite.
10072 (procfs_xfer_partial): New function.
10073 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
10074 Install a to_xfer_partial hook.
10075
a1583b1f
PA
100762014-02-26 Pedro Alves <palves@redhat.com>
10077
10078 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
10079 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
10080 (m32r_xfer_partial): New function.
10081 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
10082 Install a to_xfer_partial hook.
10083
6df1b29f
PA
100842014-02-26 Pedro Alves <palves@redhat.com>
10085
10086 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
10087 helper.
10088 (mips_xfer_partial): New function.
10089 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
10090 hook. Install a to_xfer_partial hook.
10091
dc53a7ad
JB
100922014-02-26 Joel Brobecker <brobecker@adacore.com>
10093
10094 * gdbtypes.h (create_array_type_with_stride): Add declaration.
10095 * gdbtypes.c (create_array_type_with_stride): New function,
10096 renaming create_array_type, but with an added parameter
10097 called "bit_stride".
10098 (create_array_type): Re-implement using
10099 create_array_type_with_stride.
10100 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
10101 and DW_AT_bit_stride attributes.
10102
12ab52e9
PA
101032014-02-26 Pedro Alves <palves@redhat.com>
10104
10105 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
10106 task-specific breakpoints.
10107
d16461ae
PA
101082014-02-25 Pedro Alves <palves@redhat.com>
10109
10110 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
10111 handling of object == TARGET_OBJECT_UNWIND_TABLE.
10112
a8b16220
SS
101132014-02-25 Stan Shebs <stan@codesourcery.com>
10114
10115 * defs.h: Annotate comments for Doxygen.
10116
b9e795ee
TT
101172014-02-25 Tom Tromey <tromey@redhat.com>
10118
10119 * target.h (target_ignore): Don't declare.
10120 * target.c (target_ignore): Remove.
10121
849c862e
JK
101222014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10123
10124 PR gdb/16626
10125 * auto-load.c (auto_load_objfile_script_1): Change filename to
10126 debugfile.
10127
475109d8
JB
101282014-02-25 Joel Brobecker <brobecker@adacore.com>
10129
10130 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
10131 documentation. Adjust prototype to match the target_ops
10132 to_xfer_partial method. Adjust implementation accordingly.
10133
e186c3bd
HZ
101342014-02-25 Hui Zhu <hui@codesourcery.com>
10135
10136 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
10137 to_traceframe_info.
10138
6d451942
KB
101392014-02-25 Kevin Buettner <kevinb@redhat.com>
10140
041ab8b4 10141 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
10142 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
10143 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
10144 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
10145 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
10146 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
10147 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
10148 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
10149 New constants.
10150 (rl78_register_type): Use a data pointer type for SP and
10151 new pseudo registers mentioned above. Use a 16 bit integer
10152 type for all other register pairs.
10153 (rl78_register_name, rl78_g10_register_name): Update for
10154 new pseudo registers.
10155 (rl78_pseudo_register_read): Likewise.
10156 (rl78_pseudo_register_write): Likewise.
10157 (rl78_dwarf_reg_to_regnum): Return register numbers representing
10158 to the newly added pseudo registers.
10159
eddf0bae
DE
101602014-02-24 Doug Evans <dje@google.com>
10161
10162 * value.c (record_latest_value): Fix comment.
10163 * printcmd.c (print_command_1): Remove code to handle -1 return from
10164 record_latest_value.
10165
e96027e0
PA
101662014-02-24 Pedro Alves <palves@redhat.com>
10167
10168 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
10169 deprecated_xfer_memory hook.
10170 (procfs_xfer_partial): Call procfs_xfer_memory instead
10171 of the deprecated_xfer_memory target hook.
10172 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
10173 helper.
10174
0837c976
YZ
101752014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
10176
10177 * windows-nat.c (windows_xfer_shared_libraries): Return
10178 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
10179 requested object is TARGET_OBJECT_LIBRARIES.
10180
bc113b4e
YQ
101812014-02-24 Yao Qi <yao@codesourcery.com>
10182
10183 * target.h (enum target_xfer_status)
10184 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
10185 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
10186 explicitly. New.
10187 * corefile.c (memory_error_message): User updated.
10188 * exec.c (section_table_read_available_memory): Likewise.
10189 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10190 * target.c (target_xfer_status_to_string): Likewise.
10191 (raw_memory_xfer_partial): Likewise.
10192 (memory_xfer_partial_1, target_xfer_partial): Likewise.
10193 * valops.c (read_value_memory): Likewise.
10194 * exec.h: Update comments.
10195
01cb8804
YQ
101962014-02-24 Yao Qi <yao@codesourcery.com>
10197
10198 * target.c (target_xfer_status_to_string): Rename argument err
10199 to status.
10200 * target.h (target_xfer_status_to_string): Update declaration.
10201 Replace target_xfer_error_to_string with
10202 target_xfer_status_to_string in comment.
10203
93063aa6
YQ
102042014-02-24 Yao Qi <yao@codesourcery.com>
10205
10206 * mips-linux-nat.c (super_close): Update its type.
10207 (mips_linux_close): Pass 'self' to super_close.
10208
5c328c05
YQ
102092014-02-24 Yao Qi <yao@codesourcery.com>
10210
10211 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
10212 * corefile.c (read_memory): Adjusted.
10213 * target.c (target_write_with_progress): Adjusted.
10214
f73023dd
YQ
102152014-02-23 Yao Qi <yao@codesourcery.com>
10216
10217 Revert two patches:
10218
10219 2013-10-25 Yao Qi <yao@codesourcery.com>
10220
10221 * remote.c (remote_traceframe_info): Return early if
10222 traceframe is not selected.
10223
10224 2013-07-19 Yao Qi <yao@codesourcery.com>
10225
10226 * target.c (update_current_target): Change the default action
10227 of 'to_traceframe_info' from tcomplain to return_zero.
10228 * target.h (struct target_ops) <to_traceframe_info>: Add more
10229 comments.
10230
5a2eb0ef
YQ
102312014-02-23 Yao Qi <yao@codesourcery.com>
10232
10233 * valops.c (read_value_memory): Rewrite it. Call
10234 target_xfer_partial in a loop.
10235 * exec.h (section_table_available_memory): Remove declaration.
10236 Move comments to ...
10237 * exec.c (section_table_available_memory): ... here. Make it
10238 static.
10239
1ee79381
YQ
102402014-02-23 Yao Qi <yao@codesourcery.com>
10241
10242 * exec.c (section_table_read_available_memory): New function.
10243 * exec.h (section_table_read_available_memory): Declare.
10244 * ctf.c (ctf_xfer_partial): Call
10245 section_table_read_available_memory.
10246 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10247
1ca49d37
YQ
102482014-02-23 Yao Qi <yao@codesourcery.com>
10249
10250 * ctf.c (ctf_xfer_partial): Move code to ...
10251 * exec.c (exec_read_partial_read_only): ... it. New function.
10252 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10253 * tracefile.c: Include "exec.h".
10254 * exec.h (exec_read_partial_read_only): Declare.
10255
a283690e
YQ
102562014-02-23 Yao Qi <yao@codesourcery.com>
10257
10258 * tracefile-tfile.c (tfile_has_all_memory): Remove.
10259 (tfile_has_memory): Remove.
10260 (init_tfile_ops): Don't set fields to_has_all_memory and
10261 to_has_memory of tfile_ops.
10262 * tracefile.c (tracefile_has_all_memory): New function.
10263 (tracefile_has_memory): New function.
10264 (init_tracefile_ops): Initialize fields to_has_all_memory and
10265 to_has_memory of 'ops'.
10266
12e03cd0
YQ
102672014-02-23 Yao Qi <yao@codesourcery.com>
10268
10269 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
10270 (ctf_thread_alive, ctf_get_trace_status): Remove.
10271 (init_ctf_ops): Don't set some fields of ctf_ops. Call
10272 init_tracefile_ops.
10273 * tracefile-tfile.c (tfile_get_trace_status): Remove.
10274 (tfile_has_stack, tfile_has_registers): Remove.
10275 (tfile_thread_alive): Remove.
10276 (init_tfile_ops): Don't set some fields of tfile_ops. Call
10277 init_tracefile_ops.
10278 * tracefile.c (tracefile_has_stack): New function.
10279 (tracefile_has_registers): New function.
10280 (tracefile_thread_alive): New function.
10281 (tracefile_get_trace_status): New function.
10282 (init_tracefile_ops): New function.
10283 * tracefile.h (init_tracefile_ops): Declare.
10284
11395323
YQ
102852014-02-23 Yao Qi <yao@codesourcery.com>
10286
10287 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
10288 (O_LARGEFILE): Likewise.
10289 (tfile_ops): Likewise.
10290 (TRACE_HEADER_SIZE): Likewise.
10291 (trace_fd, trace_frames_offset, cur_offset): Likewise.
10292 (cur_data_size): Likewise.
10293 (tfile_read, tfile_open, tfile_interp_line): Likewise.
10294 (tfile_close, tfile_files_info): Likewise.
10295 (tfile_get_trace_status): Likewise.
10296 (tfile_get_tracepoint_status): Likewise.
10297 (tfile_get_traceframe_address): Likewise.
10298 (tfile_trace_find, match_blocktype): Likewise.
10299 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
10300 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
10301 (tfile_get_trace_state_variable_value): Likewise.
10302 (tfile_has_all_memory, tfile_has_memory): Likewise.
10303 (tfile_has_stack, tfile_has_registers): Likewise.
10304 (tfile_thread_alive, build_traceframe_info): Likewise.
10305 (tfile_traceframe_info, init_tfile_ops): Likewise.
10306 (_initialize_tracepoint): Don't call init_tfile_ops
10307 and add_target_with_completer.
10308 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
10309 exec.h, completer.h and filenames.h.
10310 (_initialize_tracefile_tfile): New function.
10311
7951c4eb
YQ
103122014-02-23 Yao Qi <yao@codesourcery.com>
10313
10314 * Makefile.in (REMOTE_OBS): Append tracefile.o and
10315 tracefile-tfile.o.
10316 (HFILES_NO_SRCDIR): Add tracefile.h.
10317 * ctf.c: Include "tracefile.h".
10318 * tracefile.h: New file.
10319 * tracefile.c: New file
10320 * tracefile-tfile.c: New file.
10321 * tracepoint.c: Include "tracefile.h".
10322 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
10323 (stop_reason_names): Add const.
10324 (trace_file_writer_xfree): Move it to tracefile.c.
10325 (trace_save, trace_save_command, trace_save_tfile): Likewise.
10326 (trace_save_ctf): Likewise.
10327 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
10328 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
10329 (tfile_write_header, tfile_write_regblock_type): Likewise.
10330 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
10331 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
10332 (tfile_write_raw_data, tfile_end): Likewise.
10333 (tfile_trace_file_writer_new): Likewise.
10334 (free_uploaded_tp): Make it extern.
10335 (free_uploaded_tsv): Make it extern.
10336 (_initialize_tracepoint): Move code to register command 'tsave'
10337 to tracefile.c.
10338 * tracepoint.h (stop_reason_names): Declare.
10339 (struct trace_frame_write_ops): Move it to tracefile.h.
10340 (struct trace_file_write_ops): Likewise.
10341 (struct trace_file_writer): Likewise.
10342 (free_uploaded_tsvs, free_uploaded_tps): Declare.
10343
184cd072
JK
103442014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10345
10346 PR gdb/16594
10347 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
10348 process name.
10349 (get_cores_used_by_process): New parameter num_cores, use it.
10350 (linux_xfer_osdata_processes): Pass num_cores to it.
10351 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
10352 process name.
10353
c63528fc
AK
103542014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
10355
10356 * target.c (memory_xfer_partial): Fix length arg in call to
10357 breakpoint_xfer_memory.
10358
d7b30f67
SDJ
103592014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10360
10361 PR tdep/16397
10362 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
10363 number comes after the + or - signs. Adjust length of register
10364 name to be extracted.
10365
8838afaf
TT
103662014-02-20 Tom Tromey <tromey@redhat.com>
10367
10368 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
10369 (ada_varobj_ops): Mark "extern".
10370
05227d14
TT
103712014-02-20 Tom Tromey <tromey@redhat.com>
10372
10373 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
10374
1254eefc
DE
103752014-02-20 Doug Evans <xdje42@gmail.com>
10376
10377 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
10378 All callers updated.
10379 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
10380 All callers updated.
10381 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
10382 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
10383
adde2bff
DE
103842014-02-20 lin zuojian <manjian2006@gmail.com>
10385 Joel Brobecker <brobecker@adacore.com>
10386 Doug Evans <xdje42@gmail.com>
10387
10388 PR symtab/16581
10389 * dwarf2read.c (struct die_info): New member in_process.
10390 (reset_die_in_process): New function.
10391 (process_die): Set it at the start, reset when returning.
10392 (inherit_abstract_dies): Only call process_die if origin_child_die
10393 not already being processed.
10394
3be75f87
JB
103952014-02-20 Joel Brobecker <brobecker@adacore.com>
10396
10397 * windows-nat.c (handle_unload_dll): Add function documentation.
10398 (do_initial_windows_stuff): Add comment explaining why we wait
10399 until after inferior initialization has finished before
10400 processing all DLLs.
10401
47f7ffdb
JB
104022014-02-20 Joel Brobecker <brobecker@adacore.com>
10403
10404 * windows-nat.c (get_module_name): Delete.
10405 (windows_get_exec_module_filename): New function, mostly
10406 inspired from get_module_name.
10407 (windows_pid_to_exec_file): Replace call to get_module_name
10408 by call to windows_get_exec_module_filename.
10409
1cd9feab
JB
104102014-02-20 Joel Brobecker <brobecker@adacore.com>
10411
10412 * windows-nat.c (handle_load_dll): Rewrite this function's
10413 introductory comment. Remove code using get_module_name
10414 to get the DLL's name.
10415
ea39ad35
JB
104162014-02-20 Joel Brobecker <brobecker@adacore.com>
10417
10418 * windows-nat.c (get_windows_debug_event): Ignore
10419 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
10420 if windows_initialization_done == 0.
10421 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
10422 Adjust implementation to always load all DLLs.
10423 (do_initial_windows_stuff): Replace call to
10424 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
10425
95060284
JB
104262014-02-20 Joel Brobecker <brobecker@adacore.com>
10427
10428 * windows-nat.c (_initialize_windows_nat): Deprecate the
10429 "dll-symbols" command. Turn the "add-shared-symbol-files"
10430 and "assf" aliases into commands, and deprecate them as well.
10431 * NEWS: Add entry explaining that "dll-symbols" and its two
10432 aliases are now deprecated.
10433
8d4fdb12
JB
104342014-02-20 Joel Brobecker <brobecker@adacore.com>
10435
10436 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
10437 new-line in debug string. Remove trailing spaces.
10438
1b281443
SS
104392014-02-19 Stan Shebs <stan@codesourcery.com>
10440
10441 * darwin-nat.c (darwin_xfer_partial): Fix return type.
10442
f7bd0f78
SC
104432014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10444
10445 * NEWS: Add entry for the new feature
10446 * python/py-value.c (valpy_binop): Call value_x_binop for struct
10447 and class values.
10448
399ebc3d
SS
104492014-02-19 Stan Shebs <stan@codesourcery.com>
10450
10451 * MAINTAINERS: List Yao Qi as nios2 maintainer.
10452
c658158d
PA
104532014-02-19 Pedro Alves <palves@redhat.com>
10454
10455 * common/ptid.h (struct ptid): Mention that process_stratum
10456 targets should prefer ptid.lwp.
10457
ba348170
PA
104582014-02-19 Pedro Alves <palves@redhat.com>
10459
10460 * remote.c (remote_thread_alive, write_ptid, read_ptid)
10461 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10462 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10463 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10464 store remote thread ids rather than ptid.tid.
10465 (_initialize_remote): Adjust.
10466
ac01945b
TT
104672014-02-19 Tom Tromey <tromey@redhat.com>
10468
10469 * target.c (target_get_unwinder): Rewrite.
10470 (target_get_tailcall_unwinder): Rewrite.
10471 * record-btrace.c (record_btrace_to_get_unwinder): New function.
10472 (record_btrace_to_get_tailcall_unwinder): New function.
10473 (init_record_btrace_ops): Update.
10474 * target.h (struct target_ops) <to_get_unwinder,
10475 to_get_tailcall_unwinder>: Now function pointers. Use
10476 TARGET_DEFAULT_RETURN.
10477
8476dc92
TT
104782014-02-19 Tom Tromey <tromey@redhat.com>
10479
10480 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10481 argument.
10482 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10483
c0eca49f
TT
104842014-02-19 Tom Tromey <tromey@redhat.com>
10485
10486 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10487 directly.
10488 * target-delegates.c: Rebuild.
10489 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10490 TARGET_DEFAULT_FUNC.
10491 * target.c (default_target_decr_pc_after_break): Rename from
10492 forward_target_decr_pc_after_break. Simplify.
10493 (target_decr_pc_after_break): Rely on delegation.
10494
596b6b39
TT
104952014-02-19 Tom Tromey <tromey@redhat.com>
10496
10497 * target.c (update_current_target): Do not INHERIT to_doc or
10498 to_magic. Do not de_fault to_open or to_close.
10499
b427c1bc
TT
105002014-02-19 Tom Tromey <tromey@redhat.com>
10501
10502 * gcore.h (objfile_find_memory_regions): Declare.
10503 * gcore.c (objfile_find_memory_regions): No longer static. Add
10504 "self" argument.
10505 (_initialize_gcore): Don't call exec_set_find_memory_regions.
10506 * exec.c: Include gcore.h.
10507 (exec_set_find_memory_regions): Remove.
10508 (exec_find_memory_regions): Remove.
10509 (exec_do_find_memory_regions): Remove.
10510 (init_exec_ops): Update.
10511 * defs.h (exec_set_find_memory_regions): Remove.
10512
9b144037
TT
105132014-02-19 Tom Tromey <tromey@redhat.com>
10514
10515 * target-delegates.c: Rebuild.
10516 * target.h (struct target_ops) <to_extra_thread_info,
10517 to_thread_name, to_pid_to_exec_file, to_get_section_table,
10518 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
10519 not 0, in TARGET_DEFAULT_RETURN.
10520
555bbdeb
TT
105212014-02-19 Tom Tromey <tromey@redhat.com>
10522
10523 * target.c (complete_target_initialization): Remove casts. Use
10524 return_zero_has_execution.
10525 (return_zero): Add "ignore" argument.
10526 (return_zero_has_execution): New function.
10527 (init_dummy_target): Remove casts. Use
10528 return_zero_has_execution.
10529
be4ddd36
TT
105302014-02-19 Tom Tromey <tromey@redhat.com>
10531
10532 * target.c (update_current_target): Update comments. Do not
10533 INHERIT to_stratum.
10534
2117c711
TT
105352014-02-19 Tom Tromey <tromey@redhat.com>
10536
10537 * arm-linux-nat.c (arm_linux_read_description): Delegate when
10538 needed.
10539 * corelow.c (core_read_description): Delegate when needed.
10540 * remote.c (remote_read_description): Delegate when needed.
10541 * target-delegates.c: Rebuild.
10542 * target.c (target_read_description): Rewrite.
10543 * target.h (struct target_ops) <to_read_description>: Update
10544 comment. Use TARGET_DEFAULT_RETURN.
10545
e88ef65c
TT
105462014-02-19 Tom Tromey <tromey@redhat.com>
10547
10548 * target-delegates.c: Rebuild.
10549 * target.c (update_current_target): Don't inherit or default
10550 to_can_run.
10551 (find_default_run_target): Check against delegate_can_run.
10552 * target.h (struct target_ops) <to_can_run>: Use
10553 TARGET_DEFAULT_RETURN.
10554
86a0854a
TT
105552014-02-19 Tom Tromey <tromey@redhat.com>
10556
10557 * target-delegates.c: Rebuild.
10558 * target.c (target_disconnect): Unconditionally delegate.
10559 * target.h (struct target_ops) <to_disconnect>: Use
10560 TARGET_DEFAULT_NORETURN.
10561
ee97f592
TT
105622014-02-19 Tom Tromey <tromey@redhat.com>
10563
10564 * record.c (record_stop): Unconditionally delegate.
10565 * target-delegates.c: Rebuild.
10566 * target.c (target_stop_recording): Unconditionally delegate.
10567 * target.h (struct target_ops) <to_stop_recording>: Use
10568 TARGET_DEFAULT_IGNORE.
10569
6dc7fcf4
TT
105702014-02-19 Tom Tromey <tromey@redhat.com>
10571
10572 * target-delegates.c: Rebuild.
10573 * target.c (target_enable_btrace): Unconditionally delegate.
10574 * target.h (struct target_ops) <to_enable_btrace>: Use
10575 TARGET_DEFAULT_NORETURN.
10576
eb5b20d4
TT
105772014-02-19 Tom Tromey <tromey@redhat.com>
10578
10579 * target-delegates.c: Rebuild.
10580 * target.c (target_read_btrace): Unconditionally delegate.
10581 * target.h (struct target_ops) <to_read_btrace>: Use
10582 TARGET_DEFAULT_NORETURN.
10583
9ace480d
TT
105842014-02-19 Tom Tromey <tromey@redhat.com>
10585
10586 * target-delegates.c: Rebuild.
10587 * target.c (target_teardown_btrace): Unconditionally delegate.
10588 * target.h (struct target_ops) <to_teardown_btrace>: Use
10589 TARGET_DEFAULT_NORETURN.
10590
8dc292d3
TT
105912014-02-19 Tom Tromey <tromey@redhat.com>
10592
10593 * target-delegates.c: Rebuild.
10594 * target.c (target_disable_btrace): Unconditionally delegate.
10595 * target.h (struct target_ops) <to_disable_btrace>: Use
10596 TARGET_DEFAULT_NORETURN.
10597
58a5184e
TT
105982014-02-19 Tom Tromey <tromey@redhat.com>
10599
10600 * target-delegates.c: Rebuild.
10601 * target.c (default_search_memory): New function.
10602 (simple_search_memory): Update comment.
10603 (target_search_memory): Unconditionally delegate.
10604 * target.h (struct target_ops) <to_search_memory>: Use
10605 TARGET_DEFAULT_FUNC.
10606
8de71aab
TT
106072014-02-19 Tom Tromey <tromey@redhat.com>
10608
10609 * auxv.c (default_auxv_parse): No longer static.
10610 (target_auxv_parse): Unconditionally delegate.
10611 * auxv.h (default_auxv_parse): Declare.
10612 * target-delegates.c: Rebuild.
10613 * target.c: Include auxv.h.
10614 * target.h (struct target_ops) <to_auxv_parse>: Use
10615 TARGET_DEFAULT_FUNC.
10616
6b2c5a57
TT
106172014-02-19 Tom Tromey <tromey@redhat.com>
10618
10619 * target-delegates.c: Rebuild.
10620 * target.c (target_memory_map): Unconditionally delegate.
10621 * target.h (struct target_ops) <to_memory_map>: Use
10622 TARGET_DEFAULT_RETURN.
10623
cbffc065
TT
106242014-02-19 Tom Tromey <tromey@redhat.com>
10625
10626 * target-delegates.c: Rebuild.
10627 * target.c (target_thread_alive): Unconditionally delegate.
10628 * target.h (struct target_ops) <to_thread_alive>: Use
10629 TARGET_DEFAULT_RETURN.
10630
f09e2107
TT
106312014-02-19 Tom Tromey <tromey@redhat.com>
10632
10633 * target-delegates.c: Rebuild.
10634 * target.c (target_save_record): Unconditionally delegate.
10635 * target.h (struct target_ops) <to_save_record>: Use
10636 TARGET_DEFAULT_NORETURN.
10637
07366925
TT
106382014-02-19 Tom Tromey <tromey@redhat.com>
10639
10640 * target-delegates.c: Rebuild.
10641 * target.c (target_delete_record): Unconditionally delegate.
10642 * target.h (struct target_ops) <to_delete_record>: Use
10643 TARGET_DEFAULT_NORETURN.
10644
dd2e9d25
TT
106452014-02-19 Tom Tromey <tromey@redhat.com>
10646
10647 * target-delegates.c: Rebuild.
10648 * target.c (target_record_is_replaying): Unconditionally
10649 delegate.
10650 * target.h (struct target_ops) <to_record_is_replaying>: Use
10651 TARGET_DEFAULT_RETURN.
10652
671e76cc
TT
106532014-02-19 Tom Tromey <tromey@redhat.com>
10654
10655 * target-delegates.c: Rebuild.
10656 * target.c (target_goto_record_begin): Unconditionally delegate.
10657 * target.h (struct target_ops) <to_goto_record_begin>: Use
10658 TARGET_DEFAULT_NORETURN.
10659
e9179bb3
TT
106602014-02-19 Tom Tromey <tromey@redhat.com>
10661
10662 * target-delegates.c: Rebuild.
10663 * target.c (target_goto_record_end): Unconditionally delegate.
10664 * target.h (struct target_ops) <to_goto_record_end>: Use
10665 TARGET_DEFAULT_NORETURN.
10666
05969c84
TT
106672014-02-19 Tom Tromey <tromey@redhat.com>
10668
10669 * target-delegates.c: Rebuild.
10670 * target.c (target_goto_record): Unconditionally delegate.
10671 * target.h (struct target_ops) <to_goto_record>: Use
10672 TARGET_DEFAULT_NORETURN.
10673
3679abfa
TT
106742014-02-19 Tom Tromey <tromey@redhat.com>
10675
10676 * target-delegates.c: Rebuild.
10677 * target.c (target_insn_history): Unconditionally delegate.
10678 * target.h (struct target_ops) <to_insn_history>: Use
10679 TARGET_DEFAULT_NORETURN.
10680
8444ab58
TT
106812014-02-19 Tom Tromey <tromey@redhat.com>
10682
10683 * target-delegates.c: Rebuild.
10684 * target.c (target_insn_history_from): Unconditionally delegate.
10685 * target.h (struct target_ops) <to_insn_history_from>: Use
10686 TARGET_DEFAULT_NORETURN.
10687
c29302cc
TT
106882014-02-19 Tom Tromey <tromey@redhat.com>
10689
10690 * target-delegates.c: Rebuild.
10691 * target.c (target_insn_history_range): Unconditionally delegate.
10692 * target.h (struct target_ops) <to_insn_history_range>: Use
10693 TARGET_DEFAULT_NORETURN.
10694
170049d4
TT
106952014-02-19 Tom Tromey <tromey@redhat.com>
10696
10697 * target-delegates.c: Rebuild.
10698 * target.c (target_call_history): Unconditionally delegate.
10699 * target.h (struct target_ops) <to_call_history>: Use
10700 TARGET_DEFAULT_NORETURN.
10701
16fc27d6
TT
107022014-02-19 Tom Tromey <tromey@redhat.com>
10703
10704 * target-delegates.c: Rebuild.
10705 * target.c (target_call_history_from): Unconditionally delegate.
10706 * target.h (struct target_ops) <to_call_history_from>: Use
10707 TARGET_DEFAULT_NORETURN.
10708
115d9817
TT
107092014-02-19 Tom Tromey <tromey@redhat.com>
10710
10711 * target-delegates.c: Rebuild.
10712 * target.c (target_call_history_range): Unconditionally delegate.
10713 * target.h (struct target_ops) <to_call_history_range>: Use
10714 TARGET_DEFAULT_NORETURN.
10715
eb276a6b
TT
107162014-02-19 Tom Tromey <tromey@redhat.com>
10717
10718 * target-delegates.c: Rebuild.
10719 * target.c (target_verify_memory): Unconditionally delegate.
10720 * target.h (struct target_ops) <to_verify_memory>: Use
10721 TARGET_DEFAULT_NORETURN.
10722
9e538d0d
TT
107232014-02-19 Tom Tromey <tromey@redhat.com>
10724
10725 * target-delegates.c: Rebuild.
10726 * target.c (target_core_of_thread): Unconditionally delegate.
10727 * target.h (struct target_ops) <to_core_of_thread>: Use
10728 TARGET_DEFAULT_RETURN.
10729
f6fb2925
TT
107302014-02-19 Tom Tromey <tromey@redhat.com>
10731
10732 * target-delegates.c: Rebuild.
10733 * target.c (target_flash_done): Unconditionally delegate.
10734 * target.h (struct target_ops) <to_flash_done>: Use
10735 TARGET_DEFAULT_NORETURN.
10736
e8a6c6ac
TT
107372014-02-19 Tom Tromey <tromey@redhat.com>
10738
10739 * target-delegates.c: Rebuild.
10740 * target.c (target_flash_erase): Unconditionally delegate.
10741 * target.h (struct target_ops) <to_flash_erase>: Use
10742 TARGET_DEFAULT_NORETURN.
10743
7e35c012
TT
107442014-02-19 Tom Tromey <tromey@redhat.com>
10745
10746 * target-delegates.c: Rebuild.
10747 * target.c (target_get_section_table): Unconditionally delegate.
10748 * target.h (struct target_ops) <to_get_section_table>: Use
10749 TARGET_DEFAULT_RETURN.
10750
770234d3
TT
107512014-02-19 Tom Tromey <tromey@redhat.com>
10752
10753 * target-delegates.c: Rebuild.
10754 * target.c (target_pid_to_str): Unconditionally delegate.
10755 (init_dummy_target): Don't initialize to_pid_to_str.
10756 (default_pid_to_str): Rename from dummy_pid_to_str.
10757 * target.h (struct target_ops) <to_pid_to_str>: Use
10758 TARGET_DEFAULT_FUNC.
10759
09b0dc2b
TT
107602014-02-19 Tom Tromey <tromey@redhat.com>
10761
10762 * target-delegates.c: Rebuild.
10763 * target.c (target_find_new_threads): Unconditionally delegate.
10764 * target.h (struct target_ops) <to_find_new_threads>: Use
10765 TARGET_DEFAULT_RETURN.
10766
7d4f8efa
TT
107672014-02-19 Tom Tromey <tromey@redhat.com>
10768
10769 * target-delegates.c: Rebuild.
10770 * target.c (target_program_signals): Unconditionally delegate.
10771 * target.h (struct target_ops) <to_program_signals>: Use
10772 TARGET_DEFAULT_IGNORE.
10773
035cad7f
TT
107742014-02-19 Tom Tromey <tromey@redhat.com>
10775
10776 * target-delegates.c: Rebuild.
10777 * target.c (target_pass_signals): Unconditionally delegate.
10778 * target.h (struct target_ops) <to_pass_signals>: Use
10779 TARGET_DEFAULT_IGNORE.
10780
8d657035
TT
107812014-02-19 Tom Tromey <tromey@redhat.com>
10782
10783 * target-delegates.c: Rebuild.
10784 * target.c (default_mourn_inferior): New function.
10785 (target_mourn_inferior): Unconditionally delegate.
10786 * target.h (struct target_ops) <to_mourn_inferior>: Use
10787 TARGET_DEFAULT_FUNC.
10788
098dba18
TT
107892014-02-19 Tom Tromey <tromey@redhat.com>
10790
10791 * target-delegates.c: Rebuild.
10792 * target.c (default_follow_fork): New function.
10793 (target_follow_fork): Unconditionally delegate.
10794 * target.h (struct target_ops) <to_follow_fork>: Use
10795 TARGET_DEFAULT_FUNC.
10796
423a4807
TT
107972014-02-19 Tom Tromey <tromey@redhat.com>
10798
10799 * target-delegates.c: Rebuild.
10800 * target.c (target_kill): Unconditionally delegate.
10801 * target.h (struct target_ops) <to_kill>: Use
10802 TARGET_DEFAULT_NORETURN.
10803
6c7e5e5c
TT
108042014-02-19 Tom Tromey <tromey@redhat.com>
10805
10806 * target-delegates.c: Rebuild.
10807 * target.c (target_masked_watch_num_registers): Unconditionally
10808 delegate.
10809 * target.h (struct target_ops) <to_masked_watch_num_registers>:
10810 Use TARGET_DEFAULT_RETURN.
10811
8b1c364c
TT
108122014-02-19 Tom Tromey <tromey@redhat.com>
10813
10814 * target-delegates.c: Rebuild.
10815 * target.c (target_remove_mask_watchpoint): Unconditionally
10816 delegate.
10817 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
10818 TARGET_DEFAULT_RETURN.
10819
cd4ae029
TT
108202014-02-19 Tom Tromey <tromey@redhat.com>
10821
10822 * target-delegates.c: Rebuild.
10823 * target.c (target_insert_mask_watchpoint): Unconditionally
10824 delegate.
10825 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
10826 TARGET_DEFAULT_RETURN.
10827
a134316b
TT
108282014-02-19 Tom Tromey <tromey@redhat.com>
10829
10830 * target-delegates.c: Rebuild.
10831 * target.c (target_ranged_break_num_registers): Unconditionally
10832 delegate.
10833 * target.h (struct target_ops) <to_ranged_break_num_registers>:
10834 Use TARGET_DEFAULT_RETURN.
10835
ad5989bd
TT
108362014-02-19 Tom Tromey <tromey@redhat.com>
10837
10838 * target-delegates.c: Rebuild.
10839 * target.c (target_fetch_registers): Unconditionally delegate.
10840 * target.h (struct target_ops) <to_fetch_registers>: Use
10841 TARGET_DEFAULT_NORETURN.
10842
46ee7e8d
TT
108432014-02-19 Tom Tromey <tromey@redhat.com>
10844
10845 * target-delegates.c: Rebuild.
10846 * target.c (update_current_target): Don't inherit or default
10847 to_stop.
10848 * target.h (struct target_ops) <to_stop>: Use
10849 TARGET_DEFAULT_IGNORE.
10850
843f59ed
TT
108512014-02-19 Tom Tromey <tromey@redhat.com>
10852
10853 * target-delegates.c: Rebuild.
10854 * target.c (update_current_target): Don't inherit or default
10855 to_can_run_breakpoint_commands.
10856 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10857 Use TARGET_DEFAULT_RETURN.
10858
ccfde2a0
TT
108592014-02-19 Tom Tromey <tromey@redhat.com>
10860
10861 * target-delegates.c: Rebuild.
10862 * target.c (update_current_target): Don't inherit or default
10863 to_supports_evaluation_of_breakpoint_conditions.
10864 * target.h (struct target_ops)
10865 <to_supports_evaluation_of_breakpoint_conditions>: Use
10866 TARGET_DEFAULT_RETURN.
10867
0de91722
TT
108682014-02-19 Tom Tromey <tromey@redhat.com>
10869
10870 * target-delegates.c: Rebuild.
10871 * target.c (update_current_target): Don't inherit or default
10872 to_augmented_libraries_svr4_read.
10873 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10874 Use TARGET_DEFAULT_RETURN.
10875
9a7d8b48
TT
108762014-02-19 Tom Tromey <tromey@redhat.com>
10877
10878 * target-delegates.c: Rebuild.
10879 * target.c (update_current_target): Don't inherit or default
10880 to_can_use_agent.
10881 * target.h (struct target_ops) <to_can_use_agent>: Use
10882 TARGET_DEFAULT_RETURN.
10883
d9db5b21
TT
108842014-02-19 Tom Tromey <tromey@redhat.com>
10885
10886 * target-delegates.c: Rebuild.
10887 * target.c (update_current_target): Don't inherit or default
10888 to_use_agent.
10889 * target.h (struct target_ops) <to_use_agent>: Use
10890 TARGET_DEFAULT_NORETURN.
10891
92155eeb
TT
108922014-02-19 Tom Tromey <tromey@redhat.com>
10893
10894 * target-delegates.c: Rebuild.
10895 * target.c (update_current_target): Don't inherit or default
10896 to_traceframe_info.
10897 (return_null): Remove.
10898 * target.h (struct target_ops) <to_traceframe_info>: Use
10899 TARGET_DEFAULT_RETURN.
10900
d6522a22
TT
109012014-02-19 Tom Tromey <tromey@redhat.com>
10902
10903 * target-delegates.c: Rebuild.
10904 * target.c (update_current_target): Don't inherit or default
10905 to_static_tracepoint_markers_by_strid.
10906 * target.h (struct target_ops)
10907 <to_static_tracepoint_markers_by_strid>: Use
10908 TARGET_DEFAULT_NORETURN.
10909
4c3e4425
TT
109102014-02-19 Tom Tromey <tromey@redhat.com>
10911
10912 * target-delegates.c: Rebuild.
10913 * target.c (update_current_target): Don't inherit or default
10914 to_static_tracepoint_marker_at.
10915 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10916 Use TARGET_DEFAULT_RETURN.
10917
dcd6917f
TT
109182014-02-19 Tom Tromey <tromey@redhat.com>
10919
10920 * target-delegates.c: Rebuild.
10921 * target.c (update_current_target): Don't inherit or default
10922 to_set_permissions.
10923 * target.h (struct target_ops) <to_set_permissions>: Use
10924 TARGET_DEFAULT_IGNORE.
10925
22bcceee
TT
109262014-02-19 Tom Tromey <tromey@redhat.com>
10927
10928 * target-delegates.c: Rebuild.
10929 * target.c (update_current_target): Don't inherit or default
10930 to_get_tib_address.
10931 * target.h (struct target_ops) <to_get_tib_address>: Use
10932 TARGET_DEFAULT_NORETURN.
10933
8586ccaa
TT
109342014-02-19 Tom Tromey <tromey@redhat.com>
10935
10936 * target-delegates.c: Rebuild.
10937 * target.c (update_current_target): Don't inherit or default
10938 to_set_trace_notes.
10939 * target.h (struct target_ops) <to_set_trace_notes>: Use
10940 TARGET_DEFAULT_RETURN.
10941
91df8d1d
TT
109422014-02-19 Tom Tromey <tromey@redhat.com>
10943
10944 * target-delegates.c: Rebuild.
10945 * target.c (update_current_target): Don't initialize
10946 to_set_trace_buffer_size.
10947 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
10948 TARGET_DEFAULT_IGNORE.
10949
8d526939
TT
109502014-02-19 Tom Tromey <tromey@redhat.com>
10951
10952 * target-delegates.c: Rebuild.
10953 * target.c (update_current_target): Don't inherit or default
10954 to_set_circular_trace_buffer.
10955 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
10956 TARGET_DEFAULT_IGNORE.
10957
0bcfeddf
TT
109582014-02-19 Tom Tromey <tromey@redhat.com>
10959
10960 * target-delegates.c: Rebuild.
10961 * target.c (update_current_target): Don't inherit or default
10962 to_set_disconnected_tracing.
10963 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
10964 TARGET_DEFAULT_IGNORE.
10965
9249843f
TT
109662014-02-19 Tom Tromey <tromey@redhat.com>
10967
10968 * target-delegates.c: Rebuild.
10969 * target.c (update_current_target): Don't inherit or default
10970 to_get_min_fast_tracepoint_insn_len.
10971 (return_minus_one): Remove.
10972 * target.h (struct target_ops)
10973 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
10974
ace92e7d
TT
109752014-02-19 Tom Tromey <tromey@redhat.com>
10976
10977 * target-delegates.c: Rebuild.
10978 * target.c (update_current_target): Don't inherit or default
10979 to_get_raw_trace_data.
10980 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
10981 TARGET_DEFAULT_NORETURN.
10982
08120467
TT
109832014-02-19 Tom Tromey <tromey@redhat.com>
10984
10985 * target-delegates.c: Rebuild.
10986 * target.c (update_current_target): Don't inherit or default
10987 to_upload_trace_state_variables.
10988 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10989 Use TARGET_DEFAULT_RETURN.
10990
1e949b00
TT
109912014-02-19 Tom Tromey <tromey@redhat.com>
10992
10993 * target-delegates.c: Rebuild.
10994 * target.c (update_current_target): Don't inherit or default
10995 to_upload_tracepoints.
10996 * target.h (struct target_ops) <to_upload_tracepoints>: Use
10997 TARGET_DEFAULT_RETURN.
10998
a2e6c147
TT
109992014-02-19 Tom Tromey <tromey@redhat.com>
11000
11001 * target-delegates.c: Rebuild.
11002 * target.c (update_current_target): Don't inherit or default
11003 to_save_trace_data.
11004 * target.h (struct target_ops) <to_save_trace_data>: Use
11005 TARGET_DEFAULT_NORETURN.
11006
959bcd0b
TT
110072014-02-19 Tom Tromey <tromey@redhat.com>
11008
11009 * target-delegates.c: Rebuild.
11010 * target.c (update_current_target): Don't inherit or default
11011 to_get_trace_state_variable_value.
11012 * target.h (struct target_ops)
11013 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
11014
afc94e66
TT
110152014-02-19 Tom Tromey <tromey@redhat.com>
11016
11017 * target-delegates.c: Rebuild.
11018 * target.c (update_current_target): Don't inherit or default
11019 to_trace_find.
11020 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
11021
e51c07ea
TT
110222014-02-19 Tom Tromey <tromey@redhat.com>
11023
11024 * target-delegates.c: Rebuild.
11025 * target.c (update_current_target): Don't inherit or default
11026 to_trace_stop.
11027 * target.h (struct target_ops) <to_trace_stop>: Use
11028 TARGET_DEFAULT_NORETURN.
11029
6fea14cd
TT
110302014-02-19 Tom Tromey <tromey@redhat.com>
11031
11032 * target-delegates.c: Rebuild.
11033 * target.c (update_current_target): Don't inherit or default
11034 to_get_tracepoint_status.
11035 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
11036 TARGET_DEFAULT_NORETURN.
11037
4072d4ff
TT
110382014-02-19 Tom Tromey <tromey@redhat.com>
11039
11040 * target-delegates.c: Rebuild.
11041 * target.c (update_current_target): Don't inherit or default
11042 to_get_trace_status.
11043 * target.h (struct target_ops) <to_get_trace_status>: Use
11044 TARGET_DEFAULT_RETURN.
11045
25da2e80
TT
110462014-02-19 Tom Tromey <tromey@redhat.com>
11047
11048 * target-delegates.c: Rebuild.
11049 * target.c (update_current_target): Don't inherit or default
11050 to_trace_start.
11051 * target.h (struct target_ops) <to_trace_start>: Use
11052 TARGET_DEFAULT_NORETURN.
11053
86dd181d
TT
110542014-02-19 Tom Tromey <tromey@redhat.com>
11055
11056 * target-delegates.c: Rebuild.
11057 * target.c (update_current_target): Don't inherit or default
11058 to_trace_set_readonly_regions.
11059 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11060 Use TARGET_DEFAULT_NORETURN.
11061
05c41993
TT
110622014-02-19 Tom Tromey <tromey@redhat.com>
11063
11064 * target-delegates.c: Rebuild.
11065 * target.c (update_current_target): Don't inherit or default
11066 to_disable_tracepoint.
11067 * target.h (struct target_ops) <to_disable_tracepoint>: Use
11068 TARGET_DEFAULT_NORETURN.
11069
151f70f1
TT
110702014-02-19 Tom Tromey <tromey@redhat.com>
11071
11072 * target-delegates.c: Rebuild.
11073 * target.c (update_current_target): Don't inherit or default
11074 to_enable_tracepoint.
11075 * target.h (struct target_ops) <to_enable_tracepoint>: Use
11076 TARGET_DEFAULT_NORETURN.
11077
94eb98b9
TT
110782014-02-19 Tom Tromey <tromey@redhat.com>
11079
11080 * target-delegates.c: Rebuild.
11081 * target.c (update_current_target): Don't inherit or default
11082 to_download_trace_state_variable.
11083 * target.h (struct target_ops) <to_download_trace_state_variable>:
11084 Use TARGET_DEFAULT_NORETURN.
11085
719acc4a
TT
110862014-02-19 Tom Tromey <tromey@redhat.com>
11087
11088 * target-delegates.c: Rebuild.
11089 * target.c (update_current_target): Don't inherit or default
11090 to_can_download_tracepoint.
11091 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
11092 TARGET_DEFAULT_RETURN.
11093
9a980a22
TT
110942014-02-19 Tom Tromey <tromey@redhat.com>
11095
11096 * target-delegates.c: Rebuild.
11097 * target.c (update_current_target): Don't inherit or default
11098 to_download_tracepoint.
11099 * target.h (struct target_ops) <to_download_tracepoint>: Use
11100 TARGET_DEFAULT_NORETURN.
11101
5536135b
TT
111022014-02-19 Tom Tromey <tromey@redhat.com>
11103
11104 * target-delegates.c: Rebuild.
11105 * target.c (update_current_target): Don't inherit or default
11106 to_trace_init.
11107 * target.h (struct target_ops) <to_trace_init>: Use
11108 TARGET_DEFAULT_RETURN.
11109
9409d39e
TT
111102014-02-19 Tom Tromey <tromey@redhat.com>
11111
11112 * target-delegates.c: Rebuild.
11113 * target.c (update_current_target): Don't inherit or default
11114 to_supports_string_tracing.
11115 * target.h (struct target_ops) <to_supports_string_tracing>: Use
11116 TARGET_DEFAULT_RETURN.
11117
aab1b22d
TT
111182014-02-19 Tom Tromey <tromey@redhat.com>
11119
11120 * target-delegates.c: Rebuild.
11121 * target.c (update_current_target): Don't inherit or default
11122 to_supports_enable_disable_tracepoint.
11123 * target.h (struct target_ops)
11124 <to_supports_enable_disable_tracepoint>: Use
11125 TARGET_DEFAULT_RETURN.
11126
a7304748
TT
111272014-02-19 Tom Tromey <tromey@redhat.com>
11128
11129 * target-delegates.c: Rebuild.
11130 * target.c (update_current_target): Don't inherit or default
11131 to_supports_multi_process.
11132 * target.h (struct target_ops) <to_supports_multi_process>: Use
11133 TARGET_DEFAULT_RETURN.
11134
4229b31d
TT
111352014-02-19 Tom Tromey <tromey@redhat.com>
11136
11137 * target-delegates.c: Rebuild.
11138 * target.c (update_current_target): Don't inherit or default
11139 to_get_ada_task_ptid.
11140 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
11141 TARGET_DEFAULT_FUNC.
11142
43eba180
TT
111432014-02-19 Tom Tromey <tromey@redhat.com>
11144
11145 * target-delegates.c: Rebuild.
11146 * target.c (update_current_target): Don't inherit or default
11147 to_thread_architecture.
11148 * target.h (struct target_ops) <to_thread_architecture>: Use
11149 TARGET_DEFAULT_FUNC.
11150
fe31bf5b
TT
111512014-02-19 Tom Tromey <tromey@redhat.com>
11152
11153 * target-delegates.c: Rebuild.
11154 * target.c (update_current_target): Don't inherit or default
11155 to_execution_direction.
11156 * target.h (struct target_ops) <to_execution_direction>: Use
11157 TARGET_DEFAULT_FUNC.
11158
53e1cfc7
TT
111592014-02-19 Tom Tromey <tromey@redhat.com>
11160
11161 * target-delegates.c: Rebuild.
11162 * target.c (update_current_target): Don't inherit or default
11163 to_can_execute_reverse.
11164 * target.h (struct target_ops) <to_can_execute_reverse>: Use
11165 TARGET_DEFAULT_RETURN.
11166 (target_can_execute_reverse): Unconditionally delegate.
11167
9bb9d61d
TT
111682014-02-19 Tom Tromey <tromey@redhat.com>
11169
11170 * target-delegates.c: Rebuild.
11171 * target.c (update_current_target): Don't inherit or default
11172 to_goto_bookmark.
11173 (dummy_goto_bookmark): Remove.
11174 (init_dummy_target): Don't inherit or default to_goto_bookmark.
11175 * target.h (struct target_ops) <to_goto_bookmark>: Use
11176 TARGET_DEFAULT_NORETURN.
11177
3dbafbbb
TT
111782014-02-19 Tom Tromey <tromey@redhat.com>
11179
11180 * target-delegates.c: Rebuild.
11181 * target.c (update_current_target): Don't inherit or default
11182 to_get_bookmark.
11183 (dummy_get_bookmark): Remove.
11184 (init_dummy_target): Don't inherit or default to_get_bookmark.
11185 * target.h (struct target_ops) <to_get_bookmark>: Use
11186 TARGET_DEFAULT_NORETURN
11187
16f796b1
TT
111882014-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_make_corefile_notes.
11193 (init_dummy_target): Don't initialize to_make_corefile_notes.
11194 * target.h (struct target_ops) <to_make_corefile_notes>: Use
11195 TARGET_DEFAULT_FUNC.
11196
0b5a2719
TT
111972014-02-19 Tom Tromey <tromey@redhat.com>
11198
11199 * target-delegates.c: Rebuild.
11200 * target.c (update_current_target): Don't inherit or default
11201 to_find_memory_regions.
11202 (init_dummy_target): Don't initialize to_find_memory_regions.
11203 * target.h (struct target_ops) <to_find_memory_regions>: Use
11204 TARGET_DEFAULT_FUNC.
11205
d9cb0195
TT
112062014-02-19 Tom Tromey <tromey@redhat.com>
11207
11208 * target-delegates.c: Rebuild.
11209 * target.c (update_current_target): Don't inherit or default
11210 to_log_command.
11211 * target.h (struct target_ops) <to_log_command>: Use
11212 TARGET_DEFAULT_IGNORE.
11213 (target_log_command): Unconditionally delegate.
11214
830ca330
TT
112152014-02-19 Tom Tromey <tromey@redhat.com>
11216
11217 * target-delegates.c: Rebuild.
11218 * target.c (update_current_target): Don't inherit or default
11219 to_pid_to_exec_file.
11220 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
11221 TARGET_DEFAULT_RETURN.
11222
825828fc
TT
112232014-02-19 Tom Tromey <tromey@redhat.com>
11224
11225 * target-delegates.c: Rebuild.
11226 * target.c (update_current_target): Don't inherit or default
11227 to_thread_name.
11228 (target_thread_name): Unconditionally delegate.
11229 * target.h (struct target_ops) <to_thread_name>: Use
11230 TARGET_DEFAULT_RETURN.
11231
4a7e6dda
TT
112322014-02-19 Tom Tromey <tromey@redhat.com>
11233
11234 * target-delegates.c: Rebuild.
11235 * target.c (update_current_target): Don't inherit or default
11236 to_extra_thread_info.
11237 * target.h (struct target_ops) <to_extra_thread_info>: Use
11238 TARGET_DEFAULT_RETURN.
11239
0db88c1d
TT
112402014-02-19 Tom Tromey <tromey@redhat.com>
11241
11242 * target-delegates.c: Rebuild.
11243 * target.c (update_current_target): Don't inherit or default
11244 to_has_exited.
11245 * target.h (struct target_ops) <to_has_exited>: Use
11246 TARGET_DEFAULT_RETURN..
11247
6a9fa051
TT
112482014-02-19 Tom Tromey <tromey@redhat.com>
11249
11250 * target-delegates.c: Rebuild.
11251 * target.c (update_current_target): Don't inherit or default
11252 to_set_syscall_catchpoint.
11253 (return_one): Remove.
11254 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
11255 TARGET_DEFAULT_RETURN.
11256
62f64d7a
TT
112572014-02-19 Tom Tromey <tromey@redhat.com>
11258
11259 * target-delegates.c: Rebuild.
11260 * target.c (update_current_target): Don't inherit or default
11261 to_insert_exec_catchpoint.
11262 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11263 TARGET_DEFAULT_RETURN.
11264
cda0f38c
TT
112652014-01-08 Tom Tromey <tromey@redhat.com>
11266
11267 * target-delegates.c: Rebuild.
11268 * target.c (update_current_target): Don't inherit or default
11269 to_insert_exec_catchpoint.
11270 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11271 TARGET_DEFAULT_RETURN.
11272
95c3375e
TT
112732014-02-19 Tom Tromey <tromey@redhat.com>
11274
11275 * target-delegates.c: Rebuild.
11276 * target.c (update_current_target): Don't inherit or default
11277 to_remove_vfork_catchpoint.
11278 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
11279 TARGET_DEFAULT_RETURN.
11280
7e18a8dc
TT
112812014-02-19 Tom Tromey <tromey@redhat.com>
11282
11283 * target-delegates.c: Rebuild.
11284 * target.c (update_current_target): Don't inherit or default
11285 to_insert_vfork_catchpoint.
11286 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
11287 TARGET_DEFAULT_RETURN.
11288
e1a21fb7
TT
112892014-02-19 Tom Tromey <tromey@redhat.com>
11290
11291 * target-delegates.c: Rebuild.
11292 * target.c (update_current_target): Don't inherit or default
11293 to_remove_fork_catchpoint.
11294 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
11295 TARGET_DEFAULT_RETURN.
11296
5958ebeb
TT
112972014-02-19 Tom Tromey <tromey@redhat.com>
11298
11299 * target-delegates.c: Rebuild.
11300 * target.c (update_current_target): Don't inherit or default
11301 to_insert_fork_catchpoint.
11302 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
11303 TARGET_DEFAULT_RETURN.
11304
340ba4bf
TT
113052014-02-19 Tom Tromey <tromey@redhat.com>
11306
11307 * target-delegates.c: Rebuild.
11308 * target.c (update_current_target): Don't inherit or default
11309 to_post_startup_inferior.
11310 * target.h (struct target_ops) <to_post_startup_inferior>: Use
11311 TARGET_DEFAULT_IGNORE.
11312
7634da87
TT
113132014-02-19 Tom Tromey <tromey@redhat.com>
11314
11315 * target-delegates.c: Rebuild.
11316 * target.c (update_current_target): Don't inherit or default
11317 to_load.
11318 * target.h (struct target_ops) <to_load>: Use
11319 TARGET_DEFAULT_NORETURN.
11320
e19e919f
TT
113212014-02-19 Tom Tromey <tromey@redhat.com>
11322
11323 * target-delegates.c: Rebuild.
11324 * target.c (update_current_target): Don't inherit or default
11325 to_terminal_info.
11326 * target.h (struct target_ops) <to_terminal_info>: Use
11327 TARGET_DEFAULT_FUNC.
11328
c6ea8f79
TT
113292014-02-19 Tom Tromey <tromey@redhat.com>
11330
11331 * target-delegates.c: Rebuild.
11332 * target.c (update_current_target): Don't inherit or default
11333 to_terminal_save_ours.
11334 * target.h (struct target_ops) <to_terminal_save_ours>: Use
11335 TARGET_DEFAULT_IGNORE.
11336
e4a733f1
TT
113372014-02-19 Tom Tromey <tromey@redhat.com>
11338
11339 * target-delegates.c: Rebuild.
11340 * target.c (update_current_target): Don't inherit or default
11341 to_terminal_ours.
11342 * target.h (struct target_ops) <to_terminal_ours>: Use
11343 TARGET_DEFAULT_IGNORE.
11344
74fcbef9
TT
113452014-02-19 Tom Tromey <tromey@redhat.com>
11346
11347 * target-delegates.c: Rebuild.
11348 * target.c (update_current_target): Don't inherit or default
11349 to_terminal_ours_for_output.
11350 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
11351 TARGET_DEFAULT_IGNORE.
11352
ddeaacc9
TT
113532014-02-19 Tom Tromey <tromey@redhat.com>
11354
11355 * target-delegates.c: Rebuild.
11356 * target.c (update_current_target): Don't inherit or default
11357 to_terminal_inferior.
11358 * target.h (struct target_ops) <to_terminal_inferior>: Use
11359 TARGET_DEFAULT_IGNORE.
11360
0343661d
TT
113612014-02-19 Tom Tromey <tromey@redhat.com>
11362
11363 * target-delegates.c: Rebuild.
11364 * target.c (update_current_target): Don't inherit or default
11365 to_terminal_init.
11366 * target.h (struct target_ops) <to_terminal_init>: Use
11367 TARGET_DEFAULT_IGNORE.
11368
77cdffe9
TT
113692014-02-19 Tom Tromey <tromey@redhat.com>
11370
11371 * target-delegates.c: Rebuild.
11372 * target.c (update_current_target): Don't inherit or default
11373 to_can_accel_watchpoint_condition.
11374 * target.h (struct target_ops)
11375 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
11376
d03655e4
TT
113772014-02-19 Tom Tromey <tromey@redhat.com>
11378
11379 * target-delegates.c: Rebuild.
11380 * target.c (update_current_target): Don't inherit or default
11381 to_region_ok_for_hw_watchpoint.
11382 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11383 Use TARGET_DEFAULT_FUNC.
11384
65f160a9
TT
113852014-02-19 Tom Tromey <tromey@redhat.com>
11386
11387 * target-delegates.c: Rebuild.
11388 * target.c (update_current_target): Don't inherit or default
11389 to_watchpoint_addr_within_range.
11390 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
11391 Use TARGET_DEFAULT_FUNC.
11392
61dd109f
TT
113932014-02-19 Tom Tromey <tromey@redhat.com>
11394
11395 * target-delegates.c: Rebuild.
11396 * target.c (update_current_target): Don't inherit or default
11397 to_remove_watchpoint.
11398 * target.h (struct target_ops) <to_remove_watchpoint>: Use
11399 TARGET_DEFAULT_NORETURN.
11400
016facd4
TT
114012014-02-19 Tom Tromey <tromey@redhat.com>
11402
11403 * target-delegates.c: Rebuild.
11404 * target.c (update_current_target): Don't inherit or default
11405 to_insert_watchpoint.
11406 * target.h (struct target_ops) <to_insert_watchpoint>: Use
11407 TARGET_DEFAULT_RETURN.
11408
418dabac
TT
114092014-02-19 Tom Tromey <tromey@redhat.com>
11410
11411 * target-delegates.c: Rebuild.
11412 * target.c (update_current_target): Don't inherit or default
11413 to_remove_hw_breakpoint.
11414 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
11415 TARGET_DEFAULT_RETURN.
11416
61b371f9
TT
114172014-02-19 Tom Tromey <tromey@redhat.com>
11418
11419 * target-delegates.c: Rebuild.
11420 * target.c (update_current_target): Don't inherit or default
11421 to_insert_hw_breakpoint.
11422 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
11423 TARGET_DEFAULT_RETURN.
11424
52b51d06
TT
114252014-02-19 Tom Tromey <tromey@redhat.com>
11426
11427 * target-delegates.c: Rebuild.
11428 * target.c (update_current_target): Don't inherit or default
11429 to_can_use_hw_breakpoint.
11430 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
11431 TARGET_DEFAULT_RETURN.
11432
f86e59b2
TT
114332014-02-19 Tom Tromey <tromey@redhat.com>
11434
11435 * target-delegates.c: Rebuild.
11436 * target.c (update_current_target): Don't inherit or default
11437 to_files_info.
11438 * target.h (struct target_ops) <to_files_info>: Use
11439 TARGET_DEFAULT_IGNORE.
11440
6c628163
TT
114412014-02-19 Tom Tromey <tromey@redhat.com>
11442
11443 * target-delegates.c: Rebuild.
11444 * target.c (update_current_target): Don't inherit or default
11445 to_store.
11446 * target.h (struct target_ops) <to_store>: Use
11447 TARGET_DEFAULT_NORETURN.
11448
bebd3233
TT
114492014-02-19 Tom Tromey <tromey@redhat.com>
11450
11451 * target-delegates.c: Rebuild.
11452 * target.c (update_current_target): Don't inherit or default
11453 to_post_attach.
11454 * target.h (struct target_ops) <to_post_attach>: Use
11455 TARGET_DEFAULT_IGNORE.
11456
a53f3625
TT
114572014-02-19 Tom Tromey <tromey@redhat.com>
11458
11459 * target-delegates.c: Rebuild.
11460 * target.c (update_current_target): Don't inherit or default
11461 to_rcmd.
11462 (default_rcmd): New function.
11463 (do_monitor_command): Unconditionally delegate.
11464 * target.h (struct target_ops) <to_rmcd>: Use
11465 TARGET_DEFAULT_FUNC.
11466
e9a29200
TT
114672014-02-19 Tom Tromey <tromey@redhat.com>
11468
11469 * target-delegates.c: Rebuild.
11470 * target.c (init_dummy_target): Don't initialize to_attach.
11471 (target_attach): Unconditionally delegate.
11472 * target.h (struct target_ops) <to_attach>: Use
11473 TARGET_DEFAULT_FUNC.
11474
09da0d0a
TT
114752014-02-19 Tom Tromey <tromey@redhat.com>
11476
11477 * target-delegates.c: Rebuild.
11478 * target.c (target_detach): Unconditionally delegate.
11479 (init_dummy_target): Don't initialize to_detach.
11480 * target.h (struct target_ops) <to_detach>: Use
11481 TARGET_DEFAULT_IGNORE.
11482
5436ff03
TT
114832014-02-19 Tom Tromey <tromey@redhat.com>
11484
11485 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11486 Add argument.
11487 (target_augmented_libraries_svr4_read): Add argument.
11488 * target.c (update_current_target): Update.
11489 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11490 argument.
11491
f0d960ea
TT
114922014-02-19 Tom Tromey <tromey@redhat.com>
11493
11494 * target.h (struct target_ops) <to_call_history_range>: Add
11495 argument.
11496 * target.c (target_call_history_range): Add argument.
11497 * record-btrace.c (record_btrace_call_history_range): Add 'self'
11498 argument.
11499 (record_btrace_call_history_from): Update.
11500
ec0aea04
TT
115012014-02-19 Tom Tromey <tromey@redhat.com>
11502
11503 * target.h (struct target_ops) <to_call_history_from>: Add
11504 argument.
11505 * target.c (target_call_history_from): Add argument.
11506 * record-btrace.c (record_btrace_call_history_from): Add 'self'
11507 argument.
11508
5df2fcba
TT
115092014-02-19 Tom Tromey <tromey@redhat.com>
11510
11511 * target.h (struct target_ops) <to_call_history>: Add argument.
11512 * target.c (target_call_history): Add argument.
11513 * record-btrace.c (record_btrace_call_history): Add 'self'
11514 argument.
11515
4e99c6b7
TT
115162014-02-19 Tom Tromey <tromey@redhat.com>
11517
11518 * target.h (struct target_ops) <to_insn_history_range>: Add
11519 argument.
11520 * target.c (target_insn_history_range): Add argument.
11521 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
11522 argument.
11523 (record_btrace_insn_history_from): Update.
11524
9abc3ff3
TT
115252014-02-19 Tom Tromey <tromey@redhat.com>
11526
11527 * target.h (struct target_ops) <to_insn_history_from>: Add
11528 argument.
11529 * target.c (target_insn_history_from): Add argument.
11530 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
11531 argument.
11532
7a6c5609
TT
115332014-02-19 Tom Tromey <tromey@redhat.com>
11534
11535 * target.h (struct target_ops) <to_insn_history>: Add argument.
11536 * target.c (target_insn_history): Add argument.
11537 * record-btrace.c (record_btrace_insn_history): Add 'self'
11538 argument.
11539
606183ac
TT
115402014-02-19 Tom Tromey <tromey@redhat.com>
11541
11542 * target.h (struct target_ops) <to_goto_record>: Add argument.
11543 * target.c (target_goto_record): Add argument.
11544 * record-full.c (record_full_goto): Add 'self' argument.
11545 * record-btrace.c (record_btrace_goto): Add 'self' argument.
11546
307a1b91
TT
115472014-02-19 Tom Tromey <tromey@redhat.com>
11548
11549 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11550 * target.c (target_goto_record_end): Add argument.
11551 * record-full.c (record_full_goto_end): Add 'self' argument.
11552 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
11553
08475817
TT
115542014-02-19 Tom Tromey <tromey@redhat.com>
11555
11556 * target.h (struct target_ops) <to_goto_record_begin>: Add
11557 argument.
11558 * target.c (target_goto_record_begin): Add argument.
11559 * record-full.c (record_full_goto_begin): Add 'self' argument.
11560 * record-btrace.c (record_btrace_goto_begin): Add 'self'
11561 argument.
11562
1c63c994
TT
115632014-02-19 Tom Tromey <tromey@redhat.com>
11564
11565 * target.h (struct target_ops) <to_record_is_replaying>: Add
11566 argument.
11567 * target.c (target_record_is_replaying): Add argument.
11568 * record-full.c (record_full_is_replaying): Add 'self' argument.
11569 * record-btrace.c (record_btrace_is_replaying): Add 'self'
11570 argument.
11571 (record_btrace_xfer_partial, record_btrace_store_registers)
11572 (record_btrace_prepare_to_store, record_btrace_resume)
11573 (record_btrace_wait, record_btrace_decr_pc_after_break)
11574 (record_btrace_find_new_threads, record_btrace_thread_alive):
11575 Update.
11576
d1b55219
TT
115772014-02-19 Tom Tromey <tromey@redhat.com>
11578
11579 * target.h (struct target_ops) <to_delete_record>: Add argument.
11580 * target.c (target_delete_record): Add argument.
11581 * record-full.c (record_full_delete): Add 'self' argument.
11582
1390f529
TT
115832014-02-19 Tom Tromey <tromey@redhat.com>
11584
11585 * target.h (struct target_ops) <to_save_record>: Add argument.
11586 * target.c (target_save_record): Add argument.
11587 * record-full.c (record_full_save): Add 'self' argument.
11588 (record_full_save): Add 'self' argument.
11589
630d6a4a
TT
115902014-02-19 Tom Tromey <tromey@redhat.com>
11591
11592 * target.h (struct target_ops) <to_info_record>: Add argument.
11593 * target.c (target_info_record): Add argument.
11594 * record.c (info_record_command): Add argument.
11595 * record-full.c (record_full_info): Add 'self' argument.
11596 * record-btrace.c (record_btrace_info): Add 'self' argument.
11597
c6cd7c02
TT
115982014-02-19 Tom Tromey <tromey@redhat.com>
11599
11600 * target.h (struct target_ops) <to_stop_recording>: Add argument.
11601 * target.c (target_stop_recording): Add argument.
11602 * record.c (record_stop): Add argument.
11603 * record-btrace.c (record_btrace_stop_recording): Add 'self'
11604 argument.
11605
39c49f83
TT
116062014-02-19 Tom Tromey <tromey@redhat.com>
11607
11608 * target.h (struct target_ops) <to_read_btrace>: Add argument.
11609 * target.c (struct target_ops) <to_read_btrace>: Add argument.
11610 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
11611 argument.
11612 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
11613 (_initialize_amd64_linux_nat): Use it.
11614 * i386-linux-nat.c (i386_linux_read_btrace): New function.
11615 (_initialize_i386_linux_nat): Use it.
11616
1777056d
TT
116172014-02-19 Tom Tromey <tromey@redhat.com>
11618
11619 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
11620 * target.c (target_teardown_btrace): Add argument.
11621 * remote.c (remote_teardown_btrace): Add 'self' argument.
11622 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
11623 argument.
11624 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
11625 argument.
11626
25e95349
TT
116272014-02-19 Tom Tromey <tromey@redhat.com>
11628
11629 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
11630 * target.c (target_disable_btrace): Add argument.
11631 * remote.c (remote_disable_btrace): Add 'self' argument.
11632 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
11633 argument.
11634 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
11635 argument.
11636
e3c49f88
TT
116372014-02-19 Tom Tromey <tromey@redhat.com>
11638
11639 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
11640 * target.c (target_enable_btrace): Add argument.
11641 * remote.c (remote_enable_btrace): Add 'self' argument.
11642 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
11643 argument.
11644 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
11645 argument.
11646
fe38f897
TT
116472014-02-19 Tom Tromey <tromey@redhat.com>
11648
11649 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
11650 (target_can_use_agent): Add argument.
11651 * target.c (update_current_target): Update.
11652 * remote.c (remote_can_use_agent): Add 'self' argument.
11653 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
11654
2c152180
TT
116552014-02-19 Tom Tromey <tromey@redhat.com>
11656
11657 * target.h (struct target_ops) <to_use_agent>: Add argument.
11658 (target_use_agent): Add argument.
11659 * target.c (update_current_target): Update.
11660 * remote.c (remote_use_agent): Add 'self' argument.
11661 * inf-child.c (inf_child_use_agent): Add 'self' argument.
11662
a893e81f
TT
116632014-02-19 Tom Tromey <tromey@redhat.com>
11664
11665 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
11666 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
11667 (target_traceframe_info): Add argument.
11668 * target.c (update_current_target): Update.
11669 * remote.c (remote_traceframe_info): Add 'self' argument.
11670 * ctf.c (ctf_traceframe_info): Add 'self' argument.
11671
c686c57f
TT
116722014-02-19 Tom Tromey <tromey@redhat.com>
11673
11674 * target.h (target_static_tracepoint_markers_by_strid): Add
11675 argument.
11676 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
11677 'self' argument.
11678 * target.c (update_current_target): Update.
11679 * remote.c (struct target_ops)
11680 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11681 * linux-nat.c (struct target_ops)
11682 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11683
61fc905d
TT
116842014-02-19 Tom Tromey <tromey@redhat.com>
11685
11686 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11687 Add argument.
11688 (target_static_tracepoint_marker_at): Add argument.
11689 * target.c (update_current_target): Update.
11690 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
11691 argument.
11692
c378d69d
TT
116932014-02-19 Tom Tromey <tromey@redhat.com>
11694
11695 * target.h (struct target_ops) <to_set_permissions>: Add argument.
11696 (target_set_permissions): Add argument.
11697 * target.c (update_current_target): Update.
11698 * remote.c (remote_set_permissions): Add 'self' argument.
11699 (remote_start_remote): Update.
11700
bd7ae0f5
TT
117012014-02-19 Tom Tromey <tromey@redhat.com>
11702
11703 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
11704 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
11705 (target_get_tib_address): Add argument.
11706 * target.c (update_current_target): Update.
11707 * remote.c (remote_get_tib_address): Add 'self' argument.
11708
d9e68a2c
TT
117092014-02-19 Tom Tromey <tromey@redhat.com>
11710
11711 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
11712 (target_set_trace_notes): Add argument.
11713 * target.c (update_current_target): Update.
11714 * remote.c (remote_set_trace_notes): Add 'self' argument.
11715
4da384be
TT
117162014-02-19 Tom Tromey <tromey@redhat.com>
11717
11718 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
11719 argument.
11720 (target_set_trace_buffer_size): Add argument.
11721 * target.c (update_current_target): Update.
11722 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
11723
736d5b1f
TT
117242014-02-19 Tom Tromey <tromey@redhat.com>
11725
11726 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
11727 argument.
11728 (target_set_circular_trace_buffer): Add argument.
11729 * target.c (update_current_target): Update.
11730 * remote.c (remote_set_circular_trace_buffer): Add 'self'
11731 argument.
11732
37b25738
TT
117332014-02-19 Tom Tromey <tromey@redhat.com>
11734
11735 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
11736 argument.
11737 (target_set_disconnected_tracing): Add argument.
11738 * target.c (update_current_target): Update.
11739 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
11740
0e67620a
TT
117412014-02-19 Tom Tromey <tromey@redhat.com>
11742
11743 * target.h (struct target_ops)
11744 <to_get_min_fast_tracepoint_insn_len>: Add argument.
11745 (target_get_min_fast_tracepoint_insn_len): Add argument.
11746 * target.c (update_current_target): Update.
11747 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
11748 argument.
11749
88ee6f45
TT
117502014-02-19 Tom Tromey <tromey@redhat.com>
11751
11752 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
11753 argument.
11754 (target_get_raw_trace_data): Add argument.
11755 * target.c (update_current_target): Update.
11756 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
11757
181e3713
TT
117582014-02-19 Tom Tromey <tromey@redhat.com>
11759
11760 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11761 Add argument.
11762 (target_upload_trace_state_variables): Add argument.
11763 * target.c (update_current_target): Update.
11764 * remote.c (remote_upload_trace_state_variables): Add 'self'
11765 argument.
11766 (remote_start_remote): Update.
11767
ab6617cc
TT
117682014-02-19 Tom Tromey <tromey@redhat.com>
11769
11770 * target.h (struct target_ops) <to_upload_tracepoints>: Add
11771 argument.
11772 (target_upload_tracepoints): Add argument.
11773 * target.c (update_current_target): Update.
11774 * remote.c (remote_upload_tracepoints): Add 'self' argument.
11775 (remote_start_remote): Update.
11776
dc3decaf
TT
117772014-02-19 Tom Tromey <tromey@redhat.com>
11778
11779 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
11780 (target_save_trace_data): Add argument.
11781 * target.c (update_current_target): Update.
11782 * remote.c (remote_save_trace_data): Add 'self' argument.
11783
4011015b
TT
117842014-02-19 Tom Tromey <tromey@redhat.com>
11785
11786 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
11787 argument.
11788 * target.h (struct target_ops)
11789 <to_get_trace_state_variable_value>: Add argument.
11790 (target_get_trace_state_variable_value): Add argument.
11791 * target.c (update_current_target): Update.
11792 * remote.c (remote_get_trace_state_variable_value): Add 'self'
11793 argument.
11794 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
11795
bd4c6793
TT
117962014-02-19 Tom Tromey <tromey@redhat.com>
11797
11798 * tracepoint.c (tfile_trace_find): Add 'self' argument.
11799 * target.h (struct target_ops) <to_trace_find>: Add argument.
11800 (target_trace_find): Add argument.
11801 * target.c (update_current_target): Update.
11802 * remote.c (remote_trace_find): Add 'self' argument.
11803 * ctf.c (ctf_trace_find): Add 'self' argument.
11804
74499f1b
TT
118052014-02-19 Tom Tromey <tromey@redhat.com>
11806
11807 * target.h (struct target_ops) <to_trace_stop>: Add argument.
11808 (target_trace_stop): Add argument.
11809 * target.c (update_current_target): Update.
11810 * remote.c (remote_trace_stop): Add 'self' argument.
11811
db90e85c
TT
118122014-02-19 Tom Tromey <tromey@redhat.com>
11813
11814 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
11815 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
11816 argument.
11817 (target_get_tracepoint_status): Add argument.
11818 * target.c (update_current_target): Update.
11819 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
11820
8bd200f1
TT
118212014-02-19 Tom Tromey <tromey@redhat.com>
11822
11823 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
11824 * target.h (struct target_ops) <to_get_trace_status>: Add
11825 argument.
11826 (target_get_trace_status): Add argument.
11827 * target.c (update_current_target): Update.
11828 * remote.c (remote_get_trace_status): Add 'self' argument.
11829 (remote_start_remote, remote_can_download_tracepoint): Update.
11830 * ctf.c (ctf_get_trace_status): Add 'self' argument.
11831
e2d1aae3
TT
118322014-02-19 Tom Tromey <tromey@redhat.com>
11833
11834 * target.h (struct target_ops) <to_trace_start>: Add argument.
11835 (target_trace_start): Add argument.
11836 * target.c (update_current_target): Update.
11837 * remote.c (remote_trace_start): Add 'self' argument.
11838
583f9a86
TT
118392014-02-19 Tom Tromey <tromey@redhat.com>
11840
11841 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11842 Add argument.
11843 (target_trace_set_readonly_regions): Add argument.
11844 * target.c (update_current_target): Update.
11845 * remote.c (remote_trace_set_readonly_regions): Add 'self'
11846 argument.
11847
780b049c
TT
118482014-02-19 Tom Tromey <tromey@redhat.com>
11849
11850 * target.h (struct target_ops) <to_disable_tracepoint>: Add
11851 argument.
11852 (target_disable_tracepoint): Add argument.
11853 * target.c (update_current_target): Update.
11854 * remote.c (remote_disable_tracepoint): Add 'self' argument.
11855
46670d57
TT
118562014-02-19 Tom Tromey <tromey@redhat.com>
11857
11858 * target.h (struct target_ops) <to_enable_tracepoint>: Add
11859 argument.
11860 (target_enable_tracepoint): Add argument.
11861 * target.c (update_current_target): Update.
11862 * remote.c (remote_enable_tracepoint): Add 'self' argument.
11863
559d2b81
TT
118642014-02-19 Tom Tromey <tromey@redhat.com>
11865
11866 * target.h (struct target_ops) <to_download_trace_state_variable>:
11867 Add argument.
11868 (target_download_trace_state_variable): Add argument.
11869 * target.c (update_current_target): Update.
11870 * remote.c (remote_download_trace_state_variable): Add 'self'
11871 argument.
11872
a52a8357
TT
118732014-02-19 Tom Tromey <tromey@redhat.com>
11874
11875 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
11876 argument.
11877 (target_can_download_tracepoint): Add argument.
11878 * target.c (update_current_target): Update.
11879 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
11880
548f7808
TT
118812014-02-19 Tom Tromey <tromey@redhat.com>
11882
11883 * target.h (struct target_ops) <to_download_tracepoint>: Add
11884 argument.
11885 (target_download_tracepoint): Add argument.
11886 * target.c (update_current_target): Update.
11887 * remote.c (remote_download_tracepoint): Add 'self' argument.
11888
ecae04e1
TT
118892014-02-19 Tom Tromey <tromey@redhat.com>
11890
11891 * target.h (struct target_ops) <to_trace_init>: Add argument.
11892 (target_trace_init): Add argument.
11893 * target.c (update_current_target): Update.
11894 * remote.c (remote_trace_init): Add 'self' argument.
11895
fab5aa7c
TT
118962014-02-19 Tom Tromey <tromey@redhat.com>
11897
11898 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
11899 * target.c (target_fileio_readlink): Add argument.
11900 * remote.c (remote_hostio_readlink): Add 'self' argument.
11901 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
11902
dbbca37d
TT
119032014-02-19 Tom Tromey <tromey@redhat.com>
11904
11905 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
11906 * target.c (target_fileio_unlink): Add argument.
11907 * remote.c (remote_hostio_unlink): Add 'self' argument.
11908 (remote_file_delete): Update.
11909 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
11910
df39ea25
TT
119112014-02-19 Tom Tromey <tromey@redhat.com>
11912
11913 * target.h (struct target_ops) <to_fileio_close>: Add argument.
11914 * target.c (target_fileio_close): Add argument.
11915 * remote.c (remote_hostio_close): Add 'self' argument.
11916 (remote_hostio_close_cleanup): Update.
11917 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
11918 Update.
11919 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
11920
a3be983c
TT
119212014-02-19 Tom Tromey <tromey@redhat.com>
11922
11923 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
11924 * target.c (target_fileio_pread): Add argument.
11925 * remote.c (remote_hostio_pread): Add 'self' argument.
11926 (remote_bfd_iovec_pread, remote_file_get): Update.
11927 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
11928
0d866f62
TT
119292014-02-19 Tom Tromey <tromey@redhat.com>
11930
11931 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
11932 * target.c (target_fileio_pwrite): Add argument.
11933 * remote.c (remote_hostio_pwrite): Add 'self' argument.
11934 (remote_file_put): Update.
11935 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
11936
cd897586
TT
119372014-02-19 Tom Tromey <tromey@redhat.com>
11938
11939 * target.h (struct target_ops) <to_fileio_open>: Add argument.
11940 * target.c (target_fileio_open): Add argument.
11941 * remote.c (remote_hostio_open): Add 'self' argument.
11942 (remote_bfd_iovec_open): Add 'self' argument.
11943 (remote_file_put): Add 'self' argument.
11944 (remote_file_get): Add 'self' argument.
11945 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
11946
78eff0ec
TT
119472014-02-19 Tom Tromey <tromey@redhat.com>
11948
11949 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11950 Add argument.
11951 (target_can_run_breakpoint_commands): Add argument.
11952 * target.c (update_current_target): Update.
11953 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
11954 argument.
11955 (remote_insert_breakpoint): Add 'self' argument.
11956 (remote_insert_hw_breakpoint): Add 'self' argument.
11957 (remote_can_run_breakpoint_commands): Add 'self' argument.
11958
efcc2da7
TT
119592014-02-19 Tom Tromey <tromey@redhat.com>
11960
11961 * target.h (struct target_ops)
11962 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
11963 (target_supports_evaluation_of_breakpoint_conditions): Add
11964 argument.
11965 * target.c (update_current_target): Update.
11966 * remote.c (remote_supports_cond_breakpoints): Add 'self'
11967 argument.
11968 (remote_insert_breakpoint): Add 'self' argument.
11969 (remote_insert_hw_breakpoint): Add 'self' argument.
11970 (remote_supports_cond_breakpoints): Add 'self' argument.
11971
6de37a3a
TT
119722014-02-19 Tom Tromey <tromey@redhat.com>
11973
11974 * target.h (struct target_ops) <to_supports_string_tracing>: Add
11975 argument.
11976 (target_supports_string_tracing): Add argument.
11977 * target.c (update_current_target): Update.
11978 * remote.c (remote_supports_string_tracing): Add 'self' argument.
11979
2bfc0540
TT
119802014-02-19 Tom Tromey <tromey@redhat.com>
11981
11982 * target.h (struct target_ops)
11983 <to_supports_disable_randomization>: Add argument.
11984 * target.c (find_default_supports_disable_randomization): Add
11985 argument.
11986 (target_supports_disable_randomization): Add argument.
11987 (find_default_supports_disable_randomization): Add 'self'
11988 argument.
11989 * remote.c (extended_remote_supports_disable_randomization): Add
11990 'self' argument.
11991 (remote_supports_disable_randomization): Add 'self' argument.
11992 (extended_remote_create_inferior): Update.
11993 * linux-nat.c (linux_nat_supports_disable_randomization): Add
11994 'self' argument.
11995
7d178d6a
TT
119962014-02-19 Tom Tromey <tromey@redhat.com>
11997
11998 * target.h (struct target_ops)
11999 <to_supports_enable_disable_tracepoint>: Add argument.
12000 (target_supports_enable_disable_tracepoint): Add argument.
12001 * target.c (update_current_target): Update.
12002 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
12003 argument.
12004
86ce2668
TT
120052014-02-19 Tom Tromey <tromey@redhat.com>
12006
12007 * target.h (struct target_ops) <to_supports_multi_process>: Add
12008 argument.
12009 (target_supports_multi_process): Add argument.
12010 * target.c (update_current_target): Update.
12011 * remote.c (remote_supports_multi_process): Add 'self' argument.
12012 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
12013 argument.
12014 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
12015 argument.
12016
4c612759
TT
120172014-02-19 Tom Tromey <tromey@redhat.com>
12018
12019 * target.h (struct target_ops) <to_execution_direction>: Add
12020 argument.
12021 (target_execution_direction): Add argument.
12022 * target.c (default_execution_direction): Add 'self' argument.
12023 * record-full.c (record_full_execution_direction): Add 'self'
12024 argument.
12025
19db3e69
TT
120262014-02-19 Tom Tromey <tromey@redhat.com>
12027
12028 * target.h (struct target_ops) <to_can_execute_reverse>: Add
12029 argument.
12030 (target_can_execute_reverse): Add argument.
12031 * remote.c (remote_can_execute_reverse): Add 'self' argument.
12032 * record-full.c (record_full_can_execute_reverse): Add 'self'
12033 argument.
12034 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
12035 argument.
12036
1e6b91a4
TT
120372014-02-19 Tom Tromey <tromey@redhat.com>
12038
12039 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
12040 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
12041 argument.
12042 (target_get_ada_task_ptid): Add argument.
12043 * target.c (update_current_target): Update.
12044 (default_get_ada_task_ptid): Add 'self' argument.
12045 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
12046 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
12047 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
12048 argument.
12049 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
12050 argument.
12051 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
12052 argument.
12053 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
12054 argument.
12055 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
12056 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
12057 argument.
12058
3c80fb48
TT
120592014-02-19 Tom Tromey <tromey@redhat.com>
12060
12061 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
12062 (target_goto_bookmark): Add argument.
12063 * target.c (dummy_goto_bookmark): Add 'self' argument.
12064 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
12065
dd0e2830
TT
120662014-02-19 Tom Tromey <tromey@redhat.com>
12067
12068 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
12069 (target_get_bookmark): Add argument.
12070 * target.c (dummy_get_bookmark): Add 'self' argument.
12071 * record-full.c (record_full_get_bookmark): Add 'self' argument.
12072
fc6691b2
TT
120732014-02-19 Tom Tromey <tromey@redhat.com>
12074
12075 * target.h (struct target_ops) <to_make_corefile_notes>: Add
12076 argument.
12077 (target_make_corefile_notes): Add argument.
12078 * target.c (dummy_make_corefile_notes): Add 'self' argument.
12079 * procfs.c (procfs_make_note_section): Add 'self' argument.
12080 (procfs_make_note_section): Add 'self' argument.
12081 (procfs_make_note_section): Add 'self' argument.
12082 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
12083 argument.
12084 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
12085 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
12086 * exec.c (exec_make_note_section): Add 'self' argument.
12087 (exec_make_note_section): Add 'self' argument.
12088
2e73927c
TT
120892014-02-19 Tom Tromey <tromey@redhat.com>
12090
12091 * target.h (struct target_ops) <to_find_memory_regions>: Add
12092 argument.
12093 (target_find_memory_regions): Add argument.
12094 * target.c (dummy_find_memory_regions): Add 'self' argument.
12095 * procfs.c (proc_find_memory_regions): Add 'self' argument.
12096 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
12097 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
12098 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
12099 * exec. (exec_do_find_memory_regions): New global.
12100 (exec_set_find_memory_regions): Rewrite.
12101 (exec_find_memory_regions): New function.
12102 (init_exec_ops): Use exec_find_memory_regions.
12103
2a9a2795
TT
121042014-02-19 Tom Tromey <tromey@redhat.com>
12105
12106 * target.h (struct target_ops) <to_supports_non_stop>: Add
12107 argument.
12108 * target.c (find_default_supports_non_stop): Add argument.
12109 (target_supports_non_stop): Add argument.
12110 (find_default_supports_non_stop): Add 'self' argument.
12111 * remote.c (remote_supports_non_stop): Add 'self' argument.
12112 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
12113
4ab76ea3
TT
121142014-02-19 Tom Tromey <tromey@redhat.com>
12115
12116 * target.h (struct target_ops) <to_log_command>: Add argument.
12117 (target_log_command): Add argument.
12118 * serial.h (serial_log_command): Add 'self' argument.
12119 * serial.c (serial_log_command): Add 'self' argument.
12120
8dd27370
TT
121212014-02-19 Tom Tromey <tromey@redhat.com>
12122
12123 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
12124 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
12125 argument.
12126 (target_pid_to_exec_file): Add argument.
12127 * target.c (debug_to_pid_to_exec_file): Add argument.
12128 (update_current_target): Update.
12129 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
12130 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
12131 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
12132 (linux_handle_extended_wait): Update.
12133 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
12134 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
12135 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
12136 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
12137
1aac633b
TT
121382014-02-19 Tom Tromey <tromey@redhat.com>
12139
12140 * target.h (struct target_ops) <to_rcmd>: Add argument.
12141 (target_rcmd): Add argument.
12142 * target.c (debug_to_rcmd): Add argument.
12143 (update_current_target, do_monitor_command): Update.
12144 * remote.c (remote_rcmd): Add 'self' argument.
12145 * monitor.c (monitor_rcmd): Add 'self' argument.
12146
1eab8a48
TT
121472014-02-19 Tom Tromey <tromey@redhat.com>
12148
12149 * windows-nat.c (windows_stop): Add 'self' argument.
12150 * target.h (struct target_ops) <to_stop>: Add argument.
12151 * target.c (target_stop): Add argument.
12152 (debug_to_stop): Add argument.
12153 (update_current_target): Update.
12154 * remote.c (remote_stop): Add 'self' argument.
12155 * remote-sim.c (gdbsim_stop): Add 'self' argument.
12156 (gdbsim_cntrl_c): Update.
12157 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
12158 * procfs.c (procfs_stop): Add 'self' argument.
12159 * nto-procfs.c (procfs_stop): Add 'self' argument.
12160 * monitor.c (monitor_stop): Add 'self' argument.
12161 (monitor_open): Update.
12162 * linux-nat.c (linux_nat_stop): Add argument.
12163 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
12164 * gnu-nat.c (gnu_stop): Add 'self' argument.
12165 * darwin-nat.c (darwin_stop): Add 'self' argument.
12166
503a628d
TT
121672014-02-19 Tom Tromey <tromey@redhat.com>
12168
12169 * target.h (struct target_ops) <to_thread_name>: Add argument.
12170 * target.c (target_thread_name): Add argument.
12171 (update_current_target): Update.
12172 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
12173
c15906d8
TT
121742014-02-19 Tom Tromey <tromey@redhat.com>
12175
12176 * target.h (struct target_ops) <to_extra_thread_info>: Add
12177 argument.
12178 (target_extra_thread_info): Add argument.
12179 * target.c (update_current_target): Update.
12180 * remote.c (remote_threads_extra_info): Add 'self' argument.
12181 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
12182 argument.
12183 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
12184 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
12185 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
12186 argument.
12187 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
12188 argument.
12189 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
12190 argument.
12191 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
12192 argument.
12193
daf5e9b6
TT
121942014-02-19 Tom Tromey <tromey@redhat.com>
12195
12196 * target.h (struct target_ops) <to_program_signals>: Add argument.
12197 * target.c (target_program_signals): Add argument.
12198 * remote.c (remote_program_signals): Add 'self' argument.
12199
94bedb42
TT
122002014-02-19 Tom Tromey <tromey@redhat.com>
12201
12202 * target.h (struct target_ops) <to_pass_signals>: Add argument.
12203 * target.c (target_pass_signals): Add argument.
12204 * remote.c (remote_pass_signals): Add 'self' argument.
12205 (remote_start_remote): Update.
12206 * procfs.c (procfs_pass_signals): Add 'self' argument.
12207 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
12208 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
12209 (linux_nat_create_inferior, linux_nat_attach): Update.
12210
da82bd6b
TT
122112014-02-19 Tom Tromey <tromey@redhat.com>
12212
12213 * windows-nat.c (windows_can_run): Add 'self' argument.
12214 * target.h (struct target_ops) <to_can_run>: Add argument.
12215 (target_can_run): Add argument.
12216 * target.c (debug_to_can_run): Add argument.
12217 (update_current_target): Update.
12218 * nto-procfs.c (procfs_can_run): Add 'self' argument.
12219 * inf-child.c (inf_child_can_run): Add 'self' argument.
12220 * go32-nat.c (go32_can_run): Add 'self' argument.
12221
d796e1d6
TT
122222014-02-19 Tom Tromey <tromey@redhat.com>
12223
12224 * target.h (struct target_ops) <to_has_exited>: Add argument.
12225 (target_has_exited): Add argument.
12226 * target.c (debug_to_has_exited): Add argument.
12227 (update_current_target): Update.
12228
ff214e67
TT
122292014-02-19 Tom Tromey <tromey@redhat.com>
12230
12231 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
12232 argument.
12233 (target_set_syscall_catchpoint): Add argument.
12234 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
12235 argument.
12236 * target.c (update_current_target): Update.
12237
758e29d2
TT
122382014-02-19 Tom Tromey <tromey@redhat.com>
12239
12240 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
12241 argument.
12242 (target_remove_exec_catchpoint): Add argument.
12243 * target.c (debug_to_remove_exec_catchpoint): Add argument.
12244 (update_current_target): Update.
12245 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
12246 argument.
12247
ba025e51
TT
122482014-02-19 Tom Tromey <tromey@redhat.com>
12249
12250 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
12251 argument.
12252 (target_insert_exec_catchpoint): Add argument.
12253 * target.c (debug_to_insert_exec_catchpoint): Add argument.
12254 (update_current_target): Update.
12255 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
12256 argument.
12257
e98cf0cd
TT
122582014-02-19 Tom Tromey <tromey@redhat.com>
12259
12260 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
12261 argument.
12262 (target_remove_vfork_catchpoint): Add argument.
12263 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
12264 (update_current_target): Update.
12265 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
12266 argument.
12267
3ecc7da0
TT
122682014-02-19 Tom Tromey <tromey@redhat.com>
12269
12270 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
12271 argument.
12272 (target_insert_vfork_catchpoint): Add argument.
12273 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
12274 (update_current_target): Update.
12275 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
12276 argument.
12277
973fc227
TT
122782014-02-19 Tom Tromey <tromey@redhat.com>
12279
12280 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
12281 argument.
12282 (target_remove_fork_catchpoint): Add argument.
12283 * target.c (debug_to_remove_fork_catchpoint): Add argument.
12284 (update_current_target): Update.
12285 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
12286 argument.
12287
a863b201
TT
122882014-02-19 Tom Tromey <tromey@redhat.com>
12289
12290 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
12291 argument.
12292 (target_insert_fork_catchpoint): Add argument.
12293 * target.c (debug_to_insert_fork_catchpoint): Add argument.
12294 (update_current_target): Update.
12295 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
12296 argument.
12297
2e97a79e
TT
122982014-02-19 Tom Tromey <tromey@redhat.com>
12299
12300 * target.h (struct target_ops) <to_post_startup_inferior>: Add
12301 argument.
12302 (target_post_startup_inferior): Add argument.
12303 * target.c (debug_to_post_startup_inferior): Add argument.
12304 (update_current_target): Update.
12305 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
12306 argument.
12307 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
12308 argument.
12309 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
12310 argument.
12311 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
12312 argument.
12313 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
12314 'self' argument.
12315 (super_post_startup_inferior): Likewise.
12316 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
12317 'self' argument.
12318 (super_post_startup_inferior): Likewise.
12319 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
12320 Add 'self' argument.
12321 (super_post_startup_inferior): Likewise.
12322
71a9f134
TT
123232014-02-19 Tom Tromey <tromey@redhat.com>
12324
12325 * target.h (struct target_ops) <to_load>: Add argument.
12326 * target.c (target_load): Add argument.
12327 (debug_to_load): Add argument.
12328 (update_current_target): Update.
12329 * remote.c (remote_load): Add 'self' argument.
12330 * remote-sim.c (gdbsim_load): Add 'self' argument.
12331 * remote-mips.c (mips_load): Add 'self' argument.
12332 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
12333 * monitor.c (monitor_load): Add 'self' argument.
12334 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
12335
0a4f40a2
TT
123362014-02-19 Tom Tromey <tromey@redhat.com>
12337
12338 * target.h (struct target_ops) <to_terminal_info>: Add argument.
12339 (target_terminal_info): Add argument.
12340 * target.c (debug_to_terminal_info): Add argument.
12341 (default_terminal_info): Likewise.
12342 * inflow.c (child_terminal_info): Add 'self' argument.
12343 * inferior.h (child_terminal_info): Add 'self' argument.
12344 * go32-nat.c (go32_terminal_info): Add 'self' argument.
12345
ae3bd431
TT
123462014-02-19 Tom Tromey <tromey@redhat.com>
12347
12348 * target.h (struct target_ops) <to_terminal_save_ours>: Add
12349 argument.
12350 (target_terminal_save_ours): Add argument.
12351 * target.c (debug_to_terminal_save_ours): Add argument.
12352 (update_current_target): Update.
12353 * inflow.c (terminal_save_ours): Add 'self' argument.
12354 * inferior.h (terminal_save_ours): Add 'self' argument.
12355
e3594fd1
TT
123562014-02-19 Tom Tromey <tromey@redhat.com>
12357
12358 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
12359 (target_terminal_ours): Add argument.
12360 * target.c (debug_to_terminal_ours): Add argument.
12361 (update_current_target): Update.
12362 * remote.c (remote_terminal_ours): Add 'self' argument.
12363 (remote_close): Update.
12364 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
12365 * inflow.c (terminal_ours): Add 'self' argument.
12366 * inferior.h (terminal_ours): Add 'self' argument.
12367 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12368
2e1e1a19
TT
123692014-02-19 Pedro Alves <palves@redhat.com>
12370 Tom Tromey <tromey@redhat.com>
12371
12372 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
12373 argument.
12374 (target_terminal_ours_for_output): Add argument.
12375 * target.c (debug_to_terminal_ours_for_output): Add argument.
12376 (update_current_target): Update.
12377 * inflow.c (terminal_ours_for_output): Add 'self' argument.
12378 * inferior.h (terminal_ours_for_output): Add 'self' argument.
12379 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12380
d2f640d4
TT
123812014-02-19 Tom Tromey <tromey@redhat.com>
12382
12383 * target.h (struct target_ops) <to_terminal_inferior>: Add
12384 argument.
12385 * target.c (target_terminal_inferior): Add argument.
12386 (update_current_target): Update.
12387 * remote.c (remote_terminal_inferior): Add 'self' argument.
12388 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
12389 * inflow.c (terminal_inferior): Add 'self' argument.
12390 * inferior.h (terminal_inferior): Add 'self' argument.
12391 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
12392 (go32_terminal_inferior): Add 'self' argument.
12393
c42bf286
TT
123942014-02-19 Tom Tromey <tromey@redhat.com>
12395
12396 * target.h (struct target_ops) <to_terminal_init>: Add argument.
12397 (target_terminal_init): Add argument.
12398 * target.c (debug_to_terminal_init): Add argument.
12399 (update_current_target): Update.
12400 * inflow.c (terminal_init_inferior): Add 'self' argument.
12401 * inferior.h (terminal_init_inferior): Add 'self' argument.
12402 * go32-nat.c (go32_terminal_init): Add 'self' argument.
12403 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
12404
c3a5ff89
TT
124052014-02-19 Tom Tromey <tromey@redhat.com>
12406
12407 * target.h (struct target_ops)
12408 <to_can_accel_watchpoint_condition>: Add argument.
12409 (target_can_accel_watchpoint_condition): Add argument.
12410 * target.c (debug_to_can_accel_watchpoint_condition): Add
12411 argument.
12412 (update_current_target): Update.
12413 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
12414 'self' argument.
12415
31568a15
TT
124162014-02-19 Tom Tromey <tromey@redhat.com>
12417
12418 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
12419 Add argument.
12420 (target_region_ok_for_hw_watchpoint): Add argument.
12421 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
12422 (default_region_ok_for_hw_watchpoint): Add argument.
12423 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
12424 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
12425 argument.
12426 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
12427 argument.
12428 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
12429 argument.
12430 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
12431 'self' argument.
12432 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
12433 'self' argument.
12434 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
12435 'self' argument.
12436 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
12437 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
12438 'self' argument.
12439 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
12440 Add 'self' argument.
12441
7bb99c53
TT
124422014-02-19 Tom Tromey <tromey@redhat.com>
12443
12444 * target.h (struct target_ops) <to_insert_watchpoint>: Add
12445 argument.
12446 (target_insert_watchpoint): Add argument.
12447 * target.c (debug_to_insert_watchpoint): Add argument.
12448 (update_current_target): Update.
12449 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
12450 * remote.c (remote_insert_watchpoint): Add 'self' argument.
12451 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
12452 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
12453 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
12454 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
12455 argument.
12456 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
12457 (procfs_insert_hw_watchpoint): Add 'self' argument.
12458 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
12459 argument.
12460 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12461 argument.
12462 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12463 argument.
12464 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12465 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12466 argument.
12467 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12468 'self' argument.
12469
11b5219a
TT
124702014-02-19 Tom Tromey <tromey@redhat.com>
12471
12472 * target.h (struct target_ops) <to_remove_watchpoint>: Add
12473 argument.
12474 (target_remove_watchpoint): Add argument.
12475 * target.c (debug_to_remove_watchpoint): Add argument.
12476 (update_current_target): Update.
12477 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12478 * remote.c (remote_remove_watchpoint): Add 'self' argument.
12479 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12480 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12481 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12482 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12483 argument.
12484 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12485 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12486 argument.
12487 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12488 argument.
12489 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12490 argument.
12491 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12492 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12493 argument.
12494 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12495 'self' argument.
12496
a64dc96c
TT
124972014-02-19 Tom Tromey <tromey@redhat.com>
12498
12499 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12500 argument.
12501 (target_remove_hw_breakpoint): Add argument.
12502 * target.c (debug_to_remove_hw_breakpoint): Add argument.
12503 (update_current_target): Update.
12504 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12505 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12506 argument.
12507 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12508 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12509 argument.
12510 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12511 'self' argument.
12512
23a26771
TT
125132014-02-19 Tom Tromey <tromey@redhat.com>
12514
12515 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
12516 argument.
12517 (target_insert_hw_breakpoint): Add argument.
12518 * target.c (debug_to_insert_hw_breakpoint): Add argument.
12519 (update_current_target): Update.
12520 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
12521 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
12522 argument.
12523 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
12524 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
12525 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
12526 argument.
12527 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
12528 'self' argument.
12529
5461485a
TT
125302014-02-19 Tom Tromey <tromey@redhat.com>
12531
12532 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
12533 argument.
12534 (target_can_use_hardware_watchpoint): Add argument.
12535 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
12536 (update_current_target): Update.
12537 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
12538 argument.
12539 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
12540 argument.
12541 * remote.c (remote_check_watch_resources): Add 'self' argument.
12542 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
12543 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
12544 argument.
12545 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
12546 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
12547 argument.
12548 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
12549 argument.
12550 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
12551 argument.
12552 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
12553 argument.
12554 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
12555 argument.
12556 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
12557 argument.
12558 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
12559 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
12560 argument.
12561 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
12562 'self' argument.
12563
f045800c
TT
125642014-02-19 Tom Tromey <tromey@redhat.com>
12565
12566 * target.h (struct target_ops) <to_post_attach>: Add argument.
12567 (target_post_attach): Add argument.
12568 * target.c (debug_to_post_attach): Add argument.
12569 (update_current_target): Update.
12570 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
12571 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
12572 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
12573 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
12574 * inf-child.c (inf_child_post_attach): Add 'self' argument.
12575
de90e03d
TT
125762014-02-19 Tom Tromey <tromey@redhat.com>
12577
12578 * windows-nat.c (windows_close): Add 'self' argument.
12579 * tracepoint.c (tfile_close): Add 'self' argument.
12580 * target.h (struct target_ops) <to_close>: Add argument.
12581 * target.c (target_close): Add argument.
12582 (update_current_target): Update.
12583 * remote.c (remote_close): Add 'self' argument.
12584 * remote-sim.c (gdbsim_close): Add 'self' argument.
12585 * remote-mips.c (mips_close): Add 'self' argument.
12586 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
12587 * record-full.c (record_full_close): Add 'self' argument.
12588 * record-btrace.c (record_btrace_close): Add 'self' argument.
12589 * monitor.h (monitor_close): Add 'self' argument.
12590 * monitor.c (monitor_close): Add 'self' argument.
12591 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
12592 * linux-nat.c (linux_nat_close): Add argument.
12593 * go32-nat.c (go32_close): Add 'self' argument.
12594 * exec.c (exec_close_1): Add 'self' argument.
12595 * ctf.c (ctf_close): Add 'self' argument.
12596 * corelow.c (core_close): Add 'self' argument.
12597 (core_close_cleanup): Update.
12598 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
12599 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
12600
9dd130a0
TT
126012014-02-19 Tom Tromey <tromey@redhat.com>
12602
12603 * remote.c (remote_load): New function.
12604 (init_remote_ops): Use it.
12605
46917d26
TT
126062014-02-19 Tom Tromey <tromey@redhat.com>
12607
12608 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
12609 argument.
12610 * common/linux-btrace.h (linux_supports_btrace): Update.
12611 * remote.c (remote_supports_btrace): Add "self" argument.
12612 * target-delegates.c: Rebuild.
12613 * target.c (target_supports_btrace): Remove.
12614 * target.h (struct target_ops) <to_supports_btrace>: Add
12615 target_ops argument.
12616 (target_supports_btrace): New define.
12617
6b84065d
TT
126182014-02-19 Tom Tromey <tromey@redhat.com>
12619
12620 * record-full.c (record_full_beneath_to_resume_ops)
12621 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
12622 (record_full_beneath_to_wait)
12623 (record_full_beneath_to_store_registers_ops)
12624 (record_full_beneath_to_store_registers)
12625 (record_full_beneath_to_xfer_partial_ops)
12626 (record_full_beneath_to_xfer_partial)
12627 (record_full_beneath_to_insert_breakpoint_ops)
12628 (record_full_beneath_to_insert_breakpoint)
12629 (record_full_beneath_to_remove_breakpoint_ops)
12630 (record_full_beneath_to_remove_breakpoint)
12631 (record_full_beneath_to_stopped_by_watchpoint)
12632 (record_full_beneath_to_stopped_data_address)
12633 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
12634 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
12635 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
12636 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
12637 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
12638 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
12639 (tmp_to_stopped_data_address, tmp_to_async): Remove.
12640 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
12641 (record_full_resume, record_full_wait_1)
12642 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
12643 (record_full_store_registers, record_full_xfer_partial)
12644 (record_full_insert_breakpoint, record_full_remove_breakpoint)
12645 (record_full_async, record_full_core_xfer_partial): Use target
12646 delegation.
12647 * target-delegates.c: Rebuild.
12648 * target.c (current_xfer_partial): Remove.
12649 (update_current_target): Do not INHERIT or de_fault
12650 to_insert_breakpoint, to_remove_breakpoint,
12651 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
12652 to_is_async_p, to_async. Do not set to_xfer_partial field.
12653 (default_xfer_partial): Simplify.
12654 (current_xfer_partial): Remove.
12655 (target_wait, target_resume): Simplify.
12656 (find_default_can_async_p, find_default_is_async_p): Update.
12657 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
12658 to_xfer_partial, to_stopped_by_watchpoint,
12659 to_stopped_data_address.
12660 (target_store_registers): Simplify.
12661 (forward_target_remove_breakpoint)
12662 (forward_target_insert_breakpoint): Remove.
12663 (target_remove_breakpoint, target_insert_breakpoint)
12664 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
12665 * target.h (struct target_ops) <to_resume, to_wait,
12666 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
12667 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
12668 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
12669 markup.
12670 (forward_target_remove_breakpoint)
12671 (forward_target_insert_breakpoint): Remove.
12672 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
12673 directly.
12674 (record_btrace_insert_breakpoint): Delegate directly.
12675
1101cb7b
TT
126762014-02-19 Tom Tromey <tromey@redhat.com>
12677
12678 PR build/7701:
12679 * target-delegates.c: New file.
12680 * target.c: Include target-delegates.c.
12681 (init_dummy_target): Call install_dummy_methods.
12682 (complete_target_initialization): Call install_delegators.
12683 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
12684 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
12685 * make-target-delegates: New file.
12686
8b06beed
TT
126872014-02-19 Tom Tromey <tromey@redhat.com>
12688
12689 * record.c (find_record_target): Use find_target_at.
12690 * target.c (find_target_at): New function.
12691 * target.h (find_target_at): Declare.
12692
6a109b6b
TT
126932014-02-19 Tom Tromey <tromey@redhat.com>
12694
12695 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
12696 Add 'ops' argument.
12697 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
12698 'ops' argument.
12699 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
12700 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
12701 'ops' argument.
12702 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
12703 argument.
12704 * linux-nat.c (save_sigtrap): Update.
12705 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
12706 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
12707 (linux_nat_close): Update.
12708 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
12709 argument.
12710 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
12711 argument.
12712 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
12713 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
12714 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
12715 (tmp_to_async): Add 'ops' argument.
12716 (record_full_stopped_by_watchpoint, record_full_async)
12717 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
12718 argument.
12719 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
12720 (m32r_stopped_by_watchpoint): Add 'ops' argument.
12721 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
12722 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
12723 (remote_is_async_p, remote_async): Add 'ops' argument.
12724 (remote_stopped_data_address): Update.
12725 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
12726 * target.c (update_current_target)
12727 (find_default_can_async_p, find_default_is_async_p): Update.
12728 (init_dummy_target): Update.
12729 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
12730 * target.h (struct target_ops) <to_stopped_by_watchpoint,
12731 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
12732 (target_can_async_p, target_is_async_p, target_async)
12733 (target_stopped_by_watchpoint): Update.
12734
e095146b
YQ
127352014-02-19 Yao Qi <yao@codesourcery.com>
12736
12737 PR gdb/16220
12738 * gdbarch.sh: Remove startup_gdbarch.
12739 * gdbarch.c: Regenerated.
12740 * gdbarch.h: Likewise.
12741
bc3c6b36
KB
127422014-02-17 Kevin Buettner <kevinb@redhat.com>
12743
12744 * rl78-tdep.c (rl78_g10_register_name): New function.
12745 (rl78_return_value): Add g10 support.
12746 (rl78_gdbarch_init): Register rl78_g10_register_name for the
12747 g10.
12748
98dc0167 127492014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
12750
12751 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
12752 (SUBDIR_GUILE_SRCS): Ditto.
12753 (scm-gsmob.o): Ditto.
12754
842c05cd
YQ
127552014-02-17 Yao Qi <yao@codesourcery.com>
12756
12757 * gnu-nat.c (ILL_RPC): Declare defined function.
12758
25c0bd04
YQ
127592014-02-17 Yao Qi <yao@codesourcery.com>
12760
12761 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
12762 mach_msg_type_number_t.
12763 (gnu_write_inferior): Likewise.
12764
a9a758e3
YQ
127652014-02-17 Yao Qi <yao@codesourcery.com>
12766
12767 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
12768 in format string.
12769 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
12770 (inf_validate_procs, inf_signal): Likewise.
12771 (S_exception_raise_request): Likewise.
12772 (do_mach_notify_dead_name): Likewise.
12773 (steal_exc_port): Likewise.
12774 (gnu_read_inferior): Change 'copy_count''s type to
12775 mach_msg_type_number_t.
12776 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
12777 format string.
12778
bae8023e
TS
127792014-02-16 Thomas Schwinge <thomas@codesourcery.com>
12780
c82f56d9
TS
12781 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
12782 flag. Adjust all users; in particular...
12783 (gnu_wait): ..., don't decrement its value in here...
12784 (gnu_create_inferior): ..., and instead set the flag in here,
12785 around the startup_inferior call, and call that one with
12786 START_INFERIOR_TRAPS_EXPECTED.
12787
3398af6a
TS
12788 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
12789 (ILL_RPC): ... new macro.
12790 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
12791 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
12792 (do_mach_notify_send_once, S_proc_setmsgport_reply)
12793 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
12794 functions with ILL_RPC macro.
12795 (S_proc_pid2task_reply, S_proc_task2pid_reply)
12796 (S_proc_task2proc_reply, S_proc_proc2task_reply)
12797 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
12798 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
12799 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
12800 (S_proc_getlogin_reply, S_proc_getsid_reply)
12801 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
12802 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
12803 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
12804 (S_proc_getnports_reply, S_proc_is_important_reply)
12805 (S_proc_get_code_reply): New stub functions, generated with
12806 ILL_RPC macro.
12807
d47642c9
TS
12808 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
12809 collected the type check structures.
12810
bae8023e
TS
12811 * reply_mig_hack.awk: Don't expect to see the auto keyword.
12812
8a55ffb0
DE
128132014-02-14 Doug Evans <dje@google.com>
12814
12815 * target.c (target_write_partial): Fix result type.
12816
c2853f3d
JM
128172014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
12818
12819 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
12820 the proper offsets to access fpregset_t.
12821
ac61d2db
SA
128222014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
12823
12824 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
12825 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
12826 * h8300-tdep.c (setmachinelist): Remove global.
12827 * hppa-tdep.c (hppa_sigtramp): Remove global.
12828 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
12829 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
12830 * ravenscar-thread.c (update_target_observer): Remove global.
12831 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
12832
9d2d0b8b
TT
128332014-02-12 Tom Tromey <tromey@redhat.com>
12834
12835 * common/rsp-low.c: Update comments.
12836 * common/rsp-low.h: Update comments.
12837
a7191e8b
TT
128382014-02-12 Tom Tromey <tromey@redhat.com>
12839
12840 * common/rsp-low.c (convert_ascii_to_int): Remove.
12841 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
12842
ff0e980e
TT
128432014-02-12 Tom Tromey <tromey@redhat.com>
12844
12845 * common/rsp-low.h (unhexify): Don't declare.
12846 * common/rsp-low.c (unhexify): Remove.
12847
e9371aff
TT
128482014-02-12 Tom Tromey <tromey@redhat.com>
12849
12850 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
12851 * common/rsp-low.c (convert_int_to_ascii): Remove.
12852
971dc0b8
TT
128532014-02-12 Tom Tromey <tromey@redhat.com>
12854
12855 * common/rsp-low.h (hexify): Don't declare.
12856 * common/rsp-low.c (hexify): Remove.
12857
0a822afb
TT
128582014-02-12 Tom Tromey <tromey@redhat.com>
12859
12860 * common/rsp-low.c (hexify): Never take strlen of argument.
12861
9f1b45b0
TT
128622014-02-12 Tom Tromey <tromey@redhat.com>
12863
12864 * common/rsp-low.c (bin2hex): Never take strlen of argument.
12865 * remote.c (extended_remote_run, remote_rcmd)
12866 (remote_download_trace_state_variable, remote_save_trace_data)
12867 (remote_set_trace_notes): Update.
12868 * tracepoint.c (encode_source_string, tfile_write_status)
12869 (tfile_write_uploaded_tsv): Update.
12870
9c3d6531
TT
128712014-02-12 Tom Tromey <tromey@redhat.com>
12872
12873 * tracepoint.c: Include rsp-low.h.
12874 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
12875 * remote.c: Include rsp-low.h.
12876 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
12877 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
12878 (remote_unescape_input): Move to common/rsp-low.c.
12879 * common/rsp-low.h: New file.
12880 * common/rsp-low.c: New file.
12881 * Makefile.in (SFILES): Add common/rsp-low.c.
12882 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
12883 (COMMON_OBS): Add rsp-low.o.
12884 (rsp-low.o): New target.
12885
01fd3ea5
TT
128862014-02-12 Tom Tromey <tromey@redhat.com>
12887
12888 * utils.h: Include print-utils.h.
12889 (host_address_to_string, plongest, pulongest, phex, phex_nz)
12890 (int_string, core_addr_to_string, core_addr_to_string_nz)
12891 (hex_string, hex_string_custom): Don't declare.
12892 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
12893 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
12894 (hex_string_custom, int_string, core_addr_to_string)
12895 (core_addr_to_string_nz, host_address_to_string): Move to
12896 common/print-utils.c.
12897 * common/print-utils.h: New file.
12898 * common/print-utils.c: New file
12899 * Makefile.in (SFILES): Add common/print-utils.c.
12900 (HFILES_NO_SRCDIR): Add common/print-utils.h.
12901 (COMMON_OBS): Add print-utils.o.
12902 (print-utils.o): New target.
12903
9fb50108
TT
129042014-02-12 Tom Tromey <tromey@redhat.com>
12905
12906 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
12907
0548b5db
MK
129082014-02-12 Mark Kettenis <kettenis@gnu.org>
12909
12910 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
12911
493443a4
MK
129122014-02-12 Mark Kettenis <kettenis@gnu.org>
12913
12914 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
12915 if a PT_IO ptrace request returns sucessfully but indicates that 0
12916 bytes were transferred.
12917
706d0883
PA
129182014-02-12 Pedro Alves <palves@redhat.com>
12919 Kevin Buettner <kevinb@redhat.com>
12920
12921 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
12922 TYPE_INSTANCE_FLAG_CODE_SPACE.
12923
5caa2f0b
PA
129242014-02-12 Pedro Alves <palves@redhat.com>
12925
12926 * h8300-tdep.c (pseudo_from_raw_register)
12927 (raw_from_pseudo_register): New functions.
12928 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
12929 them.
12930
76fd5f74
PA
129312014-02-12 Pedro Alves <palves@redhat.com>
12932
12933 * h8300-tdep.c (h8300_register_sim_regno): New function.
12934 (h8300_gdbarch_init): Install h8300_register_sim_regno as
12935 gdbarch_register_sim_regno hook.
12936
8f008406
SA
129372014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12938
12939 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
12940
195abc10
SA
129412014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12942
12943 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
12944
93ffa5b9
MK
129452014-02-12 Mark Kettenis <kettenis@gnu.org>
12946
12947 * obsd-tdep.h (obsd_init_abi): New prototype.
12948 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
12949 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
12950 (obsd_init_abi): New functions.
12951 * i386obsd-tdep.c: Include "obsd-tdep.h".
12952 (i386obsd_init_abi): Call obsd_init_abi.
12953 * amd64obsd-tdep.c: Include "obsd-tdep.h".
12954 (amd64obsd_init_abi): Call obsd_init_abi.
12955 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
12956 obsd-tdep.c to gdb_target_obs.
12957
49caec94
JM
129582014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
12959
12960 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
12961 double float arguments to 16-byte in the argument slots.
12962
e1402065
DE
129632014-02-11 Doug Evans <xdje42@gmail.com>
12964
12965 * configure.ac: Don't crash if pkg-config is not found and guile
12966 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
12967 in guile checks.
12968 * configure: Regenerate.
12969
edcc890f
YQ
129702014-02-11 Yao Qi <yao@codesourcery.com>
12971
12972 * aix-thread.c (aix_thread_xfer_partial): Update comments.
12973 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
12974 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12975 * gnu-nat.c (gnu_xfer_memory): Likewise.
12976 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12977 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12978 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12979 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12980
9b409511
YQ
129812014-02-11 Yao Qi <yao@codesourcery.com>
12982
12983 * target.h (enum target_xfer_error): Rename to ...
12984 (enum target_xfer_status): ... it. New. All users updated.
12985 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
12986 New.
12987 (TARGET_XFER_STATUS_ERROR_P): New macro.
12988 (target_xfer_error_to_string): Remove declaration.
12989 (target_xfer_status_to_string): Declare.
12990 (target_xfer_partial_ftype): Adjust it.
12991 (struct target_ops) <to_xfer_partial>: Return
12992 target_xfer_status. Add argument xfered_len. Update
12993 comments.
12994 * target.c (target_xfer_error_to_string): Rename to ...
12995 (target_xfer_status_to_string): ... it. New. All callers
12996 updated.
12997 (target_read_live_memory): Likewise. Call target_xfer_partial
12998 instead of target_read.
12999 (memory_xfer_live_readonly_partial): Return
13000 target_xfer_status. Add argument xfered_len.
13001 (raw_memory_xfer_partial): Likewise.
13002 (memory_xfer_partial_1): Likewise.
13003 (memory_xfer_partial): Likewise.
13004 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
13005 properly. Update debug message.
13006 (default_xfer_partial, current_xfer_partial): Likewise.
13007 (target_write_partial): Likewise.
13008 (target_read_partial): Likewise. All callers updated.
13009 (read_whatever_is_readable): Likewise.
13010 (target_write_with_progress): Likewise.
13011 (target_read_alloc_1): Likewise.
13012
13013 * aix-thread.c (aix_thread_xfer_partial): Likewise.
13014 * auxv.c (procfs_xfer_auxv): Likewise.
13015 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
13016 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13017 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13018 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
13019 * corefile.c (read_memory): Adjust.
13020 * corelow.c (core_xfer_partial): Likewise.
13021 * ctf.c (ctf_xfer_partial): Likewise.
13022 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
13023 updated.
13024 (darwin_xfer_partial): Likewise.
13025 * exec.c (section_table_xfer_memory_partial): Likewise. All
13026 callers updated.
13027 (exec_xfer_partial): Likewise.
13028 * exec.h (section_table_xfer_memory_partial): Update
13029 declaration.
13030 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
13031 negative.
13032 (gnu_xfer_partial): Likewise.
13033 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
13034 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
13035 (ia64_hpux_xfer_solib_got): Likewise.
13036 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
13037 type of 'partial_len' to ULONGEST.
13038 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13039 * linux-nat.c (linux_xfer_siginfo ): Likewise.
13040 (linux_nat_xfer_partial): Likewise.
13041 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
13042 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
13043 * monitor.c (monitor_xfer_memory): Likewise.
13044 (monitor_xfer_partial): Likewise.
13045 * procfs.c (procfs_xfer_partial): Likewise.
13046 * record-btrace.c (record_btrace_xfer_partial): Likewise.
13047 * record-full.c (record_full_xfer_partial): Likewise.
13048 (record_full_core_xfer_partial): Likewise.
13049 * remote-sim.c (gdbsim_xfer_memory): Likewise.
13050 (gdbsim_xfer_partial): Likewise.
13051 * remote.c (remote_write_bytes_aux): Likewise. All callers
13052 updated.
13053 (remote_write_bytes, remote_read_bytes): Likewise. All
13054 callers updated.
13055 (remote_flash_erase): Likewise. All callers updated.
13056 (remote_write_qxfer): Likewise. All callers updated.
13057 (remote_read_qxfer): Likewise. All callers updated.
13058 (remote_xfer_partial): Likewise.
13059 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13060 (rs6000_xfer_shared_libraries): Likewise.
13061 * sol-thread.c (sol_thread_xfer_partial): Likewise.
13062 (sol_thread_xfer_partial): Likewise.
13063 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13064 (sparc_xfer_partial): Likewise.
13065 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
13066 updated.
13067 (spu_xfer_partial): Likewise.
13068 * spu-multiarch.c (spu_xfer_partial): Likewise.
13069 * tracepoint.c (tfile_xfer_partial): Likewise.
13070 * windows-nat.c (windows_xfer_memory): Likewise.
13071 (windows_xfer_shared_libraries): Likewise.
13072 (windows_xfer_partial): Likewise.
13073 * valprint.c: Replace 'target_xfer_error' with
13074 'target_xfer_status' in comments.
13075
a8e63083
JB
130762014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
13077
13078 Checked in by Joel Brobecker <brobecker@adacore.com>.
13079 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
13080
e86b67d3
JB
130812014-02-11 Joel Brobecker <brobecker@adacore.com>
13082
13083 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
13084 function parameters.
13085
4b7d1f7f
WN
130862014-02-10 Will Newton <will.newton@linaro.org>
13087
13088 * elfread.c (elf_rel_plt_read): Look for a .got section if
13089 looking up .got.plt fails.
13090 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
13091 on address passed to elf_gnu_ifunc_record_cache.
13092 (elf_gnu_ifunc_resolve_addr): Likewise.
13093 (elf_gnu_ifunc_resolver_return_stop): Likewise.
13094
961842b2
JM
130952014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
13096
13097 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
13098 (X_RETTURN): New macro.
13099 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
13100
13101 * sparc64-tdep.c (sparc64_init_abi): Hook
13102 sparc_in_function_epilogue_p.
13103
3f03e7b1
GB
131042014-02-10 Gary Benson <gbenson@redhat.com>
13105
13106 * symfile-debug.c (debug_qf_expand_symtabs_matching):
13107 Rename name_matcher to symbol_matcher.
13108
96f861ef
GB
131092014-02-10 Gary Benson <gbenson@redhat.com>
13110
13111 * symfile-debug.c (debug_qf_expand_symtabs_matching):
13112 Use expand_symtabs_file_matcher_ftype and
13113 expand_symtabs_symbol_matcher_ftype.
13114
ee01b665
JB
131152014-02-10 Joel Brobecker <brobecker@adacore.com>
13116
13117 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
13118 (struct ada_symbol_cache): New.
13119 (ada_free_symbol_cache): Forward declare.
13120 (struct ada_pspace_data): New.
13121 (ada_pspace_data_handle): New static global.
13122 (get_ada_pspace_data, ada_pspace_data_cleanup)
13123 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
13124 (cache_space, cache): Delete, now folded inside struct
13125 ada_pspace_data.
13126 (ada_get_symbol_cache): New function.
13127 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
13128 implementation.
13129 (_initialize_ada_language): Remove initialization of cache_space.
13130 Move call to observer_attach_inferior_exit up, grouping it
13131 with the other observer registrations inside this function.
13132 Rename command to be more general. Add call to
13133 register_program_space_data_with_cleanup.
13134
143adbbf
JB
131352014-02-10 Joel Brobecker <brobecker@adacore.com>
13136
13137 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
13138 ada_new_objfile_observer.
13139 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
13140 (_initialize_tasks): Update uses of ada_new_objfile_observer
13141 and ada_tasks_normal_stop_observer.
13142
aa4fb036
JB
131432014-02-10 Joel Brobecker <brobecker@adacore.com>
13144
13145 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
13146 returned by the 'Length attribute to integer.
13147
9dee8cc6
JB
131482014-02-10 Joel Brobecker <brobecker@adacore.com>
13149
13150 * ada-lang.c (_initialize_ada_language): Initialize
13151 cache_space obstack.
13152
3d9434b5
JB
131532014-02-10 Joel Brobecker <brobecker@adacore.com>
13154
13155 * ada-lang.c (HASH_SIZE): New macro.
13156 (struct cache_entry): New type.
13157 (cache_space, cache): New static globals.
13158 (ada_clear_symbol_cache, find_entry): New functions.
13159 (lookup_cached_symbol, cache_symbol): Implement.
13160 (ada_new_objfile_observer, ada_free_objfile_observer): New.
13161 (_initialize_ada_language): Attach ada_new_objfile_observer
13162 and ada_free_objfile_observer.
13163
f0c5f9b2
JB
131642014-02-10 Joel Brobecker <brobecker@adacore.com>
13165
13166 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
13167 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
13168 struct block * parameter.
13169 (ada_lookup_symbol_list_worker): Constify local variable "block".
13170 Remove cast which is no longer necessary.
13171
ed3ef339
DE
131722014-02-10 Doug Evans <xdje42@gmail.com>
13173
13174 Add Guile as an extension language.
13175 * NEWS: Mention Guile scripting.
13176 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
13177 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
13178 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
13179 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
13180 (CLIBS): Add GUILE_LIBS.
13181 (install-guile): New rule.
13182 (guile.o): New rule.
13183 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
13184 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
13185 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
13186 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
13187 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
13188 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
13189 (scm-type.o, scm-utils.o, scm-value.o): New rules.
13190 * configure.ac: New option --with-guile.
13191 * configure: Regenerate.
13192 * config.in: Regenerate.
13193 * auto-load.c: Remove #include "python/python.h". Add #include
13194 "gdb/section-scripts.h".
13195 (source_section_scripts): Handle Guile scripts.
13196 (_initialize_auto_load): Add name of Guile objfile script to
13197 scripts-directory help text.
13198 * breakpoint.c (condition_command): Tweak comment to include Scheme.
13199 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
13200 (struct breakpoint): New member scm_bp_object.
13201 * defs.h (enum command_control_type): New value guile_control.
13202 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
13203 "extension.h".
13204 (show_user): Update comment.
13205 (_initialize_cli_cmds): Update help text for "show user". Update help
13206 text for max-user-call-depth.
13207 * cli/cli-script.c: Remove #include "python/python.h". Add #include
13208 "extension.h".
13209 (multi_line_command_p): Add guile_control.
13210 (print_command_lines): Handle guile_control.
13211 (execute_control_command, recurse_read_control_structure): Ditto.
13212 (process_next_line): Recognize "guile" commands.
13213 * disasm.c (gdb_disassemble_info): Make non-static.
13214 * disasm.h: #include "dis-asm.h".
13215 (struct gdbarch): Add forward decl.
13216 (gdb_disassemble_info): Declare.
13217 * extension.c: #include "guile/guile.h".
13218 (extension_languages): Add guile.
13219 (get_ext_lang_defn): Handle EXT_LANG_GDB.
13220 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
13221 * gdbtypes.c (get_unsigned_type_max): New function.
13222 (get_signed_type_minmax): New function.
13223 * gdbtypes.h (get_unsigned_type_max): Declare.
13224 (get_signed_type_minmax): Declare.
13225 * guile/README: New file.
13226 * guile/guile-internal.h: New file.
13227 * guile/guile.c: New file.
13228 * guile/guile.h: New file.
13229 * guile/scm-arch.c: New file.
13230 * guile/scm-auto-load.c: New file.
13231 * guile/scm-block.c: New file.
13232 * guile/scm-breakpoint.c: New file.
13233 * guile/scm-disasm.c: New file.
13234 * guile/scm-exception.c: New file.
13235 * guile/scm-frame.c: New file.
13236 * guile/scm-gsmob.c: New file.
13237 * guile/scm-iterator.c: New file.
13238 * guile/scm-lazy-string.c: New file.
13239 * guile/scm-math.c: New file.
13240 * guile/scm-objfile.c: New file.
13241 * guile/scm-ports.c: New file.
13242 * guile/scm-pretty-print.c: New file.
13243 * guile/scm-safe-call.c: New file.
13244 * guile/scm-string.c: New file.
13245 * guile/scm-symbol.c: New file.
13246 * guile/scm-symtab.c: New file.
13247 * guile/scm-type.c: New file.
13248 * guile/scm-utils.c: New file.
13249 * guile/scm-value.c: New file.
13250 * guile/lib/gdb.scm: New file.
13251 * guile/lib/gdb/boot.scm: New file.
13252 * guile/lib/gdb/experimental.scm: New file.
13253 * guile/lib/gdb/init.scm: New file.
13254 * guile/lib/gdb/iterator.scm: New file.
13255 * guile/lib/gdb/printing.scm: New file.
13256 * guile/lib/gdb/types.scm: New file.
13257 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
13258 (VPATH): Add $(GUILE_SRCDIR).
13259 (GUILE_DIR): New variable.
13260 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
13261 (all): Add stamp-guile dependency.
13262 (stamp-guile): New rule.
13263 (clean-guile, install-guile, uninstall-guile): New rules.
13264 (install-only): Add install-guile dependency.
13265 (uninstall): Add uninstall-guile dependency.
13266 (clean): Add clean-guile dependency.
13267
ac020ec5
DE
132682014-02-09 Doug Evans <xdje42@gmail.com>
13269
13270 Revert this patch (which I approved, mea culpa).
13271
13272 2014-02-08 Mark Kettenis <kettenis@gnu.org>
13273
13274 * Makefile.in (all-lib): Remove.
13275 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13276
2a081c59
JK
132772014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13278
13279 Fix Python stack corruption.
13280 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
13281 gdb_py_longest.
13282
0a6bd22d
MK
132832014-02-08 Mark Kettenis <kettenis@gnu.org>
13284
13285 * Makefile.in (all-lib): Remove.
13286 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13287
1a860409
DE
132882014-02-07 Doug Evans <dje@google.com>
13289
13290 * extension-priv.h (extension_language_script_ops): Add comment.
13291 (extension_language_ops): Add comment.
caf5a491 13292 (active_ext_lang_state): Fix typo in comment.
1a860409 13293
d137e6dc
PA
132942014-02-07 Pedro Alves <palves@redhat.com>
13295
0dcb32c3 13296 PR breakpoints/16292
d137e6dc
PA
13297 * infrun.c (handle_signal_stop) <signal arrives while stepping
13298 over a breakpoint>: Switch back to the stepping thread.
13299
ce6d0892
YQ
133002014-02-07 Yao Qi <yao@codesourcery.com>
13301
13302 * target.c (target_xfer_partial): Return zero if LEN is zero.
13303
2ed4b548
YQ
133042014-02-07 Yao Qi <yao@codesourcery.com>
13305
13306 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
13307 (ld_so_xfer_auxv): Likewise.
13308 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13309 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13310 * corelow.c (core_xfer_partial): Likewise.
13311 * ctf.c (ctf_xfer_partial): Likewise.
13312 * darwin-nat.c (darwin_read_dyld_info): Likewise.
13313 (darwin_xfer_partial): Likewise.
13314 * exec.c (exec_xfer_partial): Likewise.
13315 * gnu-nat.c (gnu_xfer_partial): Likewise.
13316 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
13317 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
13318 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13319 * linux-nat.c (linux_xfer_siginfo): Likewise.
13320 (linux_proc_xfer_spu): Likewise.
13321 * procfs.c (procfs_xfer_partial): Likewise.
13322 * record-full.c (record_full_xfer_partial): Likewise.
13323 (record_full_core_xfer_partial): Likewise.
13324 * remote-sim.c (gdbsim_xfer_partial): Likewise.
13325 * remote.c (remote_write_qxfer): Likewise.
13326 (remote_write_qxfer, remote_read_qxfer): Likewise.
13327 (remote_xfer_partial): Likewise.
13328 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13329 (rs6000_xfer_shared_libraries): Likewise.
13330 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13331 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13332 (spu_xfer_partial): Likewise.
13333 * target.c (memory_xfer_partial_1): Likewise.
13334 * tracepoint.c (tfile_xfer_partial): Likewise.
13335 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
13336 (windows_xfer_partial): Likewise.
13337
c09f20e4
YQ
133382014-02-07 Yao Qi <yao@codesourcery.com>
13339
13340 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
13341 comments.
13342 (core_xfer_shared_libraries_aix): Likewise.
13343 * gdbarch.c, gdbarch.h: Regenerated.
13344 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
13345 ULONGEST. Change 'len_avail' type to ULONGEST.
13346 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13347 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13348 declaration.
13349 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
13350
8635b3bf
YQ
133512014-02-07 Yao Qi <yao@codesourcery.com>
13352
13353 * corefile.c (memory_error): Get 'exception' from ERR and pass
13354 'exception' to throw_error.
13355
6dddc817
DE
133562014-02-06 Doug Evans <xdje42@gmail.com>
13357
13358 * configure.ac (libpython checking): Remove all but python.o from
13359 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
13360 * configure: Regenerate.
13361
13362 * Makefile.in (SFILES): Add extension.c.
13363 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
13364 (COMMON_OBS): Add extension.o.
13365 * extension.h: New file.
13366 * extension-priv.h: New file.
13367 * extension.c: New file.
13368
13369 * python/python-internal.h: #include "extension.h".
13370 (gdbpy_auto_load_enabled): Declare.
13371 (gdbpy_apply_val_pretty_printer): Declare.
13372 (gdbpy_apply_frame_filter): Declare.
13373 (gdbpy_preserve_values): Declare.
13374 (gdbpy_breakpoint_cond_says_stop): Declare.
13375 (gdbpy_breakpoint_has_cond): Declare.
13376 (void source_python_script_for_objfile): Delete.
13377 * python/python.c: #include "extension-priv.h".
13378 Delete inclusion of "observer.h".
13379 (extension_language_python): Moved here and renamed from
13380 script_language_python in py-auto-load.c.
13381 Redefined to be of type extension_language_defn.
13382 (python_extension_script_ops): New global.
13383 (python_extension_ops): New global.
13384 (struct python_env): New member previous_active.
13385 (restore_python_env): Call restore_active_ext_lang.
13386 (ensure_python_env): Call set_active_ext_lang.
13387 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
13388 New arg extlang.
13389 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
13390 New arg extlang.
13391 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
13392 New arg extlang.
13393 (gdbpy_eval_from_control_command): Renamed from
13394 eval_python_from_control_command, made static. New arg extlang.
13395 (gdbpy_source_script) Renamed from source_python_script, made static.
13396 New arg extlang.
13397 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
13398 result to int. New arg extlang.
13399 (gdbpy_source_objfile_script): Renamed from
13400 source_python_script_for_objfile, made static. New arg extlang.
13401 (gdbpy_start_type_printers): Renamed from start_type_printers, made
13402 static. New args extlang, extlang_printers. Change result type to
13403 "void".
13404 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
13405 static. New arg extlang. Rename arg printers to extlang_printers
13406 and change type to ext_lang_type_printers *.
13407 (gdbpy_free_type_printers): Renamed from free_type_printers, made
13408 static. Replace argument arg with extlang, extlang_printers.
13409 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
13410 (!HAVE_PYTHON, source_python_script): Delete.
13411 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
13412 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
13413 (!HAVE_PYTHON, start_type_printers): Delete.
13414 (!HAVE_PYTHON, apply_type_printers): Delete.
13415 (!HAVE_PYTHON, free_type_printers): Delete.
13416 (_initialize_python): Delete call to observer_attach_before_prompt.
13417 (finalize_python): Set/restore active extension language.
13418 (gdbpy_finish_initialization) Renamed from
13419 finish_python_initialization, made static. New arg extlang.
13420 (gdbpy_initialized): New function.
13421 * python/python.h: #include "extension.h". Delete #include
13422 "value.h", "mi/mi-cmds.h".
13423 (extension_language_python): Declare.
13424 (GDBPY_AUTO_FILE_NAME): Delete.
13425 (enum py_bt_status): Moved to extension.h and renamed to
13426 ext_lang_bt_status.
13427 (enum frame_filter_flags): Moved to extension.h.
13428 (enum py_frame_args): Moved to extension.h and renamed to
13429 ext_lang_frame_args.
13430 (finish_python_initialization): Delete.
13431 (eval_python_from_control_command): Delete.
13432 (source_python_script): Delete.
13433 (apply_val_pretty_printer): Delete.
13434 (apply_frame_filter): Delete.
13435 (preserve_python_values): Delete.
13436 (gdbpy_script_language_defn): Delete.
13437 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
13438 (start_type_printers, apply_type_printers, free_type_printers): Delete.
13439
13440 * auto-load.c: #include "extension.h".
13441 (GDB_AUTO_FILE_NAME): Delete.
13442 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
13443 (script_language_gdb): Delete, moved to extension.c and renamed to
13444 extension_language_gdb.
13445 (source_gdb_script_for_objfile): Delete.
13446 (auto_load_pspace_info): New member unsupported_script_warning_printed.
13447 (loaded_script): Change type of language member to
13448 struct extension_language_defn *.
13449 (init_loaded_scripts_info): Initialize
13450 unsupported_script_warning_printed.
13451 (maybe_add_script): Make static. Change type of language arg to
13452 struct extension_language_defn *.
13453 (clear_section_scripts): Reset unsupported_script_warning_printed.
13454 (auto_load_objfile_script_1): Rewrite to use extension language API.
13455 (auto_load_objfile_script): Make public. Remove support-compiled-in
13456 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
13457 (source_section_scripts): Rewrite to use extension language API.
13458 (load_auto_scripts_for_objfile): Rewrite to use
13459 auto_load_scripts_for_objfile.
13460 (collect_matching_scripts_data): Change type of language member to
13461 struct extension_language_defn *.
13462 (auto_load_info_scripts): Change type of language arg to
13463 struct extension_language_defn *.
13464 (unsupported_script_warning_print): New function.
13465 (script_not_found_warning_print): Make static.
13466 (_initialize_auto_load): Rewrite construction of scripts-directory
13467 help.
13468 * auto-load.h (struct objfile): Add forward decl.
13469 (struct script_language): Delete.
13470 (struct auto_load_pspace_info): Add forward decl.
13471 (struct extension_language_defn): Add forward decl.
13472 (maybe_add_script): Delete.
13473 (auto_load_objfile_script): Declare.
13474 (script_not_found_warning_print): Delete.
13475 (auto_load_info_scripts): Update prototype.
13476 (auto_load_gdb_scripts_enabled): Declare.
13477 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13478 auto_load_python_scripts_enabled and made public.
13479 (script_language_python): Delete, moved to python.c.
13480 (gdbpy_script_language_defn): Delete.
13481 (info_auto_load_python_scripts): Update to use
13482 extension_language_python.
13483
13484 * breakpoint.c (condition_command): Replace call to
13485 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13486 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13487 with call to breakpoint_ext_lang_cond_says_stop.
13488 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13489 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
13490 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13491 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13492 New arg slang.
13493 (local_setattro): Print name of extension language with existing
13494 stop condition.
13495
13496 * valprint.c (val_print, value_print): Update to call
13497 apply_ext_lang_val_pretty_printer.
13498 * cp-valprint.c (cp_print_value): Update call to
13499 apply_ext_lang_val_pretty_printer.
13500 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13501 (gdbpy_apply_val_pretty_printer): Renamed from
13502 apply_val_pretty_printer. New arg extlang.
13503 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13504
13505 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13506 extension language API.
13507 * cli/cli-script.c (execute_control_command): Update to call
13508 eval_ext_lang_from_control_command.
13509
13510 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13511 enum ext_lang_bt_status values. Update call to
13512 apply_ext_lang_frame_filter.
13513 (mi_cmd_stack_list_locals): Ditto.
13514 (mi_cmd_stack_list_args): Ditto.
13515 (mi_cmd_stack_list_variables): Ditto.
13516 * mi/mi-main.c: Delete #include "python/python-internal.h".
13517 Add #include "extension.h".
13518 (mi_cmd_list_features): Replace reference to python internal variable
13519 gdb_python_initialized with call to ext_lang_initialized_p.
13520
13521 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
13522 Update to use enum ext_lang_frame_args. Update to call
13523 apply_ext_lang_frame_filter.
13524 * python/py-framefilter.c (extract_sym): Update to use enum
13525 ext_lang_bt_status.
13526 (extract_value, py_print_type, py_print_value): Ditto.
13527 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
13528 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
13529 (py_print_frame): Ditto.
13530 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
13531 New arg extlang. Update to use enum ext_lang_bt_status.
13532
13533 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
13534 finish_python_initialization. Replace with call to
13535 finish_ext_lang_initialization.
13536
13537 * typeprint.c (do_free_global_table): Update to call
13538 free_ext_lang_type_printers.
13539 (create_global_typedef_table): Update to call
13540 start_ext_lang_type_printers.
13541 (find_global_typedef): Update to call apply_ext_lang_type_printers.
13542 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
13543 (type_print_options): Change type of global_printers from "void *"
13544 to "struct ext_lang_type_printers *".
13545
13546 * value.c (preserve_values): Update to call preserve_ext_lang_values.
13547 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
13548 (gdbpy_preserve_values): Renamed from preserve_python_values.
13549 New arg extlang.
13550 (!HAVE_PYTHON, preserve_python_values): Delete.
13551
13552 * utils.c (quit_flag): Delete, moved to extension.c.
13553 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
13554 extension.c.
13555
13556 * eval.c: Delete #include "python/python.h".
13557 * main.c: Delete #include "python/python.h".
13558
13559 * defs.h: Update comment.
13560
6af79985
JB
135612014-02-06 Joel Brobecker <brobecker@adacore.com>
13562
13563 GDB 7.7 released.
13564
12c5175d
MK
135652014-02-05 Mark Kettenis <kettenis@gnu.org>
13566
13567 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
13568 defined.
13569
8dc5b319
YQ
135702014-02-05 Yao Qi <yao@codesourcery.com>
13571
13572 * remote.c (remote_pass_signals): Remove local 'buf' and use
13573 rs->buf.
13574 (remote_program_signals): Likewise.
13575
de7b2893
YQ
135762014-02-05 Yao Qi <yao@codesourcery.com>
13577
13578 * ctf.c: Include "inferior.h" and "gdbthread.h".
13579 (CTF_PID): A new macro.
13580 (ctf_open): Call inferior_appeared and add_thread_silent.
13581 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
13582 (ctf_thread_alive): New function.
13583 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
13584
66d032ac
YQ
135852014-02-05 Yao Qi <yao@codesourcery.com>
13586
13587 Revert this patch:
13588
13589 2013-05-24 Yao Qi <yao@codesourcery.com>
13590
13591 * tracepoint.c (TFILE_PID): Remove.
13592 (tfile_open): Don't add thread and inferior.
13593 (tfile_close): Don't set 'inferior_ptid'. Don't call
13594 exit_inferior_silent.
13595 (tfile_thread_alive): Remove.
13596 (init_tfile_ops): Don't set field 'to_thread_alive' of
13597 tfile_ops.
13598
f4ccffad
CE
135992014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
13600
13601 * remote.c (remote_start_remote): Call remote_check_symbols even
13602 if only symbol-file (not file) has been given.
13603
591a12a1
UW
136042014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13605
13606 * gdbarch.sh (skip_entrypoint): New callback.
13607 * gdbarch.c, gdbarch.h: Regenerate.
13608 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
13609 * infrun.c (fill_in_stop_func): Likewise.
13610 * ppc-linux-tdep.c: Include "elf/ppc64.h".
13611 (ppc_elfv2_elf_make_msymbol_special): New function.
13612 (ppc_elfv2_skip_entrypoint): Likewise.
13613 (ppc_linux_init_abi): Install them for ELFv2.
13614
cc0e89c5
UW
136152014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13616
13617 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
13618 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
13619 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
13620 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
13621 structures returned in GPRs.
13622
52f548e4
UW
136232014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13624
13625 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
13626 offset to the stack parameter list for the ELFv2 ABI.
13627
d4094b6a
UW
136282014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13629
13630 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
13631 set_gdbarch_convert_from_func_ptr_addr and
13632 set_gdbarch_elf_make_msymbol_special for ELFv1.
13633 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
13634 function descriptors on ELFv1.
13635 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
13636 set up r12 at function entry.
13637
cd453cd0
UW
136382014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13639
13640 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
13641 (struct gdbarch_tdep): New member elf_abi.
13642
13643 * rs6000-tdep.c: Include "elf/ppc64.h".
13644 (rs6000_gdbarch_init): Detect ELF ABI version.
13645
0ff3e01f
UW
136462014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13647
13648 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
13649 within a register pair holding a DFP 128-bit value on little-endian.
13650 (ppc64_sysv_abi_return_value_base): Likewise.
13651 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
13652 (dfp_pseudo_register_write): Likewise.
13653
5b757e5d
UW
136542014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13655
13656 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
13657 offset on little-endian when passing _Decimal32.
13658 (ppc64_sysv_abi_return_value_base): Likewise for return values.
13659
084ee545
UW
136602014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13661
13662 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
13663 of the overlapped FP register within the VSX register on little-
13664 endian platforms.
13665 (efpr_pseudo_register_write): Likewise.
13666
d63167af
UW
136672014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13668
13669 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
13670 offset on little-endian when passing small structures.
13671
e765b44c
UW
136722014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13673
13674 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
13675 (struct ppc64_sysv_argpos): New data structure.
13676 (ppc64_sysv_abi_push_float): Remove.
13677 (ppc64_sysv_abi_push_val): New function.
13678 (ppc64_sysv_abi_push_integer): Likewise.
13679 (ppc64_sysv_abi_push_freg): Likewise.
13680 (ppc64_sysv_abi_push_vreg): Likewise.
13681 (ppc64_sysv_abi_push_param): Likewise.
13682 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
13683 (ppc64_sysv_abi_return_value_base): New function.
13684 (ppc64_sysv_abi_return_value): Refactor to use it.
13685
36c24d95
UW
136862014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13687
13688 * NEWS: Document new target powerpc64le-*-linux*.
13689
26fd9228
MK
136902014-02-04 Mark Kettenis <kettenis@gnu.org>
13691
13692 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
13693 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
13694 core dumps.
13695 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
13696 register set used in ELF core dumps. Add floating-point register set.
13697
c5bb7362
KB
136982014-02-03 Kevin Buettner <kevinb@redhat.com>
13699
74228e77 13700 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
13701 dwarf2_to_gdb[] table using symbolic constants. Adjust
13702 penultimate entry from number representing the PC register
13703 to symbolic constant representing the MDR register. Add
13704 constant for the PC register to the end of the table.
13705
af09351e
MK
137062014-02-03 Mark Kettenis <kettenis@gnu.org>
13707
13708 * bsd-kvm.c: Include <sys/param.h>
13709
8507e05d
MK
137102014-02-03 Mark Kettenis <kettenis@gnu.org>
13711
13712 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
13713
ae56bfb8
JB
137142014-01-31 Joel Brobecker <brobecker@adacore.com>
13715
13716 * ada-lang.h (clear_ada_sym_cache): Delete.
13717
718ee4dc
UW
137182014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
13719
13720 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
13721
401e27fd
JM
137222014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13723
13724 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
13725 the sigreturn register save area only if the syscall is
13726 sigreturn.
13727
a7c88acd
JB
137282014-01-29 Joel Brobecker <brobecker@adacore.com>
13729
13730 * valops.c (value_slice): Minor reformatting.
13731
fa0079ea
UW
137322014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
13733
13734 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
13735
c6044dd1
JB
137362014-01-28 Joel Brobecker <brobecker@adacore.com>
13737
13738 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
13739 New static globals.
13740 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
13741 (ada_ignore_descriptive_types_p): New static global.
13742 (find_parallel_type_by_descriptive_type): Return immediately
13743 if ada_ignore_descriptive_types_p is set.
13744 (_initialize_ada_language): Register new commands "maintenance
13745 set ada", "maintenance show ada", "maintenance set ada
13746 ignore-descriptive-types" and "maintenance show ada
13747 ignore-descriptive-types".
13748 * NEWS: Add entry for new "maint ada set/show
13749 ignore-descriptive-types" commands.
13750
568e808b
MM
137512014-01-27 Markus Metzger <markus.t.metzger@intel.com>
13752
13753 * record-btrace.c (record_btrace_close): Call btrace_teardown
13754 for all threads.
13755
467d141b
JB
137562014-01-27 Joel Brobecker <brobecker@adacore.com>
13757
13758 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
13759 "ui-out.h".
13760
fb151210
JB
137612014-01-27 Joel Brobecker <brobecker@adacore.com>
13762
13763 * ada-typeprint (type_is_full_subrange_of_target_type):
13764 New function.
13765 (print_range): Add parameter bounds_prefered_p. If not set,
13766 try printing range types using the name of their base type.
13767 (print_range_type): Add parameter bounds_prefered_p.
13768 Use it in call to print_range.
13769 (print_array_type, ada_print_type): Update calls to print_range
13770 and print_range_type.
13771
aba02109
JB
137722014-01-27 Joel Brobecker <brobecker@adacore.com>
13773
13774 * ada-typeprint.c (print_array_type, print_choices, print_range)
13775 (print_range_bound, print_dynamic_range_bound, print_range_type):
13776 Remove declaration.
13777
e62e21fd
JB
137782014-01-27 Joel Brobecker <brobecker@adacore.com>
13779
13780 * ada-typeprint.c (print_range): Add missing empty line
13781 after local declaration.
13782
859cf5d1
JB
137832014-01-27 Joel Brobecker <brobecker@adacore.com>
13784
13785 * ada-valprint.c (print_optional_low_bound): Get index_type's
13786 target type for as long as it is a TYPE_CODE_RANGE.
13787
25790f6f
JB
137882014-01-27 Joel Brobecker <brobecker@adacore.com>
13789
13790 * procfs.c (procfs_make_note_section): Remove assertion and
13791 associated comment.
13792
6b6aa828
YQ
137932014-01-24 Yao Qi <yao@codesourcery.com>
13794
13795 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
13796 * corelow.c (get_core_siginfo): Likewise.
13797
5d6df423
YQ
137982014-01-24 Yao Qi <yao@codesourcery.com>
13799
13800 * remote.c (remote_write_bytes_aux): Change type of 'len' to
13801 ULONGEST. Don't check 'len' is negative.
13802 (remote_write_bytes): Change type of 'len' to ULONGEST.
13803
83b645b8
TT
138042014-01-23 Tom Tromey <tromey@redhat.com>
13805
13806 PR python/16485:
13807 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
13808 Handle exception from frame.block.
13809 (FrameVars.fetch_frame_locals): Likewise.
13810
0740f8d8
TT
138112014-01-23 Tom Tromey <tromey@redhat.com>
13812
13813 PR python/16487:
13814 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
13815 on a NULL pointer. Move "goto error" to correct place.
13816
21909fa1
TT
138172014-01-23 Tom Tromey <tromey@redhat.com>
13818
13819 PR python/16491:
13820 * python/py-framefilter.c (apply_frame_filter): Call
13821 ensure_python_env after computing gdbarch.
13822
17fde6d0
YQ
138232014-01-23 Yao Qi <yao@codesourcery.com>
13824
13825 * target.c (raw_memory_xfer_partial): Change argument type
13826 from void * to gdb_byte *.
13827 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
13828
87ce2a04
DE
138292014-01-22 Doug Evans <dje@google.com>
13830
13831 New gdbserver option --debug-format=timestamp.
13832 * NEWS: Mention it.
13833
237b092b
AA
138342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13835
13836 * syscalls/s390x-linux.xml: New file.
13837 * syscalls/s390-linux.xml: New file.
13838 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
13839 (XML_SYSCALL_FILENAME_S390X): Likewise.
13840 (op_svc): New enum value for SVC opcode.
13841 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
13842 (s390_linux_get_syscall_number): New function.
13843 (s390_gdbarch_init): Register '*get_syscall_number' and the
13844 syscall xml file name.
13845 * data-directory/Makefile.in (SYSCALLS_FILES): Add
13846 "s390-linux.xml" and "s390x-linux.xml".
13847 * NEWS: Announce new feature.
13848
54bff650
BS
138492014-01-22 Baruch Siach <baruch@tkos.co.il>
13850
13851 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
13852
14e361d7
PA
138532014-01-22 Pedro Alves <palves@redhat.com>
13854
13855 * xtensa-config.c: Include defs.h.
13856
46bbb3ed
JB
138572014-01-22 Joel Brobecker <brobecker@adacore.com>
13858
13859 * common/common-utils.h: Add "ARI:" comment beside __func__
13860 reference.
13861
3a80edfc
JB
138622014-01-22 Joel Brobecker <brobecker@adacore.com>
13863
13864 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
13865 documentation a bit.
13866
4869db5e
RM
138672014-01-21 Roland McGrath <mcgrathr@google.com>
13868
13869 * configure.ac: Call AM_PROG_INSTALL_STRIP.
13870 * configure: Regenerate.
13871 * aclocal.m4: Regenerate.
13872 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
13873 New substituted variables.
13874 (install-strip): New target.
13875 (INSTALL_SCRIPT): New substituted variable.
13876 (FLAGS_TO_PASS): Add it.
13877 (install-only): Use $(INSTALL_SCRIPT) rather than
13878 $(INSTALL_PROGRAM) for gcore.
13879
9ea4267d
TT
138802014-01-20 Tom Tromey <tromey@redhat.com>
13881
13882 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
13883 together.
13884
1f2bdf09
TT
138852014-01-20 Tom Tromey <tromey@redhat.com>
13886
13887 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
13888 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
13889 (deprecated_cmd_warning, complete_on_cmdlist): Update.
13890 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
13891 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
13892 (struct cmd_list_element) <flags>: Remove.
13893 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
13894 doc_allocated>: New fields.
13895 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
13896 bitfields.
13897 * maint.c (maintenance_do_deprecate): Update.
13898 * top.c (execute_command): Update.
13899
e671835b
BS
139002014-01-20 Baruch Siach <baruch@tkos.co.il>
13901
13902 * xtensa-linux-nat.c: Include asm/ptrace.h.
13903
50367cd2
IB
139042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13905
13906 * Makefile.in (SFILES): Add d-support.c.
13907 (COMMON_OBS): Add d-support.o.
13908 * d-lang.h (d_parse_symbol): Add comment, now defined in
13909 d-support.c.
13910 * d-lang.c (parse_call_convention)
13911 (parse_attributes, parse_function_types)
13912 (parse_function_args, parse_type, parse_identifier)
13913 (call_convention_p, d_parse_symbol): Move functions to ...
13914 * d-support.c: ... New file.
13915
ec9f644a
IB
139162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13917
13918 * d-lang.h (d_parse_symbol): Add declaration.
13919 * d-lang.c (extract_identifiers)
13920 (extract_type_info): Remove functions.
13921 (parse_call_convention, parse_attributes)
13922 (parse_function_types, parse_function_args)
13923 (parse_type, parse_identifier, call_convention_p)
13924 (d_parse_symbol): New functions.
13925 (d_demangle): Use d_parse_symbol to demangle D symbols.
13926
94b1b47e
IB
139272014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13928
13929 * d-lang.h (struct builtin_d_type): New data type.
13930 (builtin_d_type): Add declaration.
13931 * d-lang.c (d_language_arch_info, build_d_types)
13932 (builtin_d_type): New functions.
13933 (enum d_primitive_types): New data type.
13934 (d_language_defn): Change c_language_arch_info to
13935 d_language_arch_info.
13936 (d_type_data): New static variable.
13937 (_initialize_d_language): Initialize d_type_data.
13938
63778547
IB
139392014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13940
13941 * d-lang.h (d_main_name): Add declaration.
13942 * d-lang.c (d_main_name): New function.
13943 * symtab.c (find_main_name): Add call to d_main_name.
13944
3271ba66
IB
139452014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13946
13947 * d-lang.c (d_language_defn): Change macro_expansion_c to
13948 macro_expansion_no.
13949
d36b3012
IB
139502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13951
13952 * MAINTAINERS: Add myself as a write-after-approval maintainer.
13953
c90a6fb7
SDJ
139542014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
13955
13956 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
13957 gdb_exception" declaration.
13958 * remote.c (getpkt_or_notif_sane): Likewise.
13959
749234e5
DE
139602014-01-17 Doug Evans <dje@google.com>
13961
13962 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
13963 function, contents of dirnames_to_char_ptr_vec_append moved here.
13964 (delim_string_to_char_ptr_vec): New function.
13965 (dirnames_to_char_ptr_vec_append): Rewrite.
13966 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
13967
df049a58
DE
139682014-01-17 Doug Evans <dje@google.com>
13969
13970 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
13971 and moved here ...
13972 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
13973 #include "common-utils.h".
13974 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
13975 * common/vec.h (VEC_ASSERT_PASS): Update.
13976 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
13977 (MACH_CHECK_ERROR): Update.
13978
69f97648
SM
139792014-01-17 Simon Marchi <simon.marchi@ericsson.com>
13980
13981 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
13982 comments.
13983 * gdbarch.h: Regenerate.
13984
98b1cfdc
TT
139852014-01-16 Tom Tromey <tromey@redhat.com>
13986
13987 * value.c (struct value) <regnum>: Move earlier.
13988
77a19445
TT
139892014-01-16 Tom Tromey <tromey@redhat.com>
13990
13991 * remote.c (extended_remote_create_inferior): Rename from
13992 extended_remote_create_inferior_1. Add "ops" argument. Remove
13993 old implementation.
13994
62261490
PA
139952014-01-16 Pedro Alves <palves@redhat.com>
13996
13997 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
13998 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
13999 the backchain.
14000
4d65956b
DE
140012014-01-16 Doug Evans <dje@google.com>
14002
14003 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
14004
52834460
MM
140052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14006
14007 * btrace.h (btrace_thread_flag): New.
14008 (struct btrace_thread_info) <flags>: New.
14009 * record-btrace.c (record_btrace_resume_thread)
14010 (record_btrace_find_thread_to_move, btrace_step_no_history)
14011 (btrace_step_stopped, record_btrace_start_replaying)
14012 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
14013 (record_btrace_find_resume_thread): New.
14014 (record_btrace_resume, record_btrace_wait): Extend.
14015 (record_btrace_can_execute_reverse): New.
14016 (record_btrace_open): Fail in non-stop mode.
14017 (record_btrace_set_replay): Split into this, ...
14018 (record_btrace_stop_replaying): ... this, ...
14019 (record_btrace_clear_histories): ... and this.
14020 (init_record_btrace_ops): Init to_can_execute_reverse.
14021 * NEWS: Announce it.
14022
118e6252
MM
140232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14024
14025 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
14026 (forward_target_decr_pc_after_break)
14027 (target_decr_pc_after_break): New.
14028 * target.c (forward_target_decr_pc_after_break)
14029 (target_decr_pc_after_break): New.
14030 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
14031 instead of gdbarch_decr_pc_after_break.
14032 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
14033 instead of gdbarch_decr_pc_after_break.
14034 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
14035 instead of gdbarch_decr_pc_after_break.
14036 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
14037 instead of gdbarch_decr_pc_after_break.
14038 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
14039 instead of gdbarch_decr_pc_after_break.
14040 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
14041 instead of gdbarch_decr_pc_after_break.
14042
6e07b1d2
MM
140432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14044
14045 * btrace.c: Include regcache.h.
14046 (btrace_add_pc): New.
14047 (btrace_enable): Call btrace_add_pc.
14048 (btrace_is_empty): New.
14049 * btrace.h (btrace_is_empty): New.
14050 * record-btrace.c (require_btrace, record_btrace_info): Call
14051 btrace_is_empty.
14052
969c39fb
MM
140532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14054
14055 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
14056 Support delta reads.
14057 (linux_disable_btrace): Change return type.
14058 * common/linux-btrace.h (linux_read_btrace): Change parameters
14059 and return type to allow error reporting. Update users.
14060 (linux_disable_btrace): Change return type. Update users.
14061 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
14062 New.
14063 (btrace_error): New.
14064 (btrace_block) <begin>: Comment on BEGIN == 0.
14065 * btrace.c (btrace_compute_ftrace): Start from the end of
14066 the current trace.
14067 (btrace_stitch_trace, btrace_clear_history): New.
14068 (btrace_fetch): Read delta trace, return if replaying.
14069 (btrace_clear): Move clear history code to btrace_clear_history.
14070 (parse_xml_btrace): Throw an error if parsing failed.
14071 * target.h (struct target_ops) <to_read_btrace>: Change parameters
14072 and return type to allow error reporting.
14073 (target_read_btrace): Change parameters and return type to allow
14074 error reporting.
14075 * target.c (target_read_btrace): Update.
14076 * remote.c (remote_read_btrace): Support delta reads. Pass
14077 errors on.
14078 * NEWS: Announce it.
14079
0b722aec
MM
140802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14081
14082 * record.h (record_btrace_frame_unwind)
14083 (record_btrace_tailcall_frame_unwind): New declarations.
14084 * dwarf2-frame: Include record.h
14085 (dwarf2_frame_cfa): Throw an error for btrace frames.
14086 * record-btrace.c: Include hashtab.h.
14087 (btrace_get_bfun_name): New.
14088 (btrace_call_history): Call btrace_get_bfun_name.
14089 (struct btrace_frame_cache): New.
14090 (bfcache): New.
14091 (bfcache_hash, bfcache_eq, bfcache_new): New.
14092 (btrace_get_frame_function): New.
14093 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
14094 (record_btrace_frame_this_id): Compute own id.
14095 (record_btrace_frame_prev_register): Provide PC, throw_error
14096 for all other registers.
14097 (record_btrace_frame_sniffer): Detect btrace frames.
14098 (record_btrace_tailcall_frame_sniffer): New.
14099 (record_btrace_frame_dealloc_cache): New.
14100 (record_btrace_frame_unwind): Add new functions.
14101 (record_btrace_tailcall_frame_unwind): New.
14102 (_initialize_record_btrace): Allocate cache.
14103 * btrace.c (btrace_clear): Call reinit_frame_cache.
14104 * NEWS: Announce it.
14105
066ce621
MM
141062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14107
14108 * record-btrace.c (record_btrace_set_replay)
14109 (record_btrace_goto_begin, record_btrace_goto_end)
14110 (record_btrace_goto): New.
14111 (init_record_btrace_ops): Initialize them.
14112 * NEWS: Announce it.
14113
e2887aa3
MM
141142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14115
14116 * record-btrace.c (record_btrace_find_new_threads)
14117 (record_btrace_thread_alive): New.
14118 (init_record_btrace_ops): Initialize to_find_new_threads and
14119 to_thread_alive.
14120
b2f4cfde
MM
141212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14122
14123 * record-btrace.c (record_btrace_resume): New.
14124 (record_btrace_wait): New.
14125 (init_record_btrace_ops): Initialize to_wait and to_resume.
14126
633785ff
MM
141272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14128
14129 * record-btrace.c (record_btrace_xfer_partial)
14130 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
14131 (record_btrace_allow_memory_access): New.
14132 (init_record_btrace_ops): Initialize new methods.
14133 * target.c (raw_memory_xfer_partial): Bail out if target reports
14134 that this memory is not available.
14135
3db08215
MM
141362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14137
14138 * target.h (target_ops) <to_insert_breakpoint>
14139 <to_remove_breakpoint>: Add target_ops parameter.
14140 (forward_target_insert_breakpoint): New.
14141 (forward_target_remove_breakpoint): New.
14142 (memory_remove_breakpoint, memory_insert_breakpoint):
14143 Add target_ops parameter.
14144 * target.c (target_insert_breakpoint): Split into this and ...
14145 (forward_target_insert_breakpoint): ... this.
14146 (target_remove_breakpoint): Split into this and ...
14147 (forward_target_remove_breakpoint): ... this.
14148 (debug_to_insert_breakpoint): Add target_ops parameter.
14149 Call forward_target_insert_breakpoint.
14150 (debug_to_remove_breakpoint): Add target_ops parameter.
14151 Call forward_target_remove_breakpoint.
14152 (update_current_target): Do not inherit or default to_insert_breakpoint
14153 and to_remove_breakpoint.
14154 * corelow.c (ignore): Add target_ops parameter.
14155 * exec.c (ignore): Add target_ops parameter.
14156 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
14157 Add target_ops parameter.
14158 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
14159 Add target_ops parameter.
14160 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
14161 Add target_ops parameter.
14162 * record-full.c (record_full_beneath_to_insert_breakpoint)
14163 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
14164 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
14165 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
14166 (record_full_core_remove_breakpoint): Add target_ops parameter.
14167 Update users.
14168 (record_full_beneath_to_insert_breakpoint_ops)
14169 (record_full_beneath_to_remove_breakpoint_ops)
14170 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
14171 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
14172 tmp_to_remove_breakpoint_ops,
14173 record_full_beneath_to_insert_breakpoint_ops, and
14174 record_full_beneath_to_remove_breakpoint_ops.
14175 * remote-m32r-sdi.c (m32r_insert_breakpoint)
14176 (m32r_remove_breakpoint): Add target_ops parameter.
14177 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
14178 Add target_ops parameter.
14179 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
14180 Add target_ops parameter.
14181
cecac1ab
MM
141822014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14183 Markus Metzger <markus.t.metzger@intel.com>
14184
14185 * record-btrace.c: Include frame-unwind.h.
14186 (record_btrace_frame_unwind_stop_reason)
14187 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
14188 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
14189 New.
14190 (init_record_btrace_ops): Install it.
14191
824344ca
MM
141922014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14193
14194 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
14195 get_prev_frame_1.
14196
32261e52
MM
141972014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14198
14199 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
14200 earlier.
14201
ea001bdc
MM
142022014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14203
14204 * frame-unwind.c: Include target.h.
14205 (frame_unwind_try_unwinder): New function with code from ...
14206 (frame_unwind_find_by_frame): ... here. New variable
14207 unwinder_from_target, call also target_get_unwinder)
14208 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
14209 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
14210 * target.h (struct target_ops): New fields to_get_unwinder and
14211 to_get_tailcall_unwinder.
14212 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
14213
1f3ef581
MM
142142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14215
14216 * record-btrace.c (record_btrace_fetch_registers)
14217 (record_btrace_store_registers)
14218 (record_btrace_to_prepare_to_store): New.
14219 (init_record_btrace_ops): Add the above.
14220
f32dbf8c
MM
142212014-01-16 Tom Tromey <tromey@redhat.com>
14222
14223 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
14224 * target.h (struct target_ops) <to_prepare_to_store>: Add
14225 argument.
14226 (target_prepare_to_store): Add argument.
14227 * target.c (debug_to_prepare_to_store): Add argument.
14228 (update_current_target): Update.
14229 * remote.c (remote_prepare_to_store): Add 'self' argument.
14230 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
14231 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
14232 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
14233 * record-full.c (record_full_core_prepare_to_store): Add 'self'
14234 argument.
14235 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
14236 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
14237 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
14238 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
14239 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
14240
07bbe694
MM
142412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14242
14243 * btrace.h (replay) <replay>: New.
14244 (btrace_is_replaying): New.
14245 * btrace.c (btrace_clear): Free replay iterator.
14246 (btrace_is_replaying): New.
14247 * record-btrace.c (record_btrace_is_replaying): New.
14248 (record_btrace_info): Print insn number if replaying.
14249 (record_btrace_insn_history): Start at replay position.
14250 (record_btrace_call_history): Start at replay position.
14251 (init_record_btrace_ops): Init to_record_is_replaying.
14252
0688d04e
MM
142532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14254
14255 * record-btrace.c (record_btrace_insn_history_range): Include
14256 end.
14257 (record_btrace_insn_history_from): Adjust range.
14258 (record_btrace_call_history_range): Include
14259 end.
14260 (record_btrace_call_history_from): Adjust range.
14261 * NEWS: Announce changes.
14262
8710b709
MM
142632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14264
14265 * record.h (enum record_print_flag)
14266 <record_print_indent_calls>: New.
14267 * record.c (get_call_history_modifiers): Recognize /c modifier.
14268 (_initialize_record): Document /c modifier.
14269 * record-btrace.c (btrace_call_history): Add btinfo parameter.
14270 Reorder fields. Optionally indent the function name. Update
14271 all users.
14272 * NEWS: Announce changes.
14273
d0fa7535
MM
142742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14275
14276 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
14277
5de9129b
MM
142782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14279
14280 * btrace.c (ftrace_new_function): Start counting at one.
14281 * record-btrace.c (record_btrace_info): Adjust number of calls
14282 and insns.
14283 * NEWS: Announce it.
14284
7acbe133
MM
142852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14286
14287 * record-btrace.c (btrace_call_history_insn_range): Print
14288 insn range as [begin, end].
14289
23a7fe75
MM
142902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14291
14292 * btrace.h (struct btrace_func_link): New.
14293 (enum btrace_function_flag): New.
14294 (struct btrace_inst): Rename to ...
14295 (struct btrace_insn): ...this. Update all users.
14296 (struct btrace_func) <ibegin, iend>: Remove.
14297 (struct btrace_func_link): New.
14298 (struct btrace_func): Rename to ...
14299 (struct btrace_function): ...this. Update all users.
14300 (struct btrace_function) <segment, flow, up, insn, insn_offset)
14301 (number, level, flags>: New.
14302 (struct btrace_insn_iterator): Rename to ...
14303 (struct btrace_insn_history): ...this.
14304 Update all users.
14305 (struct btrace_insn_iterator, btrace_call_iterator): New.
14306 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
14307 (struct btrace_target_info) <begin, end, level>
14308 <insn_history, call_history>: New.
14309 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14310 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14311 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14312 (btrace_call_number, btrace_call_begin, btrace_call_end)
14313 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14314 (btrace_find_function_by_number, btrace_set_insn_history)
14315 (btrace_set_call_history): New.
14316 * btrace.c (btrace_init_insn_iterator)
14317 (btrace_init_func_iterator, compute_itrace): Remove.
14318 (ftrace_print_function_name, ftrace_print_filename)
14319 (ftrace_skip_file): Change
14320 parameter to const.
14321 (ftrace_init_func): Remove.
14322 (ftrace_debug): Use new btrace_function fields.
14323 (ftrace_function_switched): Also consider gaining and
14324 losing symbol information).
14325 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
14326 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
14327 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
14328 New.
14329 (ftrace_new_function): Move. Remove debug print.
14330 (ftrace_update_lines, ftrace_update_insns): New.
14331 (ftrace_update_function): Check for call, ret, and jump.
14332 (compute_ftrace): Renamed to ...
14333 (btrace_compute_ftrace): ...this. Rewritten to compute call
14334 stack.
14335 (btrace_fetch, btrace_clear): Updated.
14336 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14337 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14338 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14339 (btrace_call_number, btrace_call_begin, btrace_call_end)
14340 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14341 (btrace_find_function_by_number, btrace_set_insn_history)
14342 (btrace_set_call_history): New.
14343 * record-btrace.c (require_btrace): Use new btrace thread
14344 info fields.
14345 (record_btrace_info, btrace_insn_history)
14346 (record_btrace_insn_history, record_btrace_insn_history_range):
14347 Use new btrace thread info fields and new iterator.
14348 (btrace_func_history_src_line): Rename to ...
14349 (btrace_call_history_src_line): ...this. Use new btrace
14350 thread info fields.
14351 (btrace_func_history): Rename to ...
14352 (btrace_call_history): ...this. Use new btrace thread info
14353 fields and new iterator.
14354 (record_btrace_call_history, record_btrace_call_history_range):
14355 Use new btrace thread info fields and new iterator.
14356
8372a7cb
MM
143572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14358
14359 * frame.h (frame_id_build_unavailable_stack_special): New.
14360 * frame.c (frame_id_build_unavailable_stack_special): New.
14361
c2170eef
MM
143622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14363
14364 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
14365 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
14366 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
14367 to gdbarch.
14368 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
14369 (i386_insn_is_jump, i386_jmp_p): New.
14370 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
14371 insn_is_jump to gdbarch.
14372 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
14373 * gdbarch.h: Regenerated.
14374 * gdbarch.c: Regenerated.
14375 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
14376 (default_insn_is_jump): New.
14377 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
14378 (default_insn_is_jump): New.
14379
864089d2
MM
143802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14381
14382 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
14383 Change to ...
14384 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
14385 (btrace_read_type) <btrace_read_new>: Change to ...
14386 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
14387
ed9edfb5
MM
143882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14389
14390 * common/linux-btrace.c (linux_read_btrace): Free trace from
14391 previous iteration.
14392
fbcbc3fd
DE
143932014-01-15 Doug Evans <dje@google.com>
14394
14395 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
14396 uint32_t.
14397
3d548a53
TT
143982014-01-15 Tom Tromey <tromey@redhat.com>
14399
14400 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
14401 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
14402 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
14403 (set_objfile_main_name): New function.
14404 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
14405 language_of_main>: New fields.
14406 (set_objfile_main_name): Declare.
14407 * symtab.c (find_main_name): Loop over objfiles to find the main
14408 name and language.
14409 (set_main_name): Now static.
14410 (get_main_info): Add comment.
14411 * symtab.h (set_main_name): Don't declare.
14412
32ac0d11
TT
144132014-01-15 Tom Tromey <tromey@redhat.com>
14414
14415 * symtab.c (main_progspace_key): New global.
14416 (struct main_info): New.
14417 (name_of_main, language_of_main): Remove.
14418 (get_main_info, main_info_cleanup): New function.
14419 (set_main_name, main_name, main_language): Use get_main_info.
14420 (_initialize_symtab): Initialize main_progspace_key.
14421
9e6c82ad
TT
144222014-01-15 Tom Tromey <tromey@redhat.com>
14423
14424 * dbxread.c (process_one_symbol): Update.
14425 * dwarf2read.c (read_partial_die): Update.
14426 * symfile.c (set_initial_language): Call main_language.
14427 * symtab.c (language_of_main): Now static.
14428 (set_main_name): Add 'lang' parameter.
14429 (find_main_name): Update.
14430 (main_language): New function.
14431 (symtab_observer_executable_changed): Update.
14432 * symtab.h (set_main_name): Update.
14433 (language_of_main): Remove.
14434 (main_language): Declare.
14435
6ef55de7
TT
144362014-01-15 Tom Tromey <tromey@redhat.com>
14437
14438 * symfile.c (init_entry_point_info): Use new "initialized" field.
14439 Update.
14440 * objfiles.h (struct entry_point) <initialized>: New field.
14441 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
14442 (struct objfile) <ei>: ...here. Remove.
14443 * objfiles.c (entry_point_address_query): Update.
14444
53eddfa6
TT
144452014-01-15 Tom Tromey <tromey@redhat.com>
14446
14447 * objfiles.c (entry_point_address_query): Relocate entry point
14448 address.
14449 (objfile_relocate1): Do not relocate entry point address.
14450 * objfiles.h (struct entry_info) <entry_point>: Update comment.
14451 <the_bfd_section_index>: New field.
14452 * symfile.c (init_entry_point_info): Find the entry point's
14453 section.
14454
d56e56aa
TT
144552014-01-15 Tom Tromey <tromey@redhat.com>
14456
14457 * solib-frv.c (enable_break): Use entry_point_address_query.
14458
33a97bbe
OJ
144592014-01-15 Omair Javaid <omair.javaid@linaro.org>
14460
14461 * NEWS: Add note on improved process record-replay on
14462 arm*-linux* targets.
14463
c6ec2b30
OJ
144642014-01-15 Omair Javaid <omair.javaid@linaro.org>
14465
14466 * arm-tdep.c (enum arm_record_result): New enum.
14467 (arm_record_unsupported_insn): New function.
14468 (arm_record_coproc_data_proc): Removed.
14469 (thumb2_record_ld_st_multiple): New function.
14470 (thumb2_record_ld_st_dual_ex_tbb): New function.
14471 (thumb2_record_data_proc_sreg_mimm): New function.
14472 (thumb2_record_ps_dest_generic): New function.
14473 (thumb2_record_branch_misc_cntrl): New function.
14474 (thumb2_record_str_single_data): New function.
14475 (thumb2_record_ld_mem_hints): New function.
14476 (thumb2_record_ld_word): New function.
14477 (thumb2_record_lmul_lmla_div): New function.
14478 (thumb2_record_decode_insn_handler): New function.
14479 (decode_insn): Add thumb32 instruction handlers.
14480
97dfe206
OJ
144812014-01-15 Omair Javaid <omair.javaid@linaro.org>
14482
14483 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14484 (struct arm_linux_record_tdep): Declare.
14485 (arm_canonicalize_syscall): New function.
14486 (arm_all_but_pc_registers_record): New function.
14487 (arm_linux_syscall_record): New function.
14488 (arm_linux_init_abi): Add syscall recording constructs.
14489 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14490 decoding. (arm_record_coproc_data_proc): Update arm syscall
14491 decoding.
14492 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14493 <arm_syscall_record>: New field.
14494 * configure.tgt (arm*-*-linux*): Add linux-record.o to
14495 gdb_target_obs.
14496
9904a494
OJ
144972014-01-15 Omair Javaid <omair.javaid@linaro.org>
14498
14499 * arm-tdep.c (thumb_record_misc): Update to use sp as base
14500 register for push instruction recording.
14501
f969241e
OJ
145022014-01-15 Omair Javaid <omair.javaid@linaro.org>
14503
14504 * arm-tdep.c (thumb_record_misc): Update to correct logical
14505 error while recording ldm, ldmia and pop instructions.
14506
bfbbec00
OJ
145072014-01-15 Omair Javaid <omair.javaid@linaro.org>
14508
14509 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14510
e40adcc9
PA
145112014-01-15 Pedro Alves <palves@redhat.com>
14512
14513 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14514 (go32_resume, go32_fetch_registers, store_register)
14515 (go32_store_registers, go32_prepare_to_store)
14516 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
14517 (go32_create_inferior, go32_can_run, go32_terminal_init)
14518 (go32_terminal_inferior, go32_terminal_ours): Delete forward
14519 declarations.
14520
b0a16e66
TT
145212014-01-15 Tom Tromey <tromey@redhat.com>
14522
14523 * target.h (async_callback_ftype): New typedef.
14524 (struct target_ops) <to_async>: Use it.
14525
bf7105a4
JB
145262014-01-15 Joel Brobecker <brobecker@adacore.com>
14527
14528 * python/py-value.c (get_field_type): Remove unnecessary curly
14529 braces for single-statement if block.
14530
a8f35c2e
JB
145312014-01-15 Joel Brobecker <brobecker@adacore.com>
14532
14533 * python/py-type.c (convert_field): Add missing empty line
14534 after declarations.
14535
bb4142cf
DE
145362014-01-14 Doug Evans <dje@google.com>
14537
14538 * symfile.h (expand_symtabs_matching): Renamed from
14539 expand_partial_symbol_names. Update prototype.
14540 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14541 * symfile.c (expand_symtabs_matching): Renamed from
14542 expand_partial_symbol_names. New args file_matcher, kind.
14543 Rename arg fun to symbol_matcher.
14544 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14545 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
14546 ada_expand_partial_symbol_name.
14547 (ada_make_symbol_completion_list): Update to call
14548 expand_symtabs_matching.
14549 (ada_add_global_exceptions): Call expand_symtabs_matching.
14550 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
14551 call map_symbol_filenames.
14552 * symtab.c (sources_info): Update to call map_symbol_filenames.
14553 (search_symbols): Call expand_symtabs_matching.
14554 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
14555 (default_make_symbol_completion_list_break_on): Update to call
14556 expand_symtabs_matching.
14557 (make_source_files_completion_list): Update to call
14558 map_symbol_filenames.
14559
206f2a57
DE
145602014-01-14 Doug Evans <dje@google.com>
14561
14562 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
14563 (expand_symtabs_symbol_matcher_ftype): New typedef.
14564 (quick_symbol_functions.expand_symtabs_matching): Update to use.
14565 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14566 * symfile.c (expand_partial_symbol_names): Update to use
14567 expand_symtabs_symbol_matcher_ftype.
14568 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
14569 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14570 Arg name_matcher renamed to symbol_matcher.
14571 * psymtab.c (recursively_search_psymtabs): Update to use
14572 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
14573 sym_matcher.
14574 (expand_symtabs_matching_via_partial): Update to use
14575 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14576 Arg name_matcher renamed to symbol_matcher.
14577
540c2971
DE
145782014-01-14 Doug Evans <dje@google.com>
14579
14580 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
14581 (map_partial_symbol_filenames): Ditto.
14582 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
14583 (map_partial_symbol_filenames): Ditto.
14584 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
14585 (map_partial_symbol_filenames): Ditto.
14586 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
14587 (map_partial_symbol_filenames): Ditto.
14588 * symtab.c: Delete #include "psymtab.h".
14589
8213266a
PA
145902014-01-14 Pedro Alves <palves@redhat.com>
14591 Tom Tromey <tromey@redhat.com>
14592
14593 * infrun.c (use_displaced_stepping): Use find_record_target
14594 instead of RECORD_IS_USED.
14595 (adjust_pc_after_break): Use record_full_is_used instead of
14596 RECORD_IS_USED.
14597 * record-btrace.c (record_btrace_open): Call record_preopen
14598 instead of checking RECORD_IS_USED.
14599 * record-full.c (record_full_shortname)
14600 (record_full_core_shortname): New globals.
14601 (record_full_is_used): New function.
14602 (find_full_open): Call record_preopen instead of checking
14603 RECORD_IS_USED.
14604 (init_record_full_ops): Set the target's shortname to
14605 record_full_shortname.
14606 (init_record_full_core_ops): Set the target's shortname to
14607 record_full_core_shortname.
14608 * record-full.h (record_full_is_used): Declare.
14609 * record.c (find_record_target): Make extern.
14610 (record_preopen): New function.
14611 * record.h (RECORD_IS_USED): Delete macro.
14612 (find_record_target, record_preopen): Declare functions.
14613
7ec1862d
YQ
146142014-01-14 Yao Qi <yao@codesourcery.com>
14615
14616 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
14617 'len''s type to ULONGEST.
14618 (core_xfer_shared_libraries_aix): Likewise.
14619 * gdbarch.c, gdbarch.h: Regenerated.
14620 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
14621 Change type of 'len' to ULONGEST.
14622 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14623 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
14624
dea80a27
YQ
146252014-01-14 Yao Qi <yao@codesourcery.com>
14626
14627 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
14628 type of 'len' to ULONGEST.
14629 (linux_xfer_osdata_processgroups): Likewise.
14630 (linux_xfer_osdata_threads): Likewise.
14631 (linux_xfer_osdata_fds): Likewise.
14632 (linux_xfer_osdata_isockets): Likewise.
14633 (linux_xfer_osdata_shm): Likewise.
14634 (linux_xfer_osdata_sem): Likewise.
14635 (linux_xfer_osdata_msg): Likewise.
14636 (linux_common_xfer_osdata): Likewise.
14637 (struct osdata_type) <getter>: Likewise.
14638 * common/linux-osdata.h (linux_common_xfer_osdata): Update
14639 the declaration.
14640
b55e14c7
YQ
146412014-01-14 Yao Qi <yao@codesourcery.com>
14642
14643 * target.h (target_xfer_partial_ftype): Update.
14644 (struct target_ops) <to_xfer_partial>: Change 'len' type to
14645 ULONGEST.
14646 * aix-thread.c (aix_thread_xfer_partial): Change type of
14647 argument 'len' to ULONGEST.
14648 * auxv.c (procfs_xfer_auxv): Likewise.
14649 (ld_so_xfer_auxv): Likewise.
14650 (memory_xfer_auxv): Likewise.
14651 * bfd-target.c (target_bfd_xfer_partial): Likewise.
14652 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
14653 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
14654 * corelow.c (core_xfer_partial): Likewise.
14655 * ctf.c (ctf_xfer_partial): Likewise.
14656 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
14657 '%u'.
14658 (darwin_read_dyld_info): Likewise.
14659 (darwin_xfer_partial): Likewise.
14660 * exec.c (section_table_xfer_memory_partial): Likewise.
14661 (exec_xfer_partial): Likewise.
14662 * exec.h (section_table_xfer_memory_partial): Update
14663 declaration.
14664 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
14665 instead of plongest.
14666 (gnu_xfer_partial): Likewise.
14667 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
14668 (ia64_hpux_xfer_solib_got): Likewise.
14669 (ia64_hpux_xfer_partial): Likewise.
14670 * ia64-linux-nat.c (ia64_linux_xfer_partial):
14671 * inf-ptrace.c (inf_ptrace_xfer_partial):
14672 * inf-ttrace.c (inf_ttrace_xfer_partial):
14673 * linux-nat.c (linux_xfer_siginfo): Likewise.
14674 (linux_nat_xfer_partial): Likewise.
14675 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
14676 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
14677 * monitor.c (monitor_xfer_memory): Likewise.
14678 (monitor_xfer_partial): Likewise.
14679 * procfs.c (procfs_xfer_partial): Likewise.
14680 * record-full.c (record_full_xfer_partial): Likewise.
14681 (record_full_core_xfer_partial): Likewise.
14682 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
14683 instead of plongest.
14684 (gdbsim_xfer_partial): Likewise.
14685 * remote.c (remote_xfer_partial): Likewise.
14686 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14687 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
14688 declaration.
14689 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
14690 (rs6000_xfer_shared_libraries): Likewise.
14691 * sol-thread.c (sol_thread_xfer_partial): Likewise.
14692 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
14693 (sparc_xfer_partial): Likewise.
14694 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
14695 (spu_xfer_partial): Likewise.
14696 * spu-multiarch.c (spu_xfer_partial): Likewise.
14697 * target.c (target_read_live_memory): Likewise.
14698 (memory_xfer_live_readonly_partial): Likewise.
14699 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
14700 (target_xfer_partial, default_xfer_partial): Likewise.
14701 (current_xfer_partial): Likewise.
14702 * tracepoint.c (tfile_xfer_partial): Likewise.
14703 * windows-nat.c (windows_xfer_memory): Likewise. Call
14704 pulongest instead of plongest.
14705 (windows_xfer_partial): Likewise.
14706 (windows_xfer_shared_libraries): Likewise.
14707
05804640
YQ
147082014-01-14 Yao Qi <yao@codesourcery.com>
14709
14710 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
14711 target_xfer_partial_ftype.
14712
b5b08fb4
SC
147132014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14714
14715 PR python/15464
14716 PR python/16113
14717 * valops.c (value_struct_elt_bitpos): New function
14718 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
14719 object to 'None' if the field name is an empty string ("").
14720 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
14721 attribute to look for a field when 'name' is 'None'.
14722 (get_field_type): New function
14723
13aaf454
DE
147242014-01-13 Doug Evans <dje@google.com>
14725
14726 PR symtab/16426
14727 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
14728 (try_open_dwop_file): Ditto.
14729 * gdb_bfd.c: #include "vec.h".
14730 (bfdp): New typedef.
14731 (struct gdb_bfd_data): New member included_bfds.
14732 (gdb_bfd_unref): Unref all included bfds.
14733 (gdb_bfd_record_inclusion): New function.
14734 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
14735
c2cec97c
TT
147362014-01-13 Tom Tromey <tromey@redhat.com>
14737
14738 * gdbcore.h (deprecated_core_resize_section_table): Remove.
14739
78e5999d
TT
147402014-01-13 Tom Tromey <tromey@redhat.com>
14741
14742 * defs.h (use_windows): Remove.
14743 * gdb.c (main): Update.
14744 * main.c (captured_main, gdb_main): Update.
14745 * main.h (struct captured_main_args) <use_windows>: Remove.
14746 * top.c (use_windows): Remove.
14747
f2052bbe
TT
147482014-01-13 Tom Tromey <tromey@redhat.com>
14749
14750 * defs.h (deprecated_flush_hook): Remove.
14751
fde4f8ed
JK
147522014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14753
14754 PR threads/16216
14755 * linux-thread-db.c (try_thread_db_load): Add parameter
14756 check_auto_load_safe. Move here the file_is_auto_load_safe call.
14757 (try_thread_db_load_from_pdir_1): Move it there from here.
14758 (try_thread_db_load_from_sdir): Update caller.
14759 (try_thread_db_load_from_dir): Move it there from here.
14760
bdf61915
PP
147612014-01-13 Patrick Palka <patrick@parcs.ath.cx>
14762
14763 * regformats/regdat.sh: Always rewrite the register file.
14764
f71e1a8d
PA
147652014-01-13 Pedro Alves <palves@redhat.com>
14766
14767 * Makefile.in (CHECK_HEADERS): New variable.
14768 (check-headers:): New rule.
14769
42c85435
TT
147702014-01-13 Tom Tromey <tromey@redhat.com>
14771
14772 * cli/cli-setshow.c (do_set_command): Update.
14773 * defs.h (deprecated_set_hook): Remove.
14774 * top.c (deprecated_set_hook): Remove.
14775
f8de5129
PA
147762014-01-13 Pedro Alves <palves@redhat.com>
14777
14778 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
14779 the tracepoint if the PC is a pseudo-register.
14780
fc270c35
TT
147812014-01-13 Tom Tromey <tromey@redhat.com>
14782
14783 * defs.h (XCALLOC): Remove.
14784 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
14785 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
14786 * dwarf2loc.c (allocate_piece_closure): Likewise.
14787 * elfread.c (elf_symfile_segments): Likewise.
14788 (elf_symfile_segments): Likewise.
14789 * gdbtypes.c (copy_type_recursive): Likewise.
14790 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
14791 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
14792 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
14793 XCALLOC.
14794 * mt-tdep.c (mt_gdbarch_init): Likewise.
14795 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
14796 XCALLOC.
14797 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
14798 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
14799 * registry.c (registry_alloc_data): Likewise.
14800 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
14801 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
14802 * serial.c (serial_fdopen_ops): Likewise.
14803 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
14804 XCALLOC.
14805 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
14806 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
14807 not XCALLOC.
14808
70ba0933
TT
148092014-01-13 Tom Tromey <tromey@redhat.com>
14810
14811 * defs.h (XMALLOC): Remove.
14812 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
14813 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
14814 * cli-out.c (struct ui_out *): Likewise.
14815 * cli/cli-dump.c (add_dump_command): Likewise.
14816 (add_dump_command): Likewise.
14817 * complaints.c (get_complaints): Likewise.
14818 (find_complaint): Likewise.
14819 * dwarf2-frame.c (execute_cfa_program): Likewise.
14820 * dwarf2read.c (abbrev_table_read_table): Likewise.
14821 * gdbarch.sh: Likewise.
14822 * gdbarch.c: Rebuild.
14823 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
14824 * interps.c (interp_new): Likewise.
14825 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
14826 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
14827 * mi/mi-console.c (mi_console_file_new): Likewise.
14828 * mi/mi-interp.c (mi_interpreter_init): Likewise.
14829 * mi/mi-out.c (mi_out_new): Likewise.
14830 * mi/mi-parse.c (mi_parse): Likewise.
14831 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
14832 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
14833 * observer.c (xalloc_observer_list_node): Likewise.
14834 * regcache.c (regcache_xmalloc_1): Likewise.
14835 * reggroups.c (reggroup_new): Likewise.
14836 (_initialize_reggroup): Likewise.
14837 * registry.c (register_data_with_cleanup): Likewise.
14838 * remote.c (remote_notif_stop_alloc_reply): Likewise.
14839 * ser-base.c (serial_ttystate): Likewise.
14840 * ser-mingw.c (make_pipe_state): Likewise.
14841 * ser-pipe.c (pipe_open): Likewise.
14842 * serial.c (serial_open): Likewise.
14843 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
14844 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
14845 (tui_alloc_win_info): Likewise.
14846 (tui_add_content_elements): Likewise.
14847 * tui/tui-file.c (tui_file_new): Likewise.
14848 * tui/tui-out.c (tui_out_new): Likewise.
14849 * ui-file.c (mem_file_new): Likewise.
14850 * ui-out.c (push_level): Likewise.
14851 (make_cleanup_ui_out_end): Likewise.
14852 (append_header_to_list): Likewise.
14853 (ui_out_new): Likewise.
14854 * user-regs.c (user_reg_add_builtin): Likewise.
14855
41bf6aca
TT
148562014-01-13 Tom Tromey <tromey@redhat.com>
14857
14858 * defs.h (XZALLOC): Remove.
14859 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
14860 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
14861 (get_ada_tasks_inferior_data): Likewise.
14862 * auto-load.c (get_auto_load_pspace_data): Likewise.
14863 * auxv.c (get_auxv_inferior_data): Likewise.
14864 * bfd-target.c (target_bfd_reopen): Likewise.
14865 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
14866 (deprecated_insert_raw_breakpoint): Likewise.
14867 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
14868 * corelow.c (core_open): Likewise.
14869 * darwin-nat.c (darwin_check_new_threads): Likewise.
14870 (darwin_attach_pid): Likewise.
14871 * dummy-frame.c (dummy_frame_push): Likewise.
14872 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
14873 * dwarf2loc.c (allocate_piece_closure): Likewise.
14874 * elfread.c (elf_symfile_segments): Likewise.
14875 * eval.c (ptrmath_type_p): Likewise.
14876 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
14877 * gdbtypes.c (alloc_type_arch): Likewise.
14878 (alloc_type_instance): Likewise.
14879 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
14880 * inf-child.c (inf_child_can_use_agent): Likewise.
14881 * inflow.c (get_inflow_inferior_data): Likewise.
14882 * infrun.c (save_infcall_suspend_state): Likewise.
14883 * jit.c (jit_reader_load): Likewise.
14884 (get_jit_objfile_data): Likewise.
14885 (get_jit_program_space_data): Likewise.
14886 (jit_object_open_impl): Likewise.
14887 (jit_symtab_open_impl): Likewise.
14888 (jit_block_open_impl): Likewise.
14889 (jit_frame_sniffer): Likewise.
14890 * linux-fork.c (add_fork): Likewise.
14891 * maint.c (make_command_stats_cleanup): Likewise.
14892 * objfiles.c (get_objfile_pspace_data): Likewise.
14893 * opencl-lang.c (struct lval_closure): Likewise.
14894 * osdata.c (osdata_start_osdata): Likewise.
14895 * progspace.c (new_address_space): Likewise.
14896 (add_program_space): Likewise.
14897 * remote-sim.c (get_sim_inferior_data): Likewise.
14898 * sh-tdep.c (sh_gdbarch_init): Likewise.
14899 * skip.c (Ignore): Likewise.
14900 (skip_delete_command): Likewise.
14901 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
14902 (library_list_start_library): Likewise.
14903 (solib_aix_current_sos): Likewise.
14904 * solib-darwin.c (get_darwin_info): Likewise.
14905 (darwin_current_sos): Likewise.
14906 * solib-dsbt.c (get_dsbt_info): Likewise.
14907 * solib-ia64-hpux.c (new_so_list): Likewise.
14908 (ia64_hpux_get_solib_linkage_addr): Likewise.
14909 * solib-spu.c (append_ocl_sos): Likewise.
14910 (spu_current_sos): Likewise.
14911 * solib-svr4.c (get_svr4_info): Likewise.
14912 (svr4_keep_data_in_core): Likewise.
14913 (library_list_start_library): Likewise.
14914 (svr4_default_sos): Likewise.
14915 (svr4_read_so_list): Likewise.
14916 * solib-target.c (library_list_start_library): Likewise.
14917 (solib_target_current_sos): Likewise.
14918 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
14919 * symfile-debug.c (install_symfile_debug_logging): Likewise.
14920 * symfile.c (default_symfile_segments): Likewise.
14921 * target-descriptions.c (tdesc_data_init): Likewise.
14922 (tdesc_create_reg): Likewise.
14923 (struct tdesc_type *): Likewise.
14924 (tdesc_create_vector): Likewise.
14925 (tdesc_set_struct_size): Likewise.
14926 (struct tdesc_type *): Likewise.
14927 (tdesc_free_feature): Likewise.
14928 (tdesc_create_feature): Likewise.
14929 * windows-nat.c (windows_add_thread): Likewise.
14930 (windows_make_so): Likewise.
14931 * xml-support.c (gdb_xml_body_text): Likewise.
14932 (gdb_xml_create_parser_and_cleanup): Likewise.
14933 (xml_process_xincludes): Likewise.
14934 * xml-syscall.c (allocate_syscalls_info): Likewise.
14935 (syscall_create_syscall_desc): Likewise.
14936
5acfdbae
SDJ
149372014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
14938
14939 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
14940 function, with code from i386_stap_parse_special_token.
14941 (i386_stap_parse_special_token_three_arg_disp): Likewise.
14942 (i386_stap_parse_special_token): Move code to the two functions
14943 above; simplify it.
14944
0000e5cc
PA
149452014-01-09 Pedro Alves <palves@redhat.com>
14946 Hui Zhu <hui@codesourcery.com>
14947
14948 PR gdb/16101
14949 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
14950 bp_err_string. Don't mark the location shlib_disabled if the
14951 error thrown wasn't a generic or memory error. Catch errors
14952 thrown while inserting breakpoints in overlayed code. Output
14953 error message of software breakpoints.
14954 * remote.c (remote_insert_breakpoint): If this breakpoint has
14955 target-side commands but this stub doesn't support Z0 packets,
14956 throw NOT_SUPPORTED_ERROR error.
14957 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
14958 * target.h (target_insert_breakpoint): Extend comment.
14959 (target_insert_hw_breakpoint): Add comment.
14960
b7ea362b
PA
149612014-01-08 Pedro Alves <palves@redhat.com>
14962
14963 * remote.c (remote_add_thread): Add threads silently if starting
14964 up.
14965 (remote_notice_new_inferior): If in all-stop, and starting up,
14966 don't call notice_new_inferior.
14967 (get_current_thread): New function, factored out from ...
14968 (add_current_inferior_and_thread): ... this. Adjust.
14969 (remote_start_remote) <all-stop>: Fetch the thread list. If we
14970 found any thread, then select the remote's current thread as GDB's
14971 current thread too.
14972
b7bba001
JB
149732014-01-08 Joel Brobecker <brobecker@adacore.com>
14974
14975 * NEWS: Create a new section for the next release branch.
14976 Rename the section of the current branch, now that it has
14977 been cut.
14978
16dfbded
JB
149792014-01-08 Joel Brobecker <brobecker@adacore.com>
14980
14981 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
14982 * version.in: Bump version to 7.7.50.DATE-cvs.
14983
22c90ac1
YQ
149842014-01-08 Yao Qi <yao@codesourcery.com>
14985
14986 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
14987 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
14988 (spu_xfer_partial): Cast 'buf' to 'const char *'.
14989
d64ad97c
YQ
149902014-01-08 Yao Qi <yao@codesourcery.com>
14991
14992 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
14993 return value of bfd_get_filename to symbol_file_add_from_bfd.
14994
f93ba80c
PM
149952014-01-08 Pierre Muller <muller@sourceware.org>
14996
14997 Fix PR16201.
14998 * coff-pe-read.c (struct read_pe_section_data): Add index field.
14999 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
15000 to prim_record_mininal_symbol_and_info.
15001 (add_pe_forwarded_sym): Use known section number of forwarded symbol
15002 in call to prim_record_minimal_symbol_and_info.
15003 (read_pe_exported_syms): Set index field of section_data.
15004
a4d9ba85
AP
150052014-01-07 Andrew Pinski <apinski@cavium.com>
15006
15007 * features/aarch64-core.xml (cpsr): Change to be 64bit.
15008 * features/aarch64.c: Regenerate.
15009
1b67eb02
AS
150102014-01-07 Andreas Schwab <schwab@linux-m68k.org>
15011
15012 * target.c (return_null): Define.
15013 (update_current_target): Use it instead of return_zero for
15014 functions that return a pointer.
15015
5e3f4fab
EBM
150162014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15017
15018 * source.c (add_path): Fix check for duplicated paths in the previously
15019 included paths.
15020
e2616788
HK
150212014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
15022
15023 * ada-lang.c: Remove duplicated include statements.
15024 * alphabsd-nat.c: Ditto.
15025 * amd64-darwin-tdep.c: Ditto.
15026 * amd64fbsd-nat.c: Ditto.
15027 * auto-load.c: Ditto.
15028 * ax-gdb.c: Ditto.
15029 * breakpoint.c: Ditto.
15030 * dbxread.c: Ditto.
15031 * fork-child.c: Ditto.
15032 * gdb_usleep.c: Ditto.
15033 * i386-darwin-tdep.c: Ditto.
15034 * i386fbsd-nat.c: Ditto.
15035 * infcmd.c: Ditto.
15036 * inferior.c: Ditto.
15037 * jv-lang.c: Ditto.
15038 * linux-nat.c: Ditto.
15039 * linux-tdep.c: Ditto.
15040 * m68kbsd-nat.c: Ditto.
15041 * m68klinux-nat.c: Ditto.
15042 * microblaze-tdep.c: Ditto.
15043 * mips-linux-tdep.c: Ditto.
15044 * mn10300-tdep.c: Ditto.
15045 * nto-tdep.c: Ditto.
15046 * opencl-lang.c: Ditto.
15047 * osdata.c: Ditto.
15048 * printcmd.c: Ditto.
15049 * regcache.c: Ditto.
15050 * remote-m32r-sdi.c: Ditto.
15051 * remote.c: Ditto.
15052 * symfile.c: Ditto.
15053 * symtab.c: Ditto.
15054 * tilegx-linux-nat.c: Ditto.
15055 * tilegx-tdep.c: Ditto.
15056 * tracepoint.c: Ditto.
15057 * valops.c: Ditto.
15058 * vaxbsd-nat.c: Ditto.
15059 * windows-nat.c: Ditto.
15060 * xtensa-tdep.c: Ditto.
15061
bd1f7788
YQ
150622014-01-07 Yao Qi <yao@codesourcery.com>
15063
15064 * spu-linux-nat.c (_initialize_spu_nat): Declare.
15065
79301218
JB
150662014-01-07 Yao Qi <yao@codesourcery.com>
15067 Joel Brobecker <brobecker@adacore.com>
15068
15069 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
15070 (pdc_write_regs): Likewise.
15071 (fetch_regs_kernel_thread): Likewise.
15072 (store_regs_kernel_thread): Likewise.
15073
150742014-01-07 Joel Brobecker <brobecker@adacore.com>
15075
15076 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
15077 tagged type objects to their actual type.
15078
8e355c5d
JB
150792014-01-07 Joel Brobecker <brobecker@adacore.com>
15080
15081 * ada-valprint.c (print_field_values): Add "language" parameter.
15082 Update calls to print_field_values and print_variant_part.
15083 Pass new parameter "language" in call to val_print instead
15084 of "current_language". Replace call to ada_val_print by call
15085 to val_print.
15086 (print_variant_part): Add "language" parameter.
15087 (ada_val_print_struct_union): Update call to print_field_values.
15088
4fbf5aa5
JB
150892014-01-07 Joel Brobecker <brobecker@adacore.com>
15090
15091 * ada-valprint.c (ui_memcpy): Delete.
15092 (ada_print_floating): Update documentation. Add empty line
15093 between between function documentation and implementation.
15094 Delete variable "buffer". Use ui_file_xstrdup in place of
15095 ui_file_put. Minor adjustments following this change.
15096
71855601
JB
150972014-01-07 Joel Brobecker <brobecker@adacore.com>
15098
15099 * ada-valprint.c (ada_val_print_string): New function,
15100 extracted from ada_val_print_array.
15101 (ada_val_print_array): Replace extracted code by call
15102 to ada_val_print_string followed by a return. Move
15103 "else" branch to the function's top block.
15104
4eb27a30
JB
151052014-01-07 Joel Brobecker <brobecker@adacore.com>
15106
15107 * ada-valprint.c (ada_val_print_array): Move implementation
15108 down. Rename parameter "offset" and "val" into "offset_aligned"
15109 and "original_value" respectively. Add parameter "offset".
15110
34b27950
JB
151112014-01-07 Joel Brobecker <brobecker@adacore.com>
15112
15113 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
15114 re-organizing the code. Change the "???" message printed
15115 when target type is a TYPE_CODE_UNDEF into
15116 "<ref to undefined type>".
15117
079e4591
JB
151182014-01-07 Joel Brobecker <brobecker@adacore.com>
15119
15120 * ada-valprint.c (print_record): Delete, implementation inlined...
15121 (ada_val_print_struct_union): ... here. Remove call to
15122 ada_check_typedef in inlined implementation.
15123
8004dfd1
JB
151242014-01-07 Joel Brobecker <brobecker@adacore.com>
15125
15126 * ada-valprint.c (ada_val_print_gnat_array): New function,
15127 extracted from ada_val_print_1;
15128 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
15129 (ada_val_print_flt, ada_val_print_struct_union)
15130 (ada_val_print_ref): Likewise.
15131 (ada_val_print_1): Delete variables i and elttype.
15132 Replace extracted-out code by call to corresponding
15133 new functions.
15134
760a2db0
JB
151352014-01-07 Joel Brobecker <brobecker@adacore.com>
15136
15137 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
15138
3a92c861
JB
151392014-01-07 Joel Brobecker <brobecker@adacore.com>
15140
15141 * ada-valprint.c (ada_val_print_1): Replace calls to
15142 ada_val_print_1 by calls to val_print.
15143
cd1630f9
JB
151442014-01-07 Joel Brobecker <brobecker@adacore.com>
15145
15146 * ada-valprint.c (ada_val_print_1): Add parameter "language".
15147 Update calls to self accordingly. Replace calls to c_val_print
15148 by calls to val_print.
15149
bdf779a0
JB
151502014-01-07 Joel Brobecker <brobecker@adacore.com>
15151
15152 * ada-valprint.c (print_record): Delete declaration.
15153 (adjust_type_signedness, ada_val_print_1): Likewise.
15154 (ada_val_print): Move function implementation down.
15155 (print_variant_part, print_field_values, print_record):
15156 Move function implementation up.
15157
c0d48811
JB
151582014-01-07 Joel Brobecker <brobecker@adacore.com>
15159
15160 * python/py-type.c (typy_get_name): New function.
15161 (type_object_getset): Add entry for attribute "name".
15162 * NEWS: Add entry mentioning this new attribute.
15163
c26e9cbb
YQ
151642014-01-07 Yao Qi <yao@codesourcery.com>
15165
15166 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
15167 statement.
15168
0cc6f43d
YQ
151692014-01-07 Yao Qi <yao@codesourcery.com>
15170
15171 * gnu-nat.c (info_port_rights): Add qualifier const to
15172 argument args.
15173
eec03155
YQ
151742014-01-07 Yao Qi <yao@codesourcery.com>
15175
15176 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
15177
f04a82ef
YQ
151782014-01-07 Yao Qi <yao@codesourcery.com>
15179
15180 * gnu-nat.c (make_inf) Update declaration.
15181 (make_inf): Make it static.
15182 (inf_set_traced): Likewise.
15183 (inf_port_to_thread, inf_task_died_status): Likewise.
15184
d57dda0a
YQ
151852014-01-07 Yao Qi <yao@codesourcery.com>
15186
15187 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
15188
3aa8c969
YQ
151892014-01-07 Yao Qi <yao@codesourcery.com>
15190
15191 * gnu-nat.c (_initialize_gnu_nat): Declare.
15192
94123b4f
YQ
151932014-01-07 Yao Qi <yao@codesourcery.com>
15194
15195 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
15196 'enum bfd_endian'.
15197 (struct gdbarch_info) <byte_order>: Change type to
15198 'enum bfd_endian'.
15199 <byte_order_for_code>: Likewise.
15200 * gdbarch.c, gdbarch.h: Regenerated.
15201
dc81d70a
TT
152022014-01-06 Sasha Smundak <asmundak@google.com>
15203
15204 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
15205
cc2f3c35
TT
152062014-01-06 Tom Tromey <tromey@redhat.com>
15207
15208 * doublest.c (convert_doublest_to_floatformat): Use const, not
15209 CONST.
15210 * somread.c (som_symtab_read): Likewise.
15211
adcf2eed
HZ
152122014-01-07 Hui Zhu <hui@codesourcery.com>
15213
15214 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
15215 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
15216 (gdb_bfd_fopen): Ditto.
15217 (gdb_bfd_openr): Ditto.
15218 (gdb_bfd_openw): Ditto.
15219 (gdb_bfd_openr_iovec): Ditto.
15220 (gdb_bfd_fdopenr): Ditto.
15221 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
15222 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
15223 with xstrdup.
15224 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
15225 with xstrdup.
15226 * symfile-mem.c (symbol_file_add_from_memory): Removed
15227 gdb_bfd_stash_filename.
15228
50722198
DE
152292014-01-03 Doug Evans <dje@google.com>
15230
15231 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
15232 output.
15233
2fa4b862
JB
152342014-01-01 Joel Brobecker <brobecker@adacore.com>
15235
15236 Update year range in copyright notice of all files.
15237
28498c42
JB
152382014-01-01 Joel Brobecker <brobecker@adacore.com>
15239
15240 * top.c (print_gdb_version): Set copyright year to 2014.
15241
7b6e1046
JB
152422014-01-01 Joel Brobecker <brobecker@adacore.com>
15243
15244 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
15245
df96af55 15246For older changes see ChangeLog-2013.
c906108c
SS
15247\f
15248Local Variables:
15249mode: change-log
15250left-margin: 8
15251fill-column: 74
15252version-control: never
57da7796 15253coding: utf-8
c906108c 15254End:
This page took 2.504912 seconds and 4 git commands to generate.