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