X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Flinux-nat.h;h=0c1695ad1020aa176752e6bb8e877bf815e63077;hb=51fd40020e1e0b21642cdec9c749f2e3862939ea;hp=16f8a584bdedcb3c9d011daafcbf92db5307f8da;hpb=adc6a863a9c6c828425d63b12d553f0e8f21e350;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index 16f8a584bd..0c1695ad10 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#ifndef LINUX_NAT_H +#define LINUX_NAT_H + #include "nat/linux-nat.h" #include "inf-ptrace.h" #include "target.h" @@ -61,7 +64,7 @@ public: void update_thread_list () override; - const char *pid_to_str (ptid_t) override; + std::string pid_to_str (ptid_t) override; const char *thread_name (struct thread_info *) override; @@ -322,3 +325,5 @@ void linux_nat_switch_fork (ptid_t new_ptid); Return 1 if it was retrieved successfully, 0 otherwise (*SIGINFO is uninitialized in such case). */ int linux_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo); + +#endif /* LINUX_NAT_H */