From: Andrew Cagney Date: Thu, 20 Dec 2001 17:23:06 +0000 (+0000) Subject: * gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c283bc467fffc9faee414a6208735073b70716a;p=binutils-gdb.git * gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print format. --- 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 + + * gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print + format. + 2001-12-19 Jim Blandy * 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::: #