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