From 2c283bc467fffc9faee414a6208735073b70716a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 20 Dec 2001 17:23:06 +0000 Subject: * gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print format. --- gdb/ChangeLog | 5 +++++ gdb/gdbarch.c | 2 +- gdb/gdbarch.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gdb') 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 + + * 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 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::: # -- cgit v1.1