OSDN Git Service

* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
authorAndrew Cagney <cagney@redhat.com>
Thu, 20 Dec 2001 17:23:06 +0000 (17:23 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 20 Dec 2001 17:23:06 +0000 (17:23 +0000)
format.

gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.sh

index b382389..7d3abc0 100644 (file)
@@ -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
index 2de3360..5fb8ab4 100644 (file)
@@ -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
index e263e45..03f1267 100755 (executable)
@@ -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:::
 #