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