Rename native-only terminal related functions.
[binutils-gdb.git] / gdb / ChangeLog
1 2014-03-14 Pedro Alves <palves@redhat.com>
2
3 * inferior.h (terminal_ours_for_output): Rename to ...
4 (child_terminal_ours_for_output): ... this.
5 (terminal_save_ours): Rename to ...
6 (child_terminal_save_ours): ... this.
7 (terminal_ours): Rename to ...
8 (child_terminal_ours): ... this.
9 (terminal_inferior): Rename to ...
10 (child_terminal_inferior): ... this.
11 (terminal_init_inferior): Rename to ...
12 (child_terminal_init_inferior): ... this.
13 (terminal_init_inferior_with_pgrp): Rename to ...
14 (child_terminal_init_inferior_with_pgrp): ... this.
15 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
16 (child_terminal_init_with_pgrp): ... this.
17 (terminal_save_ours): Rename to ...
18 (child_terminal_save_ours): ... this.
19 (terminal_init_inferior): Rename to ...
20 (child_terminal_init): ... this. Adjust.
21 (terminal_inferior): Rename to ...
22 (child_terminal_inferior): ... this.
23 (terminal_ours_for_output): Rename to ...
24 (child_terminal_ours_for_output): ... this. Adjust.
25 (terminal_ours): Rename to ...
26 (child_terminal_ours): ... this.
27 (terminal_ours_1): Rename to ...
28 (child_terminal_ours_1): ... this. Adjust.
29 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
30 * windows-nat.c (do_initial_windows_stuff): Adjust.
31 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
32 (gnu_terminal_init): ... this. Adjust.
33 (gnu_target): Adjust.
34 * inf-child.c (inf_child_target): Adjust.
35
36 2014-03-13 Doug Evans <xdje42@gmail.com>
37
38 PR guile/16612
39 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
40 new eq?-hashtab.
41
42 2014-03-13 Doug Evans <xdje42@gmail.com>
43
44 * value.c (record_latest_value): Call release_value_or_incref
45 instead of release_value.
46
47 2014-03-13 Pedro Alves <palves@redhat.com>
48
49 * procfs.c (procfs_target): Don't override to_shortname,
50 to_longname or to_doc.
51
52 2014-03-13 Pedro Alves <palves@redhat.com>
53
54 * inf-child.c (inf_child_open, inf_child_target): Don't mention
55 Unix in user visible strings.
56
57 2014-03-12 Stan Shebs <stan@codesourcery.com>
58
59 * gdbtypes.h: Annotate comments for Doxygen, add a page
60 block comment with some general info.
61
62 2014-03-12 Pedro Alves <palves@redhat.com>
63
64 * infcmd.c (prepare_execution_command): New function, factored out
65 from several execution commands.
66 (run_command_1, continue_command, step_1, jump_command)
67 (signal_command, until_command, advance_command, finish_command)
68 (attach_command): Use prepare_execution_command.
69
70 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
71
72 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
73 (MAX_BPTS): Define.
74 (MAX_WPTS): Define.
75 (struct arm_linux_thread_points): Removed.
76 (struct arm_linux_process_info): New.
77 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
78 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
79 (arm_linux_find_breakpoints_by_tid): Removed.
80 (struct arch_lwp_info): New.
81 (arm_linux_find_process_pid): New functions.
82 (arm_linux_add_process): New functions.
83 (arm_linux_process_info_get): New functions.
84 (arm_linux_forget_process): New function.
85 (arm_linux_get_debug_reg_state): New function.
86 (struct update_registers_data): New.
87 (update_registers_callback): New function.
88 (arm_linux_insert_hw_breakpoint1): Updated.
89 (arm_linux_remove_hw_breakpoint1): Updated.
90 (arm_linux_insert_hw_breakpoint): Updated.
91 (arm_linux_remove_hw_breakpoint): Updated.
92 (arm_linux_insert_watchpoint): Updated.
93 (arm_linux_remove_watchpoint): Updated.
94 (arm_linux_new_thread): Updated.
95 (arm_linux_prepare_to_resume): New function.
96 (arm_linux_new_fork): New function.
97 (_initialize_arm_linux_nat): Updated.
98
99 2014-03-12 Pedro Alves <palves@redhat.com>
100
101 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
102
103 2014-03-12 Tom Tromey <tromey@redhat.com>
104
105 * inf-child.c (return_zero): New function.
106 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
107 * aix-thread.c (aix_thread_inferior_created): New function.
108 (aix_thread_attach): Remove.
109 (init_aix_thread_ops): Don't set to_attach.
110 (_initialize_aix_thread): Register inferior_created observer.
111 * corelow.c (init_core_ops): Don't set to_attach or
112 to_create_inferior.
113 * exec.c (init_exec_ops): Don't set to_attach or
114 to_create_inferior.
115 * infcmd.c (run_command_1): Use find_run_target. Make direct
116 target calls.
117 (attach_command): Use find_attach_target. Make direct target
118 calls.
119 * record-btrace.c (init_record_btrace_ops): Don't set
120 to_create_inferior.
121 * record-full.c (record_full_can_async_p, record_full_is_async_p):
122 Remove.
123 (init_record_full_ops, init_record_full_core_ops): Update. Don't
124 set to_create_inferior.
125 * target.c (complete_target_initialization): Add assertion.
126 (target_create_inferior): Remove.
127 (find_default_attach, find_default_create_inferior): Remove.
128 (find_attach_target, find_run_target): New functions.
129 (find_default_is_async_p, find_default_can_async_p)
130 (target_supports_non_stop, target_attach): Remove.
131 (init_dummy_target): Don't set to_create_inferior or
132 to_supports_non_stop.
133 * target.h (struct target_ops) <to_attach>: Add comment. Remove
134 TARGET_DEFAULT_FUNC.
135 <to_create_inferior>: Add comment.
136 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
137 TARGET_DEFAULT_RETURN.
138 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
139 (find_attach_target, find_run_target): Declare.
140 (target_create_inferior): Remove.
141 (target_has_execution_1): Update comment.
142 (target_supports_non_stop): Remove.
143 * target-delegates.c: Rebuild.
144
145 2014-03-12 Pedro Alves <palves@redhat.com>
146
147 * inf-child.h: Update comment to not mention Unix.
148
149 2014-03-12 Pedro Alves <palves@redhat.com>
150
151 * inf-child.c: Update top comment to not mention Unix. Add
152 generic comment describing how this target is meant to be used.
153 (inf_child_post_attach, inf_child_post_startup_inferior)
154 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
155 Unix in comment.
156
157 2014-03-12 Pedro Alves <palves@redhat.com>
158
159 * nto-procfs.c: Include inf-child.h.
160 (procfs_ops): Delete global.
161 (procfs_can_run): Delete method.
162 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
163 target pointer instead of referencing procfs_ops.
164 (procfs_prepare_to_store): Delete.
165 (init_procfs_ops): Delete function.
166 (procfs_target): New function, based on init_procfs_ops, but
167 inherit inf_child_target.
168 (_initialize_procfs): Use procfs_target.
169
170 2014-03-12 Pedro Alves <palves@redhat.com>
171
172 * windows-nat.c: Include inf-child.h.
173 (windows_ops): Delete global.
174 (windows_open, windows_prepare_to_store, windows_can_run): Delete
175 methods.
176 (init_windows_ops): Delete function.
177 (windows_target): New function, based on init_windows_ops, but
178 inherit inf_child_target.
179 (_initialize_windows_nat): Use windows_target. Install x86
180 specific target methods here.
181
182 2014-03-10 Doug Evans <xdje42@gmail.com>
183
184 * guile/guile.c (call_initialize_gdb_module): New function.
185 (initialize_guile): Replace call to scm_init_guile with call to
186 scm_with_guile.
187
188 2014-03-10 Joel Brobecker <brobecker@adacore.com>
189
190 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
191 in call to TYPE_CODE macro.
192
193 2014-03-10 Jerome Guitton <guitton@adacore.com>
194
195 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
196 Resolve tagged types to full view.
197
198 2014-03-10 Hui Zhu <hui@codesourcery.com>
199
200 * target.h (target_insert_breakpoint): Remove "hardware" from its
201 comments.
202
203 2014-03-07 Doug Evans <dje@google.com>
204
205 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
206
207 2014-03-07 Doug Evans <dje@google.com>
208
209 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
210 Remove unused local comp_dir_attr. Assert exactly one of
211 stub_comp_unit_die, stub_comp_dir is non-NULL.
212
213 2014-03-07 Joel Brobecker <brobecker@adacore.com>
214
215 * target.h (complete_target_initialization, add_target):
216 Add comment.
217
218 2014-03-07 Pedro Alves <palves@redhat.com>
219
220 * go32-nat.c: Include inf-child.h.
221 (go32_ops): Delete global.
222 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
223 Delete methods.
224 (go32_create_inferior): Push the passed in target pointer instead
225 of referencing go32_ops.
226 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
227 (go32_target): New function, based on init_go32_ops, but inherit
228 inf_child_target.
229 (_initialize_go32_nat): Use go32_target. Move parts of
230 init_go32_ops here.
231
232 2014-03-06 Joel Brobecker <brobecker@adacore.com>
233
234 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
235 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
236 SYMBOL_VALUE_ADDRESS.
237 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
238
239 2014-03-06 Yao Qi <yao@codesourcery.com>
240
241 * breakpoint.c (get_tracepoint_by_number): Remove argument
242 optional_p. All callers updated. Adjust comments. Update
243 output message.
244 * breakpoint.h (get_tracepoint_by_number): Update declaration.
245
246 2014-03-06 Yao Qi <yao@codesourcery.com>
247
248 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
249 early if get_number returns zero. Use 'p' instead of 'args'.
250
251 2014-03-06 Yao Qi <yao@codesourcery.com>
252
253 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
254 message.
255
256 2014-03-06 Yao Qi <yao@codesourcery.com>
257
258 PR breakpoints/16508
259 * tracepoint.c (check_trace_running): New function.
260 (trace_find_command): Move code to check_trace_running and
261 call check_trace_running.
262 (trace_find_pc_command): Likewise.
263 (trace_find_tracepoint_command): Likewise.
264 (trace_find_line_command): Likewise.
265 (trace_find_range_command): Likewise.
266 * tracepoint.h (check_trace_running): Likewise.
267 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
268
269 2014-03-06 Yao Qi <yao@codesourcery.com>
270
271 * target.h (struct target_ops) <to_traceframe_info>: Use
272 TARGET_DEFAULT_NORETURN (tcomplain ()).
273 * target-delegates.c: Regenerated.
274
275 2014-03-05 Pedro Alves <palves@redhat.com>
276
277 PR gdb/16575
278 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
279 void. Update comment.
280 (dcache_xfer_memory): Delete.
281 (dcache_read_memory_partial): New, based on the read bits of
282 dcache_xfer_memory.
283 (dcache_update): Add status parameter. Use ULONGEST for len, and
284 adjust. Discard cache lines if the reason for the update was
285 error.
286 * dcache.h (dcache_xfer_memory): Delete declaration.
287 (dcache_read_memory_partial): New declaration.
288 (dcache_update): Update prototype.
289 * target.c (raw_memory_xfer_partial): Update the dcache here.
290 (memory_xfer_partial_1): Don't handle dcache writes here.
291
292 2014-03-05 Mike Frysinger <vapier@gentoo.org>
293
294 * remote-sim.c (gdbsim_load): Add const to prog.
295
296 2014-03-03 Tom Tromey <tromey@redhat.com>
297
298 * elfread.c (probe_key): Change to bfd_data.
299 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
300 now per-BFD, not per-objfile.
301 * stap-probe.c (stap_probe_destroy): Update comment.
302 (handle_stap_probe): Allocate on the per-BFD obstack.
303
304 2014-03-03 Tom Tromey <tromey@redhat.com>
305
306 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
307 * breakpoint.c (create_longjmp_master_breakpoint): Use
308 get_probe_address.
309 (add_location_to_breakpoint, bkpt_probe_insert_location)
310 (bkpt_probe_remove_location): Update.
311 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
312 * elfread.c (elf_symfile_relocate_probe): Remove.
313 (elf_probe_fns): Update.
314 (insert_exception_resume_breakpoint): Change type of "probe"
315 parameter to bound_probe.
316 (check_exception_resume): Update.
317 * objfiles.c (objfile_relocate1): Don't relocate probes.
318 * probe.c (bound_probe_s): New typedef.
319 (parse_probes): Use get_probe_address. Set sal's objfile.
320 (find_probe_by_pc): Return a bound_probe.
321 (collect_probes): Return a VEC(bound_probe_s).
322 (compare_probes): Update.
323 (gen_ui_out_table_header_info): Change type of "probes"
324 parameter. Update.
325 (info_probes_for_ops): Update.
326 (get_probe_address): New function.
327 (probe_safe_evaluate_at_pc): Update.
328 * probe.h (struct probe_ops) <get_probe_address>: New field.
329 <set_semaphore, clear_semaphore>: Add objfile parameter.
330 (struct probe) <objfile>: Remove field.
331 <arch>: New field.
332 <address>: Update comment.
333 (struct bound_probe): New.
334 (find_probe_by_pc): Return a bound_probe.
335 (get_probe_address): Declare.
336 * solib-svr4.c (struct probe_and_action) <address>: New field.
337 (hash_probe_and_action, equal_probe_and_action): Update.
338 (register_solib_event_probe): Add address parameter.
339 (solib_event_probe_at): Update.
340 (svr4_create_probe_breakpoints): Add objfile parameter. Use
341 get_probe_address.
342 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
343 (stap_get_probe_address): New function.
344 (stap_can_evaluate_probe_arguments, compute_probe_arg)
345 (compile_probe_arg): Update.
346 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
347 address.
348 (handle_stap_probe): Don't relocate the probe.
349 (stap_relocate): Remove.
350 (stap_gen_info_probes_table_values): Update.
351 (stap_probe_ops): Remove stap_relocate.
352 * symfile-debug.c (debug_sym_relocate_probe): Remove.
353 (debug_sym_probe_fns): Update.
354 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
355 * symtab.c (init_sal): Use memset.
356 * symtab.h (struct symtab_and_line) <objfile>: New field.
357 * tracepoint.c (start_tracing, stop_tracing): Update.
358
359 2014-03-03 Tom Tromey <tromey@redhat.com>
360
361 * probe.h (parse_probes, find_probe_by_pc)
362 (find_probes_in_objfile): Fix comments.
363
364 2014-03-02 Doug Evans <xdje42@gmail.com>
365
366 * infrun.c (handle_signal_stop): Replace test for
367 TARGET_WAITKIND_STOPPED with an assert.
368
369 2014-03-02 Doug Evans <xdje42@gmail.com>
370
371 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
372
373 2014-03-02 Doug Evans <xdje42@gmail.com>
374
375 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
376
377 2014-03-01 Mark Kettenis <kettenis@gnu.org>
378
379 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
380
381 2014-03-01 Mark Kettenis <kettenis@gnu.org>
382
383 * i386obsd-nat.c: Include "obsd-nat.h".
384 (_initialize_i386obsd_nat): Call obsd_add_target instead of
385 add_target.
386 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
387
388 2014-03-01 Mark Kettenis <kettenis@gnu.org>
389
390 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
391
392 2014-03-01 Mark Kettenis <kettenis@gnu.org>
393
394 * mips64obsd-nat.c: Include "obsd-nath".
395 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
396 add_target
397 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
398
399 2014-03-01 Mark Kettenis <kettenis@gnu.org>
400
401 * amd64obsd-nat.c: Include "obsd-nat,h.
402 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
403 add_target.
404 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
405
406 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
407
408 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
409 (find_overload_match): Update call to find_oload_champ.
410 (find_oload_champ_namespace_loop): Likewise
411
412 2014-02-28 Mark Kettenis <kettenis@gnu.org>
413
414 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
415
416 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
417 * config/sparc/obsd64.mh: New file.
418 * sparc64obsd-nat.c: New file.
419
420 * obsd-nat.h: New file.
421 * obsd-nat.c: New file.
422 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
423 (ALLDEPFILES): Add obsd-nat.c.
424
425 2014-02-28 Tom Tromey <tromey@redhat.com>
426
427 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
428 * cli-out.h (cli_ui_out_impl): Now const.
429 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
430 * ui-out.c (struct ui_out) <impl>: Now const.
431 (default_ui_out_impl): Now const.
432 (ui_out_new): Make 'impl' parameter const.
433 * ui-out.h (ui_out_new): Update.
434
435 2014-02-27 Mark Kettenis <kettenis@gnu.org>
436
437 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
438
439 2014-02-27 Mark Kettenis <kettenis@gnu.org>
440
441 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
442
443 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
444
445 Additional PR 8882 fix.
446 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
447
448 2014-02-27 Pedro Alves <palves@redhat.com>
449
450 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
451 isn't set.
452
453 2014-02-27 Pedro Alves <palves@redhat.com>
454
455 PR 12702
456 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
457 * nat/linux-waitpid.c: Include string.h.
458 (status_to_str): Moved here and made extern.
459 * nat/linux-waitpid.h (status_to_str): New declaration.
460
461 2014-02-27 Hui Zhu <hui@codesourcery.com>
462
463 PR 12702
464 * infrun.c (ptid_match): Move ...
465 * common/ptid.c (ptid_match): ... here.
466 * inferior.h (ptid_match): Move ...
467 * common/ptid.h (ptid_match): ... here.
468
469 2014-02-27 Mark Kettenis <kettenis@gnu.org>
470
471 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
472 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
473 gdb_target_obs.
474
475 2014-02-27 Mark Kettenis <kettenis@gnu.org>
476
477 * obsd-tdep.c (obsd_auxv_parse): New function.
478 (obsd_init_abi): Set auxv_parse.
479
480 * gdbarch.sh (auxv_parse): New.
481 * gdbarch.h: Regenerated.
482 * gdbarch.c: Regenerated.
483 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
484
485 2014-02-26 Ludovic Courtès <ludo@gnu.org>
486
487 * guile/scm-value.c (gdbscm_history_append_x): New function.
488 (value_functions): Add it.
489
490 2014-02-27 Joel Brobecker <brobecker@adacore.com>
491
492 * dwarf2read.c (attr_value_as_address): New function.
493 (dwarf2_find_base_address, read_call_site_scope): Use
494 attr_value_as_address in place of DW_ADDR.
495 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
496 the low and high addresses. Slight rework of the handling
497 of the high pc being a constant form, and limit it to
498 DWARF verson 4 or higher.
499 (dwarf2_record_block_ranges): Likewise.
500 (read_partial_die): Likewise.
501 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
502
503 2014-02-26 Tom Tromey <tromey@redhat.com>
504
505 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
506
507 2014-02-26 Tom Tromey <tromey@redhat.com>
508
509 * elfread.c (elf_read_minimal_symbols): Return early if
510 minimal symbols have already been read. Add "ei" parameter.
511 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
512 * minsyms.c (prim_record_minimal_symbol_full): Update.
513 * objfiles.h (struct objstats) <n_minsyms>: Move...
514 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
515 * symmisc.c (print_objfile_statistics): Update.
516
517 2014-02-26 Tom Tromey <tromey@redhat.com>
518
519 * elfread.c (elf_read_minimal_symbols): New function, from
520 elf_symfile_read.
521 (elf_symfile_read): Call it.
522
523 2014-02-26 Tom Tromey <tromey@redhat.com>
524
525 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
526 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
527 (lookup_minimal_symbol_solib_trampoline)
528 (lookup_minimal_symbol_by_pc_section_1)
529 (lookup_minimal_symbol_and_objfile): Update.
530 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
531 Don't allocate a minimal symbol if minsyms have already been read.
532 (build_minimal_symbol_hash_tables): Update.
533 (install_minimal_symbols): Do nothing if minsyms already read.
534 Use the per-BFD obstack.
535 (terminate_minimal_symbol_table): Use the per-BFD obstack.
536 * objfiles.c (allocate_objfile): Call
537 terminate_minimal_symbol_table later.
538 (have_minimal_symbols): Update.
539 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
540 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
541 Move from struct objfile.
542 <minsyms_read>: New field.
543 (struct objfile) <msymbols, minimal_symbol_count,
544 msymbol_hash, msymbol_demangled_hash>: Move.
545 (ALL_OBJFILE_MSYMBOLS): Update.
546 * symfile.c (read_symbols): Set minsyms_read.
547 (reread_symbols): Update.
548 * symmisc.c (dump_objfile, dump_msymbols): Update.
549
550 2014-02-26 Tom Tromey <tromey@redhat.com>
551
552 * minsyms.c (msymbols_sort): Remove.
553 * minsyms.h (msymbols_sort): Remove.
554 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
555 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
556 * elfread.c (elf_symtab_read): Don't add section offsets.
557 * xcoffread.c (record_minimal_symbol): Don't add section offset
558 to minimal symbol address.
559 * somread.c (text_offset, data_offset): Remove.
560 (som_symtab_read): Don't add section offsets to minimal symbol
561 addresses.
562 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
563 Don't add section offsets to minimal symbols.
564 * coffread.c (coff_symtab_read): Don't add section offsets
565 to minimal symbol addresses.
566 * machoread.c (macho_symtab_add_minsym): Don't add section offset
567 to minimal symbol addresses.
568 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
569 section offset to minimal symbol addresses.
570 * mdebugread.c (parse_partial_symbols): Don't add section
571 offset to minimal symbol addresses.
572 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
573 offset to minimal symbol addresses.
574
575 2014-02-26 Tom Tromey <tromey@redhat.com>
576
577 * ada-lang.c (ada_main_name): Update.
578 (ada_add_standard_exceptions): Update.
579 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
580 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
581 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
582 * auxv.c (ld_so_xfer_auxv): Update.
583 * avr-tdep.c (avr_scan_prologue): Update.
584 * ax-gdb.c (gen_var_ref): Update.
585 * blockframe.c (get_pc_function_start)
586 (find_pc_partial_function_gnu_ifunc): Update.
587 * breakpoint.c (create_overlay_event_breakpoint)
588 (create_longjmp_master_breakpoint)
589 (create_std_terminate_master_breakpoint)
590 (create_exception_master_breakpoint): Update.
591 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
592 * c-valprint.c (c_val_print): Update.
593 * coff-pe-read.c (add_pe_forwarded_sym): Update.
594 * common/agent.c (agent_look_up_symbols): Update.
595 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
596 * dwarf2loc.c (call_site_to_target_addr): Update.
597 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
598 * elfread.c (elf_gnu_ifunc_record_cache)
599 (elf_gnu_ifunc_resolve_by_got): Update.
600 * findvar.c (default_read_var_value): Update.
601 * frame.c (inside_main_func): Update.
602 * frv-tdep.c (frv_frame_this_id): Update.
603 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
604 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
605 Update.
606 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
607 (hppa_hpux_find_dummy_bpaddr): Update.
608 * hppa-tdep.c (hppa_symbol_address): Update.
609 * infcmd.c (until_next_command): Update.
610 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
611 Update.
612 * linespec.c (minsym_found, add_minsym): Update.
613 * linux-nat.c (get_signo): Update.
614 * linux-thread-db.c (inferior_has_bug): Update.
615 * m32c-tdep.c (m32c_return_value)
616 (m32c_m16c_address_to_pointer): Update.
617 * m32r-tdep.c (m32r_frame_this_id): Update.
618 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
619 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
620 * maint.c (maintenance_translate_address): Update.
621 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
622 (frob_address): New function.
623 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
624 frob_address. Rename parameter to "pc_in".
625 (compare_minimal_symbols, compact_minimal_symbols): Use raw
626 addresses.
627 (find_solib_trampoline_target, minimal_symbol_upper_bound):
628 Update.
629 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
630 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
631 * objc-lang.c (find_objc_msgsend): Update.
632 * objfiles.c (objfile_relocate1): Update.
633 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
634 * p-valprint.c (pascal_val_print): Update.
635 * parse.c (write_exp_msymbol): Update.
636 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
637 (ppc_elfv2_skip_entrypoint): Update.
638 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
639 * printcmd.c (build_address_symbolic, msym_info)
640 (address_info): Update.
641 * proc-service.c (ps_pglobal_lookup): Update.
642 * psymtab.c (find_pc_sect_psymtab_closer)
643 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
644 Change msymbol parameter to bound_minimal_symbol.
645 * ravenscar-thread.c (get_running_thread_id): Update.
646 * remote.c (remote_check_symbols): Update.
647 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
648 address.
649 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
650 * solib-dsbt.c (lm_base): Update.
651 * solib-frv.c (lm_base, main_got): Update.
652 * solib-irix.c (locate_base): Update.
653 * solib-som.c (som_solib_create_inferior_hook)
654 (link_map_start): Update.
655 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
656 * solib-svr4.c (elf_locate_base, enable_break): Update.
657 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
658 (flush_ea_cache): Update.
659 * stabsread.c (define_symbol, scan_file_globals): Update.
660 * stack.c (find_frame_funname): Update.
661 * symfile-debug.c (debug_qf_expand_symtabs_matching)
662 (debug_qf_find_pc_sect_symtab): Update.
663 * symfile.c (simple_read_overlay_table)
664 (simple_overlay_update): Update.
665 * symfile.h (struct quick_symbol_functions)
666 <find_pc_sect_symtab>: Change type of msymbol to
667 bound_minimal_symbol.
668 * symmisc.c (dump_msymbols): Update.
669 * symtab.c (find_pc_sect_symtab_via_partial)
670 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
671 (search_symbols, print_msymbol_info): Update.
672 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
673 (MSYMBOL_VALUE_ADDRESS): Redefine.
674 (BMSYMBOL_VALUE_ADDRESS): New macro.
675 * tracepoint.c (scope_info): Update.
676 * tui/tui-disasm.c (tui_find_disassembly_address)
677 (tui_get_begin_asm_address): Update.
678 * valops.c (find_function_in_inferior): Update.
679 * value.c (value_static_field, value_fn_field): Update.
680
681 2014-02-26 Tom Tromey <tromey@redhat.com>
682
683 * ada-lang.c (ada_update_initial_language): Update.
684 (ada_main_name, ada_has_this_exception_support): Update.
685 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
686 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
687 * arm-tdep.c (arm_skip_stub): Update.
688 * auxv.c (ld_so_xfer_auxv): Update.
689 * avr-tdep.c (avr_scan_prologue): Update.
690 * ax-gdb.c (gen_var_ref): Update.
691 * breakpoint.c (struct breakpoint_objfile_data)
692 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
693 type to bound_minimal_symbol.
694 (create_overlay_event_breakpoint)
695 (create_longjmp_master_breakpoint)
696 (create_std_terminate_master_breakpoint)
697 (create_exception_master_breakpoint): Update.
698 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
699 * c-exp.y (classify_name): Update.
700 * coffread.c (coff_symfile_read): Update.
701 * common/agent.c (agent_look_up_symbols): Update.
702 * d-lang.c (d_main_name): Update.
703 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
704 * dec-thread.c (enable_dec_thread): Update.
705 * dwarf2loc.c (call_site_to_target_addr): Update.
706 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
707 * eval.c (evaluate_subexp_standard): Update.
708 * findvar.c (struct minsym_lookup_data) <result>: Change type
709 to bound_minimal_symbol.
710 <objfile>: Remove.
711 (minsym_lookup_iterator_cb, default_read_var_value): Update.
712 * frame.c (inside_main_func): Update.
713 * frv-tdep.c (frv_frame_this_id): Update.
714 * gcore.c (call_target_sbrk): Update.
715 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
716 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
717 Update.
718 * go-lang.c (go_main_name): Update.
719 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
720 (hppa_hpux_find_import_stub_for_addr): Update.
721 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
722 Update. Change return type.
723 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
724 type.
725 * jit.c (jit_breakpoint_re_set_internal): Update.
726 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
727 Update.
728 * linux-nat.c (get_signo): Update.
729 * linux-thread-db.c (inferior_has_bug): Update
730 * m32c-tdep.c (m32c_return_value)
731 (m32c_m16c_address_to_pointer): Update.
732 * m32r-tdep.c (m32r_frame_this_id): Update.
733 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
734 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
735 * minsyms.c (lookup_minimal_symbol_internal): Rename to
736 lookup_minimal_symbol. Change return type.
737 (lookup_minimal_symbol): Remove.
738 (lookup_bound_minimal_symbol): Update.
739 (lookup_minimal_symbol_text): Change return type.
740 (lookup_minimal_symbol_solib_trampoline): Change return type.
741 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
742 (lookup_minimal_symbol_solib_trampoline): Change return type.
743 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
744 * objc-lang.c (lookup_objc_class, lookup_child_selector)
745 (value_nsstring, find_imps): Update.
746 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
747 * p-lang.c (pascal_main_name): Update.
748 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
749 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
750 * proc-service.c (ps_pglobal_lookup): Update.
751 * ravenscar-thread.c (get_running_thread_msymbol): Change
752 return type.
753 (has_ravenscar_runtime, get_running_thread_id): Update.
754 * remote.c (remote_check_symbols): Update.
755 * sol-thread.c (ps_pglobal_lookup): Update.
756 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
757 * solib-dsbt.c (lm_base): Update.
758 * solib-frv.c (lm_base, frv_relocate_section_addresses):
759 Update.
760 * solib-irix.c (locate_base): Update.
761 * solib-som.c (som_solib_create_inferior_hook)
762 (som_solib_desire_dynamic_linker_symbols, link_map_start):
763 Update.
764 * solib-spu.c (spu_enable_break): Update.
765 * solib-svr4.c (elf_locate_base, enable_break): Update.
766 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
767 (flush_ea_cache): Update.
768 * stabsread.c (define_symbol): Update.
769 * symfile.c (simple_read_overlay_table): Update.
770 * symtab.c (find_pc_sect_line): Update.
771 * tracepoint.c (scope_info): Update.
772 * tui-disasm.c (tui_get_begin_asm_address): Update.
773 * value.c (value_static_field): Update.
774
775 2014-02-26 Tom Tromey <tromey@redhat.com>
776
777 * minsyms.c (prim_record_minimal_symbol_full): Use
778 SET_MSYMBOL_VALUE_ADDRESS.
779 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
780 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
781 SET_MSYMBOL_VALUE_ADDRESS.
782 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
783 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
784
785 2014-02-26 Tom Tromey <tromey@redhat.com>
786
787 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
788 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
789 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
790 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
791 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
792 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
793 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
794 * ada-lang.c (ada_main_name): Update.
795 (ada_lookup_simple_minsym): Update.
796 (ada_make_symbol_completion_list): Update.
797 (ada_add_standard_exceptions): Update.
798 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
799 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
800 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
801 * arm-tdep.c (skip_prologue_function): Update.
802 (arm_skip_stack_protector, arm_skip_stub): Update.
803 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
804 (arm_wince_skip_main_prologue): Update.
805 * auxv.c (ld_so_xfer_auxv): Update.
806 * avr-tdep.c (avr_scan_prologue): Update.
807 * ax-gdb.c (gen_var_ref): Update.
808 * block.c (call_site_for_pc): Update.
809 * blockframe.c (get_pc_function_start): Update.
810 (find_pc_partial_function_gnu_ifunc): Update.
811 * breakpoint.c (create_overlay_event_breakpoint): Update.
812 (create_longjmp_master_breakpoint): Update.
813 (create_std_terminate_master_breakpoint): Update.
814 (create_exception_master_breakpoint): Update.
815 (resolve_sal_pc): Update.
816 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
817 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
818 Update.
819 * c-valprint.c (c_val_print): Update.
820 * coff-pe-read.c (add_pe_forwarded_sym): Update.
821 * coffread.c (coff_symfile_read): Update.
822 * common/agent.c (agent_look_up_symbols): Update.
823 * dbxread.c (find_stab_function_addr): Update.
824 (end_psymtab): Update.
825 * dwarf2loc.c (call_site_to_target_addr): Update.
826 (func_verify_no_selftailcall): Update.
827 (tailcall_dump): Update.
828 (call_site_find_chain_1): Update.
829 (dwarf_expr_reg_to_entry_parameter): Update.
830 * elfread.c (elf_gnu_ifunc_record_cache): Update.
831 (elf_gnu_ifunc_resolve_by_got): Update.
832 * f-valprint.c (info_common_command): Update.
833 * findvar.c (read_var_value): Update.
834 * frame.c (get_prev_frame_1): Update.
835 (inside_main_func): Update.
836 * frv-tdep.c (frv_skip_main_prologue): Update.
837 (frv_frame_this_id): Update.
838 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
839 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
840 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
841 (gnuv3_skip_trampoline): Update.
842 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
843 (hppa64_hpux_in_solib_call_trampoline): Update.
844 (hppa_hpux_skip_trampoline_code): Update.
845 (hppa64_hpux_search_dummy_call_sequence): Update.
846 (hppa_hpux_find_import_stub_for_addr): Update.
847 (hppa_hpux_find_dummy_bpaddr): Update.
848 * hppa-tdep.c (hppa_symbol_address)
849 (hppa_lookup_stub_minimal_symbol): Update.
850 * i386-tdep.c (i386_skip_main_prologue): Update.
851 (i386_pe_skip_trampoline_code): Update.
852 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
853 * infcall.c (get_function_name): Update.
854 * infcmd.c (until_next_command): Update.
855 * jit.c (jit_breakpoint_re_set_internal): Update.
856 (jit_inferior_init): Update.
857 * linespec.c (minsym_found): Update.
858 (add_minsym): Update.
859 * linux-fork.c (info_checkpoints_command): Update.
860 * linux-nat.c (get_signo): Update.
861 * linux-thread-db.c (inferior_has_bug): Update.
862 * m32c-tdep.c (m32c_return_value): Update.
863 (m32c_m16c_address_to_pointer): Update.
864 (m32c_m16c_pointer_to_address): Update.
865 * m32r-tdep.c (m32r_frame_this_id): Update.
866 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
867 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
868 * maint.c (maintenance_translate_address): Update.
869 * minsyms.c (add_minsym_to_hash_table): Update.
870 (add_minsym_to_demangled_hash_table): Update.
871 (msymbol_objfile): Update.
872 (lookup_minimal_symbol): Update.
873 (iterate_over_minimal_symbols): Update.
874 (lookup_minimal_symbol_text): Update.
875 (lookup_minimal_symbol_by_pc_name): Update.
876 (lookup_minimal_symbol_solib_trampoline): Update.
877 (lookup_minimal_symbol_by_pc_section_1): Update.
878 (lookup_minimal_symbol_and_objfile): Update.
879 (prim_record_minimal_symbol_full): Update.
880 (compare_minimal_symbols): Update.
881 (compact_minimal_symbols): Update.
882 (build_minimal_symbol_hash_tables): Update.
883 (install_minimal_symbols): Update.
884 (terminate_minimal_symbol_table): Update.
885 (find_solib_trampoline_target): Update.
886 (minimal_symbol_upper_bound): Update.
887 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
888 * mips-tdep.c (mips_stub_frame_sniffer): Update.
889 (mips_skip_pic_trampoline_code): Update.
890 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
891 * objc-lang.c (selectors_info): Update.
892 (classes_info): Update.
893 (find_methods): Update.
894 (find_imps): Update.
895 (find_objc_msgsend): Update.
896 * objfiles.c (objfile_relocate1): Update.
897 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
898 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
899 * p-valprint.c (pascal_val_print): Update.
900 * parse.c (write_exp_msymbol): Update.
901 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
902 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
903 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
904 * printcmd.c (build_address_symbolic): Update.
905 (sym_info): Update.
906 (address_info): Update.
907 * proc-service.c (ps_pglobal_lookup): Update.
908 * psymtab.c (find_pc_sect_psymtab_closer): Update.
909 (find_pc_sect_psymtab): Update.
910 * python/py-framefilter.c (py_print_frame): Update.
911 * ravenscar-thread.c (get_running_thread_id): Update.
912 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
913 Update.
914 * remote.c (remote_check_symbols): Update.
915 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
916 (rs6000_skip_trampoline_code): Update.
917 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
918 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
919 * solib-dsbt.c (lm_base): Update.
920 * solib-frv.c (lm_base): Update.
921 (main_got): Update.
922 * solib-irix.c (locate_base): Update.
923 * solib-som.c (som_solib_create_inferior_hook): Update.
924 (som_solib_desire_dynamic_linker_symbols): Update.
925 (link_map_start): Update.
926 * solib-spu.c (spu_enable_break): Update.
927 (ocl_enable_break): Update.
928 * solib-svr4.c (elf_locate_base): Update.
929 (enable_break): Update.
930 * spu-tdep.c (spu_get_overlay_table): Update.
931 (spu_catch_start): Update.
932 (flush_ea_cache): Update.
933 * stabsread.c (define_symbol): Update.
934 (scan_file_globals): Update.
935 * stack.c (find_frame_funname): Update.
936 (frame_info): Update.
937 * symfile.c (simple_read_overlay_table): Update.
938 (simple_overlay_update): Update.
939 * symmisc.c (dump_msymbols): Update.
940 * symtab.c (fixup_section): Update.
941 (find_pc_sect_line): Update.
942 (skip_prologue_sal): Update.
943 (search_symbols): Update.
944 (print_msymbol_info): Update.
945 (rbreak_command): Update.
946 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
947 (completion_list_objc_symbol): Update.
948 (default_make_symbol_completion_list_break_on): Update.
949 * tracepoint.c (scope_info): Update.
950 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
951 (tui_get_begin_asm_address): Update.
952 * valops.c (find_function_in_inferior): Update.
953 * value.c (value_static_field): Update.
954 (value_fn_field): Update.
955
956 2014-02-26 Tom Tromey <tromey@redhat.com>
957
958 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
959 bound minimal symbols. Move code that knows about minsym
960 table layout...
961 * minsyms.c (minimal_symbol_upper_bound): ... here. New
962 function.
963 * minsyms.h (minimal_symbol_upper_bound): Declare.
964 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
965 minimal_symbol_upper_bound.
966
967 2014-02-27 Joel Brobecker <brobecker@adacore.com>
968
969 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
970 Use the type's name if its basic type does not have a tag.
971
972 2014-02-27 Joel Brobecker <brobecker@adacore.com>
973
974 * dwarf2read.c (read_subrange_type): Add comment.
975
976 2014-02-27 Joel Brobecker <brobecker@adacore.com>
977
978 * dwarf2read.c (update_enumeration_type_from_children): New
979 function, mostly extracted from process_structure_scope.
980 (read_enumeration_type): Call update_enumeration_type_from_children.
981 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
982 and flag_flag_enum fields.
983
984 2014-02-26 Pedro Alves <palves@redhat.com>
985
986 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
987 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
988 to_xfer_partial method.
989
990 2014-02-26 Pedro Alves <palves@redhat.com>
991
992 * target.c (complete_target_initialization): Don't install
993 default_xfer_partial as to_xfer_partial hook.
994 (nomemory): Delete.
995 (update_current_target): Don't INHERIT nor de_fault
996 deprecated_xfer_memory. Delete de_fault macro.
997 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
998 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
999 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1000 field.
1001
1002 2014-02-26 Pedro Alves <palves@redhat.com>
1003
1004 * go32-nat.c (my_write_child): New function.
1005 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1006 (go32_xfer_partial): New function.
1007 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1008 Instead install a to_xfer_partial hook.
1009
1010 2014-02-26 Pedro Alves <palves@redhat.com>
1011
1012 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1013 to_xfer_partial helper. Rewrite.
1014 (procfs_xfer_partial): New function.
1015 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1016 Install a to_xfer_partial hook.
1017
1018 2014-02-26 Pedro Alves <palves@redhat.com>
1019
1020 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1021 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1022 (m32r_xfer_partial): New function.
1023 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1024 Install a to_xfer_partial hook.
1025
1026 2014-02-26 Pedro Alves <palves@redhat.com>
1027
1028 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1029 helper.
1030 (mips_xfer_partial): New function.
1031 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1032 hook. Install a to_xfer_partial hook.
1033
1034 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1035
1036 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1037 * gdbtypes.c (create_array_type_with_stride): New function,
1038 renaming create_array_type, but with an added parameter
1039 called "bit_stride".
1040 (create_array_type): Re-implement using
1041 create_array_type_with_stride.
1042 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1043 and DW_AT_bit_stride attributes.
1044
1045 2014-02-26 Pedro Alves <palves@redhat.com>
1046
1047 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1048 task-specific breakpoints.
1049
1050 2014-02-25 Pedro Alves <palves@redhat.com>
1051
1052 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1053 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1054
1055 2014-02-25 Stan Shebs <stan@codesourcery.com>
1056
1057 * defs.h: Annotate comments for Doxygen.
1058
1059 2014-02-25 Tom Tromey <tromey@redhat.com>
1060
1061 * target.h (target_ignore): Don't declare.
1062 * target.c (target_ignore): Remove.
1063
1064 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1065
1066 PR gdb/16626
1067 * auto-load.c (auto_load_objfile_script_1): Change filename to
1068 debugfile.
1069
1070 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1071
1072 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1073 documentation. Adjust prototype to match the target_ops
1074 to_xfer_partial method. Adjust implementation accordingly.
1075
1076 2014-02-25 Hui Zhu <hui@codesourcery.com>
1077
1078 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1079 to_traceframe_info.
1080
1081 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1082
1083 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1084 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1085 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1086 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1087 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1088 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1089 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1090 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1091 New constants.
1092 (rl78_register_type): Use a data pointer type for SP and
1093 new pseudo registers mentioned above. Use a 16 bit integer
1094 type for all other register pairs.
1095 (rl78_register_name, rl78_g10_register_name): Update for
1096 new pseudo registers.
1097 (rl78_pseudo_register_read): Likewise.
1098 (rl78_pseudo_register_write): Likewise.
1099 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1100 to the newly added pseudo registers.
1101
1102 2014-02-24 Doug Evans <dje@google.com>
1103
1104 * value.c (record_latest_value): Fix comment.
1105 * printcmd.c (print_command_1): Remove code to handle -1 return from
1106 record_latest_value.
1107
1108 2014-02-24 Pedro Alves <palves@redhat.com>
1109
1110 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1111 deprecated_xfer_memory hook.
1112 (procfs_xfer_partial): Call procfs_xfer_memory instead
1113 of the deprecated_xfer_memory target hook.
1114 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1115 helper.
1116
1117 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1118
1119 * windows-nat.c (windows_xfer_shared_libraries): Return
1120 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1121 requested object is TARGET_OBJECT_LIBRARIES.
1122
1123 2014-02-24 Yao Qi <yao@codesourcery.com>
1124
1125 * target.h (enum target_xfer_status)
1126 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1127 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1128 explicitly. New.
1129 * corefile.c (memory_error_message): User updated.
1130 * exec.c (section_table_read_available_memory): Likewise.
1131 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1132 * target.c (target_xfer_status_to_string): Likewise.
1133 (raw_memory_xfer_partial): Likewise.
1134 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1135 * valops.c (read_value_memory): Likewise.
1136 * exec.h: Update comments.
1137
1138 2014-02-24 Yao Qi <yao@codesourcery.com>
1139
1140 * target.c (target_xfer_status_to_string): Rename argument err
1141 to status.
1142 * target.h (target_xfer_status_to_string): Update declaration.
1143 Replace target_xfer_error_to_string with
1144 target_xfer_status_to_string in comment.
1145
1146 2014-02-24 Yao Qi <yao@codesourcery.com>
1147
1148 * mips-linux-nat.c (super_close): Update its type.
1149 (mips_linux_close): Pass 'self' to super_close.
1150
1151 2014-02-24 Yao Qi <yao@codesourcery.com>
1152
1153 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1154 * corefile.c (read_memory): Adjusted.
1155 * target.c (target_write_with_progress): Adjusted.
1156
1157 2014-02-23 Yao Qi <yao@codesourcery.com>
1158
1159 Revert two patches:
1160
1161 2013-10-25 Yao Qi <yao@codesourcery.com>
1162
1163 * remote.c (remote_traceframe_info): Return early if
1164 traceframe is not selected.
1165
1166 2013-07-19 Yao Qi <yao@codesourcery.com>
1167
1168 * target.c (update_current_target): Change the default action
1169 of 'to_traceframe_info' from tcomplain to return_zero.
1170 * target.h (struct target_ops) <to_traceframe_info>: Add more
1171 comments.
1172
1173 2014-02-23 Yao Qi <yao@codesourcery.com>
1174
1175 * valops.c (read_value_memory): Rewrite it. Call
1176 target_xfer_partial in a loop.
1177 * exec.h (section_table_available_memory): Remove declaration.
1178 Move comments to ...
1179 * exec.c (section_table_available_memory): ... here. Make it
1180 static.
1181
1182 2014-02-23 Yao Qi <yao@codesourcery.com>
1183
1184 * exec.c (section_table_read_available_memory): New function.
1185 * exec.h (section_table_read_available_memory): Declare.
1186 * ctf.c (ctf_xfer_partial): Call
1187 section_table_read_available_memory.
1188 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1189
1190 2014-02-23 Yao Qi <yao@codesourcery.com>
1191
1192 * ctf.c (ctf_xfer_partial): Move code to ...
1193 * exec.c (exec_read_partial_read_only): ... it. New function.
1194 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1195 * tracefile.c: Include "exec.h".
1196 * exec.h (exec_read_partial_read_only): Declare.
1197
1198 2014-02-23 Yao Qi <yao@codesourcery.com>
1199
1200 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1201 (tfile_has_memory): Remove.
1202 (init_tfile_ops): Don't set fields to_has_all_memory and
1203 to_has_memory of tfile_ops.
1204 * tracefile.c (tracefile_has_all_memory): New function.
1205 (tracefile_has_memory): New function.
1206 (init_tracefile_ops): Initialize fields to_has_all_memory and
1207 to_has_memory of 'ops'.
1208
1209 2014-02-23 Yao Qi <yao@codesourcery.com>
1210
1211 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1212 (ctf_thread_alive, ctf_get_trace_status): Remove.
1213 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1214 init_tracefile_ops.
1215 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1216 (tfile_has_stack, tfile_has_registers): Remove.
1217 (tfile_thread_alive): Remove.
1218 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1219 init_tracefile_ops.
1220 * tracefile.c (tracefile_has_stack): New function.
1221 (tracefile_has_registers): New function.
1222 (tracefile_thread_alive): New function.
1223 (tracefile_get_trace_status): New function.
1224 (init_tracefile_ops): New function.
1225 * tracefile.h (init_tracefile_ops): Declare.
1226
1227 2014-02-23 Yao Qi <yao@codesourcery.com>
1228
1229 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1230 (O_LARGEFILE): Likewise.
1231 (tfile_ops): Likewise.
1232 (TRACE_HEADER_SIZE): Likewise.
1233 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1234 (cur_data_size): Likewise.
1235 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1236 (tfile_close, tfile_files_info): Likewise.
1237 (tfile_get_trace_status): Likewise.
1238 (tfile_get_tracepoint_status): Likewise.
1239 (tfile_get_traceframe_address): Likewise.
1240 (tfile_trace_find, match_blocktype): Likewise.
1241 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
1242 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
1243 (tfile_get_trace_state_variable_value): Likewise.
1244 (tfile_has_all_memory, tfile_has_memory): Likewise.
1245 (tfile_has_stack, tfile_has_registers): Likewise.
1246 (tfile_thread_alive, build_traceframe_info): Likewise.
1247 (tfile_traceframe_info, init_tfile_ops): Likewise.
1248 (_initialize_tracepoint): Don't call init_tfile_ops
1249 and add_target_with_completer.
1250 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
1251 exec.h, completer.h and filenames.h.
1252 (_initialize_tracefile_tfile): New function.
1253
1254 2014-02-23 Yao Qi <yao@codesourcery.com>
1255
1256 * Makefile.in (REMOTE_OBS): Append tracefile.o and
1257 tracefile-tfile.o.
1258 (HFILES_NO_SRCDIR): Add tracefile.h.
1259 * ctf.c: Include "tracefile.h".
1260 * tracefile.h: New file.
1261 * tracefile.c: New file
1262 * tracefile-tfile.c: New file.
1263 * tracepoint.c: Include "tracefile.h".
1264 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
1265 (stop_reason_names): Add const.
1266 (trace_file_writer_xfree): Move it to tracefile.c.
1267 (trace_save, trace_save_command, trace_save_tfile): Likewise.
1268 (trace_save_ctf): Likewise.
1269 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
1270 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
1271 (tfile_write_header, tfile_write_regblock_type): Likewise.
1272 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
1273 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
1274 (tfile_write_raw_data, tfile_end): Likewise.
1275 (tfile_trace_file_writer_new): Likewise.
1276 (free_uploaded_tp): Make it extern.
1277 (free_uploaded_tsv): Make it extern.
1278 (_initialize_tracepoint): Move code to register command 'tsave'
1279 to tracefile.c.
1280 * tracepoint.h (stop_reason_names): Declare.
1281 (struct trace_frame_write_ops): Move it to tracefile.h.
1282 (struct trace_file_write_ops): Likewise.
1283 (struct trace_file_writer): Likewise.
1284 (free_uploaded_tsvs, free_uploaded_tps): Declare.
1285
1286 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1287
1288 PR gdb/16594
1289 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
1290 process name.
1291 (get_cores_used_by_process): New parameter num_cores, use it.
1292 (linux_xfer_osdata_processes): Pass num_cores to it.
1293 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
1294 process name.
1295
1296 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
1297
1298 * target.c (memory_xfer_partial): Fix length arg in call to
1299 breakpoint_xfer_memory.
1300
1301 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1302
1303 PR tdep/16397
1304 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
1305 number comes after the + or - signs. Adjust length of register
1306 name to be extracted.
1307
1308 2014-02-20 Tom Tromey <tromey@redhat.com>
1309
1310 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
1311 (ada_varobj_ops): Mark "extern".
1312
1313 2014-02-20 Tom Tromey <tromey@redhat.com>
1314
1315 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
1316
1317 2014-02-20 Doug Evans <xdje42@gmail.com>
1318
1319 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
1320 All callers updated.
1321 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
1322 All callers updated.
1323 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
1324 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
1325
1326 2014-02-20 lin zuojian <manjian2006@gmail.com>
1327 Joel Brobecker <brobecker@adacore.com>
1328 Doug Evans <xdje42@gmail.com>
1329
1330 PR symtab/16581
1331 * dwarf2read.c (struct die_info): New member in_process.
1332 (reset_die_in_process): New function.
1333 (process_die): Set it at the start, reset when returning.
1334 (inherit_abstract_dies): Only call process_die if origin_child_die
1335 not already being processed.
1336
1337 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1338
1339 * windows-nat.c (handle_unload_dll): Add function documentation.
1340 (do_initial_windows_stuff): Add comment explaining why we wait
1341 until after inferior initialization has finished before
1342 processing all DLLs.
1343
1344 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1345
1346 * windows-nat.c (get_module_name): Delete.
1347 (windows_get_exec_module_filename): New function, mostly
1348 inspired from get_module_name.
1349 (windows_pid_to_exec_file): Replace call to get_module_name
1350 by call to windows_get_exec_module_filename.
1351
1352 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1353
1354 * windows-nat.c (handle_load_dll): Rewrite this function's
1355 introductory comment. Remove code using get_module_name
1356 to get the DLL's name.
1357
1358 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1359
1360 * windows-nat.c (get_windows_debug_event): Ignore
1361 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
1362 if windows_initialization_done == 0.
1363 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
1364 Adjust implementation to always load all DLLs.
1365 (do_initial_windows_stuff): Replace call to
1366 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
1367
1368 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1369
1370 * windows-nat.c (_initialize_windows_nat): Deprecate the
1371 "dll-symbols" command. Turn the "add-shared-symbol-files"
1372 and "assf" aliases into commands, and deprecate them as well.
1373 * NEWS: Add entry explaining that "dll-symbols" and its two
1374 aliases are now deprecated.
1375
1376 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1377
1378 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
1379 new-line in debug string. Remove trailing spaces.
1380
1381 2014-02-19 Stan Shebs <stan@codesourcery.com>
1382
1383 * darwin-nat.c (darwin_xfer_partial): Fix return type.
1384
1385 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1386
1387 * NEWS: Add entry for the new feature
1388 * python/py-value.c (valpy_binop): Call value_x_binop for struct
1389 and class values.
1390
1391 2014-02-19 Stan Shebs <stan@codesourcery.com>
1392
1393 * MAINTAINERS: List Yao Qi as nios2 maintainer.
1394
1395 2014-02-19 Pedro Alves <palves@redhat.com>
1396
1397 * common/ptid.h (struct ptid): Mention that process_stratum
1398 targets should prefer ptid.lwp.
1399
1400 2014-02-19 Pedro Alves <palves@redhat.com>
1401
1402 * remote.c (remote_thread_alive, write_ptid, read_ptid)
1403 (read_ptid, remote_newthread_step, remote_threads_extra_info)
1404 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1405 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1406 store remote thread ids rather than ptid.tid.
1407 (_initialize_remote): Adjust.
1408
1409 2014-02-19 Tom Tromey <tromey@redhat.com>
1410
1411 * target.c (target_get_unwinder): Rewrite.
1412 (target_get_tailcall_unwinder): Rewrite.
1413 * record-btrace.c (record_btrace_to_get_unwinder): New function.
1414 (record_btrace_to_get_tailcall_unwinder): New function.
1415 (init_record_btrace_ops): Update.
1416 * target.h (struct target_ops) <to_get_unwinder,
1417 to_get_tailcall_unwinder>: Now function pointers. Use
1418 TARGET_DEFAULT_RETURN.
1419
1420 2014-02-19 Tom Tromey <tromey@redhat.com>
1421
1422 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1423 argument.
1424 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1425
1426 2014-02-19 Tom Tromey <tromey@redhat.com>
1427
1428 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1429 directly.
1430 * target-delegates.c: Rebuild.
1431 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1432 TARGET_DEFAULT_FUNC.
1433 * target.c (default_target_decr_pc_after_break): Rename from
1434 forward_target_decr_pc_after_break. Simplify.
1435 (target_decr_pc_after_break): Rely on delegation.
1436
1437 2014-02-19 Tom Tromey <tromey@redhat.com>
1438
1439 * target.c (update_current_target): Do not INHERIT to_doc or
1440 to_magic. Do not de_fault to_open or to_close.
1441
1442 2014-02-19 Tom Tromey <tromey@redhat.com>
1443
1444 * gcore.h (objfile_find_memory_regions): Declare.
1445 * gcore.c (objfile_find_memory_regions): No longer static. Add
1446 "self" argument.
1447 (_initialize_gcore): Don't call exec_set_find_memory_regions.
1448 * exec.c: Include gcore.h.
1449 (exec_set_find_memory_regions): Remove.
1450 (exec_find_memory_regions): Remove.
1451 (exec_do_find_memory_regions): Remove.
1452 (init_exec_ops): Update.
1453 * defs.h (exec_set_find_memory_regions): Remove.
1454
1455 2014-02-19 Tom Tromey <tromey@redhat.com>
1456
1457 * target-delegates.c: Rebuild.
1458 * target.h (struct target_ops) <to_extra_thread_info,
1459 to_thread_name, to_pid_to_exec_file, to_get_section_table,
1460 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1461 not 0, in TARGET_DEFAULT_RETURN.
1462
1463 2014-02-19 Tom Tromey <tromey@redhat.com>
1464
1465 * target.c (complete_target_initialization): Remove casts. Use
1466 return_zero_has_execution.
1467 (return_zero): Add "ignore" argument.
1468 (return_zero_has_execution): New function.
1469 (init_dummy_target): Remove casts. Use
1470 return_zero_has_execution.
1471
1472 2014-02-19 Tom Tromey <tromey@redhat.com>
1473
1474 * target.c (update_current_target): Update comments. Do not
1475 INHERIT to_stratum.
1476
1477 2014-02-19 Tom Tromey <tromey@redhat.com>
1478
1479 * arm-linux-nat.c (arm_linux_read_description): Delegate when
1480 needed.
1481 * corelow.c (core_read_description): Delegate when needed.
1482 * remote.c (remote_read_description): Delegate when needed.
1483 * target-delegates.c: Rebuild.
1484 * target.c (target_read_description): Rewrite.
1485 * target.h (struct target_ops) <to_read_description>: Update
1486 comment. Use TARGET_DEFAULT_RETURN.
1487
1488 2014-02-19 Tom Tromey <tromey@redhat.com>
1489
1490 * target-delegates.c: Rebuild.
1491 * target.c (update_current_target): Don't inherit or default
1492 to_can_run.
1493 (find_default_run_target): Check against delegate_can_run.
1494 * target.h (struct target_ops) <to_can_run>: Use
1495 TARGET_DEFAULT_RETURN.
1496
1497 2014-02-19 Tom Tromey <tromey@redhat.com>
1498
1499 * target-delegates.c: Rebuild.
1500 * target.c (target_disconnect): Unconditionally delegate.
1501 * target.h (struct target_ops) <to_disconnect>: Use
1502 TARGET_DEFAULT_NORETURN.
1503
1504 2014-02-19 Tom Tromey <tromey@redhat.com>
1505
1506 * record.c (record_stop): Unconditionally delegate.
1507 * target-delegates.c: Rebuild.
1508 * target.c (target_stop_recording): Unconditionally delegate.
1509 * target.h (struct target_ops) <to_stop_recording>: Use
1510 TARGET_DEFAULT_IGNORE.
1511
1512 2014-02-19 Tom Tromey <tromey@redhat.com>
1513
1514 * target-delegates.c: Rebuild.
1515 * target.c (target_enable_btrace): Unconditionally delegate.
1516 * target.h (struct target_ops) <to_enable_btrace>: Use
1517 TARGET_DEFAULT_NORETURN.
1518
1519 2014-02-19 Tom Tromey <tromey@redhat.com>
1520
1521 * target-delegates.c: Rebuild.
1522 * target.c (target_read_btrace): Unconditionally delegate.
1523 * target.h (struct target_ops) <to_read_btrace>: Use
1524 TARGET_DEFAULT_NORETURN.
1525
1526 2014-02-19 Tom Tromey <tromey@redhat.com>
1527
1528 * target-delegates.c: Rebuild.
1529 * target.c (target_teardown_btrace): Unconditionally delegate.
1530 * target.h (struct target_ops) <to_teardown_btrace>: Use
1531 TARGET_DEFAULT_NORETURN.
1532
1533 2014-02-19 Tom Tromey <tromey@redhat.com>
1534
1535 * target-delegates.c: Rebuild.
1536 * target.c (target_disable_btrace): Unconditionally delegate.
1537 * target.h (struct target_ops) <to_disable_btrace>: Use
1538 TARGET_DEFAULT_NORETURN.
1539
1540 2014-02-19 Tom Tromey <tromey@redhat.com>
1541
1542 * target-delegates.c: Rebuild.
1543 * target.c (default_search_memory): New function.
1544 (simple_search_memory): Update comment.
1545 (target_search_memory): Unconditionally delegate.
1546 * target.h (struct target_ops) <to_search_memory>: Use
1547 TARGET_DEFAULT_FUNC.
1548
1549 2014-02-19 Tom Tromey <tromey@redhat.com>
1550
1551 * auxv.c (default_auxv_parse): No longer static.
1552 (target_auxv_parse): Unconditionally delegate.
1553 * auxv.h (default_auxv_parse): Declare.
1554 * target-delegates.c: Rebuild.
1555 * target.c: Include auxv.h.
1556 * target.h (struct target_ops) <to_auxv_parse>: Use
1557 TARGET_DEFAULT_FUNC.
1558
1559 2014-02-19 Tom Tromey <tromey@redhat.com>
1560
1561 * target-delegates.c: Rebuild.
1562 * target.c (target_memory_map): Unconditionally delegate.
1563 * target.h (struct target_ops) <to_memory_map>: Use
1564 TARGET_DEFAULT_RETURN.
1565
1566 2014-02-19 Tom Tromey <tromey@redhat.com>
1567
1568 * target-delegates.c: Rebuild.
1569 * target.c (target_thread_alive): Unconditionally delegate.
1570 * target.h (struct target_ops) <to_thread_alive>: Use
1571 TARGET_DEFAULT_RETURN.
1572
1573 2014-02-19 Tom Tromey <tromey@redhat.com>
1574
1575 * target-delegates.c: Rebuild.
1576 * target.c (target_save_record): Unconditionally delegate.
1577 * target.h (struct target_ops) <to_save_record>: Use
1578 TARGET_DEFAULT_NORETURN.
1579
1580 2014-02-19 Tom Tromey <tromey@redhat.com>
1581
1582 * target-delegates.c: Rebuild.
1583 * target.c (target_delete_record): Unconditionally delegate.
1584 * target.h (struct target_ops) <to_delete_record>: Use
1585 TARGET_DEFAULT_NORETURN.
1586
1587 2014-02-19 Tom Tromey <tromey@redhat.com>
1588
1589 * target-delegates.c: Rebuild.
1590 * target.c (target_record_is_replaying): Unconditionally
1591 delegate.
1592 * target.h (struct target_ops) <to_record_is_replaying>: Use
1593 TARGET_DEFAULT_RETURN.
1594
1595 2014-02-19 Tom Tromey <tromey@redhat.com>
1596
1597 * target-delegates.c: Rebuild.
1598 * target.c (target_goto_record_begin): Unconditionally delegate.
1599 * target.h (struct target_ops) <to_goto_record_begin>: Use
1600 TARGET_DEFAULT_NORETURN.
1601
1602 2014-02-19 Tom Tromey <tromey@redhat.com>
1603
1604 * target-delegates.c: Rebuild.
1605 * target.c (target_goto_record_end): Unconditionally delegate.
1606 * target.h (struct target_ops) <to_goto_record_end>: Use
1607 TARGET_DEFAULT_NORETURN.
1608
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1610
1611 * target-delegates.c: Rebuild.
1612 * target.c (target_goto_record): Unconditionally delegate.
1613 * target.h (struct target_ops) <to_goto_record>: Use
1614 TARGET_DEFAULT_NORETURN.
1615
1616 2014-02-19 Tom Tromey <tromey@redhat.com>
1617
1618 * target-delegates.c: Rebuild.
1619 * target.c (target_insn_history): Unconditionally delegate.
1620 * target.h (struct target_ops) <to_insn_history>: Use
1621 TARGET_DEFAULT_NORETURN.
1622
1623 2014-02-19 Tom Tromey <tromey@redhat.com>
1624
1625 * target-delegates.c: Rebuild.
1626 * target.c (target_insn_history_from): Unconditionally delegate.
1627 * target.h (struct target_ops) <to_insn_history_from>: Use
1628 TARGET_DEFAULT_NORETURN.
1629
1630 2014-02-19 Tom Tromey <tromey@redhat.com>
1631
1632 * target-delegates.c: Rebuild.
1633 * target.c (target_insn_history_range): Unconditionally delegate.
1634 * target.h (struct target_ops) <to_insn_history_range>: Use
1635 TARGET_DEFAULT_NORETURN.
1636
1637 2014-02-19 Tom Tromey <tromey@redhat.com>
1638
1639 * target-delegates.c: Rebuild.
1640 * target.c (target_call_history): Unconditionally delegate.
1641 * target.h (struct target_ops) <to_call_history>: Use
1642 TARGET_DEFAULT_NORETURN.
1643
1644 2014-02-19 Tom Tromey <tromey@redhat.com>
1645
1646 * target-delegates.c: Rebuild.
1647 * target.c (target_call_history_from): Unconditionally delegate.
1648 * target.h (struct target_ops) <to_call_history_from>: Use
1649 TARGET_DEFAULT_NORETURN.
1650
1651 2014-02-19 Tom Tromey <tromey@redhat.com>
1652
1653 * target-delegates.c: Rebuild.
1654 * target.c (target_call_history_range): Unconditionally delegate.
1655 * target.h (struct target_ops) <to_call_history_range>: Use
1656 TARGET_DEFAULT_NORETURN.
1657
1658 2014-02-19 Tom Tromey <tromey@redhat.com>
1659
1660 * target-delegates.c: Rebuild.
1661 * target.c (target_verify_memory): Unconditionally delegate.
1662 * target.h (struct target_ops) <to_verify_memory>: Use
1663 TARGET_DEFAULT_NORETURN.
1664
1665 2014-02-19 Tom Tromey <tromey@redhat.com>
1666
1667 * target-delegates.c: Rebuild.
1668 * target.c (target_core_of_thread): Unconditionally delegate.
1669 * target.h (struct target_ops) <to_core_of_thread>: Use
1670 TARGET_DEFAULT_RETURN.
1671
1672 2014-02-19 Tom Tromey <tromey@redhat.com>
1673
1674 * target-delegates.c: Rebuild.
1675 * target.c (target_flash_done): Unconditionally delegate.
1676 * target.h (struct target_ops) <to_flash_done>: Use
1677 TARGET_DEFAULT_NORETURN.
1678
1679 2014-02-19 Tom Tromey <tromey@redhat.com>
1680
1681 * target-delegates.c: Rebuild.
1682 * target.c (target_flash_erase): Unconditionally delegate.
1683 * target.h (struct target_ops) <to_flash_erase>: Use
1684 TARGET_DEFAULT_NORETURN.
1685
1686 2014-02-19 Tom Tromey <tromey@redhat.com>
1687
1688 * target-delegates.c: Rebuild.
1689 * target.c (target_get_section_table): Unconditionally delegate.
1690 * target.h (struct target_ops) <to_get_section_table>: Use
1691 TARGET_DEFAULT_RETURN.
1692
1693 2014-02-19 Tom Tromey <tromey@redhat.com>
1694
1695 * target-delegates.c: Rebuild.
1696 * target.c (target_pid_to_str): Unconditionally delegate.
1697 (init_dummy_target): Don't initialize to_pid_to_str.
1698 (default_pid_to_str): Rename from dummy_pid_to_str.
1699 * target.h (struct target_ops) <to_pid_to_str>: Use
1700 TARGET_DEFAULT_FUNC.
1701
1702 2014-02-19 Tom Tromey <tromey@redhat.com>
1703
1704 * target-delegates.c: Rebuild.
1705 * target.c (target_find_new_threads): Unconditionally delegate.
1706 * target.h (struct target_ops) <to_find_new_threads>: Use
1707 TARGET_DEFAULT_RETURN.
1708
1709 2014-02-19 Tom Tromey <tromey@redhat.com>
1710
1711 * target-delegates.c: Rebuild.
1712 * target.c (target_program_signals): Unconditionally delegate.
1713 * target.h (struct target_ops) <to_program_signals>: Use
1714 TARGET_DEFAULT_IGNORE.
1715
1716 2014-02-19 Tom Tromey <tromey@redhat.com>
1717
1718 * target-delegates.c: Rebuild.
1719 * target.c (target_pass_signals): Unconditionally delegate.
1720 * target.h (struct target_ops) <to_pass_signals>: Use
1721 TARGET_DEFAULT_IGNORE.
1722
1723 2014-02-19 Tom Tromey <tromey@redhat.com>
1724
1725 * target-delegates.c: Rebuild.
1726 * target.c (default_mourn_inferior): New function.
1727 (target_mourn_inferior): Unconditionally delegate.
1728 * target.h (struct target_ops) <to_mourn_inferior>: Use
1729 TARGET_DEFAULT_FUNC.
1730
1731 2014-02-19 Tom Tromey <tromey@redhat.com>
1732
1733 * target-delegates.c: Rebuild.
1734 * target.c (default_follow_fork): New function.
1735 (target_follow_fork): Unconditionally delegate.
1736 * target.h (struct target_ops) <to_follow_fork>: Use
1737 TARGET_DEFAULT_FUNC.
1738
1739 2014-02-19 Tom Tromey <tromey@redhat.com>
1740
1741 * target-delegates.c: Rebuild.
1742 * target.c (target_kill): Unconditionally delegate.
1743 * target.h (struct target_ops) <to_kill>: Use
1744 TARGET_DEFAULT_NORETURN.
1745
1746 2014-02-19 Tom Tromey <tromey@redhat.com>
1747
1748 * target-delegates.c: Rebuild.
1749 * target.c (target_masked_watch_num_registers): Unconditionally
1750 delegate.
1751 * target.h (struct target_ops) <to_masked_watch_num_registers>:
1752 Use TARGET_DEFAULT_RETURN.
1753
1754 2014-02-19 Tom Tromey <tromey@redhat.com>
1755
1756 * target-delegates.c: Rebuild.
1757 * target.c (target_remove_mask_watchpoint): Unconditionally
1758 delegate.
1759 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1760 TARGET_DEFAULT_RETURN.
1761
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1763
1764 * target-delegates.c: Rebuild.
1765 * target.c (target_insert_mask_watchpoint): Unconditionally
1766 delegate.
1767 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1768 TARGET_DEFAULT_RETURN.
1769
1770 2014-02-19 Tom Tromey <tromey@redhat.com>
1771
1772 * target-delegates.c: Rebuild.
1773 * target.c (target_ranged_break_num_registers): Unconditionally
1774 delegate.
1775 * target.h (struct target_ops) <to_ranged_break_num_registers>:
1776 Use TARGET_DEFAULT_RETURN.
1777
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1779
1780 * target-delegates.c: Rebuild.
1781 * target.c (target_fetch_registers): Unconditionally delegate.
1782 * target.h (struct target_ops) <to_fetch_registers>: Use
1783 TARGET_DEFAULT_NORETURN.
1784
1785 2014-02-19 Tom Tromey <tromey@redhat.com>
1786
1787 * target-delegates.c: Rebuild.
1788 * target.c (update_current_target): Don't inherit or default
1789 to_stop.
1790 * target.h (struct target_ops) <to_stop>: Use
1791 TARGET_DEFAULT_IGNORE.
1792
1793 2014-02-19 Tom Tromey <tromey@redhat.com>
1794
1795 * target-delegates.c: Rebuild.
1796 * target.c (update_current_target): Don't inherit or default
1797 to_can_run_breakpoint_commands.
1798 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1799 Use TARGET_DEFAULT_RETURN.
1800
1801 2014-02-19 Tom Tromey <tromey@redhat.com>
1802
1803 * target-delegates.c: Rebuild.
1804 * target.c (update_current_target): Don't inherit or default
1805 to_supports_evaluation_of_breakpoint_conditions.
1806 * target.h (struct target_ops)
1807 <to_supports_evaluation_of_breakpoint_conditions>: Use
1808 TARGET_DEFAULT_RETURN.
1809
1810 2014-02-19 Tom Tromey <tromey@redhat.com>
1811
1812 * target-delegates.c: Rebuild.
1813 * target.c (update_current_target): Don't inherit or default
1814 to_augmented_libraries_svr4_read.
1815 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1816 Use TARGET_DEFAULT_RETURN.
1817
1818 2014-02-19 Tom Tromey <tromey@redhat.com>
1819
1820 * target-delegates.c: Rebuild.
1821 * target.c (update_current_target): Don't inherit or default
1822 to_can_use_agent.
1823 * target.h (struct target_ops) <to_can_use_agent>: Use
1824 TARGET_DEFAULT_RETURN.
1825
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1827
1828 * target-delegates.c: Rebuild.
1829 * target.c (update_current_target): Don't inherit or default
1830 to_use_agent.
1831 * target.h (struct target_ops) <to_use_agent>: Use
1832 TARGET_DEFAULT_NORETURN.
1833
1834 2014-02-19 Tom Tromey <tromey@redhat.com>
1835
1836 * target-delegates.c: Rebuild.
1837 * target.c (update_current_target): Don't inherit or default
1838 to_traceframe_info.
1839 (return_null): Remove.
1840 * target.h (struct target_ops) <to_traceframe_info>: Use
1841 TARGET_DEFAULT_RETURN.
1842
1843 2014-02-19 Tom Tromey <tromey@redhat.com>
1844
1845 * target-delegates.c: Rebuild.
1846 * target.c (update_current_target): Don't inherit or default
1847 to_static_tracepoint_markers_by_strid.
1848 * target.h (struct target_ops)
1849 <to_static_tracepoint_markers_by_strid>: Use
1850 TARGET_DEFAULT_NORETURN.
1851
1852 2014-02-19 Tom Tromey <tromey@redhat.com>
1853
1854 * target-delegates.c: Rebuild.
1855 * target.c (update_current_target): Don't inherit or default
1856 to_static_tracepoint_marker_at.
1857 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1858 Use TARGET_DEFAULT_RETURN.
1859
1860 2014-02-19 Tom Tromey <tromey@redhat.com>
1861
1862 * target-delegates.c: Rebuild.
1863 * target.c (update_current_target): Don't inherit or default
1864 to_set_permissions.
1865 * target.h (struct target_ops) <to_set_permissions>: Use
1866 TARGET_DEFAULT_IGNORE.
1867
1868 2014-02-19 Tom Tromey <tromey@redhat.com>
1869
1870 * target-delegates.c: Rebuild.
1871 * target.c (update_current_target): Don't inherit or default
1872 to_get_tib_address.
1873 * target.h (struct target_ops) <to_get_tib_address>: Use
1874 TARGET_DEFAULT_NORETURN.
1875
1876 2014-02-19 Tom Tromey <tromey@redhat.com>
1877
1878 * target-delegates.c: Rebuild.
1879 * target.c (update_current_target): Don't inherit or default
1880 to_set_trace_notes.
1881 * target.h (struct target_ops) <to_set_trace_notes>: Use
1882 TARGET_DEFAULT_RETURN.
1883
1884 2014-02-19 Tom Tromey <tromey@redhat.com>
1885
1886 * target-delegates.c: Rebuild.
1887 * target.c (update_current_target): Don't initialize
1888 to_set_trace_buffer_size.
1889 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1890 TARGET_DEFAULT_IGNORE.
1891
1892 2014-02-19 Tom Tromey <tromey@redhat.com>
1893
1894 * target-delegates.c: Rebuild.
1895 * target.c (update_current_target): Don't inherit or default
1896 to_set_circular_trace_buffer.
1897 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1898 TARGET_DEFAULT_IGNORE.
1899
1900 2014-02-19 Tom Tromey <tromey@redhat.com>
1901
1902 * target-delegates.c: Rebuild.
1903 * target.c (update_current_target): Don't inherit or default
1904 to_set_disconnected_tracing.
1905 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1906 TARGET_DEFAULT_IGNORE.
1907
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1909
1910 * target-delegates.c: Rebuild.
1911 * target.c (update_current_target): Don't inherit or default
1912 to_get_min_fast_tracepoint_insn_len.
1913 (return_minus_one): Remove.
1914 * target.h (struct target_ops)
1915 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1916
1917 2014-02-19 Tom Tromey <tromey@redhat.com>
1918
1919 * target-delegates.c: Rebuild.
1920 * target.c (update_current_target): Don't inherit or default
1921 to_get_raw_trace_data.
1922 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1923 TARGET_DEFAULT_NORETURN.
1924
1925 2014-02-19 Tom Tromey <tromey@redhat.com>
1926
1927 * target-delegates.c: Rebuild.
1928 * target.c (update_current_target): Don't inherit or default
1929 to_upload_trace_state_variables.
1930 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1931 Use TARGET_DEFAULT_RETURN.
1932
1933 2014-02-19 Tom Tromey <tromey@redhat.com>
1934
1935 * target-delegates.c: Rebuild.
1936 * target.c (update_current_target): Don't inherit or default
1937 to_upload_tracepoints.
1938 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1939 TARGET_DEFAULT_RETURN.
1940
1941 2014-02-19 Tom Tromey <tromey@redhat.com>
1942
1943 * target-delegates.c: Rebuild.
1944 * target.c (update_current_target): Don't inherit or default
1945 to_save_trace_data.
1946 * target.h (struct target_ops) <to_save_trace_data>: Use
1947 TARGET_DEFAULT_NORETURN.
1948
1949 2014-02-19 Tom Tromey <tromey@redhat.com>
1950
1951 * target-delegates.c: Rebuild.
1952 * target.c (update_current_target): Don't inherit or default
1953 to_get_trace_state_variable_value.
1954 * target.h (struct target_ops)
1955 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
1956
1957 2014-02-19 Tom Tromey <tromey@redhat.com>
1958
1959 * target-delegates.c: Rebuild.
1960 * target.c (update_current_target): Don't inherit or default
1961 to_trace_find.
1962 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
1963
1964 2014-02-19 Tom Tromey <tromey@redhat.com>
1965
1966 * target-delegates.c: Rebuild.
1967 * target.c (update_current_target): Don't inherit or default
1968 to_trace_stop.
1969 * target.h (struct target_ops) <to_trace_stop>: Use
1970 TARGET_DEFAULT_NORETURN.
1971
1972 2014-02-19 Tom Tromey <tromey@redhat.com>
1973
1974 * target-delegates.c: Rebuild.
1975 * target.c (update_current_target): Don't inherit or default
1976 to_get_tracepoint_status.
1977 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1978 TARGET_DEFAULT_NORETURN.
1979
1980 2014-02-19 Tom Tromey <tromey@redhat.com>
1981
1982 * target-delegates.c: Rebuild.
1983 * target.c (update_current_target): Don't inherit or default
1984 to_get_trace_status.
1985 * target.h (struct target_ops) <to_get_trace_status>: Use
1986 TARGET_DEFAULT_RETURN.
1987
1988 2014-02-19 Tom Tromey <tromey@redhat.com>
1989
1990 * target-delegates.c: Rebuild.
1991 * target.c (update_current_target): Don't inherit or default
1992 to_trace_start.
1993 * target.h (struct target_ops) <to_trace_start>: Use
1994 TARGET_DEFAULT_NORETURN.
1995
1996 2014-02-19 Tom Tromey <tromey@redhat.com>
1997
1998 * target-delegates.c: Rebuild.
1999 * target.c (update_current_target): Don't inherit or default
2000 to_trace_set_readonly_regions.
2001 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2002 Use TARGET_DEFAULT_NORETURN.
2003
2004 2014-02-19 Tom Tromey <tromey@redhat.com>
2005
2006 * target-delegates.c: Rebuild.
2007 * target.c (update_current_target): Don't inherit or default
2008 to_disable_tracepoint.
2009 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2010 TARGET_DEFAULT_NORETURN.
2011
2012 2014-02-19 Tom Tromey <tromey@redhat.com>
2013
2014 * target-delegates.c: Rebuild.
2015 * target.c (update_current_target): Don't inherit or default
2016 to_enable_tracepoint.
2017 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2018 TARGET_DEFAULT_NORETURN.
2019
2020 2014-02-19 Tom Tromey <tromey@redhat.com>
2021
2022 * target-delegates.c: Rebuild.
2023 * target.c (update_current_target): Don't inherit or default
2024 to_download_trace_state_variable.
2025 * target.h (struct target_ops) <to_download_trace_state_variable>:
2026 Use TARGET_DEFAULT_NORETURN.
2027
2028 2014-02-19 Tom Tromey <tromey@redhat.com>
2029
2030 * target-delegates.c: Rebuild.
2031 * target.c (update_current_target): Don't inherit or default
2032 to_can_download_tracepoint.
2033 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2034 TARGET_DEFAULT_RETURN.
2035
2036 2014-02-19 Tom Tromey <tromey@redhat.com>
2037
2038 * target-delegates.c: Rebuild.
2039 * target.c (update_current_target): Don't inherit or default
2040 to_download_tracepoint.
2041 * target.h (struct target_ops) <to_download_tracepoint>: Use
2042 TARGET_DEFAULT_NORETURN.
2043
2044 2014-02-19 Tom Tromey <tromey@redhat.com>
2045
2046 * target-delegates.c: Rebuild.
2047 * target.c (update_current_target): Don't inherit or default
2048 to_trace_init.
2049 * target.h (struct target_ops) <to_trace_init>: Use
2050 TARGET_DEFAULT_RETURN.
2051
2052 2014-02-19 Tom Tromey <tromey@redhat.com>
2053
2054 * target-delegates.c: Rebuild.
2055 * target.c (update_current_target): Don't inherit or default
2056 to_supports_string_tracing.
2057 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2058 TARGET_DEFAULT_RETURN.
2059
2060 2014-02-19 Tom Tromey <tromey@redhat.com>
2061
2062 * target-delegates.c: Rebuild.
2063 * target.c (update_current_target): Don't inherit or default
2064 to_supports_enable_disable_tracepoint.
2065 * target.h (struct target_ops)
2066 <to_supports_enable_disable_tracepoint>: Use
2067 TARGET_DEFAULT_RETURN.
2068
2069 2014-02-19 Tom Tromey <tromey@redhat.com>
2070
2071 * target-delegates.c: Rebuild.
2072 * target.c (update_current_target): Don't inherit or default
2073 to_supports_multi_process.
2074 * target.h (struct target_ops) <to_supports_multi_process>: Use
2075 TARGET_DEFAULT_RETURN.
2076
2077 2014-02-19 Tom Tromey <tromey@redhat.com>
2078
2079 * target-delegates.c: Rebuild.
2080 * target.c (update_current_target): Don't inherit or default
2081 to_get_ada_task_ptid.
2082 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2083 TARGET_DEFAULT_FUNC.
2084
2085 2014-02-19 Tom Tromey <tromey@redhat.com>
2086
2087 * target-delegates.c: Rebuild.
2088 * target.c (update_current_target): Don't inherit or default
2089 to_thread_architecture.
2090 * target.h (struct target_ops) <to_thread_architecture>: Use
2091 TARGET_DEFAULT_FUNC.
2092
2093 2014-02-19 Tom Tromey <tromey@redhat.com>
2094
2095 * target-delegates.c: Rebuild.
2096 * target.c (update_current_target): Don't inherit or default
2097 to_execution_direction.
2098 * target.h (struct target_ops) <to_execution_direction>: Use
2099 TARGET_DEFAULT_FUNC.
2100
2101 2014-02-19 Tom Tromey <tromey@redhat.com>
2102
2103 * target-delegates.c: Rebuild.
2104 * target.c (update_current_target): Don't inherit or default
2105 to_can_execute_reverse.
2106 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2107 TARGET_DEFAULT_RETURN.
2108 (target_can_execute_reverse): Unconditionally delegate.
2109
2110 2014-02-19 Tom Tromey <tromey@redhat.com>
2111
2112 * target-delegates.c: Rebuild.
2113 * target.c (update_current_target): Don't inherit or default
2114 to_goto_bookmark.
2115 (dummy_goto_bookmark): Remove.
2116 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2117 * target.h (struct target_ops) <to_goto_bookmark>: Use
2118 TARGET_DEFAULT_NORETURN.
2119
2120 2014-02-19 Tom Tromey <tromey@redhat.com>
2121
2122 * target-delegates.c: Rebuild.
2123 * target.c (update_current_target): Don't inherit or default
2124 to_get_bookmark.
2125 (dummy_get_bookmark): Remove.
2126 (init_dummy_target): Don't inherit or default to_get_bookmark.
2127 * target.h (struct target_ops) <to_get_bookmark>: Use
2128 TARGET_DEFAULT_NORETURN
2129
2130 2014-02-19 Tom Tromey <tromey@redhat.com>
2131
2132 * target-delegates.c: Rebuild.
2133 * target.c (update_current_target): Don't inherit or default
2134 to_make_corefile_notes.
2135 (init_dummy_target): Don't initialize to_make_corefile_notes.
2136 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2137 TARGET_DEFAULT_FUNC.
2138
2139 2014-02-19 Tom Tromey <tromey@redhat.com>
2140
2141 * target-delegates.c: Rebuild.
2142 * target.c (update_current_target): Don't inherit or default
2143 to_find_memory_regions.
2144 (init_dummy_target): Don't initialize to_find_memory_regions.
2145 * target.h (struct target_ops) <to_find_memory_regions>: Use
2146 TARGET_DEFAULT_FUNC.
2147
2148 2014-02-19 Tom Tromey <tromey@redhat.com>
2149
2150 * target-delegates.c: Rebuild.
2151 * target.c (update_current_target): Don't inherit or default
2152 to_log_command.
2153 * target.h (struct target_ops) <to_log_command>: Use
2154 TARGET_DEFAULT_IGNORE.
2155 (target_log_command): Unconditionally delegate.
2156
2157 2014-02-19 Tom Tromey <tromey@redhat.com>
2158
2159 * target-delegates.c: Rebuild.
2160 * target.c (update_current_target): Don't inherit or default
2161 to_pid_to_exec_file.
2162 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2163 TARGET_DEFAULT_RETURN.
2164
2165 2014-02-19 Tom Tromey <tromey@redhat.com>
2166
2167 * target-delegates.c: Rebuild.
2168 * target.c (update_current_target): Don't inherit or default
2169 to_thread_name.
2170 (target_thread_name): Unconditionally delegate.
2171 * target.h (struct target_ops) <to_thread_name>: Use
2172 TARGET_DEFAULT_RETURN.
2173
2174 2014-02-19 Tom Tromey <tromey@redhat.com>
2175
2176 * target-delegates.c: Rebuild.
2177 * target.c (update_current_target): Don't inherit or default
2178 to_extra_thread_info.
2179 * target.h (struct target_ops) <to_extra_thread_info>: Use
2180 TARGET_DEFAULT_RETURN.
2181
2182 2014-02-19 Tom Tromey <tromey@redhat.com>
2183
2184 * target-delegates.c: Rebuild.
2185 * target.c (update_current_target): Don't inherit or default
2186 to_has_exited.
2187 * target.h (struct target_ops) <to_has_exited>: Use
2188 TARGET_DEFAULT_RETURN..
2189
2190 2014-02-19 Tom Tromey <tromey@redhat.com>
2191
2192 * target-delegates.c: Rebuild.
2193 * target.c (update_current_target): Don't inherit or default
2194 to_set_syscall_catchpoint.
2195 (return_one): Remove.
2196 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2197 TARGET_DEFAULT_RETURN.
2198
2199 2014-02-19 Tom Tromey <tromey@redhat.com>
2200
2201 * target-delegates.c: Rebuild.
2202 * target.c (update_current_target): Don't inherit or default
2203 to_insert_exec_catchpoint.
2204 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2205 TARGET_DEFAULT_RETURN.
2206
2207 2014-01-08 Tom Tromey <tromey@redhat.com>
2208
2209 * target-delegates.c: Rebuild.
2210 * target.c (update_current_target): Don't inherit or default
2211 to_insert_exec_catchpoint.
2212 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2213 TARGET_DEFAULT_RETURN.
2214
2215 2014-02-19 Tom Tromey <tromey@redhat.com>
2216
2217 * target-delegates.c: Rebuild.
2218 * target.c (update_current_target): Don't inherit or default
2219 to_remove_vfork_catchpoint.
2220 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2221 TARGET_DEFAULT_RETURN.
2222
2223 2014-02-19 Tom Tromey <tromey@redhat.com>
2224
2225 * target-delegates.c: Rebuild.
2226 * target.c (update_current_target): Don't inherit or default
2227 to_insert_vfork_catchpoint.
2228 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2229 TARGET_DEFAULT_RETURN.
2230
2231 2014-02-19 Tom Tromey <tromey@redhat.com>
2232
2233 * target-delegates.c: Rebuild.
2234 * target.c (update_current_target): Don't inherit or default
2235 to_remove_fork_catchpoint.
2236 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2237 TARGET_DEFAULT_RETURN.
2238
2239 2014-02-19 Tom Tromey <tromey@redhat.com>
2240
2241 * target-delegates.c: Rebuild.
2242 * target.c (update_current_target): Don't inherit or default
2243 to_insert_fork_catchpoint.
2244 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
2245 TARGET_DEFAULT_RETURN.
2246
2247 2014-02-19 Tom Tromey <tromey@redhat.com>
2248
2249 * target-delegates.c: Rebuild.
2250 * target.c (update_current_target): Don't inherit or default
2251 to_post_startup_inferior.
2252 * target.h (struct target_ops) <to_post_startup_inferior>: Use
2253 TARGET_DEFAULT_IGNORE.
2254
2255 2014-02-19 Tom Tromey <tromey@redhat.com>
2256
2257 * target-delegates.c: Rebuild.
2258 * target.c (update_current_target): Don't inherit or default
2259 to_load.
2260 * target.h (struct target_ops) <to_load>: Use
2261 TARGET_DEFAULT_NORETURN.
2262
2263 2014-02-19 Tom Tromey <tromey@redhat.com>
2264
2265 * target-delegates.c: Rebuild.
2266 * target.c (update_current_target): Don't inherit or default
2267 to_terminal_info.
2268 * target.h (struct target_ops) <to_terminal_info>: Use
2269 TARGET_DEFAULT_FUNC.
2270
2271 2014-02-19 Tom Tromey <tromey@redhat.com>
2272
2273 * target-delegates.c: Rebuild.
2274 * target.c (update_current_target): Don't inherit or default
2275 to_terminal_save_ours.
2276 * target.h (struct target_ops) <to_terminal_save_ours>: Use
2277 TARGET_DEFAULT_IGNORE.
2278
2279 2014-02-19 Tom Tromey <tromey@redhat.com>
2280
2281 * target-delegates.c: Rebuild.
2282 * target.c (update_current_target): Don't inherit or default
2283 to_terminal_ours.
2284 * target.h (struct target_ops) <to_terminal_ours>: Use
2285 TARGET_DEFAULT_IGNORE.
2286
2287 2014-02-19 Tom Tromey <tromey@redhat.com>
2288
2289 * target-delegates.c: Rebuild.
2290 * target.c (update_current_target): Don't inherit or default
2291 to_terminal_ours_for_output.
2292 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
2293 TARGET_DEFAULT_IGNORE.
2294
2295 2014-02-19 Tom Tromey <tromey@redhat.com>
2296
2297 * target-delegates.c: Rebuild.
2298 * target.c (update_current_target): Don't inherit or default
2299 to_terminal_inferior.
2300 * target.h (struct target_ops) <to_terminal_inferior>: Use
2301 TARGET_DEFAULT_IGNORE.
2302
2303 2014-02-19 Tom Tromey <tromey@redhat.com>
2304
2305 * target-delegates.c: Rebuild.
2306 * target.c (update_current_target): Don't inherit or default
2307 to_terminal_init.
2308 * target.h (struct target_ops) <to_terminal_init>: Use
2309 TARGET_DEFAULT_IGNORE.
2310
2311 2014-02-19 Tom Tromey <tromey@redhat.com>
2312
2313 * target-delegates.c: Rebuild.
2314 * target.c (update_current_target): Don't inherit or default
2315 to_can_accel_watchpoint_condition.
2316 * target.h (struct target_ops)
2317 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
2318
2319 2014-02-19 Tom Tromey <tromey@redhat.com>
2320
2321 * target-delegates.c: Rebuild.
2322 * target.c (update_current_target): Don't inherit or default
2323 to_region_ok_for_hw_watchpoint.
2324 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2325 Use TARGET_DEFAULT_FUNC.
2326
2327 2014-02-19 Tom Tromey <tromey@redhat.com>
2328
2329 * target-delegates.c: Rebuild.
2330 * target.c (update_current_target): Don't inherit or default
2331 to_watchpoint_addr_within_range.
2332 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
2333 Use TARGET_DEFAULT_FUNC.
2334
2335 2014-02-19 Tom Tromey <tromey@redhat.com>
2336
2337 * target-delegates.c: Rebuild.
2338 * target.c (update_current_target): Don't inherit or default
2339 to_remove_watchpoint.
2340 * target.h (struct target_ops) <to_remove_watchpoint>: Use
2341 TARGET_DEFAULT_NORETURN.
2342
2343 2014-02-19 Tom Tromey <tromey@redhat.com>
2344
2345 * target-delegates.c: Rebuild.
2346 * target.c (update_current_target): Don't inherit or default
2347 to_insert_watchpoint.
2348 * target.h (struct target_ops) <to_insert_watchpoint>: Use
2349 TARGET_DEFAULT_RETURN.
2350
2351 2014-02-19 Tom Tromey <tromey@redhat.com>
2352
2353 * target-delegates.c: Rebuild.
2354 * target.c (update_current_target): Don't inherit or default
2355 to_remove_hw_breakpoint.
2356 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
2357 TARGET_DEFAULT_RETURN.
2358
2359 2014-02-19 Tom Tromey <tromey@redhat.com>
2360
2361 * target-delegates.c: Rebuild.
2362 * target.c (update_current_target): Don't inherit or default
2363 to_insert_hw_breakpoint.
2364 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
2365 TARGET_DEFAULT_RETURN.
2366
2367 2014-02-19 Tom Tromey <tromey@redhat.com>
2368
2369 * target-delegates.c: Rebuild.
2370 * target.c (update_current_target): Don't inherit or default
2371 to_can_use_hw_breakpoint.
2372 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
2373 TARGET_DEFAULT_RETURN.
2374
2375 2014-02-19 Tom Tromey <tromey@redhat.com>
2376
2377 * target-delegates.c: Rebuild.
2378 * target.c (update_current_target): Don't inherit or default
2379 to_files_info.
2380 * target.h (struct target_ops) <to_files_info>: Use
2381 TARGET_DEFAULT_IGNORE.
2382
2383 2014-02-19 Tom Tromey <tromey@redhat.com>
2384
2385 * target-delegates.c: Rebuild.
2386 * target.c (update_current_target): Don't inherit or default
2387 to_store.
2388 * target.h (struct target_ops) <to_store>: Use
2389 TARGET_DEFAULT_NORETURN.
2390
2391 2014-02-19 Tom Tromey <tromey@redhat.com>
2392
2393 * target-delegates.c: Rebuild.
2394 * target.c (update_current_target): Don't inherit or default
2395 to_post_attach.
2396 * target.h (struct target_ops) <to_post_attach>: Use
2397 TARGET_DEFAULT_IGNORE.
2398
2399 2014-02-19 Tom Tromey <tromey@redhat.com>
2400
2401 * target-delegates.c: Rebuild.
2402 * target.c (update_current_target): Don't inherit or default
2403 to_rcmd.
2404 (default_rcmd): New function.
2405 (do_monitor_command): Unconditionally delegate.
2406 * target.h (struct target_ops) <to_rmcd>: Use
2407 TARGET_DEFAULT_FUNC.
2408
2409 2014-02-19 Tom Tromey <tromey@redhat.com>
2410
2411 * target-delegates.c: Rebuild.
2412 * target.c (init_dummy_target): Don't initialize to_attach.
2413 (target_attach): Unconditionally delegate.
2414 * target.h (struct target_ops) <to_attach>: Use
2415 TARGET_DEFAULT_FUNC.
2416
2417 2014-02-19 Tom Tromey <tromey@redhat.com>
2418
2419 * target-delegates.c: Rebuild.
2420 * target.c (target_detach): Unconditionally delegate.
2421 (init_dummy_target): Don't initialize to_detach.
2422 * target.h (struct target_ops) <to_detach>: Use
2423 TARGET_DEFAULT_IGNORE.
2424
2425 2014-02-19 Tom Tromey <tromey@redhat.com>
2426
2427 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2428 Add argument.
2429 (target_augmented_libraries_svr4_read): Add argument.
2430 * target.c (update_current_target): Update.
2431 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2432 argument.
2433
2434 2014-02-19 Tom Tromey <tromey@redhat.com>
2435
2436 * target.h (struct target_ops) <to_call_history_range>: Add
2437 argument.
2438 * target.c (target_call_history_range): Add argument.
2439 * record-btrace.c (record_btrace_call_history_range): Add 'self'
2440 argument.
2441 (record_btrace_call_history_from): Update.
2442
2443 2014-02-19 Tom Tromey <tromey@redhat.com>
2444
2445 * target.h (struct target_ops) <to_call_history_from>: Add
2446 argument.
2447 * target.c (target_call_history_from): Add argument.
2448 * record-btrace.c (record_btrace_call_history_from): Add 'self'
2449 argument.
2450
2451 2014-02-19 Tom Tromey <tromey@redhat.com>
2452
2453 * target.h (struct target_ops) <to_call_history>: Add argument.
2454 * target.c (target_call_history): Add argument.
2455 * record-btrace.c (record_btrace_call_history): Add 'self'
2456 argument.
2457
2458 2014-02-19 Tom Tromey <tromey@redhat.com>
2459
2460 * target.h (struct target_ops) <to_insn_history_range>: Add
2461 argument.
2462 * target.c (target_insn_history_range): Add argument.
2463 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2464 argument.
2465 (record_btrace_insn_history_from): Update.
2466
2467 2014-02-19 Tom Tromey <tromey@redhat.com>
2468
2469 * target.h (struct target_ops) <to_insn_history_from>: Add
2470 argument.
2471 * target.c (target_insn_history_from): Add argument.
2472 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2473 argument.
2474
2475 2014-02-19 Tom Tromey <tromey@redhat.com>
2476
2477 * target.h (struct target_ops) <to_insn_history>: Add argument.
2478 * target.c (target_insn_history): Add argument.
2479 * record-btrace.c (record_btrace_insn_history): Add 'self'
2480 argument.
2481
2482 2014-02-19 Tom Tromey <tromey@redhat.com>
2483
2484 * target.h (struct target_ops) <to_goto_record>: Add argument.
2485 * target.c (target_goto_record): Add argument.
2486 * record-full.c (record_full_goto): Add 'self' argument.
2487 * record-btrace.c (record_btrace_goto): Add 'self' argument.
2488
2489 2014-02-19 Tom Tromey <tromey@redhat.com>
2490
2491 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2492 * target.c (target_goto_record_end): Add argument.
2493 * record-full.c (record_full_goto_end): Add 'self' argument.
2494 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2495
2496 2014-02-19 Tom Tromey <tromey@redhat.com>
2497
2498 * target.h (struct target_ops) <to_goto_record_begin>: Add
2499 argument.
2500 * target.c (target_goto_record_begin): Add argument.
2501 * record-full.c (record_full_goto_begin): Add 'self' argument.
2502 * record-btrace.c (record_btrace_goto_begin): Add 'self'
2503 argument.
2504
2505 2014-02-19 Tom Tromey <tromey@redhat.com>
2506
2507 * target.h (struct target_ops) <to_record_is_replaying>: Add
2508 argument.
2509 * target.c (target_record_is_replaying): Add argument.
2510 * record-full.c (record_full_is_replaying): Add 'self' argument.
2511 * record-btrace.c (record_btrace_is_replaying): Add 'self'
2512 argument.
2513 (record_btrace_xfer_partial, record_btrace_store_registers)
2514 (record_btrace_prepare_to_store, record_btrace_resume)
2515 (record_btrace_wait, record_btrace_decr_pc_after_break)
2516 (record_btrace_find_new_threads, record_btrace_thread_alive):
2517 Update.
2518
2519 2014-02-19 Tom Tromey <tromey@redhat.com>
2520
2521 * target.h (struct target_ops) <to_delete_record>: Add argument.
2522 * target.c (target_delete_record): Add argument.
2523 * record-full.c (record_full_delete): Add 'self' argument.
2524
2525 2014-02-19 Tom Tromey <tromey@redhat.com>
2526
2527 * target.h (struct target_ops) <to_save_record>: Add argument.
2528 * target.c (target_save_record): Add argument.
2529 * record-full.c (record_full_save): Add 'self' argument.
2530 (record_full_save): Add 'self' argument.
2531
2532 2014-02-19 Tom Tromey <tromey@redhat.com>
2533
2534 * target.h (struct target_ops) <to_info_record>: Add argument.
2535 * target.c (target_info_record): Add argument.
2536 * record.c (info_record_command): Add argument.
2537 * record-full.c (record_full_info): Add 'self' argument.
2538 * record-btrace.c (record_btrace_info): Add 'self' argument.
2539
2540 2014-02-19 Tom Tromey <tromey@redhat.com>
2541
2542 * target.h (struct target_ops) <to_stop_recording>: Add argument.
2543 * target.c (target_stop_recording): Add argument.
2544 * record.c (record_stop): Add argument.
2545 * record-btrace.c (record_btrace_stop_recording): Add 'self'
2546 argument.
2547
2548 2014-02-19 Tom Tromey <tromey@redhat.com>
2549
2550 * target.h (struct target_ops) <to_read_btrace>: Add argument.
2551 * target.c (struct target_ops) <to_read_btrace>: Add argument.
2552 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2553 argument.
2554 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2555 (_initialize_amd64_linux_nat): Use it.
2556 * i386-linux-nat.c (i386_linux_read_btrace): New function.
2557 (_initialize_i386_linux_nat): Use it.
2558
2559 2014-02-19 Tom Tromey <tromey@redhat.com>
2560
2561 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2562 * target.c (target_teardown_btrace): Add argument.
2563 * remote.c (remote_teardown_btrace): Add 'self' argument.
2564 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2565 argument.
2566 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2567 argument.
2568
2569 2014-02-19 Tom Tromey <tromey@redhat.com>
2570
2571 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2572 * target.c (target_disable_btrace): Add argument.
2573 * remote.c (remote_disable_btrace): Add 'self' argument.
2574 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2575 argument.
2576 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2577 argument.
2578
2579 2014-02-19 Tom Tromey <tromey@redhat.com>
2580
2581 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2582 * target.c (target_enable_btrace): Add argument.
2583 * remote.c (remote_enable_btrace): Add 'self' argument.
2584 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2585 argument.
2586 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2587 argument.
2588
2589 2014-02-19 Tom Tromey <tromey@redhat.com>
2590
2591 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2592 (target_can_use_agent): Add argument.
2593 * target.c (update_current_target): Update.
2594 * remote.c (remote_can_use_agent): Add 'self' argument.
2595 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2596
2597 2014-02-19 Tom Tromey <tromey@redhat.com>
2598
2599 * target.h (struct target_ops) <to_use_agent>: Add argument.
2600 (target_use_agent): Add argument.
2601 * target.c (update_current_target): Update.
2602 * remote.c (remote_use_agent): Add 'self' argument.
2603 * inf-child.c (inf_child_use_agent): Add 'self' argument.
2604
2605 2014-02-19 Tom Tromey <tromey@redhat.com>
2606
2607 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2608 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2609 (target_traceframe_info): Add argument.
2610 * target.c (update_current_target): Update.
2611 * remote.c (remote_traceframe_info): Add 'self' argument.
2612 * ctf.c (ctf_traceframe_info): Add 'self' argument.
2613
2614 2014-02-19 Tom Tromey <tromey@redhat.com>
2615
2616 * target.h (target_static_tracepoint_markers_by_strid): Add
2617 argument.
2618 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2619 'self' argument.
2620 * target.c (update_current_target): Update.
2621 * remote.c (struct target_ops)
2622 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2623 * linux-nat.c (struct target_ops)
2624 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2625
2626 2014-02-19 Tom Tromey <tromey@redhat.com>
2627
2628 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2629 Add argument.
2630 (target_static_tracepoint_marker_at): Add argument.
2631 * target.c (update_current_target): Update.
2632 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2633 argument.
2634
2635 2014-02-19 Tom Tromey <tromey@redhat.com>
2636
2637 * target.h (struct target_ops) <to_set_permissions>: Add argument.
2638 (target_set_permissions): Add argument.
2639 * target.c (update_current_target): Update.
2640 * remote.c (remote_set_permissions): Add 'self' argument.
2641 (remote_start_remote): Update.
2642
2643 2014-02-19 Tom Tromey <tromey@redhat.com>
2644
2645 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2646 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2647 (target_get_tib_address): Add argument.
2648 * target.c (update_current_target): Update.
2649 * remote.c (remote_get_tib_address): Add 'self' argument.
2650
2651 2014-02-19 Tom Tromey <tromey@redhat.com>
2652
2653 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2654 (target_set_trace_notes): Add argument.
2655 * target.c (update_current_target): Update.
2656 * remote.c (remote_set_trace_notes): Add 'self' argument.
2657
2658 2014-02-19 Tom Tromey <tromey@redhat.com>
2659
2660 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2661 argument.
2662 (target_set_trace_buffer_size): Add argument.
2663 * target.c (update_current_target): Update.
2664 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2665
2666 2014-02-19 Tom Tromey <tromey@redhat.com>
2667
2668 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2669 argument.
2670 (target_set_circular_trace_buffer): Add argument.
2671 * target.c (update_current_target): Update.
2672 * remote.c (remote_set_circular_trace_buffer): Add 'self'
2673 argument.
2674
2675 2014-02-19 Tom Tromey <tromey@redhat.com>
2676
2677 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2678 argument.
2679 (target_set_disconnected_tracing): Add argument.
2680 * target.c (update_current_target): Update.
2681 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2682
2683 2014-02-19 Tom Tromey <tromey@redhat.com>
2684
2685 * target.h (struct target_ops)
2686 <to_get_min_fast_tracepoint_insn_len>: Add argument.
2687 (target_get_min_fast_tracepoint_insn_len): Add argument.
2688 * target.c (update_current_target): Update.
2689 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2690 argument.
2691
2692 2014-02-19 Tom Tromey <tromey@redhat.com>
2693
2694 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2695 argument.
2696 (target_get_raw_trace_data): Add argument.
2697 * target.c (update_current_target): Update.
2698 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2699
2700 2014-02-19 Tom Tromey <tromey@redhat.com>
2701
2702 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2703 Add argument.
2704 (target_upload_trace_state_variables): Add argument.
2705 * target.c (update_current_target): Update.
2706 * remote.c (remote_upload_trace_state_variables): Add 'self'
2707 argument.
2708 (remote_start_remote): Update.
2709
2710 2014-02-19 Tom Tromey <tromey@redhat.com>
2711
2712 * target.h (struct target_ops) <to_upload_tracepoints>: Add
2713 argument.
2714 (target_upload_tracepoints): Add argument.
2715 * target.c (update_current_target): Update.
2716 * remote.c (remote_upload_tracepoints): Add 'self' argument.
2717 (remote_start_remote): Update.
2718
2719 2014-02-19 Tom Tromey <tromey@redhat.com>
2720
2721 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2722 (target_save_trace_data): Add argument.
2723 * target.c (update_current_target): Update.
2724 * remote.c (remote_save_trace_data): Add 'self' argument.
2725
2726 2014-02-19 Tom Tromey <tromey@redhat.com>
2727
2728 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2729 argument.
2730 * target.h (struct target_ops)
2731 <to_get_trace_state_variable_value>: Add argument.
2732 (target_get_trace_state_variable_value): Add argument.
2733 * target.c (update_current_target): Update.
2734 * remote.c (remote_get_trace_state_variable_value): Add 'self'
2735 argument.
2736 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2737
2738 2014-02-19 Tom Tromey <tromey@redhat.com>
2739
2740 * tracepoint.c (tfile_trace_find): Add 'self' argument.
2741 * target.h (struct target_ops) <to_trace_find>: Add argument.
2742 (target_trace_find): Add argument.
2743 * target.c (update_current_target): Update.
2744 * remote.c (remote_trace_find): Add 'self' argument.
2745 * ctf.c (ctf_trace_find): Add 'self' argument.
2746
2747 2014-02-19 Tom Tromey <tromey@redhat.com>
2748
2749 * target.h (struct target_ops) <to_trace_stop>: Add argument.
2750 (target_trace_stop): Add argument.
2751 * target.c (update_current_target): Update.
2752 * remote.c (remote_trace_stop): Add 'self' argument.
2753
2754 2014-02-19 Tom Tromey <tromey@redhat.com>
2755
2756 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2757 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2758 argument.
2759 (target_get_tracepoint_status): Add argument.
2760 * target.c (update_current_target): Update.
2761 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2762
2763 2014-02-19 Tom Tromey <tromey@redhat.com>
2764
2765 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2766 * target.h (struct target_ops) <to_get_trace_status>: Add
2767 argument.
2768 (target_get_trace_status): Add argument.
2769 * target.c (update_current_target): Update.
2770 * remote.c (remote_get_trace_status): Add 'self' argument.
2771 (remote_start_remote, remote_can_download_tracepoint): Update.
2772 * ctf.c (ctf_get_trace_status): Add 'self' argument.
2773
2774 2014-02-19 Tom Tromey <tromey@redhat.com>
2775
2776 * target.h (struct target_ops) <to_trace_start>: Add argument.
2777 (target_trace_start): Add argument.
2778 * target.c (update_current_target): Update.
2779 * remote.c (remote_trace_start): Add 'self' argument.
2780
2781 2014-02-19 Tom Tromey <tromey@redhat.com>
2782
2783 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2784 Add argument.
2785 (target_trace_set_readonly_regions): Add argument.
2786 * target.c (update_current_target): Update.
2787 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2788 argument.
2789
2790 2014-02-19 Tom Tromey <tromey@redhat.com>
2791
2792 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2793 argument.
2794 (target_disable_tracepoint): Add argument.
2795 * target.c (update_current_target): Update.
2796 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2797
2798 2014-02-19 Tom Tromey <tromey@redhat.com>
2799
2800 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2801 argument.
2802 (target_enable_tracepoint): Add argument.
2803 * target.c (update_current_target): Update.
2804 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2805
2806 2014-02-19 Tom Tromey <tromey@redhat.com>
2807
2808 * target.h (struct target_ops) <to_download_trace_state_variable>:
2809 Add argument.
2810 (target_download_trace_state_variable): Add argument.
2811 * target.c (update_current_target): Update.
2812 * remote.c (remote_download_trace_state_variable): Add 'self'
2813 argument.
2814
2815 2014-02-19 Tom Tromey <tromey@redhat.com>
2816
2817 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2818 argument.
2819 (target_can_download_tracepoint): Add argument.
2820 * target.c (update_current_target): Update.
2821 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2822
2823 2014-02-19 Tom Tromey <tromey@redhat.com>
2824
2825 * target.h (struct target_ops) <to_download_tracepoint>: Add
2826 argument.
2827 (target_download_tracepoint): Add argument.
2828 * target.c (update_current_target): Update.
2829 * remote.c (remote_download_tracepoint): Add 'self' argument.
2830
2831 2014-02-19 Tom Tromey <tromey@redhat.com>
2832
2833 * target.h (struct target_ops) <to_trace_init>: Add argument.
2834 (target_trace_init): Add argument.
2835 * target.c (update_current_target): Update.
2836 * remote.c (remote_trace_init): Add 'self' argument.
2837
2838 2014-02-19 Tom Tromey <tromey@redhat.com>
2839
2840 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2841 * target.c (target_fileio_readlink): Add argument.
2842 * remote.c (remote_hostio_readlink): Add 'self' argument.
2843 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2844
2845 2014-02-19 Tom Tromey <tromey@redhat.com>
2846
2847 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2848 * target.c (target_fileio_unlink): Add argument.
2849 * remote.c (remote_hostio_unlink): Add 'self' argument.
2850 (remote_file_delete): Update.
2851 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2852
2853 2014-02-19 Tom Tromey <tromey@redhat.com>
2854
2855 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2856 * target.c (target_fileio_close): Add argument.
2857 * remote.c (remote_hostio_close): Add 'self' argument.
2858 (remote_hostio_close_cleanup): Update.
2859 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2860 Update.
2861 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2862
2863 2014-02-19 Tom Tromey <tromey@redhat.com>
2864
2865 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2866 * target.c (target_fileio_pread): Add argument.
2867 * remote.c (remote_hostio_pread): Add 'self' argument.
2868 (remote_bfd_iovec_pread, remote_file_get): Update.
2869 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2870
2871 2014-02-19 Tom Tromey <tromey@redhat.com>
2872
2873 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2874 * target.c (target_fileio_pwrite): Add argument.
2875 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2876 (remote_file_put): Update.
2877 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2878
2879 2014-02-19 Tom Tromey <tromey@redhat.com>
2880
2881 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2882 * target.c (target_fileio_open): Add argument.
2883 * remote.c (remote_hostio_open): Add 'self' argument.
2884 (remote_bfd_iovec_open): Add 'self' argument.
2885 (remote_file_put): Add 'self' argument.
2886 (remote_file_get): Add 'self' argument.
2887 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2888
2889 2014-02-19 Tom Tromey <tromey@redhat.com>
2890
2891 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2892 Add argument.
2893 (target_can_run_breakpoint_commands): Add argument.
2894 * target.c (update_current_target): Update.
2895 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2896 argument.
2897 (remote_insert_breakpoint): Add 'self' argument.
2898 (remote_insert_hw_breakpoint): Add 'self' argument.
2899 (remote_can_run_breakpoint_commands): Add 'self' argument.
2900
2901 2014-02-19 Tom Tromey <tromey@redhat.com>
2902
2903 * target.h (struct target_ops)
2904 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2905 (target_supports_evaluation_of_breakpoint_conditions): Add
2906 argument.
2907 * target.c (update_current_target): Update.
2908 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2909 argument.
2910 (remote_insert_breakpoint): Add 'self' argument.
2911 (remote_insert_hw_breakpoint): Add 'self' argument.
2912 (remote_supports_cond_breakpoints): Add 'self' argument.
2913
2914 2014-02-19 Tom Tromey <tromey@redhat.com>
2915
2916 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2917 argument.
2918 (target_supports_string_tracing): Add argument.
2919 * target.c (update_current_target): Update.
2920 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2921
2922 2014-02-19 Tom Tromey <tromey@redhat.com>
2923
2924 * target.h (struct target_ops)
2925 <to_supports_disable_randomization>: Add argument.
2926 * target.c (find_default_supports_disable_randomization): Add
2927 argument.
2928 (target_supports_disable_randomization): Add argument.
2929 (find_default_supports_disable_randomization): Add 'self'
2930 argument.
2931 * remote.c (extended_remote_supports_disable_randomization): Add
2932 'self' argument.
2933 (remote_supports_disable_randomization): Add 'self' argument.
2934 (extended_remote_create_inferior): Update.
2935 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2936 'self' argument.
2937
2938 2014-02-19 Tom Tromey <tromey@redhat.com>
2939
2940 * target.h (struct target_ops)
2941 <to_supports_enable_disable_tracepoint>: Add argument.
2942 (target_supports_enable_disable_tracepoint): Add argument.
2943 * target.c (update_current_target): Update.
2944 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2945 argument.
2946
2947 2014-02-19 Tom Tromey <tromey@redhat.com>
2948
2949 * target.h (struct target_ops) <to_supports_multi_process>: Add
2950 argument.
2951 (target_supports_multi_process): Add argument.
2952 * target.c (update_current_target): Update.
2953 * remote.c (remote_supports_multi_process): Add 'self' argument.
2954 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2955 argument.
2956 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2957 argument.
2958
2959 2014-02-19 Tom Tromey <tromey@redhat.com>
2960
2961 * target.h (struct target_ops) <to_execution_direction>: Add
2962 argument.
2963 (target_execution_direction): Add argument.
2964 * target.c (default_execution_direction): Add 'self' argument.
2965 * record-full.c (record_full_execution_direction): Add 'self'
2966 argument.
2967
2968 2014-02-19 Tom Tromey <tromey@redhat.com>
2969
2970 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2971 argument.
2972 (target_can_execute_reverse): Add argument.
2973 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2974 * record-full.c (record_full_can_execute_reverse): Add 'self'
2975 argument.
2976 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2977 argument.
2978
2979 2014-02-19 Tom Tromey <tromey@redhat.com>
2980
2981 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2982 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2983 argument.
2984 (target_get_ada_task_ptid): Add argument.
2985 * target.c (update_current_target): Update.
2986 (default_get_ada_task_ptid): Add 'self' argument.
2987 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2988 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2989 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2990 argument.
2991 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2992 argument.
2993 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2994 argument.
2995 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2996 argument.
2997 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2998 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2999 argument.
3000
3001 2014-02-19 Tom Tromey <tromey@redhat.com>
3002
3003 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3004 (target_goto_bookmark): Add argument.
3005 * target.c (dummy_goto_bookmark): Add 'self' argument.
3006 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3007
3008 2014-02-19 Tom Tromey <tromey@redhat.com>
3009
3010 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3011 (target_get_bookmark): Add argument.
3012 * target.c (dummy_get_bookmark): Add 'self' argument.
3013 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3014
3015 2014-02-19 Tom Tromey <tromey@redhat.com>
3016
3017 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3018 argument.
3019 (target_make_corefile_notes): Add argument.
3020 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3021 * procfs.c (procfs_make_note_section): Add 'self' argument.
3022 (procfs_make_note_section): Add 'self' argument.
3023 (procfs_make_note_section): Add 'self' argument.
3024 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3025 argument.
3026 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3027 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3028 * exec.c (exec_make_note_section): Add 'self' argument.
3029 (exec_make_note_section): Add 'self' argument.
3030
3031 2014-02-19 Tom Tromey <tromey@redhat.com>
3032
3033 * target.h (struct target_ops) <to_find_memory_regions>: Add
3034 argument.
3035 (target_find_memory_regions): Add argument.
3036 * target.c (dummy_find_memory_regions): Add 'self' argument.
3037 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3038 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3039 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3040 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3041 * exec. (exec_do_find_memory_regions): New global.
3042 (exec_set_find_memory_regions): Rewrite.
3043 (exec_find_memory_regions): New function.
3044 (init_exec_ops): Use exec_find_memory_regions.
3045
3046 2014-02-19 Tom Tromey <tromey@redhat.com>
3047
3048 * target.h (struct target_ops) <to_supports_non_stop>: Add
3049 argument.
3050 * target.c (find_default_supports_non_stop): Add argument.
3051 (target_supports_non_stop): Add argument.
3052 (find_default_supports_non_stop): Add 'self' argument.
3053 * remote.c (remote_supports_non_stop): Add 'self' argument.
3054 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3055
3056 2014-02-19 Tom Tromey <tromey@redhat.com>
3057
3058 * target.h (struct target_ops) <to_log_command>: Add argument.
3059 (target_log_command): Add argument.
3060 * serial.h (serial_log_command): Add 'self' argument.
3061 * serial.c (serial_log_command): Add 'self' argument.
3062
3063 2014-02-19 Tom Tromey <tromey@redhat.com>
3064
3065 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3066 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3067 argument.
3068 (target_pid_to_exec_file): Add argument.
3069 * target.c (debug_to_pid_to_exec_file): Add argument.
3070 (update_current_target): Update.
3071 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3072 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3073 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3074 (linux_handle_extended_wait): Update.
3075 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3076 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3077 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3078 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3079
3080 2014-02-19 Tom Tromey <tromey@redhat.com>
3081
3082 * target.h (struct target_ops) <to_rcmd>: Add argument.
3083 (target_rcmd): Add argument.
3084 * target.c (debug_to_rcmd): Add argument.
3085 (update_current_target, do_monitor_command): Update.
3086 * remote.c (remote_rcmd): Add 'self' argument.
3087 * monitor.c (monitor_rcmd): Add 'self' argument.
3088
3089 2014-02-19 Tom Tromey <tromey@redhat.com>
3090
3091 * windows-nat.c (windows_stop): Add 'self' argument.
3092 * target.h (struct target_ops) <to_stop>: Add argument.
3093 * target.c (target_stop): Add argument.
3094 (debug_to_stop): Add argument.
3095 (update_current_target): Update.
3096 * remote.c (remote_stop): Add 'self' argument.
3097 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3098 (gdbsim_cntrl_c): Update.
3099 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3100 * procfs.c (procfs_stop): Add 'self' argument.
3101 * nto-procfs.c (procfs_stop): Add 'self' argument.
3102 * monitor.c (monitor_stop): Add 'self' argument.
3103 (monitor_open): Update.
3104 * linux-nat.c (linux_nat_stop): Add argument.
3105 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3106 * gnu-nat.c (gnu_stop): Add 'self' argument.
3107 * darwin-nat.c (darwin_stop): Add 'self' argument.
3108
3109 2014-02-19 Tom Tromey <tromey@redhat.com>
3110
3111 * target.h (struct target_ops) <to_thread_name>: Add argument.
3112 * target.c (target_thread_name): Add argument.
3113 (update_current_target): Update.
3114 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3115
3116 2014-02-19 Tom Tromey <tromey@redhat.com>
3117
3118 * target.h (struct target_ops) <to_extra_thread_info>: Add
3119 argument.
3120 (target_extra_thread_info): Add argument.
3121 * target.c (update_current_target): Update.
3122 * remote.c (remote_threads_extra_info): Add 'self' argument.
3123 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3124 argument.
3125 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3126 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3127 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3128 argument.
3129 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3130 argument.
3131 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3132 argument.
3133 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3134 argument.
3135
3136 2014-02-19 Tom Tromey <tromey@redhat.com>
3137
3138 * target.h (struct target_ops) <to_program_signals>: Add argument.
3139 * target.c (target_program_signals): Add argument.
3140 * remote.c (remote_program_signals): Add 'self' argument.
3141
3142 2014-02-19 Tom Tromey <tromey@redhat.com>
3143
3144 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3145 * target.c (target_pass_signals): Add argument.
3146 * remote.c (remote_pass_signals): Add 'self' argument.
3147 (remote_start_remote): Update.
3148 * procfs.c (procfs_pass_signals): Add 'self' argument.
3149 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3150 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3151 (linux_nat_create_inferior, linux_nat_attach): Update.
3152
3153 2014-02-19 Tom Tromey <tromey@redhat.com>
3154
3155 * windows-nat.c (windows_can_run): Add 'self' argument.
3156 * target.h (struct target_ops) <to_can_run>: Add argument.
3157 (target_can_run): Add argument.
3158 * target.c (debug_to_can_run): Add argument.
3159 (update_current_target): Update.
3160 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3161 * inf-child.c (inf_child_can_run): Add 'self' argument.
3162 * go32-nat.c (go32_can_run): Add 'self' argument.
3163
3164 2014-02-19 Tom Tromey <tromey@redhat.com>
3165
3166 * target.h (struct target_ops) <to_has_exited>: Add argument.
3167 (target_has_exited): Add argument.
3168 * target.c (debug_to_has_exited): Add argument.
3169 (update_current_target): Update.
3170
3171 2014-02-19 Tom Tromey <tromey@redhat.com>
3172
3173 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3174 argument.
3175 (target_set_syscall_catchpoint): Add argument.
3176 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3177 argument.
3178 * target.c (update_current_target): Update.
3179
3180 2014-02-19 Tom Tromey <tromey@redhat.com>
3181
3182 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3183 argument.
3184 (target_remove_exec_catchpoint): Add argument.
3185 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3186 (update_current_target): Update.
3187 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3188 argument.
3189
3190 2014-02-19 Tom Tromey <tromey@redhat.com>
3191
3192 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3193 argument.
3194 (target_insert_exec_catchpoint): Add argument.
3195 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3196 (update_current_target): Update.
3197 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3198 argument.
3199
3200 2014-02-19 Tom Tromey <tromey@redhat.com>
3201
3202 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3203 argument.
3204 (target_remove_vfork_catchpoint): Add argument.
3205 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3206 (update_current_target): Update.
3207 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3208 argument.
3209
3210 2014-02-19 Tom Tromey <tromey@redhat.com>
3211
3212 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3213 argument.
3214 (target_insert_vfork_catchpoint): Add argument.
3215 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3216 (update_current_target): Update.
3217 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3218 argument.
3219
3220 2014-02-19 Tom Tromey <tromey@redhat.com>
3221
3222 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3223 argument.
3224 (target_remove_fork_catchpoint): Add argument.
3225 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3226 (update_current_target): Update.
3227 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3228 argument.
3229
3230 2014-02-19 Tom Tromey <tromey@redhat.com>
3231
3232 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3233 argument.
3234 (target_insert_fork_catchpoint): Add argument.
3235 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3236 (update_current_target): Update.
3237 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3238 argument.
3239
3240 2014-02-19 Tom Tromey <tromey@redhat.com>
3241
3242 * target.h (struct target_ops) <to_post_startup_inferior>: Add
3243 argument.
3244 (target_post_startup_inferior): Add argument.
3245 * target.c (debug_to_post_startup_inferior): Add argument.
3246 (update_current_target): Update.
3247 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
3248 argument.
3249 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
3250 argument.
3251 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
3252 argument.
3253 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
3254 argument.
3255 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
3256 'self' argument.
3257 (super_post_startup_inferior): Likewise.
3258 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
3259 'self' argument.
3260 (super_post_startup_inferior): Likewise.
3261 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
3262 Add 'self' argument.
3263 (super_post_startup_inferior): Likewise.
3264
3265 2014-02-19 Tom Tromey <tromey@redhat.com>
3266
3267 * target.h (struct target_ops) <to_load>: Add argument.
3268 * target.c (target_load): Add argument.
3269 (debug_to_load): Add argument.
3270 (update_current_target): Update.
3271 * remote.c (remote_load): Add 'self' argument.
3272 * remote-sim.c (gdbsim_load): Add 'self' argument.
3273 * remote-mips.c (mips_load): Add 'self' argument.
3274 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
3275 * monitor.c (monitor_load): Add 'self' argument.
3276 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
3277
3278 2014-02-19 Tom Tromey <tromey@redhat.com>
3279
3280 * target.h (struct target_ops) <to_terminal_info>: Add argument.
3281 (target_terminal_info): Add argument.
3282 * target.c (debug_to_terminal_info): Add argument.
3283 (default_terminal_info): Likewise.
3284 * inflow.c (child_terminal_info): Add 'self' argument.
3285 * inferior.h (child_terminal_info): Add 'self' argument.
3286 * go32-nat.c (go32_terminal_info): Add 'self' argument.
3287
3288 2014-02-19 Tom Tromey <tromey@redhat.com>
3289
3290 * target.h (struct target_ops) <to_terminal_save_ours>: Add
3291 argument.
3292 (target_terminal_save_ours): Add argument.
3293 * target.c (debug_to_terminal_save_ours): Add argument.
3294 (update_current_target): Update.
3295 * inflow.c (terminal_save_ours): Add 'self' argument.
3296 * inferior.h (terminal_save_ours): Add 'self' argument.
3297
3298 2014-02-19 Tom Tromey <tromey@redhat.com>
3299
3300 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
3301 (target_terminal_ours): Add argument.
3302 * target.c (debug_to_terminal_ours): Add argument.
3303 (update_current_target): Update.
3304 * remote.c (remote_terminal_ours): Add 'self' argument.
3305 (remote_close): Update.
3306 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
3307 * inflow.c (terminal_ours): Add 'self' argument.
3308 * inferior.h (terminal_ours): Add 'self' argument.
3309 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3310
3311 2014-02-19 Pedro Alves <palves@redhat.com>
3312 Tom Tromey <tromey@redhat.com>
3313
3314 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
3315 argument.
3316 (target_terminal_ours_for_output): Add argument.
3317 * target.c (debug_to_terminal_ours_for_output): Add argument.
3318 (update_current_target): Update.
3319 * inflow.c (terminal_ours_for_output): Add 'self' argument.
3320 * inferior.h (terminal_ours_for_output): Add 'self' argument.
3321 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
3322
3323 2014-02-19 Tom Tromey <tromey@redhat.com>
3324
3325 * target.h (struct target_ops) <to_terminal_inferior>: Add
3326 argument.
3327 * target.c (target_terminal_inferior): Add argument.
3328 (update_current_target): Update.
3329 * remote.c (remote_terminal_inferior): Add 'self' argument.
3330 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
3331 * inflow.c (terminal_inferior): Add 'self' argument.
3332 * inferior.h (terminal_inferior): Add 'self' argument.
3333 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
3334 (go32_terminal_inferior): Add 'self' argument.
3335
3336 2014-02-19 Tom Tromey <tromey@redhat.com>
3337
3338 * target.h (struct target_ops) <to_terminal_init>: Add argument.
3339 (target_terminal_init): Add argument.
3340 * target.c (debug_to_terminal_init): Add argument.
3341 (update_current_target): Update.
3342 * inflow.c (terminal_init_inferior): Add 'self' argument.
3343 * inferior.h (terminal_init_inferior): Add 'self' argument.
3344 * go32-nat.c (go32_terminal_init): Add 'self' argument.
3345 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
3346
3347 2014-02-19 Tom Tromey <tromey@redhat.com>
3348
3349 * target.h (struct target_ops)
3350 <to_can_accel_watchpoint_condition>: Add argument.
3351 (target_can_accel_watchpoint_condition): Add argument.
3352 * target.c (debug_to_can_accel_watchpoint_condition): Add
3353 argument.
3354 (update_current_target): Update.
3355 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
3356 'self' argument.
3357
3358 2014-02-19 Tom Tromey <tromey@redhat.com>
3359
3360 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3361 Add argument.
3362 (target_region_ok_for_hw_watchpoint): Add argument.
3363 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
3364 (default_region_ok_for_hw_watchpoint): Add argument.
3365 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
3366 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
3367 argument.
3368 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
3369 argument.
3370 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
3371 argument.
3372 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
3373 'self' argument.
3374 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
3375 'self' argument.
3376 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
3377 'self' argument.
3378 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
3379 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
3380 'self' argument.
3381 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
3382 Add 'self' argument.
3383
3384 2014-02-19 Tom Tromey <tromey@redhat.com>
3385
3386 * target.h (struct target_ops) <to_insert_watchpoint>: Add
3387 argument.
3388 (target_insert_watchpoint): Add argument.
3389 * target.c (debug_to_insert_watchpoint): Add argument.
3390 (update_current_target): Update.
3391 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3392 * remote.c (remote_insert_watchpoint): Add 'self' argument.
3393 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3394 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3395 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3396 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3397 argument.
3398 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3399 (procfs_insert_hw_watchpoint): Add 'self' argument.
3400 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3401 argument.
3402 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3403 argument.
3404 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3405 argument.
3406 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3407 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3408 argument.
3409 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3410 'self' argument.
3411
3412 2014-02-19 Tom Tromey <tromey@redhat.com>
3413
3414 * target.h (struct target_ops) <to_remove_watchpoint>: Add
3415 argument.
3416 (target_remove_watchpoint): Add argument.
3417 * target.c (debug_to_remove_watchpoint): Add argument.
3418 (update_current_target): Update.
3419 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3420 * remote.c (remote_remove_watchpoint): Add 'self' argument.
3421 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3422 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3423 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3424 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3425 argument.
3426 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3427 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3428 argument.
3429 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3430 argument.
3431 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3432 argument.
3433 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3434 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3435 argument.
3436 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3437 'self' argument.
3438
3439 2014-02-19 Tom Tromey <tromey@redhat.com>
3440
3441 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3442 argument.
3443 (target_remove_hw_breakpoint): Add argument.
3444 * target.c (debug_to_remove_hw_breakpoint): Add argument.
3445 (update_current_target): Update.
3446 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3447 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3448 argument.
3449 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3450 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3451 argument.
3452 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3453 'self' argument.
3454
3455 2014-02-19 Tom Tromey <tromey@redhat.com>
3456
3457 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3458 argument.
3459 (target_insert_hw_breakpoint): Add argument.
3460 * target.c (debug_to_insert_hw_breakpoint): Add argument.
3461 (update_current_target): Update.
3462 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3463 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3464 argument.
3465 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3466 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3467 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3468 argument.
3469 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3470 'self' argument.
3471
3472 2014-02-19 Tom Tromey <tromey@redhat.com>
3473
3474 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3475 argument.
3476 (target_can_use_hardware_watchpoint): Add argument.
3477 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3478 (update_current_target): Update.
3479 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3480 argument.
3481 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3482 argument.
3483 * remote.c (remote_check_watch_resources): Add 'self' argument.
3484 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3485 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3486 argument.
3487 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3488 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3489 argument.
3490 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3491 argument.
3492 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3493 argument.
3494 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3495 argument.
3496 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3497 argument.
3498 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3499 argument.
3500 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3501 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3502 argument.
3503 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3504 'self' argument.
3505
3506 2014-02-19 Tom Tromey <tromey@redhat.com>
3507
3508 * target.h (struct target_ops) <to_post_attach>: Add argument.
3509 (target_post_attach): Add argument.
3510 * target.c (debug_to_post_attach): Add argument.
3511 (update_current_target): Update.
3512 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3513 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3514 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3515 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3516 * inf-child.c (inf_child_post_attach): Add 'self' argument.
3517
3518 2014-02-19 Tom Tromey <tromey@redhat.com>
3519
3520 * windows-nat.c (windows_close): Add 'self' argument.
3521 * tracepoint.c (tfile_close): Add 'self' argument.
3522 * target.h (struct target_ops) <to_close>: Add argument.
3523 * target.c (target_close): Add argument.
3524 (update_current_target): Update.
3525 * remote.c (remote_close): Add 'self' argument.
3526 * remote-sim.c (gdbsim_close): Add 'self' argument.
3527 * remote-mips.c (mips_close): Add 'self' argument.
3528 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3529 * record-full.c (record_full_close): Add 'self' argument.
3530 * record-btrace.c (record_btrace_close): Add 'self' argument.
3531 * monitor.h (monitor_close): Add 'self' argument.
3532 * monitor.c (monitor_close): Add 'self' argument.
3533 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3534 * linux-nat.c (linux_nat_close): Add argument.
3535 * go32-nat.c (go32_close): Add 'self' argument.
3536 * exec.c (exec_close_1): Add 'self' argument.
3537 * ctf.c (ctf_close): Add 'self' argument.
3538 * corelow.c (core_close): Add 'self' argument.
3539 (core_close_cleanup): Update.
3540 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3541 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3542
3543 2014-02-19 Tom Tromey <tromey@redhat.com>
3544
3545 * remote.c (remote_load): New function.
3546 (init_remote_ops): Use it.
3547
3548 2014-02-19 Tom Tromey <tromey@redhat.com>
3549
3550 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3551 argument.
3552 * common/linux-btrace.h (linux_supports_btrace): Update.
3553 * remote.c (remote_supports_btrace): Add "self" argument.
3554 * target-delegates.c: Rebuild.
3555 * target.c (target_supports_btrace): Remove.
3556 * target.h (struct target_ops) <to_supports_btrace>: Add
3557 target_ops argument.
3558 (target_supports_btrace): New define.
3559
3560 2014-02-19 Tom Tromey <tromey@redhat.com>
3561
3562 * record-full.c (record_full_beneath_to_resume_ops)
3563 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3564 (record_full_beneath_to_wait)
3565 (record_full_beneath_to_store_registers_ops)
3566 (record_full_beneath_to_store_registers)
3567 (record_full_beneath_to_xfer_partial_ops)
3568 (record_full_beneath_to_xfer_partial)
3569 (record_full_beneath_to_insert_breakpoint_ops)
3570 (record_full_beneath_to_insert_breakpoint)
3571 (record_full_beneath_to_remove_breakpoint_ops)
3572 (record_full_beneath_to_remove_breakpoint)
3573 (record_full_beneath_to_stopped_by_watchpoint)
3574 (record_full_beneath_to_stopped_data_address)
3575 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3576 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3577 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3578 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3579 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3580 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3581 (tmp_to_stopped_data_address, tmp_to_async): Remove.
3582 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
3583 (record_full_resume, record_full_wait_1)
3584 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3585 (record_full_store_registers, record_full_xfer_partial)
3586 (record_full_insert_breakpoint, record_full_remove_breakpoint)
3587 (record_full_async, record_full_core_xfer_partial): Use target
3588 delegation.
3589 * target-delegates.c: Rebuild.
3590 * target.c (current_xfer_partial): Remove.
3591 (update_current_target): Do not INHERIT or de_fault
3592 to_insert_breakpoint, to_remove_breakpoint,
3593 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3594 to_is_async_p, to_async. Do not set to_xfer_partial field.
3595 (default_xfer_partial): Simplify.
3596 (current_xfer_partial): Remove.
3597 (target_wait, target_resume): Simplify.
3598 (find_default_can_async_p, find_default_is_async_p): Update.
3599 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3600 to_xfer_partial, to_stopped_by_watchpoint,
3601 to_stopped_data_address.
3602 (target_store_registers): Simplify.
3603 (forward_target_remove_breakpoint)
3604 (forward_target_insert_breakpoint): Remove.
3605 (target_remove_breakpoint, target_insert_breakpoint)
3606 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3607 * target.h (struct target_ops) <to_resume, to_wait,
3608 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3609 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3610 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3611 markup.
3612 (forward_target_remove_breakpoint)
3613 (forward_target_insert_breakpoint): Remove.
3614 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3615 directly.
3616 (record_btrace_insert_breakpoint): Delegate directly.
3617
3618 2014-02-19 Tom Tromey <tromey@redhat.com>
3619
3620 PR build/7701:
3621 * target-delegates.c: New file.
3622 * target.c: Include target-delegates.c.
3623 (init_dummy_target): Call install_dummy_methods.
3624 (complete_target_initialization): Call install_delegators.
3625 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3626 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3627 * make-target-delegates: New file.
3628
3629 2014-02-19 Tom Tromey <tromey@redhat.com>
3630
3631 * record.c (find_record_target): Use find_target_at.
3632 * target.c (find_target_at): New function.
3633 * target.h (find_target_at): Declare.
3634
3635 2014-02-19 Tom Tromey <tromey@redhat.com>
3636
3637 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3638 Add 'ops' argument.
3639 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3640 'ops' argument.
3641 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3642 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3643 'ops' argument.
3644 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3645 argument.
3646 * linux-nat.c (save_sigtrap): Update.
3647 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3648 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3649 (linux_nat_close): Update.
3650 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3651 argument.
3652 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3653 argument.
3654 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3655 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3656 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3657 (tmp_to_async): Add 'ops' argument.
3658 (record_full_stopped_by_watchpoint, record_full_async)
3659 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3660 argument.
3661 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3662 (m32r_stopped_by_watchpoint): Add 'ops' argument.
3663 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3664 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3665 (remote_is_async_p, remote_async): Add 'ops' argument.
3666 (remote_stopped_data_address): Update.
3667 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3668 * target.c (update_current_target)
3669 (find_default_can_async_p, find_default_is_async_p): Update.
3670 (init_dummy_target): Update.
3671 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3672 * target.h (struct target_ops) <to_stopped_by_watchpoint,
3673 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3674 (target_can_async_p, target_is_async_p, target_async)
3675 (target_stopped_by_watchpoint): Update.
3676
3677 2014-02-19 Yao Qi <yao@codesourcery.com>
3678
3679 PR gdb/16220
3680 * gdbarch.sh: Remove startup_gdbarch.
3681 * gdbarch.c: Regenerated.
3682 * gdbarch.h: Likewise.
3683
3684 2014-02-17 Kevin Buettner <kevinb@redhat.com>
3685
3686 * rl78-tdep.c (rl78_g10_register_name): New function.
3687 (rl78_return_value): Add g10 support.
3688 (rl78_gdbarch_init): Register rl78_g10_register_name for the
3689 g10.
3690
3691 2014-02-17 Doug Evans <xdje42@gmail.com>
3692
3693 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3694 (SUBDIR_GUILE_SRCS): Ditto.
3695 (scm-gsmob.o): Ditto.
3696
3697 2014-02-17 Yao Qi <yao@codesourcery.com>
3698
3699 * gnu-nat.c (ILL_RPC): Declare defined function.
3700
3701 2014-02-17 Yao Qi <yao@codesourcery.com>
3702
3703 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3704 mach_msg_type_number_t.
3705 (gnu_write_inferior): Likewise.
3706
3707 2014-02-17 Yao Qi <yao@codesourcery.com>
3708
3709 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3710 in format string.
3711 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3712 (inf_validate_procs, inf_signal): Likewise.
3713 (S_exception_raise_request): Likewise.
3714 (do_mach_notify_dead_name): Likewise.
3715 (steal_exc_port): Likewise.
3716 (gnu_read_inferior): Change 'copy_count''s type to
3717 mach_msg_type_number_t.
3718 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
3719 format string.
3720
3721 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
3722
3723 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3724 flag. Adjust all users; in particular...
3725 (gnu_wait): ..., don't decrement its value in here...
3726 (gnu_create_inferior): ..., and instead set the flag in here,
3727 around the startup_inferior call, and call that one with
3728 START_INFERIOR_TRAPS_EXPECTED.
3729
3730 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3731 (ILL_RPC): ... new macro.
3732 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3733 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3734 (do_mach_notify_send_once, S_proc_setmsgport_reply)
3735 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3736 functions with ILL_RPC macro.
3737 (S_proc_pid2task_reply, S_proc_task2pid_reply)
3738 (S_proc_task2proc_reply, S_proc_proc2task_reply)
3739 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3740 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3741 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3742 (S_proc_getlogin_reply, S_proc_getsid_reply)
3743 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3744 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3745 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3746 (S_proc_getnports_reply, S_proc_is_important_reply)
3747 (S_proc_get_code_reply): New stub functions, generated with
3748 ILL_RPC macro.
3749
3750 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3751 collected the type check structures.
3752
3753 * reply_mig_hack.awk: Don't expect to see the auto keyword.
3754
3755 2014-02-14 Doug Evans <dje@google.com>
3756
3757 * target.c (target_write_partial): Fix result type.
3758
3759 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3760
3761 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3762 the proper offsets to access fpregset_t.
3763
3764 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
3765
3766 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3767 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3768 * h8300-tdep.c (setmachinelist): Remove global.
3769 * hppa-tdep.c (hppa_sigtramp): Remove global.
3770 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3771 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3772 * ravenscar-thread.c (update_target_observer): Remove global.
3773 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3774
3775 2014-02-12 Tom Tromey <tromey@redhat.com>
3776
3777 * common/rsp-low.c: Update comments.
3778 * common/rsp-low.h: Update comments.
3779
3780 2014-02-12 Tom Tromey <tromey@redhat.com>
3781
3782 * common/rsp-low.c (convert_ascii_to_int): Remove.
3783 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3784
3785 2014-02-12 Tom Tromey <tromey@redhat.com>
3786
3787 * common/rsp-low.h (unhexify): Don't declare.
3788 * common/rsp-low.c (unhexify): Remove.
3789
3790 2014-02-12 Tom Tromey <tromey@redhat.com>
3791
3792 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3793 * common/rsp-low.c (convert_int_to_ascii): Remove.
3794
3795 2014-02-12 Tom Tromey <tromey@redhat.com>
3796
3797 * common/rsp-low.h (hexify): Don't declare.
3798 * common/rsp-low.c (hexify): Remove.
3799
3800 2014-02-12 Tom Tromey <tromey@redhat.com>
3801
3802 * common/rsp-low.c (hexify): Never take strlen of argument.
3803
3804 2014-02-12 Tom Tromey <tromey@redhat.com>
3805
3806 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3807 * remote.c (extended_remote_run, remote_rcmd)
3808 (remote_download_trace_state_variable, remote_save_trace_data)
3809 (remote_set_trace_notes): Update.
3810 * tracepoint.c (encode_source_string, tfile_write_status)
3811 (tfile_write_uploaded_tsv): Update.
3812
3813 2014-02-12 Tom Tromey <tromey@redhat.com>
3814
3815 * tracepoint.c: Include rsp-low.h.
3816 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3817 * remote.c: Include rsp-low.h.
3818 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3819 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3820 (remote_unescape_input): Move to common/rsp-low.c.
3821 * common/rsp-low.h: New file.
3822 * common/rsp-low.c: New file.
3823 * Makefile.in (SFILES): Add common/rsp-low.c.
3824 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3825 (COMMON_OBS): Add rsp-low.o.
3826 (rsp-low.o): New target.
3827
3828 2014-02-12 Tom Tromey <tromey@redhat.com>
3829
3830 * utils.h: Include print-utils.h.
3831 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3832 (int_string, core_addr_to_string, core_addr_to_string_nz)
3833 (hex_string, hex_string_custom): Don't declare.
3834 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3835 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3836 (hex_string_custom, int_string, core_addr_to_string)
3837 (core_addr_to_string_nz, host_address_to_string): Move to
3838 common/print-utils.c.
3839 * common/print-utils.h: New file.
3840 * common/print-utils.c: New file
3841 * Makefile.in (SFILES): Add common/print-utils.c.
3842 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3843 (COMMON_OBS): Add print-utils.o.
3844 (print-utils.o): New target.
3845
3846 2014-02-12 Tom Tromey <tromey@redhat.com>
3847
3848 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3849
3850 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3851
3852 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3853
3854 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3855
3856 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3857 if a PT_IO ptrace request returns sucessfully but indicates that 0
3858 bytes were transferred.
3859
3860 2014-02-12 Pedro Alves <palves@redhat.com>
3861 Kevin Buettner <kevinb@redhat.com>
3862
3863 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3864 TYPE_INSTANCE_FLAG_CODE_SPACE.
3865
3866 2014-02-12 Pedro Alves <palves@redhat.com>
3867
3868 * h8300-tdep.c (pseudo_from_raw_register)
3869 (raw_from_pseudo_register): New functions.
3870 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3871 them.
3872
3873 2014-02-12 Pedro Alves <palves@redhat.com>
3874
3875 * h8300-tdep.c (h8300_register_sim_regno): New function.
3876 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3877 gdbarch_register_sim_regno hook.
3878
3879 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3880
3881 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3882
3883 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3884
3885 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3886
3887 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3888
3889 * obsd-tdep.h (obsd_init_abi): New prototype.
3890 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3891 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3892 (obsd_init_abi): New functions.
3893 * i386obsd-tdep.c: Include "obsd-tdep.h".
3894 (i386obsd_init_abi): Call obsd_init_abi.
3895 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3896 (amd64obsd_init_abi): Call obsd_init_abi.
3897 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3898 obsd-tdep.c to gdb_target_obs.
3899
3900 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3901
3902 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3903 double float arguments to 16-byte in the argument slots.
3904
3905 2014-02-11 Doug Evans <xdje42@gmail.com>
3906
3907 * configure.ac: Don't crash if pkg-config is not found and guile
3908 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3909 in guile checks.
3910 * configure: Regenerate.
3911
3912 2014-02-11 Yao Qi <yao@codesourcery.com>
3913
3914 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3915 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3916 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3917 * gnu-nat.c (gnu_xfer_memory): Likewise.
3918 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3919 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3920 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3921 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3922
3923 2014-02-11 Yao Qi <yao@codesourcery.com>
3924
3925 * target.h (enum target_xfer_error): Rename to ...
3926 (enum target_xfer_status): ... it. New. All users updated.
3927 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3928 New.
3929 (TARGET_XFER_STATUS_ERROR_P): New macro.
3930 (target_xfer_error_to_string): Remove declaration.
3931 (target_xfer_status_to_string): Declare.
3932 (target_xfer_partial_ftype): Adjust it.
3933 (struct target_ops) <to_xfer_partial>: Return
3934 target_xfer_status. Add argument xfered_len. Update
3935 comments.
3936 * target.c (target_xfer_error_to_string): Rename to ...
3937 (target_xfer_status_to_string): ... it. New. All callers
3938 updated.
3939 (target_read_live_memory): Likewise. Call target_xfer_partial
3940 instead of target_read.
3941 (memory_xfer_live_readonly_partial): Return
3942 target_xfer_status. Add argument xfered_len.
3943 (raw_memory_xfer_partial): Likewise.
3944 (memory_xfer_partial_1): Likewise.
3945 (memory_xfer_partial): Likewise.
3946 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3947 properly. Update debug message.
3948 (default_xfer_partial, current_xfer_partial): Likewise.
3949 (target_write_partial): Likewise.
3950 (target_read_partial): Likewise. All callers updated.
3951 (read_whatever_is_readable): Likewise.
3952 (target_write_with_progress): Likewise.
3953 (target_read_alloc_1): Likewise.
3954
3955 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3956 * auxv.c (procfs_xfer_auxv): Likewise.
3957 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3958 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3959 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3960 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3961 * corefile.c (read_memory): Adjust.
3962 * corelow.c (core_xfer_partial): Likewise.
3963 * ctf.c (ctf_xfer_partial): Likewise.
3964 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3965 updated.
3966 (darwin_xfer_partial): Likewise.
3967 * exec.c (section_table_xfer_memory_partial): Likewise. All
3968 callers updated.
3969 (exec_xfer_partial): Likewise.
3970 * exec.h (section_table_xfer_memory_partial): Update
3971 declaration.
3972 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3973 negative.
3974 (gnu_xfer_partial): Likewise.
3975 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3976 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3977 (ia64_hpux_xfer_solib_got): Likewise.
3978 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3979 type of 'partial_len' to ULONGEST.
3980 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3981 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3982 (linux_nat_xfer_partial): Likewise.
3983 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3984 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3985 * monitor.c (monitor_xfer_memory): Likewise.
3986 (monitor_xfer_partial): Likewise.
3987 * procfs.c (procfs_xfer_partial): Likewise.
3988 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3989 * record-full.c (record_full_xfer_partial): Likewise.
3990 (record_full_core_xfer_partial): Likewise.
3991 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3992 (gdbsim_xfer_partial): Likewise.
3993 * remote.c (remote_write_bytes_aux): Likewise. All callers
3994 updated.
3995 (remote_write_bytes, remote_read_bytes): Likewise. All
3996 callers updated.
3997 (remote_flash_erase): Likewise. All callers updated.
3998 (remote_write_qxfer): Likewise. All callers updated.
3999 (remote_read_qxfer): Likewise. All callers updated.
4000 (remote_xfer_partial): Likewise.
4001 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4002 (rs6000_xfer_shared_libraries): Likewise.
4003 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4004 (sol_thread_xfer_partial): Likewise.
4005 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4006 (sparc_xfer_partial): Likewise.
4007 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4008 updated.
4009 (spu_xfer_partial): Likewise.
4010 * spu-multiarch.c (spu_xfer_partial): Likewise.
4011 * tracepoint.c (tfile_xfer_partial): Likewise.
4012 * windows-nat.c (windows_xfer_memory): Likewise.
4013 (windows_xfer_shared_libraries): Likewise.
4014 (windows_xfer_partial): Likewise.
4015 * valprint.c: Replace 'target_xfer_error' with
4016 'target_xfer_status' in comments.
4017
4018 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4019
4020 Checked in by Joel Brobecker <brobecker@adacore.com>.
4021 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4022
4023 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4024
4025 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4026 function parameters.
4027
4028 2014-02-10 Will Newton <will.newton@linaro.org>
4029
4030 * elfread.c (elf_rel_plt_read): Look for a .got section if
4031 looking up .got.plt fails.
4032 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4033 on address passed to elf_gnu_ifunc_record_cache.
4034 (elf_gnu_ifunc_resolve_addr): Likewise.
4035 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4036
4037 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4038
4039 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4040 (X_RETTURN): New macro.
4041 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4042
4043 * sparc64-tdep.c (sparc64_init_abi): Hook
4044 sparc_in_function_epilogue_p.
4045
4046 2014-02-10 Gary Benson <gbenson@redhat.com>
4047
4048 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4049 Rename name_matcher to symbol_matcher.
4050
4051 2014-02-10 Gary Benson <gbenson@redhat.com>
4052
4053 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4054 Use expand_symtabs_file_matcher_ftype and
4055 expand_symtabs_symbol_matcher_ftype.
4056
4057 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4058
4059 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4060 (struct ada_symbol_cache): New.
4061 (ada_free_symbol_cache): Forward declare.
4062 (struct ada_pspace_data): New.
4063 (ada_pspace_data_handle): New static global.
4064 (get_ada_pspace_data, ada_pspace_data_cleanup)
4065 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4066 (cache_space, cache): Delete, now folded inside struct
4067 ada_pspace_data.
4068 (ada_get_symbol_cache): New function.
4069 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4070 implementation.
4071 (_initialize_ada_language): Remove initialization of cache_space.
4072 Move call to observer_attach_inferior_exit up, grouping it
4073 with the other observer registrations inside this function.
4074 Rename command to be more general. Add call to
4075 register_program_space_data_with_cleanup.
4076
4077 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4078
4079 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4080 ada_new_objfile_observer.
4081 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4082 (_initialize_tasks): Update uses of ada_new_objfile_observer
4083 and ada_tasks_normal_stop_observer.
4084
4085 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4086
4087 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4088 returned by the 'Length attribute to integer.
4089
4090 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4091
4092 * ada-lang.c (_initialize_ada_language): Initialize
4093 cache_space obstack.
4094
4095 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4096
4097 * ada-lang.c (HASH_SIZE): New macro.
4098 (struct cache_entry): New type.
4099 (cache_space, cache): New static globals.
4100 (ada_clear_symbol_cache, find_entry): New functions.
4101 (lookup_cached_symbol, cache_symbol): Implement.
4102 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4103 (_initialize_ada_language): Attach ada_new_objfile_observer
4104 and ada_free_objfile_observer.
4105
4106 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4107
4108 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4109 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4110 struct block * parameter.
4111 (ada_lookup_symbol_list_worker): Constify local variable "block".
4112 Remove cast which is no longer necessary.
4113
4114 2014-02-10 Doug Evans <xdje42@gmail.com>
4115
4116 Add Guile as an extension language.
4117 * NEWS: Mention Guile scripting.
4118 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4119 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4120 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4121 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4122 (CLIBS): Add GUILE_LIBS.
4123 (install-guile): New rule.
4124 (guile.o): New rule.
4125 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4126 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4127 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4128 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4129 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4130 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4131 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4132 * configure.ac: New option --with-guile.
4133 * configure: Regenerate.
4134 * config.in: Regenerate.
4135 * auto-load.c: Remove #include "python/python.h". Add #include
4136 "gdb/section-scripts.h".
4137 (source_section_scripts): Handle Guile scripts.
4138 (_initialize_auto_load): Add name of Guile objfile script to
4139 scripts-directory help text.
4140 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4141 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4142 (struct breakpoint): New member scm_bp_object.
4143 * defs.h (enum command_control_type): New value guile_control.
4144 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4145 "extension.h".
4146 (show_user): Update comment.
4147 (_initialize_cli_cmds): Update help text for "show user". Update help
4148 text for max-user-call-depth.
4149 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4150 "extension.h".
4151 (multi_line_command_p): Add guile_control.
4152 (print_command_lines): Handle guile_control.
4153 (execute_control_command, recurse_read_control_structure): Ditto.
4154 (process_next_line): Recognize "guile" commands.
4155 * disasm.c (gdb_disassemble_info): Make non-static.
4156 * disasm.h: #include "dis-asm.h".
4157 (struct gdbarch): Add forward decl.
4158 (gdb_disassemble_info): Declare.
4159 * extension.c: #include "guile/guile.h".
4160 (extension_languages): Add guile.
4161 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4162 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4163 * gdbtypes.c (get_unsigned_type_max): New function.
4164 (get_signed_type_minmax): New function.
4165 * gdbtypes.h (get_unsigned_type_max): Declare.
4166 (get_signed_type_minmax): Declare.
4167 * guile/README: New file.
4168 * guile/guile-internal.h: New file.
4169 * guile/guile.c: New file.
4170 * guile/guile.h: New file.
4171 * guile/scm-arch.c: New file.
4172 * guile/scm-auto-load.c: New file.
4173 * guile/scm-block.c: New file.
4174 * guile/scm-breakpoint.c: New file.
4175 * guile/scm-disasm.c: New file.
4176 * guile/scm-exception.c: New file.
4177 * guile/scm-frame.c: New file.
4178 * guile/scm-gsmob.c: New file.
4179 * guile/scm-iterator.c: New file.
4180 * guile/scm-lazy-string.c: New file.
4181 * guile/scm-math.c: New file.
4182 * guile/scm-objfile.c: New file.
4183 * guile/scm-ports.c: New file.
4184 * guile/scm-pretty-print.c: New file.
4185 * guile/scm-safe-call.c: New file.
4186 * guile/scm-string.c: New file.
4187 * guile/scm-symbol.c: New file.
4188 * guile/scm-symtab.c: New file.
4189 * guile/scm-type.c: New file.
4190 * guile/scm-utils.c: New file.
4191 * guile/scm-value.c: New file.
4192 * guile/lib/gdb.scm: New file.
4193 * guile/lib/gdb/boot.scm: New file.
4194 * guile/lib/gdb/experimental.scm: New file.
4195 * guile/lib/gdb/init.scm: New file.
4196 * guile/lib/gdb/iterator.scm: New file.
4197 * guile/lib/gdb/printing.scm: New file.
4198 * guile/lib/gdb/types.scm: New file.
4199 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4200 (VPATH): Add $(GUILE_SRCDIR).
4201 (GUILE_DIR): New variable.
4202 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4203 (all): Add stamp-guile dependency.
4204 (stamp-guile): New rule.
4205 (clean-guile, install-guile, uninstall-guile): New rules.
4206 (install-only): Add install-guile dependency.
4207 (uninstall): Add uninstall-guile dependency.
4208 (clean): Add clean-guile dependency.
4209
4210 2014-02-09 Doug Evans <xdje42@gmail.com>
4211
4212 Revert this patch (which I approved, mea culpa).
4213
4214 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4215
4216 * Makefile.in (all-lib): Remove.
4217 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4218
4219 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4220
4221 Fix Python stack corruption.
4222 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4223 gdb_py_longest.
4224
4225 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4226
4227 * Makefile.in (all-lib): Remove.
4228 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4229
4230 2014-02-07 Doug Evans <dje@google.com>
4231
4232 * extension-priv.h (extension_language_script_ops): Add comment.
4233 (extension_language_ops): Add comment.
4234 (active_ext_lang_state): Fix typo in comment.
4235
4236 2014-02-07 Pedro Alves <palves@redhat.com>
4237
4238 PR breakpoints/16292
4239 * infrun.c (handle_signal_stop) <signal arrives while stepping
4240 over a breakpoint>: Switch back to the stepping thread.
4241
4242 2014-02-07 Yao Qi <yao@codesourcery.com>
4243
4244 * target.c (target_xfer_partial): Return zero if LEN is zero.
4245
4246 2014-02-07 Yao Qi <yao@codesourcery.com>
4247
4248 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
4249 (ld_so_xfer_auxv): Likewise.
4250 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4251 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4252 * corelow.c (core_xfer_partial): Likewise.
4253 * ctf.c (ctf_xfer_partial): Likewise.
4254 * darwin-nat.c (darwin_read_dyld_info): Likewise.
4255 (darwin_xfer_partial): Likewise.
4256 * exec.c (exec_xfer_partial): Likewise.
4257 * gnu-nat.c (gnu_xfer_partial): Likewise.
4258 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
4259 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4260 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4261 * linux-nat.c (linux_xfer_siginfo): Likewise.
4262 (linux_proc_xfer_spu): Likewise.
4263 * procfs.c (procfs_xfer_partial): Likewise.
4264 * record-full.c (record_full_xfer_partial): Likewise.
4265 (record_full_core_xfer_partial): Likewise.
4266 * remote-sim.c (gdbsim_xfer_partial): Likewise.
4267 * remote.c (remote_write_qxfer): Likewise.
4268 (remote_write_qxfer, remote_read_qxfer): Likewise.
4269 (remote_xfer_partial): Likewise.
4270 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4271 (rs6000_xfer_shared_libraries): Likewise.
4272 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4273 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4274 (spu_xfer_partial): Likewise.
4275 * target.c (memory_xfer_partial_1): Likewise.
4276 * tracepoint.c (tfile_xfer_partial): Likewise.
4277 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
4278 (windows_xfer_partial): Likewise.
4279
4280 2014-02-07 Yao Qi <yao@codesourcery.com>
4281
4282 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
4283 comments.
4284 (core_xfer_shared_libraries_aix): Likewise.
4285 * gdbarch.c, gdbarch.h: Regenerated.
4286 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
4287 ULONGEST. Change 'len_avail' type to ULONGEST.
4288 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4289 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4290 declaration.
4291 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
4292
4293 2014-02-07 Yao Qi <yao@codesourcery.com>
4294
4295 * corefile.c (memory_error): Get 'exception' from ERR and pass
4296 'exception' to throw_error.
4297
4298 2014-02-06 Doug Evans <xdje42@gmail.com>
4299
4300 * configure.ac (libpython checking): Remove all but python.o from
4301 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
4302 * configure: Regenerate.
4303
4304 * Makefile.in (SFILES): Add extension.c.
4305 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
4306 (COMMON_OBS): Add extension.o.
4307 * extension.h: New file.
4308 * extension-priv.h: New file.
4309 * extension.c: New file.
4310
4311 * python/python-internal.h: #include "extension.h".
4312 (gdbpy_auto_load_enabled): Declare.
4313 (gdbpy_apply_val_pretty_printer): Declare.
4314 (gdbpy_apply_frame_filter): Declare.
4315 (gdbpy_preserve_values): Declare.
4316 (gdbpy_breakpoint_cond_says_stop): Declare.
4317 (gdbpy_breakpoint_has_cond): Declare.
4318 (void source_python_script_for_objfile): Delete.
4319 * python/python.c: #include "extension-priv.h".
4320 Delete inclusion of "observer.h".
4321 (extension_language_python): Moved here and renamed from
4322 script_language_python in py-auto-load.c.
4323 Redefined to be of type extension_language_defn.
4324 (python_extension_script_ops): New global.
4325 (python_extension_ops): New global.
4326 (struct python_env): New member previous_active.
4327 (restore_python_env): Call restore_active_ext_lang.
4328 (ensure_python_env): Call set_active_ext_lang.
4329 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
4330 New arg extlang.
4331 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
4332 New arg extlang.
4333 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
4334 New arg extlang.
4335 (gdbpy_eval_from_control_command): Renamed from
4336 eval_python_from_control_command, made static. New arg extlang.
4337 (gdbpy_source_script) Renamed from source_python_script, made static.
4338 New arg extlang.
4339 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
4340 result to int. New arg extlang.
4341 (gdbpy_source_objfile_script): Renamed from
4342 source_python_script_for_objfile, made static. New arg extlang.
4343 (gdbpy_start_type_printers): Renamed from start_type_printers, made
4344 static. New args extlang, extlang_printers. Change result type to
4345 "void".
4346 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
4347 static. New arg extlang. Rename arg printers to extlang_printers
4348 and change type to ext_lang_type_printers *.
4349 (gdbpy_free_type_printers): Renamed from free_type_printers, made
4350 static. Replace argument arg with extlang, extlang_printers.
4351 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
4352 (!HAVE_PYTHON, source_python_script): Delete.
4353 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
4354 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
4355 (!HAVE_PYTHON, start_type_printers): Delete.
4356 (!HAVE_PYTHON, apply_type_printers): Delete.
4357 (!HAVE_PYTHON, free_type_printers): Delete.
4358 (_initialize_python): Delete call to observer_attach_before_prompt.
4359 (finalize_python): Set/restore active extension language.
4360 (gdbpy_finish_initialization) Renamed from
4361 finish_python_initialization, made static. New arg extlang.
4362 (gdbpy_initialized): New function.
4363 * python/python.h: #include "extension.h". Delete #include
4364 "value.h", "mi/mi-cmds.h".
4365 (extension_language_python): Declare.
4366 (GDBPY_AUTO_FILE_NAME): Delete.
4367 (enum py_bt_status): Moved to extension.h and renamed to
4368 ext_lang_bt_status.
4369 (enum frame_filter_flags): Moved to extension.h.
4370 (enum py_frame_args): Moved to extension.h and renamed to
4371 ext_lang_frame_args.
4372 (finish_python_initialization): Delete.
4373 (eval_python_from_control_command): Delete.
4374 (source_python_script): Delete.
4375 (apply_val_pretty_printer): Delete.
4376 (apply_frame_filter): Delete.
4377 (preserve_python_values): Delete.
4378 (gdbpy_script_language_defn): Delete.
4379 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
4380 (start_type_printers, apply_type_printers, free_type_printers): Delete.
4381
4382 * auto-load.c: #include "extension.h".
4383 (GDB_AUTO_FILE_NAME): Delete.
4384 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
4385 (script_language_gdb): Delete, moved to extension.c and renamed to
4386 extension_language_gdb.
4387 (source_gdb_script_for_objfile): Delete.
4388 (auto_load_pspace_info): New member unsupported_script_warning_printed.
4389 (loaded_script): Change type of language member to
4390 struct extension_language_defn *.
4391 (init_loaded_scripts_info): Initialize
4392 unsupported_script_warning_printed.
4393 (maybe_add_script): Make static. Change type of language arg to
4394 struct extension_language_defn *.
4395 (clear_section_scripts): Reset unsupported_script_warning_printed.
4396 (auto_load_objfile_script_1): Rewrite to use extension language API.
4397 (auto_load_objfile_script): Make public. Remove support-compiled-in
4398 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4399 (source_section_scripts): Rewrite to use extension language API.
4400 (load_auto_scripts_for_objfile): Rewrite to use
4401 auto_load_scripts_for_objfile.
4402 (collect_matching_scripts_data): Change type of language member to
4403 struct extension_language_defn *.
4404 (auto_load_info_scripts): Change type of language arg to
4405 struct extension_language_defn *.
4406 (unsupported_script_warning_print): New function.
4407 (script_not_found_warning_print): Make static.
4408 (_initialize_auto_load): Rewrite construction of scripts-directory
4409 help.
4410 * auto-load.h (struct objfile): Add forward decl.
4411 (struct script_language): Delete.
4412 (struct auto_load_pspace_info): Add forward decl.
4413 (struct extension_language_defn): Add forward decl.
4414 (maybe_add_script): Delete.
4415 (auto_load_objfile_script): Declare.
4416 (script_not_found_warning_print): Delete.
4417 (auto_load_info_scripts): Update prototype.
4418 (auto_load_gdb_scripts_enabled): Declare.
4419 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4420 auto_load_python_scripts_enabled and made public.
4421 (script_language_python): Delete, moved to python.c.
4422 (gdbpy_script_language_defn): Delete.
4423 (info_auto_load_python_scripts): Update to use
4424 extension_language_python.
4425
4426 * breakpoint.c (condition_command): Replace call to
4427 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4428 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4429 with call to breakpoint_ext_lang_cond_says_stop.
4430 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4431 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
4432 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4433 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4434 New arg slang.
4435 (local_setattro): Print name of extension language with existing
4436 stop condition.
4437
4438 * valprint.c (val_print, value_print): Update to call
4439 apply_ext_lang_val_pretty_printer.
4440 * cp-valprint.c (cp_print_value): Update call to
4441 apply_ext_lang_val_pretty_printer.
4442 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4443 (gdbpy_apply_val_pretty_printer): Renamed from
4444 apply_val_pretty_printer. New arg extlang.
4445 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4446
4447 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4448 extension language API.
4449 * cli/cli-script.c (execute_control_command): Update to call
4450 eval_ext_lang_from_control_command.
4451
4452 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4453 enum ext_lang_bt_status values. Update call to
4454 apply_ext_lang_frame_filter.
4455 (mi_cmd_stack_list_locals): Ditto.
4456 (mi_cmd_stack_list_args): Ditto.
4457 (mi_cmd_stack_list_variables): Ditto.
4458 * mi/mi-main.c: Delete #include "python/python-internal.h".
4459 Add #include "extension.h".
4460 (mi_cmd_list_features): Replace reference to python internal variable
4461 gdb_python_initialized with call to ext_lang_initialized_p.
4462
4463 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4464 Update to use enum ext_lang_frame_args. Update to call
4465 apply_ext_lang_frame_filter.
4466 * python/py-framefilter.c (extract_sym): Update to use enum
4467 ext_lang_bt_status.
4468 (extract_value, py_print_type, py_print_value): Ditto.
4469 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4470 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4471 (py_print_frame): Ditto.
4472 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4473 New arg extlang. Update to use enum ext_lang_bt_status.
4474
4475 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4476 finish_python_initialization. Replace with call to
4477 finish_ext_lang_initialization.
4478
4479 * typeprint.c (do_free_global_table): Update to call
4480 free_ext_lang_type_printers.
4481 (create_global_typedef_table): Update to call
4482 start_ext_lang_type_printers.
4483 (find_global_typedef): Update to call apply_ext_lang_type_printers.
4484 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4485 (type_print_options): Change type of global_printers from "void *"
4486 to "struct ext_lang_type_printers *".
4487
4488 * value.c (preserve_values): Update to call preserve_ext_lang_values.
4489 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4490 (gdbpy_preserve_values): Renamed from preserve_python_values.
4491 New arg extlang.
4492 (!HAVE_PYTHON, preserve_python_values): Delete.
4493
4494 * utils.c (quit_flag): Delete, moved to extension.c.
4495 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4496 extension.c.
4497
4498 * eval.c: Delete #include "python/python.h".
4499 * main.c: Delete #include "python/python.h".
4500
4501 * defs.h: Update comment.
4502
4503 2014-02-06 Joel Brobecker <brobecker@adacore.com>
4504
4505 GDB 7.7 released.
4506
4507 2014-02-05 Mark Kettenis <kettenis@gnu.org>
4508
4509 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4510 defined.
4511
4512 2014-02-05 Yao Qi <yao@codesourcery.com>
4513
4514 * remote.c (remote_pass_signals): Remove local 'buf' and use
4515 rs->buf.
4516 (remote_program_signals): Likewise.
4517
4518 2014-02-05 Yao Qi <yao@codesourcery.com>
4519
4520 * ctf.c: Include "inferior.h" and "gdbthread.h".
4521 (CTF_PID): A new macro.
4522 (ctf_open): Call inferior_appeared and add_thread_silent.
4523 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4524 (ctf_thread_alive): New function.
4525 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4526
4527 2014-02-05 Yao Qi <yao@codesourcery.com>
4528
4529 Revert this patch:
4530
4531 2013-05-24 Yao Qi <yao@codesourcery.com>
4532
4533 * tracepoint.c (TFILE_PID): Remove.
4534 (tfile_open): Don't add thread and inferior.
4535 (tfile_close): Don't set 'inferior_ptid'. Don't call
4536 exit_inferior_silent.
4537 (tfile_thread_alive): Remove.
4538 (init_tfile_ops): Don't set field 'to_thread_alive' of
4539 tfile_ops.
4540
4541 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
4542
4543 * remote.c (remote_start_remote): Call remote_check_symbols even
4544 if only symbol-file (not file) has been given.
4545
4546 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4547
4548 * gdbarch.sh (skip_entrypoint): New callback.
4549 * gdbarch.c, gdbarch.h: Regenerate.
4550 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4551 * infrun.c (fill_in_stop_func): Likewise.
4552 * ppc-linux-tdep.c: Include "elf/ppc64.h".
4553 (ppc_elfv2_elf_make_msymbol_special): New function.
4554 (ppc_elfv2_skip_entrypoint): Likewise.
4555 (ppc_linux_init_abi): Install them for ELFv2.
4556
4557 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4558
4559 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4560 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4561 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4562 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
4563 structures returned in GPRs.
4564
4565 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4566
4567 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4568 offset to the stack parameter list for the ELFv2 ABI.
4569
4570 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4571
4572 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4573 set_gdbarch_convert_from_func_ptr_addr and
4574 set_gdbarch_elf_make_msymbol_special for ELFv1.
4575 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4576 function descriptors on ELFv1.
4577 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
4578 set up r12 at function entry.
4579
4580 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4581
4582 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4583 (struct gdbarch_tdep): New member elf_abi.
4584
4585 * rs6000-tdep.c: Include "elf/ppc64.h".
4586 (rs6000_gdbarch_init): Detect ELF ABI version.
4587
4588 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4589
4590 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4591 within a register pair holding a DFP 128-bit value on little-endian.
4592 (ppc64_sysv_abi_return_value_base): Likewise.
4593 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4594 (dfp_pseudo_register_write): Likewise.
4595
4596 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4597
4598 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4599 offset on little-endian when passing _Decimal32.
4600 (ppc64_sysv_abi_return_value_base): Likewise for return values.
4601
4602 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4603
4604 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4605 of the overlapped FP register within the VSX register on little-
4606 endian platforms.
4607 (efpr_pseudo_register_write): Likewise.
4608
4609 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4610
4611 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4612 offset on little-endian when passing small structures.
4613
4614 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4615
4616 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4617 (struct ppc64_sysv_argpos): New data structure.
4618 (ppc64_sysv_abi_push_float): Remove.
4619 (ppc64_sysv_abi_push_val): New function.
4620 (ppc64_sysv_abi_push_integer): Likewise.
4621 (ppc64_sysv_abi_push_freg): Likewise.
4622 (ppc64_sysv_abi_push_vreg): Likewise.
4623 (ppc64_sysv_abi_push_param): Likewise.
4624 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4625 (ppc64_sysv_abi_return_value_base): New function.
4626 (ppc64_sysv_abi_return_value): Refactor to use it.
4627
4628 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
4629
4630 * NEWS: Document new target powerpc64le-*-linux*.
4631
4632 2014-02-04 Mark Kettenis <kettenis@gnu.org>
4633
4634 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4635 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4636 core dumps.
4637 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4638 register set used in ELF core dumps. Add floating-point register set.
4639
4640 2014-02-03 Kevin Buettner <kevinb@redhat.com>
4641
4642 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
4643 dwarf2_to_gdb[] table using symbolic constants. Adjust
4644 penultimate entry from number representing the PC register
4645 to symbolic constant representing the MDR register. Add
4646 constant for the PC register to the end of the table.
4647
4648 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4649
4650 * bsd-kvm.c: Include <sys/param.h>
4651
4652 2014-02-03 Mark Kettenis <kettenis@gnu.org>
4653
4654 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4655
4656 2014-01-31 Joel Brobecker <brobecker@adacore.com>
4657
4658 * ada-lang.h (clear_ada_sym_cache): Delete.
4659
4660 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
4661
4662 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4663
4664 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4665
4666 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4667 the sigreturn register save area only if the syscall is
4668 sigreturn.
4669
4670 2014-01-29 Joel Brobecker <brobecker@adacore.com>
4671
4672 * valops.c (value_slice): Minor reformatting.
4673
4674 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
4675
4676 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4677
4678 2014-01-28 Joel Brobecker <brobecker@adacore.com>
4679
4680 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4681 New static globals.
4682 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4683 (ada_ignore_descriptive_types_p): New static global.
4684 (find_parallel_type_by_descriptive_type): Return immediately
4685 if ada_ignore_descriptive_types_p is set.
4686 (_initialize_ada_language): Register new commands "maintenance
4687 set ada", "maintenance show ada", "maintenance set ada
4688 ignore-descriptive-types" and "maintenance show ada
4689 ignore-descriptive-types".
4690 * NEWS: Add entry for new "maint ada set/show
4691 ignore-descriptive-types" commands.
4692
4693 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
4694
4695 * record-btrace.c (record_btrace_close): Call btrace_teardown
4696 for all threads.
4697
4698 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4699
4700 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4701 "ui-out.h".
4702
4703 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4704
4705 * ada-typeprint (type_is_full_subrange_of_target_type):
4706 New function.
4707 (print_range): Add parameter bounds_prefered_p. If not set,
4708 try printing range types using the name of their base type.
4709 (print_range_type): Add parameter bounds_prefered_p.
4710 Use it in call to print_range.
4711 (print_array_type, ada_print_type): Update calls to print_range
4712 and print_range_type.
4713
4714 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4715
4716 * ada-typeprint.c (print_array_type, print_choices, print_range)
4717 (print_range_bound, print_dynamic_range_bound, print_range_type):
4718 Remove declaration.
4719
4720 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4721
4722 * ada-typeprint.c (print_range): Add missing empty line
4723 after local declaration.
4724
4725 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4726
4727 * ada-valprint.c (print_optional_low_bound): Get index_type's
4728 target type for as long as it is a TYPE_CODE_RANGE.
4729
4730 2014-01-27 Joel Brobecker <brobecker@adacore.com>
4731
4732 * procfs.c (procfs_make_note_section): Remove assertion and
4733 associated comment.
4734
4735 2014-01-24 Yao Qi <yao@codesourcery.com>
4736
4737 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4738 * corelow.c (get_core_siginfo): Likewise.
4739
4740 2014-01-24 Yao Qi <yao@codesourcery.com>
4741
4742 * remote.c (remote_write_bytes_aux): Change type of 'len' to
4743 ULONGEST. Don't check 'len' is negative.
4744 (remote_write_bytes): Change type of 'len' to ULONGEST.
4745
4746 2014-01-23 Tom Tromey <tromey@redhat.com>
4747
4748 PR python/16485:
4749 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4750 Handle exception from frame.block.
4751 (FrameVars.fetch_frame_locals): Likewise.
4752
4753 2014-01-23 Tom Tromey <tromey@redhat.com>
4754
4755 PR python/16487:
4756 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4757 on a NULL pointer. Move "goto error" to correct place.
4758
4759 2014-01-23 Tom Tromey <tromey@redhat.com>
4760
4761 PR python/16491:
4762 * python/py-framefilter.c (apply_frame_filter): Call
4763 ensure_python_env after computing gdbarch.
4764
4765 2014-01-23 Yao Qi <yao@codesourcery.com>
4766
4767 * target.c (raw_memory_xfer_partial): Change argument type
4768 from void * to gdb_byte *.
4769 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4770
4771 2014-01-22 Doug Evans <dje@google.com>
4772
4773 New gdbserver option --debug-format=timestamp.
4774 * NEWS: Mention it.
4775
4776 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4777
4778 * syscalls/s390x-linux.xml: New file.
4779 * syscalls/s390-linux.xml: New file.
4780 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4781 (XML_SYSCALL_FILENAME_S390X): Likewise.
4782 (op_svc): New enum value for SVC opcode.
4783 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4784 (s390_linux_get_syscall_number): New function.
4785 (s390_gdbarch_init): Register '*get_syscall_number' and the
4786 syscall xml file name.
4787 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4788 "s390-linux.xml" and "s390x-linux.xml".
4789 * NEWS: Announce new feature.
4790
4791 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4792
4793 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4794
4795 2014-01-22 Pedro Alves <palves@redhat.com>
4796
4797 * xtensa-config.c: Include defs.h.
4798
4799 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4800
4801 * common/common-utils.h: Add "ARI:" comment beside __func__
4802 reference.
4803
4804 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4805
4806 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4807 documentation a bit.
4808
4809 2014-01-21 Roland McGrath <mcgrathr@google.com>
4810
4811 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4812 * configure: Regenerate.
4813 * aclocal.m4: Regenerate.
4814 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4815 New substituted variables.
4816 (install-strip): New target.
4817 (INSTALL_SCRIPT): New substituted variable.
4818 (FLAGS_TO_PASS): Add it.
4819 (install-only): Use $(INSTALL_SCRIPT) rather than
4820 $(INSTALL_PROGRAM) for gcore.
4821
4822 2014-01-20 Tom Tromey <tromey@redhat.com>
4823
4824 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4825 together.
4826
4827 2014-01-20 Tom Tromey <tromey@redhat.com>
4828
4829 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4830 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4831 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4832 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4833 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4834 (struct cmd_list_element) <flags>: Remove.
4835 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4836 doc_allocated>: New fields.
4837 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4838 bitfields.
4839 * maint.c (maintenance_do_deprecate): Update.
4840 * top.c (execute_command): Update.
4841
4842 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4843
4844 * xtensa-linux-nat.c: Include asm/ptrace.h.
4845
4846 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4847
4848 * Makefile.in (SFILES): Add d-support.c.
4849 (COMMON_OBS): Add d-support.o.
4850 * d-lang.h (d_parse_symbol): Add comment, now defined in
4851 d-support.c.
4852 * d-lang.c (parse_call_convention)
4853 (parse_attributes, parse_function_types)
4854 (parse_function_args, parse_type, parse_identifier)
4855 (call_convention_p, d_parse_symbol): Move functions to ...
4856 * d-support.c: ... New file.
4857
4858 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4859
4860 * d-lang.h (d_parse_symbol): Add declaration.
4861 * d-lang.c (extract_identifiers)
4862 (extract_type_info): Remove functions.
4863 (parse_call_convention, parse_attributes)
4864 (parse_function_types, parse_function_args)
4865 (parse_type, parse_identifier, call_convention_p)
4866 (d_parse_symbol): New functions.
4867 (d_demangle): Use d_parse_symbol to demangle D symbols.
4868
4869 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4870
4871 * d-lang.h (struct builtin_d_type): New data type.
4872 (builtin_d_type): Add declaration.
4873 * d-lang.c (d_language_arch_info, build_d_types)
4874 (builtin_d_type): New functions.
4875 (enum d_primitive_types): New data type.
4876 (d_language_defn): Change c_language_arch_info to
4877 d_language_arch_info.
4878 (d_type_data): New static variable.
4879 (_initialize_d_language): Initialize d_type_data.
4880
4881 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4882
4883 * d-lang.h (d_main_name): Add declaration.
4884 * d-lang.c (d_main_name): New function.
4885 * symtab.c (find_main_name): Add call to d_main_name.
4886
4887 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4888
4889 * d-lang.c (d_language_defn): Change macro_expansion_c to
4890 macro_expansion_no.
4891
4892 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4893
4894 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4895
4896 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4897
4898 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4899 gdb_exception" declaration.
4900 * remote.c (getpkt_or_notif_sane): Likewise.
4901
4902 2014-01-17 Doug Evans <dje@google.com>
4903
4904 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4905 function, contents of dirnames_to_char_ptr_vec_append moved here.
4906 (delim_string_to_char_ptr_vec): New function.
4907 (dirnames_to_char_ptr_vec_append): Rewrite.
4908 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4909
4910 2014-01-17 Doug Evans <dje@google.com>
4911
4912 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4913 and moved here ...
4914 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4915 #include "common-utils.h".
4916 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4917 * common/vec.h (VEC_ASSERT_PASS): Update.
4918 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4919 (MACH_CHECK_ERROR): Update.
4920
4921 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4922
4923 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4924 comments.
4925 * gdbarch.h: Regenerate.
4926
4927 2014-01-16 Tom Tromey <tromey@redhat.com>
4928
4929 * value.c (struct value) <regnum>: Move earlier.
4930
4931 2014-01-16 Tom Tromey <tromey@redhat.com>
4932
4933 * remote.c (extended_remote_create_inferior): Rename from
4934 extended_remote_create_inferior_1. Add "ops" argument. Remove
4935 old implementation.
4936
4937 2014-01-16 Pedro Alves <palves@redhat.com>
4938
4939 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4940 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4941 the backchain.
4942
4943 2014-01-16 Doug Evans <dje@google.com>
4944
4945 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4946
4947 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4948
4949 * btrace.h (btrace_thread_flag): New.
4950 (struct btrace_thread_info) <flags>: New.
4951 * record-btrace.c (record_btrace_resume_thread)
4952 (record_btrace_find_thread_to_move, btrace_step_no_history)
4953 (btrace_step_stopped, record_btrace_start_replaying)
4954 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4955 (record_btrace_find_resume_thread): New.
4956 (record_btrace_resume, record_btrace_wait): Extend.
4957 (record_btrace_can_execute_reverse): New.
4958 (record_btrace_open): Fail in non-stop mode.
4959 (record_btrace_set_replay): Split into this, ...
4960 (record_btrace_stop_replaying): ... this, ...
4961 (record_btrace_clear_histories): ... and this.
4962 (init_record_btrace_ops): Init to_can_execute_reverse.
4963 * NEWS: Announce it.
4964
4965 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4966
4967 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4968 (forward_target_decr_pc_after_break)
4969 (target_decr_pc_after_break): New.
4970 * target.c (forward_target_decr_pc_after_break)
4971 (target_decr_pc_after_break): New.
4972 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4973 instead of gdbarch_decr_pc_after_break.
4974 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4975 instead of gdbarch_decr_pc_after_break.
4976 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4977 instead of gdbarch_decr_pc_after_break.
4978 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4979 instead of gdbarch_decr_pc_after_break.
4980 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4981 instead of gdbarch_decr_pc_after_break.
4982 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4983 instead of gdbarch_decr_pc_after_break.
4984
4985 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4986
4987 * btrace.c: Include regcache.h.
4988 (btrace_add_pc): New.
4989 (btrace_enable): Call btrace_add_pc.
4990 (btrace_is_empty): New.
4991 * btrace.h (btrace_is_empty): New.
4992 * record-btrace.c (require_btrace, record_btrace_info): Call
4993 btrace_is_empty.
4994
4995 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4996
4997 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4998 Support delta reads.
4999 (linux_disable_btrace): Change return type.
5000 * common/linux-btrace.h (linux_read_btrace): Change parameters
5001 and return type to allow error reporting. Update users.
5002 (linux_disable_btrace): Change return type. Update users.
5003 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5004 New.
5005 (btrace_error): New.
5006 (btrace_block) <begin>: Comment on BEGIN == 0.
5007 * btrace.c (btrace_compute_ftrace): Start from the end of
5008 the current trace.
5009 (btrace_stitch_trace, btrace_clear_history): New.
5010 (btrace_fetch): Read delta trace, return if replaying.
5011 (btrace_clear): Move clear history code to btrace_clear_history.
5012 (parse_xml_btrace): Throw an error if parsing failed.
5013 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5014 and return type to allow error reporting.
5015 (target_read_btrace): Change parameters and return type to allow
5016 error reporting.
5017 * target.c (target_read_btrace): Update.
5018 * remote.c (remote_read_btrace): Support delta reads. Pass
5019 errors on.
5020 * NEWS: Announce it.
5021
5022 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5023
5024 * record.h (record_btrace_frame_unwind)
5025 (record_btrace_tailcall_frame_unwind): New declarations.
5026 * dwarf2-frame: Include record.h
5027 (dwarf2_frame_cfa): Throw an error for btrace frames.
5028 * record-btrace.c: Include hashtab.h.
5029 (btrace_get_bfun_name): New.
5030 (btrace_call_history): Call btrace_get_bfun_name.
5031 (struct btrace_frame_cache): New.
5032 (bfcache): New.
5033 (bfcache_hash, bfcache_eq, bfcache_new): New.
5034 (btrace_get_frame_function): New.
5035 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5036 (record_btrace_frame_this_id): Compute own id.
5037 (record_btrace_frame_prev_register): Provide PC, throw_error
5038 for all other registers.
5039 (record_btrace_frame_sniffer): Detect btrace frames.
5040 (record_btrace_tailcall_frame_sniffer): New.
5041 (record_btrace_frame_dealloc_cache): New.
5042 (record_btrace_frame_unwind): Add new functions.
5043 (record_btrace_tailcall_frame_unwind): New.
5044 (_initialize_record_btrace): Allocate cache.
5045 * btrace.c (btrace_clear): Call reinit_frame_cache.
5046 * NEWS: Announce it.
5047
5048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5049
5050 * record-btrace.c (record_btrace_set_replay)
5051 (record_btrace_goto_begin, record_btrace_goto_end)
5052 (record_btrace_goto): New.
5053 (init_record_btrace_ops): Initialize them.
5054 * NEWS: Announce it.
5055
5056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5057
5058 * record-btrace.c (record_btrace_find_new_threads)
5059 (record_btrace_thread_alive): New.
5060 (init_record_btrace_ops): Initialize to_find_new_threads and
5061 to_thread_alive.
5062
5063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5064
5065 * record-btrace.c (record_btrace_resume): New.
5066 (record_btrace_wait): New.
5067 (init_record_btrace_ops): Initialize to_wait and to_resume.
5068
5069 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5070
5071 * record-btrace.c (record_btrace_xfer_partial)
5072 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5073 (record_btrace_allow_memory_access): New.
5074 (init_record_btrace_ops): Initialize new methods.
5075 * target.c (raw_memory_xfer_partial): Bail out if target reports
5076 that this memory is not available.
5077
5078 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5079
5080 * target.h (target_ops) <to_insert_breakpoint>
5081 <to_remove_breakpoint>: Add target_ops parameter.
5082 (forward_target_insert_breakpoint): New.
5083 (forward_target_remove_breakpoint): New.
5084 (memory_remove_breakpoint, memory_insert_breakpoint):
5085 Add target_ops parameter.
5086 * target.c (target_insert_breakpoint): Split into this and ...
5087 (forward_target_insert_breakpoint): ... this.
5088 (target_remove_breakpoint): Split into this and ...
5089 (forward_target_remove_breakpoint): ... this.
5090 (debug_to_insert_breakpoint): Add target_ops parameter.
5091 Call forward_target_insert_breakpoint.
5092 (debug_to_remove_breakpoint): Add target_ops parameter.
5093 Call forward_target_remove_breakpoint.
5094 (update_current_target): Do not inherit or default to_insert_breakpoint
5095 and to_remove_breakpoint.
5096 * corelow.c (ignore): Add target_ops parameter.
5097 * exec.c (ignore): Add target_ops parameter.
5098 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5099 Add target_ops parameter.
5100 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5101 Add target_ops parameter.
5102 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5103 Add target_ops parameter.
5104 * record-full.c (record_full_beneath_to_insert_breakpoint)
5105 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5106 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5107 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5108 (record_full_core_remove_breakpoint): Add target_ops parameter.
5109 Update users.
5110 (record_full_beneath_to_insert_breakpoint_ops)
5111 (record_full_beneath_to_remove_breakpoint_ops)
5112 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5113 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5114 tmp_to_remove_breakpoint_ops,
5115 record_full_beneath_to_insert_breakpoint_ops, and
5116 record_full_beneath_to_remove_breakpoint_ops.
5117 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5118 (m32r_remove_breakpoint): Add target_ops parameter.
5119 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5120 Add target_ops parameter.
5121 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5122 Add target_ops parameter.
5123
5124 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5125 Markus Metzger <markus.t.metzger@intel.com>
5126
5127 * record-btrace.c: Include frame-unwind.h.
5128 (record_btrace_frame_unwind_stop_reason)
5129 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5130 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5131 New.
5132 (init_record_btrace_ops): Install it.
5133
5134 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5135
5136 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5137 get_prev_frame_1.
5138
5139 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5140
5141 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5142 earlier.
5143
5144 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5145
5146 * frame-unwind.c: Include target.h.
5147 (frame_unwind_try_unwinder): New function with code from ...
5148 (frame_unwind_find_by_frame): ... here. New variable
5149 unwinder_from_target, call also target_get_unwinder)
5150 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5151 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5152 * target.h (struct target_ops): New fields to_get_unwinder and
5153 to_get_tailcall_unwinder.
5154 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5155
5156 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5157
5158 * record-btrace.c (record_btrace_fetch_registers)
5159 (record_btrace_store_registers)
5160 (record_btrace_to_prepare_to_store): New.
5161 (init_record_btrace_ops): Add the above.
5162
5163 2014-01-16 Tom Tromey <tromey@redhat.com>
5164
5165 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5166 * target.h (struct target_ops) <to_prepare_to_store>: Add
5167 argument.
5168 (target_prepare_to_store): Add argument.
5169 * target.c (debug_to_prepare_to_store): Add argument.
5170 (update_current_target): Update.
5171 * remote.c (remote_prepare_to_store): Add 'self' argument.
5172 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5173 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5174 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5175 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5176 argument.
5177 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5178 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5179 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5180 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5181 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5182
5183 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5184
5185 * btrace.h (replay) <replay>: New.
5186 (btrace_is_replaying): New.
5187 * btrace.c (btrace_clear): Free replay iterator.
5188 (btrace_is_replaying): New.
5189 * record-btrace.c (record_btrace_is_replaying): New.
5190 (record_btrace_info): Print insn number if replaying.
5191 (record_btrace_insn_history): Start at replay position.
5192 (record_btrace_call_history): Start at replay position.
5193 (init_record_btrace_ops): Init to_record_is_replaying.
5194
5195 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5196
5197 * record-btrace.c (record_btrace_insn_history_range): Include
5198 end.
5199 (record_btrace_insn_history_from): Adjust range.
5200 (record_btrace_call_history_range): Include
5201 end.
5202 (record_btrace_call_history_from): Adjust range.
5203 * NEWS: Announce changes.
5204
5205 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5206
5207 * record.h (enum record_print_flag)
5208 <record_print_indent_calls>: New.
5209 * record.c (get_call_history_modifiers): Recognize /c modifier.
5210 (_initialize_record): Document /c modifier.
5211 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5212 Reorder fields. Optionally indent the function name. Update
5213 all users.
5214 * NEWS: Announce changes.
5215
5216 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5217
5218 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5219
5220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5221
5222 * btrace.c (ftrace_new_function): Start counting at one.
5223 * record-btrace.c (record_btrace_info): Adjust number of calls
5224 and insns.
5225 * NEWS: Announce it.
5226
5227 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5228
5229 * record-btrace.c (btrace_call_history_insn_range): Print
5230 insn range as [begin, end].
5231
5232 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5233
5234 * btrace.h (struct btrace_func_link): New.
5235 (enum btrace_function_flag): New.
5236 (struct btrace_inst): Rename to ...
5237 (struct btrace_insn): ...this. Update all users.
5238 (struct btrace_func) <ibegin, iend>: Remove.
5239 (struct btrace_func_link): New.
5240 (struct btrace_func): Rename to ...
5241 (struct btrace_function): ...this. Update all users.
5242 (struct btrace_function) <segment, flow, up, insn, insn_offset)
5243 (number, level, flags>: New.
5244 (struct btrace_insn_iterator): Rename to ...
5245 (struct btrace_insn_history): ...this.
5246 Update all users.
5247 (struct btrace_insn_iterator, btrace_call_iterator): New.
5248 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
5249 (struct btrace_target_info) <begin, end, level>
5250 <insn_history, call_history>: New.
5251 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5252 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5253 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5254 (btrace_call_number, btrace_call_begin, btrace_call_end)
5255 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5256 (btrace_find_function_by_number, btrace_set_insn_history)
5257 (btrace_set_call_history): New.
5258 * btrace.c (btrace_init_insn_iterator)
5259 (btrace_init_func_iterator, compute_itrace): Remove.
5260 (ftrace_print_function_name, ftrace_print_filename)
5261 (ftrace_skip_file): Change
5262 parameter to const.
5263 (ftrace_init_func): Remove.
5264 (ftrace_debug): Use new btrace_function fields.
5265 (ftrace_function_switched): Also consider gaining and
5266 losing symbol information).
5267 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
5268 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
5269 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
5270 New.
5271 (ftrace_new_function): Move. Remove debug print.
5272 (ftrace_update_lines, ftrace_update_insns): New.
5273 (ftrace_update_function): Check for call, ret, and jump.
5274 (compute_ftrace): Renamed to ...
5275 (btrace_compute_ftrace): ...this. Rewritten to compute call
5276 stack.
5277 (btrace_fetch, btrace_clear): Updated.
5278 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
5279 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
5280 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
5281 (btrace_call_number, btrace_call_begin, btrace_call_end)
5282 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
5283 (btrace_find_function_by_number, btrace_set_insn_history)
5284 (btrace_set_call_history): New.
5285 * record-btrace.c (require_btrace): Use new btrace thread
5286 info fields.
5287 (record_btrace_info, btrace_insn_history)
5288 (record_btrace_insn_history, record_btrace_insn_history_range):
5289 Use new btrace thread info fields and new iterator.
5290 (btrace_func_history_src_line): Rename to ...
5291 (btrace_call_history_src_line): ...this. Use new btrace
5292 thread info fields.
5293 (btrace_func_history): Rename to ...
5294 (btrace_call_history): ...this. Use new btrace thread info
5295 fields and new iterator.
5296 (record_btrace_call_history, record_btrace_call_history_range):
5297 Use new btrace thread info fields and new iterator.
5298
5299 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5300
5301 * frame.h (frame_id_build_unavailable_stack_special): New.
5302 * frame.c (frame_id_build_unavailable_stack_special): New.
5303
5304 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5305
5306 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
5307 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
5308 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
5309 to gdbarch.
5310 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
5311 (i386_insn_is_jump, i386_jmp_p): New.
5312 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
5313 insn_is_jump to gdbarch.
5314 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
5315 * gdbarch.h: Regenerated.
5316 * gdbarch.c: Regenerated.
5317 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
5318 (default_insn_is_jump): New.
5319 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
5320 (default_insn_is_jump): New.
5321
5322 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5323
5324 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
5325 Change to ...
5326 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
5327 (btrace_read_type) <btrace_read_new>: Change to ...
5328 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
5329
5330 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5331
5332 * common/linux-btrace.c (linux_read_btrace): Free trace from
5333 previous iteration.
5334
5335 2014-01-15 Doug Evans <dje@google.com>
5336
5337 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
5338 uint32_t.
5339
5340 2014-01-15 Tom Tromey <tromey@redhat.com>
5341
5342 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
5343 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
5344 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
5345 (set_objfile_main_name): New function.
5346 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
5347 language_of_main>: New fields.
5348 (set_objfile_main_name): Declare.
5349 * symtab.c (find_main_name): Loop over objfiles to find the main
5350 name and language.
5351 (set_main_name): Now static.
5352 (get_main_info): Add comment.
5353 * symtab.h (set_main_name): Don't declare.
5354
5355 2014-01-15 Tom Tromey <tromey@redhat.com>
5356
5357 * symtab.c (main_progspace_key): New global.
5358 (struct main_info): New.
5359 (name_of_main, language_of_main): Remove.
5360 (get_main_info, main_info_cleanup): New function.
5361 (set_main_name, main_name, main_language): Use get_main_info.
5362 (_initialize_symtab): Initialize main_progspace_key.
5363
5364 2014-01-15 Tom Tromey <tromey@redhat.com>
5365
5366 * dbxread.c (process_one_symbol): Update.
5367 * dwarf2read.c (read_partial_die): Update.
5368 * symfile.c (set_initial_language): Call main_language.
5369 * symtab.c (language_of_main): Now static.
5370 (set_main_name): Add 'lang' parameter.
5371 (find_main_name): Update.
5372 (main_language): New function.
5373 (symtab_observer_executable_changed): Update.
5374 * symtab.h (set_main_name): Update.
5375 (language_of_main): Remove.
5376 (main_language): Declare.
5377
5378 2014-01-15 Tom Tromey <tromey@redhat.com>
5379
5380 * symfile.c (init_entry_point_info): Use new "initialized" field.
5381 Update.
5382 * objfiles.h (struct entry_point) <initialized>: New field.
5383 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
5384 (struct objfile) <ei>: ...here. Remove.
5385 * objfiles.c (entry_point_address_query): Update.
5386
5387 2014-01-15 Tom Tromey <tromey@redhat.com>
5388
5389 * objfiles.c (entry_point_address_query): Relocate entry point
5390 address.
5391 (objfile_relocate1): Do not relocate entry point address.
5392 * objfiles.h (struct entry_info) <entry_point>: Update comment.
5393 <the_bfd_section_index>: New field.
5394 * symfile.c (init_entry_point_info): Find the entry point's
5395 section.
5396
5397 2014-01-15 Tom Tromey <tromey@redhat.com>
5398
5399 * solib-frv.c (enable_break): Use entry_point_address_query.
5400
5401 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5402
5403 * NEWS: Add note on improved process record-replay on
5404 arm*-linux* targets.
5405
5406 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5407
5408 * arm-tdep.c (enum arm_record_result): New enum.
5409 (arm_record_unsupported_insn): New function.
5410 (arm_record_coproc_data_proc): Removed.
5411 (thumb2_record_ld_st_multiple): New function.
5412 (thumb2_record_ld_st_dual_ex_tbb): New function.
5413 (thumb2_record_data_proc_sreg_mimm): New function.
5414 (thumb2_record_ps_dest_generic): New function.
5415 (thumb2_record_branch_misc_cntrl): New function.
5416 (thumb2_record_str_single_data): New function.
5417 (thumb2_record_ld_mem_hints): New function.
5418 (thumb2_record_ld_word): New function.
5419 (thumb2_record_lmul_lmla_div): New function.
5420 (thumb2_record_decode_insn_handler): New function.
5421 (decode_insn): Add thumb32 instruction handlers.
5422
5423 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5424
5425 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5426 (struct arm_linux_record_tdep): Declare.
5427 (arm_canonicalize_syscall): New function.
5428 (arm_all_but_pc_registers_record): New function.
5429 (arm_linux_syscall_record): New function.
5430 (arm_linux_init_abi): Add syscall recording constructs.
5431 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5432 decoding. (arm_record_coproc_data_proc): Update arm syscall
5433 decoding.
5434 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5435 <arm_syscall_record>: New field.
5436 * configure.tgt (arm*-*-linux*): Add linux-record.o to
5437 gdb_target_obs.
5438
5439 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5440
5441 * arm-tdep.c (thumb_record_misc): Update to use sp as base
5442 register for push instruction recording.
5443
5444 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5445
5446 * arm-tdep.c (thumb_record_misc): Update to correct logical
5447 error while recording ldm, ldmia and pop instructions.
5448
5449 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5450
5451 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5452
5453 2014-01-15 Pedro Alves <palves@redhat.com>
5454
5455 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5456 (go32_resume, go32_fetch_registers, store_register)
5457 (go32_store_registers, go32_prepare_to_store)
5458 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5459 (go32_create_inferior, go32_can_run, go32_terminal_init)
5460 (go32_terminal_inferior, go32_terminal_ours): Delete forward
5461 declarations.
5462
5463 2014-01-15 Tom Tromey <tromey@redhat.com>
5464
5465 * target.h (async_callback_ftype): New typedef.
5466 (struct target_ops) <to_async>: Use it.
5467
5468 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5469
5470 * python/py-value.c (get_field_type): Remove unnecessary curly
5471 braces for single-statement if block.
5472
5473 2014-01-15 Joel Brobecker <brobecker@adacore.com>
5474
5475 * python/py-type.c (convert_field): Add missing empty line
5476 after declarations.
5477
5478 2014-01-14 Doug Evans <dje@google.com>
5479
5480 * symfile.h (expand_symtabs_matching): Renamed from
5481 expand_partial_symbol_names. Update prototype.
5482 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5483 * symfile.c (expand_symtabs_matching): Renamed from
5484 expand_partial_symbol_names. New args file_matcher, kind.
5485 Rename arg fun to symbol_matcher.
5486 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5487 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5488 ada_expand_partial_symbol_name.
5489 (ada_make_symbol_completion_list): Update to call
5490 expand_symtabs_matching.
5491 (ada_add_global_exceptions): Call expand_symtabs_matching.
5492 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5493 call map_symbol_filenames.
5494 * symtab.c (sources_info): Update to call map_symbol_filenames.
5495 (search_symbols): Call expand_symtabs_matching.
5496 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5497 (default_make_symbol_completion_list_break_on): Update to call
5498 expand_symtabs_matching.
5499 (make_source_files_completion_list): Update to call
5500 map_symbol_filenames.
5501
5502 2014-01-14 Doug Evans <dje@google.com>
5503
5504 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5505 (expand_symtabs_symbol_matcher_ftype): New typedef.
5506 (quick_symbol_functions.expand_symtabs_matching): Update to use.
5507 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5508 * symfile.c (expand_partial_symbol_names): Update to use
5509 expand_symtabs_symbol_matcher_ftype.
5510 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5511 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5512 Arg name_matcher renamed to symbol_matcher.
5513 * psymtab.c (recursively_search_psymtabs): Update to use
5514 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
5515 sym_matcher.
5516 (expand_symtabs_matching_via_partial): Update to use
5517 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5518 Arg name_matcher renamed to symbol_matcher.
5519
5520 2014-01-14 Doug Evans <dje@google.com>
5521
5522 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5523 (map_partial_symbol_filenames): Ditto.
5524 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5525 (map_partial_symbol_filenames): Ditto.
5526 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5527 (map_partial_symbol_filenames): Ditto.
5528 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5529 (map_partial_symbol_filenames): Ditto.
5530 * symtab.c: Delete #include "psymtab.h".
5531
5532 2014-01-14 Pedro Alves <palves@redhat.com>
5533 Tom Tromey <tromey@redhat.com>
5534
5535 * infrun.c (use_displaced_stepping): Use find_record_target
5536 instead of RECORD_IS_USED.
5537 (adjust_pc_after_break): Use record_full_is_used instead of
5538 RECORD_IS_USED.
5539 * record-btrace.c (record_btrace_open): Call record_preopen
5540 instead of checking RECORD_IS_USED.
5541 * record-full.c (record_full_shortname)
5542 (record_full_core_shortname): New globals.
5543 (record_full_is_used): New function.
5544 (find_full_open): Call record_preopen instead of checking
5545 RECORD_IS_USED.
5546 (init_record_full_ops): Set the target's shortname to
5547 record_full_shortname.
5548 (init_record_full_core_ops): Set the target's shortname to
5549 record_full_core_shortname.
5550 * record-full.h (record_full_is_used): Declare.
5551 * record.c (find_record_target): Make extern.
5552 (record_preopen): New function.
5553 * record.h (RECORD_IS_USED): Delete macro.
5554 (find_record_target, record_preopen): Declare functions.
5555
5556 2014-01-14 Yao Qi <yao@codesourcery.com>
5557
5558 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5559 'len''s type to ULONGEST.
5560 (core_xfer_shared_libraries_aix): Likewise.
5561 * gdbarch.c, gdbarch.h: Regenerated.
5562 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5563 Change type of 'len' to ULONGEST.
5564 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5565 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5566
5567 2014-01-14 Yao Qi <yao@codesourcery.com>
5568
5569 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5570 type of 'len' to ULONGEST.
5571 (linux_xfer_osdata_processgroups): Likewise.
5572 (linux_xfer_osdata_threads): Likewise.
5573 (linux_xfer_osdata_fds): Likewise.
5574 (linux_xfer_osdata_isockets): Likewise.
5575 (linux_xfer_osdata_shm): Likewise.
5576 (linux_xfer_osdata_sem): Likewise.
5577 (linux_xfer_osdata_msg): Likewise.
5578 (linux_common_xfer_osdata): Likewise.
5579 (struct osdata_type) <getter>: Likewise.
5580 * common/linux-osdata.h (linux_common_xfer_osdata): Update
5581 the declaration.
5582
5583 2014-01-14 Yao Qi <yao@codesourcery.com>
5584
5585 * target.h (target_xfer_partial_ftype): Update.
5586 (struct target_ops) <to_xfer_partial>: Change 'len' type to
5587 ULONGEST.
5588 * aix-thread.c (aix_thread_xfer_partial): Change type of
5589 argument 'len' to ULONGEST.
5590 * auxv.c (procfs_xfer_auxv): Likewise.
5591 (ld_so_xfer_auxv): Likewise.
5592 (memory_xfer_auxv): Likewise.
5593 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5594 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5595 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5596 * corelow.c (core_xfer_partial): Likewise.
5597 * ctf.c (ctf_xfer_partial): Likewise.
5598 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
5599 '%u'.
5600 (darwin_read_dyld_info): Likewise.
5601 (darwin_xfer_partial): Likewise.
5602 * exec.c (section_table_xfer_memory_partial): Likewise.
5603 (exec_xfer_partial): Likewise.
5604 * exec.h (section_table_xfer_memory_partial): Update
5605 declaration.
5606 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
5607 instead of plongest.
5608 (gnu_xfer_partial): Likewise.
5609 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5610 (ia64_hpux_xfer_solib_got): Likewise.
5611 (ia64_hpux_xfer_partial): Likewise.
5612 * ia64-linux-nat.c (ia64_linux_xfer_partial):
5613 * inf-ptrace.c (inf_ptrace_xfer_partial):
5614 * inf-ttrace.c (inf_ttrace_xfer_partial):
5615 * linux-nat.c (linux_xfer_siginfo): Likewise.
5616 (linux_nat_xfer_partial): Likewise.
5617 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5618 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5619 * monitor.c (monitor_xfer_memory): Likewise.
5620 (monitor_xfer_partial): Likewise.
5621 * procfs.c (procfs_xfer_partial): Likewise.
5622 * record-full.c (record_full_xfer_partial): Likewise.
5623 (record_full_core_xfer_partial): Likewise.
5624 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
5625 instead of plongest.
5626 (gdbsim_xfer_partial): Likewise.
5627 * remote.c (remote_xfer_partial): Likewise.
5628 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5629 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5630 declaration.
5631 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5632 (rs6000_xfer_shared_libraries): Likewise.
5633 * sol-thread.c (sol_thread_xfer_partial): Likewise.
5634 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5635 (sparc_xfer_partial): Likewise.
5636 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5637 (spu_xfer_partial): Likewise.
5638 * spu-multiarch.c (spu_xfer_partial): Likewise.
5639 * target.c (target_read_live_memory): Likewise.
5640 (memory_xfer_live_readonly_partial): Likewise.
5641 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5642 (target_xfer_partial, default_xfer_partial): Likewise.
5643 (current_xfer_partial): Likewise.
5644 * tracepoint.c (tfile_xfer_partial): Likewise.
5645 * windows-nat.c (windows_xfer_memory): Likewise. Call
5646 pulongest instead of plongest.
5647 (windows_xfer_partial): Likewise.
5648 (windows_xfer_shared_libraries): Likewise.
5649
5650 2014-01-14 Yao Qi <yao@codesourcery.com>
5651
5652 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5653 target_xfer_partial_ftype.
5654
5655 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5656
5657 PR python/15464
5658 PR python/16113
5659 * valops.c (value_struct_elt_bitpos): New function
5660 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5661 object to 'None' if the field name is an empty string ("").
5662 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5663 attribute to look for a field when 'name' is 'None'.
5664 (get_field_type): New function
5665
5666 2014-01-13 Doug Evans <dje@google.com>
5667
5668 PR symtab/16426
5669 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5670 (try_open_dwop_file): Ditto.
5671 * gdb_bfd.c: #include "vec.h".
5672 (bfdp): New typedef.
5673 (struct gdb_bfd_data): New member included_bfds.
5674 (gdb_bfd_unref): Unref all included bfds.
5675 (gdb_bfd_record_inclusion): New function.
5676 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5677
5678 2014-01-13 Tom Tromey <tromey@redhat.com>
5679
5680 * gdbcore.h (deprecated_core_resize_section_table): Remove.
5681
5682 2014-01-13 Tom Tromey <tromey@redhat.com>
5683
5684 * defs.h (use_windows): Remove.
5685 * gdb.c (main): Update.
5686 * main.c (captured_main, gdb_main): Update.
5687 * main.h (struct captured_main_args) <use_windows>: Remove.
5688 * top.c (use_windows): Remove.
5689
5690 2014-01-13 Tom Tromey <tromey@redhat.com>
5691
5692 * defs.h (deprecated_flush_hook): Remove.
5693
5694 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5695
5696 PR threads/16216
5697 * linux-thread-db.c (try_thread_db_load): Add parameter
5698 check_auto_load_safe. Move here the file_is_auto_load_safe call.
5699 (try_thread_db_load_from_pdir_1): Move it there from here.
5700 (try_thread_db_load_from_sdir): Update caller.
5701 (try_thread_db_load_from_dir): Move it there from here.
5702
5703 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
5704
5705 * regformats/regdat.sh: Always rewrite the register file.
5706
5707 2014-01-13 Pedro Alves <palves@redhat.com>
5708
5709 * Makefile.in (CHECK_HEADERS): New variable.
5710 (check-headers:): New rule.
5711
5712 2014-01-13 Tom Tromey <tromey@redhat.com>
5713
5714 * cli/cli-setshow.c (do_set_command): Update.
5715 * defs.h (deprecated_set_hook): Remove.
5716 * top.c (deprecated_set_hook): Remove.
5717
5718 2014-01-13 Pedro Alves <palves@redhat.com>
5719
5720 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5721 the tracepoint if the PC is a pseudo-register.
5722
5723 2014-01-13 Tom Tromey <tromey@redhat.com>
5724
5725 * defs.h (XCALLOC): Remove.
5726 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5727 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5728 * dwarf2loc.c (allocate_piece_closure): Likewise.
5729 * elfread.c (elf_symfile_segments): Likewise.
5730 (elf_symfile_segments): Likewise.
5731 * gdbtypes.c (copy_type_recursive): Likewise.
5732 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5733 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5734 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5735 XCALLOC.
5736 * mt-tdep.c (mt_gdbarch_init): Likewise.
5737 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5738 XCALLOC.
5739 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5740 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5741 * registry.c (registry_alloc_data): Likewise.
5742 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5743 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5744 * serial.c (serial_fdopen_ops): Likewise.
5745 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5746 XCALLOC.
5747 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5748 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5749 not XCALLOC.
5750
5751 2014-01-13 Tom Tromey <tromey@redhat.com>
5752
5753 * defs.h (XMALLOC): Remove.
5754 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5755 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5756 * cli-out.c (struct ui_out *): Likewise.
5757 * cli/cli-dump.c (add_dump_command): Likewise.
5758 (add_dump_command): Likewise.
5759 * complaints.c (get_complaints): Likewise.
5760 (find_complaint): Likewise.
5761 * dwarf2-frame.c (execute_cfa_program): Likewise.
5762 * dwarf2read.c (abbrev_table_read_table): Likewise.
5763 * gdbarch.sh: Likewise.
5764 * gdbarch.c: Rebuild.
5765 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5766 * interps.c (interp_new): Likewise.
5767 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5768 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5769 * mi/mi-console.c (mi_console_file_new): Likewise.
5770 * mi/mi-interp.c (mi_interpreter_init): Likewise.
5771 * mi/mi-out.c (mi_out_new): Likewise.
5772 * mi/mi-parse.c (mi_parse): Likewise.
5773 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5774 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5775 * observer.c (xalloc_observer_list_node): Likewise.
5776 * regcache.c (regcache_xmalloc_1): Likewise.
5777 * reggroups.c (reggroup_new): Likewise.
5778 (_initialize_reggroup): Likewise.
5779 * registry.c (register_data_with_cleanup): Likewise.
5780 * remote.c (remote_notif_stop_alloc_reply): Likewise.
5781 * ser-base.c (serial_ttystate): Likewise.
5782 * ser-mingw.c (make_pipe_state): Likewise.
5783 * ser-pipe.c (pipe_open): Likewise.
5784 * serial.c (serial_open): Likewise.
5785 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5786 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5787 (tui_alloc_win_info): Likewise.
5788 (tui_add_content_elements): Likewise.
5789 * tui/tui-file.c (tui_file_new): Likewise.
5790 * tui/tui-out.c (tui_out_new): Likewise.
5791 * ui-file.c (mem_file_new): Likewise.
5792 * ui-out.c (push_level): Likewise.
5793 (make_cleanup_ui_out_end): Likewise.
5794 (append_header_to_list): Likewise.
5795 (ui_out_new): Likewise.
5796 * user-regs.c (user_reg_add_builtin): Likewise.
5797
5798 2014-01-13 Tom Tromey <tromey@redhat.com>
5799
5800 * defs.h (XZALLOC): Remove.
5801 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5802 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5803 (get_ada_tasks_inferior_data): Likewise.
5804 * auto-load.c (get_auto_load_pspace_data): Likewise.
5805 * auxv.c (get_auxv_inferior_data): Likewise.
5806 * bfd-target.c (target_bfd_reopen): Likewise.
5807 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5808 (deprecated_insert_raw_breakpoint): Likewise.
5809 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5810 * corelow.c (core_open): Likewise.
5811 * darwin-nat.c (darwin_check_new_threads): Likewise.
5812 (darwin_attach_pid): Likewise.
5813 * dummy-frame.c (dummy_frame_push): Likewise.
5814 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5815 * dwarf2loc.c (allocate_piece_closure): Likewise.
5816 * elfread.c (elf_symfile_segments): Likewise.
5817 * eval.c (ptrmath_type_p): Likewise.
5818 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5819 * gdbtypes.c (alloc_type_arch): Likewise.
5820 (alloc_type_instance): Likewise.
5821 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5822 * inf-child.c (inf_child_can_use_agent): Likewise.
5823 * inflow.c (get_inflow_inferior_data): Likewise.
5824 * infrun.c (save_infcall_suspend_state): Likewise.
5825 * jit.c (jit_reader_load): Likewise.
5826 (get_jit_objfile_data): Likewise.
5827 (get_jit_program_space_data): Likewise.
5828 (jit_object_open_impl): Likewise.
5829 (jit_symtab_open_impl): Likewise.
5830 (jit_block_open_impl): Likewise.
5831 (jit_frame_sniffer): Likewise.
5832 * linux-fork.c (add_fork): Likewise.
5833 * maint.c (make_command_stats_cleanup): Likewise.
5834 * objfiles.c (get_objfile_pspace_data): Likewise.
5835 * opencl-lang.c (struct lval_closure): Likewise.
5836 * osdata.c (osdata_start_osdata): Likewise.
5837 * progspace.c (new_address_space): Likewise.
5838 (add_program_space): Likewise.
5839 * remote-sim.c (get_sim_inferior_data): Likewise.
5840 * sh-tdep.c (sh_gdbarch_init): Likewise.
5841 * skip.c (Ignore): Likewise.
5842 (skip_delete_command): Likewise.
5843 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5844 (library_list_start_library): Likewise.
5845 (solib_aix_current_sos): Likewise.
5846 * solib-darwin.c (get_darwin_info): Likewise.
5847 (darwin_current_sos): Likewise.
5848 * solib-dsbt.c (get_dsbt_info): Likewise.
5849 * solib-ia64-hpux.c (new_so_list): Likewise.
5850 (ia64_hpux_get_solib_linkage_addr): Likewise.
5851 * solib-spu.c (append_ocl_sos): Likewise.
5852 (spu_current_sos): Likewise.
5853 * solib-svr4.c (get_svr4_info): Likewise.
5854 (svr4_keep_data_in_core): Likewise.
5855 (library_list_start_library): Likewise.
5856 (svr4_default_sos): Likewise.
5857 (svr4_read_so_list): Likewise.
5858 * solib-target.c (library_list_start_library): Likewise.
5859 (solib_target_current_sos): Likewise.
5860 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5861 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5862 * symfile.c (default_symfile_segments): Likewise.
5863 * target-descriptions.c (tdesc_data_init): Likewise.
5864 (tdesc_create_reg): Likewise.
5865 (struct tdesc_type *): Likewise.
5866 (tdesc_create_vector): Likewise.
5867 (tdesc_set_struct_size): Likewise.
5868 (struct tdesc_type *): Likewise.
5869 (tdesc_free_feature): Likewise.
5870 (tdesc_create_feature): Likewise.
5871 * windows-nat.c (windows_add_thread): Likewise.
5872 (windows_make_so): Likewise.
5873 * xml-support.c (gdb_xml_body_text): Likewise.
5874 (gdb_xml_create_parser_and_cleanup): Likewise.
5875 (xml_process_xincludes): Likewise.
5876 * xml-syscall.c (allocate_syscalls_info): Likewise.
5877 (syscall_create_syscall_desc): Likewise.
5878
5879 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5880
5881 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5882 function, with code from i386_stap_parse_special_token.
5883 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5884 (i386_stap_parse_special_token): Move code to the two functions
5885 above; simplify it.
5886
5887 2014-01-09 Pedro Alves <palves@redhat.com>
5888 Hui Zhu <hui@codesourcery.com>
5889
5890 PR gdb/16101
5891 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5892 bp_err_string. Don't mark the location shlib_disabled if the
5893 error thrown wasn't a generic or memory error. Catch errors
5894 thrown while inserting breakpoints in overlayed code. Output
5895 error message of software breakpoints.
5896 * remote.c (remote_insert_breakpoint): If this breakpoint has
5897 target-side commands but this stub doesn't support Z0 packets,
5898 throw NOT_SUPPORTED_ERROR error.
5899 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5900 * target.h (target_insert_breakpoint): Extend comment.
5901 (target_insert_hw_breakpoint): Add comment.
5902
5903 2014-01-08 Pedro Alves <palves@redhat.com>
5904
5905 * remote.c (remote_add_thread): Add threads silently if starting
5906 up.
5907 (remote_notice_new_inferior): If in all-stop, and starting up,
5908 don't call notice_new_inferior.
5909 (get_current_thread): New function, factored out from ...
5910 (add_current_inferior_and_thread): ... this. Adjust.
5911 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5912 found any thread, then select the remote's current thread as GDB's
5913 current thread too.
5914
5915 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5916
5917 * NEWS: Create a new section for the next release branch.
5918 Rename the section of the current branch, now that it has
5919 been cut.
5920
5921 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5922
5923 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5924 * version.in: Bump version to 7.7.50.DATE-cvs.
5925
5926 2014-01-08 Yao Qi <yao@codesourcery.com>
5927
5928 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5929 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5930 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5931
5932 2014-01-08 Yao Qi <yao@codesourcery.com>
5933
5934 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5935 return value of bfd_get_filename to symbol_file_add_from_bfd.
5936
5937 2014-01-08 Pierre Muller <muller@sourceware.org>
5938
5939 Fix PR16201.
5940 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5941 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5942 to prim_record_mininal_symbol_and_info.
5943 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5944 in call to prim_record_minimal_symbol_and_info.
5945 (read_pe_exported_syms): Set index field of section_data.
5946
5947 2014-01-07 Andrew Pinski <apinski@cavium.com>
5948
5949 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5950 * features/aarch64.c: Regenerate.
5951
5952 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5953
5954 * target.c (return_null): Define.
5955 (update_current_target): Use it instead of return_zero for
5956 functions that return a pointer.
5957
5958 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5959
5960 * source.c (add_path): Fix check for duplicated paths in the previously
5961 included paths.
5962
5963 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5964
5965 * ada-lang.c: Remove duplicated include statements.
5966 * alphabsd-nat.c: Ditto.
5967 * amd64-darwin-tdep.c: Ditto.
5968 * amd64fbsd-nat.c: Ditto.
5969 * auto-load.c: Ditto.
5970 * ax-gdb.c: Ditto.
5971 * breakpoint.c: Ditto.
5972 * dbxread.c: Ditto.
5973 * fork-child.c: Ditto.
5974 * gdb_usleep.c: Ditto.
5975 * i386-darwin-tdep.c: Ditto.
5976 * i386fbsd-nat.c: Ditto.
5977 * infcmd.c: Ditto.
5978 * inferior.c: Ditto.
5979 * jv-lang.c: Ditto.
5980 * linux-nat.c: Ditto.
5981 * linux-tdep.c: Ditto.
5982 * m68kbsd-nat.c: Ditto.
5983 * m68klinux-nat.c: Ditto.
5984 * microblaze-tdep.c: Ditto.
5985 * mips-linux-tdep.c: Ditto.
5986 * mn10300-tdep.c: Ditto.
5987 * nto-tdep.c: Ditto.
5988 * opencl-lang.c: Ditto.
5989 * osdata.c: Ditto.
5990 * printcmd.c: Ditto.
5991 * regcache.c: Ditto.
5992 * remote-m32r-sdi.c: Ditto.
5993 * remote.c: Ditto.
5994 * symfile.c: Ditto.
5995 * symtab.c: Ditto.
5996 * tilegx-linux-nat.c: Ditto.
5997 * tilegx-tdep.c: Ditto.
5998 * tracepoint.c: Ditto.
5999 * valops.c: Ditto.
6000 * vaxbsd-nat.c: Ditto.
6001 * windows-nat.c: Ditto.
6002 * xtensa-tdep.c: Ditto.
6003
6004 2014-01-07 Yao Qi <yao@codesourcery.com>
6005
6006 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6007
6008 2014-01-07 Yao Qi <yao@codesourcery.com>
6009 Joel Brobecker <brobecker@adacore.com>
6010
6011 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6012 (pdc_write_regs): Likewise.
6013 (fetch_regs_kernel_thread): Likewise.
6014 (store_regs_kernel_thread): Likewise.
6015
6016 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6017
6018 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6019 tagged type objects to their actual type.
6020
6021 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6022
6023 * ada-valprint.c (print_field_values): Add "language" parameter.
6024 Update calls to print_field_values and print_variant_part.
6025 Pass new parameter "language" in call to val_print instead
6026 of "current_language". Replace call to ada_val_print by call
6027 to val_print.
6028 (print_variant_part): Add "language" parameter.
6029 (ada_val_print_struct_union): Update call to print_field_values.
6030
6031 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6032
6033 * ada-valprint.c (ui_memcpy): Delete.
6034 (ada_print_floating): Update documentation. Add empty line
6035 between between function documentation and implementation.
6036 Delete variable "buffer". Use ui_file_xstrdup in place of
6037 ui_file_put. Minor adjustments following this change.
6038
6039 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6040
6041 * ada-valprint.c (ada_val_print_string): New function,
6042 extracted from ada_val_print_array.
6043 (ada_val_print_array): Replace extracted code by call
6044 to ada_val_print_string followed by a return. Move
6045 "else" branch to the function's top block.
6046
6047 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6048
6049 * ada-valprint.c (ada_val_print_array): Move implementation
6050 down. Rename parameter "offset" and "val" into "offset_aligned"
6051 and "original_value" respectively. Add parameter "offset".
6052
6053 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6054
6055 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6056 re-organizing the code. Change the "???" message printed
6057 when target type is a TYPE_CODE_UNDEF into
6058 "<ref to undefined type>".
6059
6060 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6061
6062 * ada-valprint.c (print_record): Delete, implementation inlined...
6063 (ada_val_print_struct_union): ... here. Remove call to
6064 ada_check_typedef in inlined implementation.
6065
6066 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6067
6068 * ada-valprint.c (ada_val_print_gnat_array): New function,
6069 extracted from ada_val_print_1;
6070 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6071 (ada_val_print_flt, ada_val_print_struct_union)
6072 (ada_val_print_ref): Likewise.
6073 (ada_val_print_1): Delete variables i and elttype.
6074 Replace extracted-out code by call to corresponding
6075 new functions.
6076
6077 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6078
6079 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6080
6081 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6082
6083 * ada-valprint.c (ada_val_print_1): Replace calls to
6084 ada_val_print_1 by calls to val_print.
6085
6086 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6087
6088 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6089 Update calls to self accordingly. Replace calls to c_val_print
6090 by calls to val_print.
6091
6092 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6093
6094 * ada-valprint.c (print_record): Delete declaration.
6095 (adjust_type_signedness, ada_val_print_1): Likewise.
6096 (ada_val_print): Move function implementation down.
6097 (print_variant_part, print_field_values, print_record):
6098 Move function implementation up.
6099
6100 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6101
6102 * python/py-type.c (typy_get_name): New function.
6103 (type_object_getset): Add entry for attribute "name".
6104 * NEWS: Add entry mentioning this new attribute.
6105
6106 2014-01-07 Yao Qi <yao@codesourcery.com>
6107
6108 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6109 statement.
6110
6111 2014-01-07 Yao Qi <yao@codesourcery.com>
6112
6113 * gnu-nat.c (info_port_rights): Add qualifier const to
6114 argument args.
6115
6116 2014-01-07 Yao Qi <yao@codesourcery.com>
6117
6118 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6119
6120 2014-01-07 Yao Qi <yao@codesourcery.com>
6121
6122 * gnu-nat.c (make_inf) Update declaration.
6123 (make_inf): Make it static.
6124 (inf_set_traced): Likewise.
6125 (inf_port_to_thread, inf_task_died_status): Likewise.
6126
6127 2014-01-07 Yao Qi <yao@codesourcery.com>
6128
6129 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6130
6131 2014-01-07 Yao Qi <yao@codesourcery.com>
6132
6133 * gnu-nat.c (_initialize_gnu_nat): Declare.
6134
6135 2014-01-07 Yao Qi <yao@codesourcery.com>
6136
6137 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6138 'enum bfd_endian'.
6139 (struct gdbarch_info) <byte_order>: Change type to
6140 'enum bfd_endian'.
6141 <byte_order_for_code>: Likewise.
6142 * gdbarch.c, gdbarch.h: Regenerated.
6143
6144 2014-01-06 Sasha Smundak <asmundak@google.com>
6145
6146 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6147
6148 2014-01-06 Tom Tromey <tromey@redhat.com>
6149
6150 * doublest.c (convert_doublest_to_floatformat): Use const, not
6151 CONST.
6152 * somread.c (som_symtab_read): Likewise.
6153
6154 2014-01-07 Hui Zhu <hui@codesourcery.com>
6155
6156 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6157 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6158 (gdb_bfd_fopen): Ditto.
6159 (gdb_bfd_openr): Ditto.
6160 (gdb_bfd_openw): Ditto.
6161 (gdb_bfd_openr_iovec): Ditto.
6162 (gdb_bfd_fdopenr): Ditto.
6163 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6164 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6165 with xstrdup.
6166 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6167 with xstrdup.
6168 * symfile-mem.c (symbol_file_add_from_memory): Removed
6169 gdb_bfd_stash_filename.
6170
6171 2014-01-03 Doug Evans <dje@google.com>
6172
6173 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6174 output.
6175
6176 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6177
6178 Update year range in copyright notice of all files.
6179
6180 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6181
6182 * top.c (print_gdb_version): Set copyright year to 2014.
6183
6184 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6185
6186 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6187
6188 For older changes see ChangeLog-2013.
6189 \f
6190 Local Variables:
6191 mode: change-log
6192 left-margin: 8
6193 fill-column: 74
6194 version-control: never
6195 coding: utf-8
6196 End: