diff options
author | Martin Hunt <hunt@redhat.com> | 2002-10-24 23:46:09 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2002-10-24 23:46:09 +0000 |
commit | e8d96a5d568e5943e0566f0e0ae96ceb3c6f7193 (patch) | |
tree | 5a7f6bcd59f0d3e41c389fbb5578f7d9c4622111 /gdb | |
parent | 28f462982525bc976f150f028ae08b1339cc08b3 (diff) | |
download | gdb-e8d96a5d568e5943e0566f0e0ae96ceb3c6f7193.zip gdb-e8d96a5d568e5943e0566f0e0ae96ceb3c6f7193.tar.gz gdb-e8d96a5d568e5943e0566f0e0ae96ceb3c6f7193.tar.bz2 |
2002-10-24 Martin M. Hunt <hunt@redhat.com>
* utils.c (string_to_core_addr): Revert patch from 11 Oct.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/utils.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5507701..391ca99 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-10-24 Martin M. Hunt <hunt@redhat.com> + + * utils.c (string_to_core_addr): Revert patch from 11 Oct. + 2002-10-24 Elena Zannoni <ezannoni@redhat.com> * symtab.h (INIT_SAL): Delete macro. diff --git a/gdb/utils.c b/gdb/utils.c index fe8be07..24a2819 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -2698,8 +2698,6 @@ string_to_core_addr (const char *my_string) internal_error (__FILE__, __LINE__, "invalid decimal"); } } - if (INTEGER_TO_ADDRESS_P ()) - addr = INTEGER_TO_ADDRESS (builtin_type_void_data_ptr, &addr); return addr; } |