diff options
Diffstat (limited to 'gdb/bfd-target.c')
-rw-r--r-- | gdb/bfd-target.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gdb/bfd-target.c b/gdb/bfd-target.c index 7ac8bc3..ba194d7 100644 --- a/gdb/bfd-target.c +++ b/gdb/bfd-target.c @@ -24,20 +24,21 @@ #include "gdb_bfd.h" /* A target that wraps a BFD. */ + +static const target_info target_bfd_target_info = { + "bfd", + N_("BFD backed target"), + N_("You should never see this") +}; + class target_bfd : public target_ops { public: explicit target_bfd (struct bfd *bfd); ~target_bfd () override; - const char *shortname () override - { return "bfd"; } - - const char *longname () override - { return _("BFD backed target"); } - - const char *doc () override - { return _("You should never see this"); } + const target_info &info () const override + { return target_bfd_target_info; } void close () override; |