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