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