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