diff options
author | Martin Hunt <hunt@redhat.com> | 1996-11-22 23:59:34 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1996-11-22 23:59:34 +0000 |
commit | d9b9cbf3cc9c440c5be55ad9b59c282bd1339d53 (patch) | |
tree | 62d21a7ab5bc069d732d6a1e33584cb5bd1cb898 /gdb/values.c | |
parent | 5895d3f225c4951651486a12d8048ba275a5df7c (diff) | |
download | gdb-d9b9cbf3cc9c440c5be55ad9b59c282bd1339d53.zip gdb-d9b9cbf3cc9c440c5be55ad9b59c282bd1339d53.tar.gz gdb-d9b9cbf3cc9c440c5be55ad9b59c282bd1339d53.tar.bz2 |
Fri Nov 22 15:55:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* valops.c (value_at, value_fetch_lazy): Put in D10V call
to fix up address pointers.
* values.c (value_from_longest): Removed previous d10v changes.
* config/d10v/tm-d10v.h (TARGET_PTR_BIT): Change to 4 bytes.
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/values.c b/gdb/values.c index 404485d..bfb0108 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -1259,17 +1259,9 @@ value_from_longest (type, num) case TYPE_CODE_PTR: /* This assumes that all pointers of a given length have the same form. */ - -/* start-sanitize-d10v */ -#ifdef GDB_TARGET_IS_D10V - /* D10V function pointers need adjusted */ - if (TYPE_TARGET_TYPE(type) && TYPE_CODE(TYPE_TARGET_TYPE(type)) == TYPE_CODE_FUNC) - num = D10V_MAKE_IADDR (num); -#endif -/* end-sanitize-d10v */ store_address (VALUE_CONTENTS_RAW (val), len, (CORE_ADDR) num); break; - + default: error ("Unexpected type encountered for integer constant."); } |