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