From c93a350722500593dffe960f89c8e7cded819540 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 19 Apr 1991 07:06:13 +0000 Subject: [PATCH] * i386-pinsn.c (OP_E): Change %d to 0x%x for consistency. --- gdb/ChangeLog | 2 ++ gdb/i386-pinsn.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e42b73394a3..f5b3b9e41d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Thu Apr 18 19:49:10 1991 Jim Kingdon (kingdon at cygint.cygnus.com) + * i386-pinsn.c (OP_E): Change %d to 0x%x for consistency. + * putenv.c: New file Makefile.dist: Add it to $(OBS). diff --git a/gdb/i386-pinsn.c b/gdb/i386-pinsn.c index 2b34a778728..0b18d46b125 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); } -- 2.30.2