mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
This commit is contained in:
parent
919e35ed89
commit
fef862e5fe
@ -1,3 +1,7 @@
|
|||||||
|
2007-02-22 Markus Deuling <deuling@de.ibm.com>
|
||||||
|
|
||||||
|
* valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
|
||||||
|
|
||||||
2007-02-20 Joel Brobecker <brobecker@adacore.com>
|
2007-02-20 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* gdb_expat.h (XMLCALL): Define if not already defined.
|
* gdb_expat.h (XMLCALL): Define if not already defined.
|
||||||
|
@ -934,7 +934,7 @@ value_ind (struct value *arg1)
|
|||||||
BUILTIN_TYPE_LONGEST would seem to be a mistake. */
|
BUILTIN_TYPE_LONGEST would seem to be a mistake. */
|
||||||
if (TYPE_CODE (base_type) == TYPE_CODE_INT)
|
if (TYPE_CODE (base_type) == TYPE_CODE_INT)
|
||||||
return value_at_lazy (builtin_type_int,
|
return value_at_lazy (builtin_type_int,
|
||||||
(CORE_ADDR) value_as_long (arg1));
|
(CORE_ADDR) value_as_address (arg1));
|
||||||
else if (TYPE_CODE (base_type) == TYPE_CODE_PTR)
|
else if (TYPE_CODE (base_type) == TYPE_CODE_PTR)
|
||||||
{
|
{
|
||||||
struct type *enc_type;
|
struct type *enc_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user