diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-02-04 23:59:26 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-02-04 23:59:26 +0000 |
commit | e9be73e47f3f6d7b88e4ff14cacc7d9e49b73de3 (patch) | |
tree | ceb7d2a84bad09f8ca0518ac86bca28a3633ab0f /gdb/values.c | |
parent | 05d57f6f5fbacf6aa8c5d28964c65b2daa9fc58f (diff) | |
download | gdb-e9be73e47f3f6d7b88e4ff14cacc7d9e49b73de3.zip gdb-e9be73e47f3f6d7b88e4ff14cacc7d9e49b73de3.tar.gz gdb-e9be73e47f3f6d7b88e4ff14cacc7d9e49b73de3.tar.bz2 |
2003-02-04 Andrew Cagney <ac131313@redhat.com>
* values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
* TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
* utils.c (init_page_info): Delete reference to MPW in comments.
* main.c (captured_main): Delete #ifdef MPW.
Index: doc/ChangeLog
2003-02-04 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
descrption of IS_TRAPPED_INTERNALVAR.
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gdb/values.c b/gdb/values.c index a994862..0ce7dfd 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -423,11 +423,6 @@ value_of_internalvar (struct internalvar *var) { struct value *val; -#ifdef IS_TRAPPED_INTERNALVAR - if (IS_TRAPPED_INTERNALVAR (var->name)) - return VALUE_OF_TRAPPED_INTERNALVAR (var); -#endif - val = value_copy (var->value); if (VALUE_LAZY (val)) value_fetch_lazy (val); @@ -442,11 +437,6 @@ set_internalvar_component (struct internalvar *var, int offset, int bitpos, { register char *addr = VALUE_CONTENTS (var->value) + offset; -#ifdef IS_TRAPPED_INTERNALVAR - if (IS_TRAPPED_INTERNALVAR (var->name)) - SET_TRAPPED_INTERNALVAR (var, newval, bitpos, bitsize, offset); -#endif - if (bitsize) modify_field (addr, value_as_long (newval), bitpos, bitsize); @@ -459,11 +449,6 @@ set_internalvar (struct internalvar *var, struct value *val) { struct value *newval; -#ifdef IS_TRAPPED_INTERNALVAR - if (IS_TRAPPED_INTERNALVAR (var->name)) - SET_TRAPPED_INTERNALVAR (var, val, 0, 0, 0); -#endif - newval = value_copy (val); newval->modifiable = 1; @@ -517,10 +502,6 @@ show_convenience (char *ignore, int from_tty) for (var = internalvars; var; var = var->next) { -#ifdef IS_TRAPPED_INTERNALVAR - if (IS_TRAPPED_INTERNALVAR (var->name)) - continue; -#endif if (!varseen) { varseen = 1; |