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