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