aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-06-25 10:23:35 -0600
committerTom Tromey <tromey@redhat.com>2014-07-07 09:06:15 -0600
commit38e229b2b3b5cc28c40ae114146bcdb45f60fc46 (patch)
tree552ac61f70c37c6b228236796254b66bceb5a58b /gdb/target.h
parentf0f9ff9530992cb86c7022310af223b2721117d1 (diff)
downloadgdb-38e229b2b3b5cc28c40ae114146bcdb45f60fc46.zip
gdb-38e229b2b3b5cc28c40ae114146bcdb45f60fc46.tar.gz
gdb-38e229b2b3b5cc28c40ae114146bcdb45f60fc46.tar.bz2
change to_info_record to use target delegation
This changes to_info_record to use target delegation. Also, target_info_record was unused, so this patch removes it. 2014-07-07 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_info_record): Remove. * record.c (info_record_command): Unconditionally call to_info_record. * target.h (struct target_ops) <to_info_record>: Use TARGET_DEFAULT_IGNORE. (target_info_record): Remove.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/target.h b/gdb/target.h
index cf4ced1..8bf160c 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1022,7 +1022,8 @@ struct target_ops
TARGET_DEFAULT_IGNORE ();
/* Print information about the recording. */
- void (*to_info_record) (struct target_ops *);
+ void (*to_info_record) (struct target_ops *)
+ TARGET_DEFAULT_IGNORE ();
/* Save the recorded execution trace into a file. */
void (*to_save_record) (struct target_ops *, const char *filename)
@@ -2221,9 +2222,6 @@ extern enum btrace_error target_read_btrace (VEC (btrace_block_s) **,
/* See to_stop_recording in struct target_ops. */
extern void target_stop_recording (void);
-/* See to_info_record in struct target_ops. */
-extern void target_info_record (void);
-
/* See to_save_record in struct target_ops. */
extern void target_save_record (const char *filename);