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