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