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