diff options
Diffstat (limited to 'gdb/bsd-uthread.c')
-rw-r--r-- | gdb/bsd-uthread.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c index efcec1e..1505cfe 100644 --- a/gdb/bsd-uthread.c +++ b/gdb/bsd-uthread.c @@ -33,19 +33,19 @@ #include "bsd-uthread.h" +static const target_info bsd_uthread_target_info = { + "bsd-uthreads", + N_("BSD user-level threads"), + N_("BSD user-level threads") +}; + struct bsd_uthread_target final : public target_ops { bsd_uthread_target () { to_stratum = thread_stratum; } - const char *shortname () override - { return "bsd-uthreads"; } - - const char *longname () override - { return _("BSD user-level threads"); } - - const char *doc () override - { return _("BSD user-level threads"); } + const target_info &info () const override + { return bsd_uthread_target_info; } void close () override; |