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