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