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