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