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