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