forked from Imagelibrary/binutils-gdb
2002-10-11 Martin M. Hunt <hunt@redhat.com>
* utils.c (string_to_core_addr): After turning string into a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS which will do necessary sign-extension, etc.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2002-10-11 Martin M. Hunt <hunt@redhat.com>
|
||||||
|
|
||||||
|
* utils.c (string_to_core_addr): After turning string into
|
||||||
|
a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS
|
||||||
|
which will do necessary sign-extension, etc.
|
||||||
|
|
||||||
2002-10-11 Daniel Jacobowitz <drow@mvista.com>
|
2002-10-11 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* c-exp.y (THIS): Delete token and grammar rule.
|
* c-exp.y (THIS): Delete token and grammar rule.
|
||||||
|
|||||||
@@ -2649,6 +2649,8 @@ string_to_core_addr (const char *my_string)
|
|||||||
internal_error (__FILE__, __LINE__, "invalid decimal");
|
internal_error (__FILE__, __LINE__, "invalid decimal");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (INTEGER_TO_ADDRESS_P ())
|
||||||
|
addr = INTEGER_TO_ADDRESS (builtin_type_void_data_ptr, &addr);
|
||||||
return addr;
|
return addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user