projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99877b6
)
* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
author
Mark Kettenis
<kettenis@gnu.org>
Tue, 10 Aug 2004 16:05:38 +0000
(16:05 +0000)
committer
Mark Kettenis
<kettenis@gnu.org>
Tue, 10 Aug 2004 16:05:38 +0000
(16:05 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/procfs.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 6bb50baf22b8ea2fbf32b7a71e1c6716b03f5efc..0e91ff3f63b67105ad64bd9cf3738e844beaa60f 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,7
@@
+2004-08-10 Mark Kettenis <kettenis@gnu.org>
+
+ * procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
+
2004-08-09 Joel Brobecker <brobecker@gnat.com>
General cleanup of the AIX xm include file:
diff --git
a/gdb/procfs.c
b/gdb/procfs.c
index 19d7ae3904c19ec3dd13e4ec88fddc9ad8fd8bd3..b94e03710acbbce524f4635ef85f41e9741e819a 100644
(file)
--- a/
gdb/procfs.c
+++ b/
gdb/procfs.c
@@
-5132,7
+5132,7
@@
procfs_pid_to_str (ptid_t ptid)
if (TIDGET (ptid) == 0)
sprintf (buf, "process %d", PIDGET (ptid));
else
- sprintf (buf, "LWP %d", TIDGET (ptid));
+ sprintf (buf, "LWP %
l
d", TIDGET (ptid));
return buf;
}