diff options
author | Michael Snyder <msnyder@specifix.com> | 2000-08-30 00:58:58 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2000-08-30 00:58:58 +0000 |
commit | d97a3c65ac68a8dc117f43ef2caeb4b101e7655a (patch) | |
tree | 243c2fa6ce5522e67c0eb3d3f7ccf8a51e4bed90 /gdb/valops.c | |
parent | 7a83007edcd9d53a80bc6135f4cb3d00fc5ace43 (diff) | |
download | gdb-d97a3c65ac68a8dc117f43ef2caeb4b101e7655a.tar.gz |
2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
* valops.c (value_cast): Indentation fix-up.
* acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T,
HAVE_STRUCT_LINK_MAP32): New configure macros.
* config.in: Ditto.
* configure.in: Test for the above new macros.
* breakpoint.c: Update copyright date.
* core-sol2.c: Include v9/sys/privregs.h directly to
work around a bug in Sun's Solaris 8 header files.
(fetch_core_registers): Use the above new configure macros to
handle cross-debugging of 32-bit core files on a 64-bit host.
* sol-thread.c (ps_pdmodel) New function.
(rw_common): For debugging of 32-bit apps on a 64-bit host,
truncate addresses to 32 bits.
* solib.c (solib_extract_address): Functionize. Make 32/64 aware.
(LM_ADDR, LM_NEXT, LM_NAME): Ditto.
(IGNORE_FIRST_LINK_MAP): Ditto.
(first_link_map_member): Make 32/64 aware.
(open_symbol_file_object): Ditto.
(current_sos): Ditto.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 19482f1bffe..8a7f03693bb 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -286,8 +286,8 @@ value_cast (struct type *type, register value_ptr arg2) (LONGEST) (longest ? 1 : 0) : longest); } else if (code1 == TYPE_CODE_PTR && (code2 == TYPE_CODE_INT || - code2 == TYPE_CODE_ENUM || - code2 == TYPE_CODE_RANGE)) + code2 == TYPE_CODE_ENUM || + code2 == TYPE_CODE_RANGE)) { int ptr_bit = HOST_CHAR_BIT * TYPE_LENGTH (type); LONGEST longest = value_as_long (arg2); |