aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-pinsn.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-19 07:06:13 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-19 07:06:13 +0000
commitc93a350722500593dffe960f89c8e7cded819540 (patch)
tree0ee2c91bd86f43bb0fafe4abdae0eede97173dac /gdb/i386-pinsn.c
parent15a42410490eb03e899af9dadf9ebcdaa4ff59a4 (diff)
downloadgdb-c93a350722500593dffe960f89c8e7cded819540.zip
gdb-c93a350722500593dffe960f89c8e7cded819540.tar.gz
gdb-c93a350722500593dffe960f89c8e7cded819540.tar.bz2
* i386-pinsn.c (OP_E): Change %d to 0x%x for consistency.
Diffstat (limited to 'gdb/i386-pinsn.c')
-rw-r--r--gdb/i386-pinsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-pinsn.c b/gdb/i386-pinsn.c
index 2b34a77..0b18d46 100644
--- a/gdb/i386-pinsn.c
+++ b/gdb/i386-pinsn.c
@@ -1505,7 +1505,7 @@ OP_E (bytemode)
if (mod != 0 || rm == 5 || (havesib && base == 5))
{
- sprintf (scratchbuf, "%d", disp);
+ sprintf (scratchbuf, "0x%x", disp);
oappend (scratchbuf);
}