diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-27 15:50:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-27 15:50:32 +0000 |
commit | f09cffaa4a5d50a98e6da686ec1f801cfaca76dd (patch) | |
tree | 714a8a8d56b42552f5a9c5e8350fe60847848cdc /gdb | |
parent | e92b0cc9b14f693df6d7e34882d76f62f5c467c8 (diff) | |
download | fsf-binutils-gdb-f09cffaa4a5d50a98e6da686ec1f801cfaca76dd.zip fsf-binutils-gdb-f09cffaa4a5d50a98e6da686ec1f801cfaca76dd.tar.gz fsf-binutils-gdb-f09cffaa4a5d50a98e6da686ec1f801cfaca76dd.tar.bz2 |
2002-11-26 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Re-generate.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbarch.c | 12 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 6 |
3 files changed, 15 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7989b65..c65dfe7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2002-11-26 Andrew Cagney <ac131313@redhat.com> + * gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name. + (TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto. + * gdbarch.c: Re-generate. + +2002-11-26 Andrew Cagney <ac131313@redhat.com> + * config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 71cf798..5b4ff7b 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -2132,8 +2132,8 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) "gdbarch_dump: TARGET_DOUBLE_FORMAT # %s\n", XSTRING (TARGET_DOUBLE_FORMAT)); fprintf_unfiltered (file, - "gdbarch_dump: TARGET_DOUBLE_FORMAT = %ld\n", - (long) TARGET_DOUBLE_FORMAT); + "gdbarch_dump: TARGET_DOUBLE_FORMAT = %s\n", + gdbarch->float_format->name); #endif #ifdef TARGET_FLOAT_BIT fprintf_unfiltered (file, @@ -2148,8 +2148,8 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) "gdbarch_dump: TARGET_FLOAT_FORMAT # %s\n", XSTRING (TARGET_FLOAT_FORMAT)); fprintf_unfiltered (file, - "gdbarch_dump: TARGET_FLOAT_FORMAT = %ld\n", - (long) TARGET_FLOAT_FORMAT); + "gdbarch_dump: TARGET_FLOAT_FORMAT = %s\n", + gdbarch->float_format->name); #endif #ifdef TARGET_INT_BIT fprintf_unfiltered (file, @@ -2180,8 +2180,8 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) "gdbarch_dump: TARGET_LONG_DOUBLE_FORMAT # %s\n", XSTRING (TARGET_LONG_DOUBLE_FORMAT)); fprintf_unfiltered (file, - "gdbarch_dump: TARGET_LONG_DOUBLE_FORMAT = %ld\n", - (long) TARGET_LONG_DOUBLE_FORMAT); + "gdbarch_dump: TARGET_LONG_DOUBLE_FORMAT = %s\n", + gdbarch->float_format->name); #endif #ifdef TARGET_LONG_LONG_BIT fprintf_unfiltered (file, diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index bb6d400..2f01477 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -578,9 +578,9 @@ F:2:REG_STRUCT_HAS_ADDR:int:reg_struct_has_addr:int gcc_p, struct type *type:gcc F:2:SAVE_DUMMY_FRAME_TOS:void:save_dummy_frame_tos:CORE_ADDR sp:sp::0:0 v:2:PARM_BOUNDARY:int:parm_boundary # -v:2:TARGET_FLOAT_FORMAT:const struct floatformat *:float_format::::::default_float_format (gdbarch) -v:2:TARGET_DOUBLE_FORMAT:const struct floatformat *:double_format::::::default_double_format (gdbarch) -v:2:TARGET_LONG_DOUBLE_FORMAT:const struct floatformat *:long_double_format::::::default_double_format (gdbarch) +v:2:TARGET_FLOAT_FORMAT:const struct floatformat *:float_format::::::default_float_format (gdbarch)::%s:gdbarch->float_format->name +v:2:TARGET_DOUBLE_FORMAT:const struct floatformat *:double_format::::::default_double_format (gdbarch)::%s:gdbarch->float_format->name +v:2:TARGET_LONG_DOUBLE_FORMAT:const struct floatformat *:long_double_format::::::default_double_format (gdbarch)::%s:gdbarch->float_format->name f:2:CONVERT_FROM_FUNC_PTR_ADDR:CORE_ADDR:convert_from_func_ptr_addr:CORE_ADDR addr:addr:::core_addr_identity::0 # On some machines there are bits in addresses which are not really # part of the address, but are used by the kernel, the hardware, etc. |