diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-31 04:10:51 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-31 04:10:51 +0000 |
commit | 7445d1e6a63730fa89978d81b08c86588a85cdbe (patch) | |
tree | 5f846bfc5b57f60502b379ca80e74ae61734a16f /gdb/d10v-tdep.c | |
parent | 3bf69f878e973bdf9d347fa6399d2d5e8b3c4192 (diff) | |
download | gdb-7445d1e6a63730fa89978d81b08c86588a85cdbe.tar.gz |
* defs.h (vwarning): Declare.
(warning_begin): Delete declaration.
* utils.c (vwarning): New function.
(warning): Call vwarning.
(warning_begin): Delete function.
* rs6000-nat.c (vmap_ldinfo): Use the function warning to print
the warning message.
* d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
warning_begin.
Diffstat (limited to 'gdb/d10v-tdep.c')
-rw-r--r-- | gdb/d10v-tdep.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 0d8934fece2..d06a0b9b107 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -402,16 +402,6 @@ d10v_address_to_pointer (struct type *type, void *buf, CORE_ADDR addr) if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_FUNC || TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_METHOD) { -#if 0 - if (! d10v_iaddr_p (addr)) - { - warning_begin (); - fprintf_unfiltered (gdb_stderr, "address `"); - print_address_numeric (addr, 1, gdb_stderr); - fprintf_unfiltered (gdb_stderr, "' is not a code address\n"); - } -#endif - store_unsigned_integer (buf, TYPE_LENGTH (type), d10v_convert_iaddr_to_raw (addr)); } |