diff options
Diffstat (limited to 'gdb/record.c')
-rw-r--r-- | gdb/record.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/record.c b/gdb/record.c index d7befb2a749..548acfe3641 100644 --- a/gdb/record.c +++ b/gdb/record.c @@ -154,9 +154,9 @@ record_read_memory (struct gdbarch *gdbarch, static void record_stop (struct target_ops *t) { - DEBUG ("stop %s", t->to_shortname); + DEBUG ("stop %s", t->shortname ()); - t->to_stop_recording (t); + t->stop_recording (); } /* Unpush the record target. */ @@ -164,7 +164,7 @@ record_stop (struct target_ops *t) static void record_unpush (struct target_ops *t) { - DEBUG ("unpush %s", t->to_shortname); + DEBUG ("unpush %s", t->shortname ()); unpush_target (t); } @@ -176,7 +176,7 @@ record_disconnect (struct target_ops *t, const char *args, int from_tty) { gdb_assert (t->to_stratum == record_stratum); - DEBUG ("disconnect %s", t->to_shortname); + DEBUG ("disconnect %s", t->shortname ()); record_stop (t); record_unpush (t); @@ -191,7 +191,7 @@ record_detach (struct target_ops *t, inferior *inf, int from_tty) { gdb_assert (t->to_stratum == record_stratum); - DEBUG ("detach %s", t->to_shortname); + DEBUG ("detach %s", t->shortname ()); record_stop (t); record_unpush (t); @@ -206,7 +206,7 @@ record_mourn_inferior (struct target_ops *t) { gdb_assert (t->to_stratum == record_stratum); - DEBUG ("mourn inferior %s", t->to_shortname); + DEBUG ("mourn inferior %s", t->shortname ()); /* It is safer to not stop recording. Resources will be freed when threads are discarded. */ @@ -222,7 +222,7 @@ record_kill (struct target_ops *t) { gdb_assert (t->to_stratum == record_stratum); - DEBUG ("kill %s", t->to_shortname); + DEBUG ("kill %s", t->shortname ()); /* It is safer to not stop recording. Resources will be freed when threads are discarded. */ @@ -346,8 +346,8 @@ info_record_command (const char *args, int from_tty) return; } - printf_filtered (_("Active record target: %s\n"), t->to_shortname); - t->to_info_record (t); + printf_filtered (_("Active record target: %s\n"), t->shortname ()); + t->info_record (); } /* The "record save" command. */ |