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