diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-12-20 17:23:06 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-12-20 17:23:06 +0000 |
commit | 2c283bc467fffc9faee414a6208735073b70716a (patch) | |
tree | 32656537565fe29ab8ecaac272198b4c796bb358 /gdb | |
parent | 3f3c6e550355631a383176459791b539e4700704 (diff) | |
download | binutils-gdb-2c283bc467fffc9faee414a6208735073b70716a.tar.gz |
* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
format.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbarch.c | 2 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b3823897d74..7d3abc05189 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 2de3360e1c1..5fb8ab4077d 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 e263e45acf0..03f1267e4ce 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::: # |