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