mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 02:35:00 +08:00
* language.c (pointer_type): Un-comment out.
* ax-gdb.c: Include language.h, use pointer_type throughout instead of testing TYPE_CODE_PTR. (gen_fetch): Include TYPE_CODE_REF. (gen_cast): Ditto.
This commit is contained in:
@ -696,6 +696,7 @@ float_type (struct type *type)
|
||||
CHECK_TYPEDEF (type);
|
||||
return TYPE_CODE (type) == TYPE_CODE_FLT;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Returns non-zero if the value is a pointer type */
|
||||
int
|
||||
@ -705,6 +706,7 @@ pointer_type (struct type *type)
|
||||
TYPE_CODE (type) == TYPE_CODE_REF;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Returns non-zero if the value is a structured type */
|
||||
int
|
||||
structured_type (struct type *type)
|
||||
|
Reference in New Issue
Block a user