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