projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix printf fmt of long in remote-sim.c.
[deliverable/binutils-gdb.git]
/
gdb
/
remote-sim.c
diff --git
a/gdb/remote-sim.c
b/gdb/remote-sim.c
index 268f5f76f779cca115be04d63f266a773e28011b..1976db90676d3f45e801bc32f81d9a45b7d19f56 100644
(file)
--- a/
gdb/remote-sim.c
+++ b/
gdb/remote-sim.c
@@
-129,7
+129,9
@@
dump_mem (char *buf, int len)
long l[2];
memcpy (l, buf, len);
printf_filtered ("\t0x%lx", l[0]);
- printf_filtered (len == 8 ? " 0x%x\n" : "\n", l[1]);
+ if (len == 8)
+ printf_filtered (" 0x%lx", l[1]);
+ printf_filtered ("\n");
}
else
{
This page took
0.025614 seconds
and
4
git commands to generate.