aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-20 17:23:06 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-20 17:23:06 +0000
commit2c283bc467fffc9faee414a6208735073b70716a (patch)
tree32656537565fe29ab8ecaac272198b4c796bb358 /gdb
parent3f3c6e550355631a383176459791b539e4700704 (diff)
downloadgdb-2c283bc467fffc9faee414a6208735073b70716a.zip
gdb-2c283bc467fffc9faee414a6208735073b70716a.tar.gz
gdb-2c283bc467fffc9faee414a6208735073b70716a.tar.bz2
* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
format.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbarch.c2
-rwxr-xr-xgdb/gdbarch.sh2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b382389..7d3abc0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-20 Andrew Cagney <ac131313@redhat.com>
+
+ * gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
+ format.
+
2001-12-19 Jim Blandy <jimb@redhat.com>
* s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regs
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 2de3360..5fb8ab4 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -1877,7 +1877,7 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file)
"gdbarch_dump: TARGET_CHAR_SIGNED # %s\n",
XSTRING (TARGET_CHAR_SIGNED));
fprintf_unfiltered (file,
- "gdbarch_dump: TARGET_CHAR_SIGNED = %d\n",
+ "gdbarch_dump: TARGET_CHAR_SIGNED = %ld\n",
(long) TARGET_CHAR_SIGNED);
#endif
#ifdef TARGET_DOUBLE_BIT
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index e263e45..03f1267 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -385,7 +385,7 @@ v::TARGET_ADDR_BIT:int:addr_bit::::8 * sizeof (void*):0:TARGET_PTR_BIT:
v::TARGET_BFD_VMA_BIT:int:bfd_vma_bit::::8 * sizeof (void*):TARGET_ARCHITECTURE->bits_per_address::0
#
# One if \`char' acts like \`signed char', zero if \`unsigned char'.
-v::TARGET_CHAR_SIGNED:int:char_signed::::1:-1:1::%d::
+v::TARGET_CHAR_SIGNED:int:char_signed::::1:-1:1::::
#
v::IEEE_FLOAT:int:ieee_float::::0:0::0:::
#