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