diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 20:23:23 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:48:27 -0700 |
commit | e9179bb3de4d8f221223a2cd68c58114204d6100 (patch) | |
tree | f32d3eb5c3f5423111e1bd846974c64d8fad8fce /gdb/target.c | |
parent | 05969c841a349cbc9d628650b37d684526368445 (diff) | |
download | gdb-e9179bb3de4d8f221223a2cd68c58114204d6100.zip gdb-e9179bb3de4d8f221223a2cd68c58114204d6100.tar.gz gdb-e9179bb3de4d8f221223a2cd68c58114204d6100.tar.bz2 |
convert to_goto_record_end
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (target_goto_record_end): Unconditionally delegate.
* target.h (struct target_ops) <to_goto_record_end>: Use
TARGET_DEFAULT_NORETURN.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/target.c b/gdb/target.c index 1b87c74..7e422f8 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -3978,16 +3978,7 @@ target_goto_record_begin (void) void target_goto_record_end (void) { - struct target_ops *t; - - for (t = current_target.beneath; t != NULL; t = t->beneath) - if (t->to_goto_record_end != NULL) - { - t->to_goto_record_end (t); - return; - } - - tcomplain (); + current_target.to_goto_record_end (¤t_target); } /* See target.h. */ |