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