projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated Serbian and Russian translations for various sub-directories
[binutils-gdb.git]
/
gdbsupport
/
ptid.cc
diff --git
a/gdbsupport/ptid.cc
b/gdbsupport/ptid.cc
index 73e2918cbc5f492a6c3e17f3f1eea2da166bea97..2417120b1eedbf59f33995ddbf8e396ef44dd845 100644
(file)
--- a/
gdbsupport/ptid.cc
+++ b/
gdbsupport/ptid.cc
@@
-24,3
+24,11
@@
ptid_t const null_ptid = ptid_t::make_null ();
ptid_t const minus_one_ptid = ptid_t::make_minus_one ();
+
+/* See ptid.h. */
+
+std::string
+ptid_t::to_string () const
+{
+ return string_printf ("%d.%ld.%ld", m_pid, m_lwp, m_tid);
+}