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