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