* 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:
parent
3e1b9a8a68
commit
b97aedf317
3 changed files with 24 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue