diff options
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r-- | gdb/sol-thread.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index d5c2400..22dd8d6 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -69,18 +69,20 @@ #include "minsyms.h" #include "objfiles.h" +static const target_info thread_db_target_info = { + "solaris-threads", + N_("Solaris threads and pthread."), + N_("Solaris threads and pthread support.") +}; + class sol_thread_target final : public target_ops { public: sol_thread_target () { this->to_stratum = thread_stratum; } - const char *shortname () override - { return "solaris-threads"; } - const char *longname () override - { return _("Solaris threads and pthread."); } - const char *doc () override - { return _("Solaris threads and pthread support."); } + const target_info &info () const override + { return thread_db_target_info; } void detach (inferior *, int) override; ptid_t wait (ptid_t, struct target_waitstatus *, int) override; |