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