diff options
author | Stan Shebs <shebs@codesourcery.com> | 2009-12-29 23:57:59 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2009-12-29 23:57:59 +0000 |
commit | b97aedf31771c9fe61d34c4537bb627efd4e2f75 (patch) | |
tree | 1762e1e42771409b7227628be66a0f4c9ac8feb7 /gdb/language.c | |
parent | 3e1b9a8a685612a610e7b54e7699377d964f3153 (diff) | |
download | gdb-b97aedf31771c9fe61d34c4537bb627efd4e2f75.zip gdb-b97aedf31771c9fe61d34c4537bb627efd4e2f75.tar.gz gdb-b97aedf31771c9fe61d34c4537bb627efd4e2f75.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/language.c')
-rw-r--r-- | gdb/language.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/language.c b/gdb/language.c index 5dbe81c..b12db18 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -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) |