diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 55077017a4e..391ca991d31 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-10-24 Martin M. Hunt + + * utils.c (string_to_core_addr): Revert patch from 11 Oct. + 2002-10-24 Elena Zannoni * symtab.h (INIT_SAL): Delete macro. diff --git a/gdb/utils.c b/gdb/utils.c index fe8be07ae4d..24a2819f492 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; }