aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-lang.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-02-23 19:30:22 +0000
committerFred Fish <fnf@specifix.com>1993-02-23 19:30:22 +0000
commitb6236d6ec4f9d7f02e363da16f24c4f1e5a58fea (patch)
treeb279dfd69da6764416c85903610c7756b83270ed /gdb/ch-lang.c
parentba7f177aeb38d378795851fec10745697cd7fd29 (diff)
downloadfsf-binutils-gdb-b6236d6ec4f9d7f02e363da16f24c4f1e5a58fea.zip
fsf-binutils-gdb-b6236d6ec4f9d7f02e363da16f24c4f1e5a58fea.tar.gz
fsf-binutils-gdb-b6236d6ec4f9d7f02e363da16f24c4f1e5a58fea.tar.bz2
* ch-lang.c (chill_create_fundamental_type): Track compiler
change that now emits debugging info with the type long for Chill longs. * dwarfread.c (read_tag_string_type): Rewrite to allow forward references of TAG_string_type DIEs in user defined types.
Diffstat (limited to 'gdb/ch-lang.c')
-rw-r--r--gdb/ch-lang.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c
index 78a2067..6467647 100644
--- a/gdb/ch-lang.c
+++ b/gdb/ch-lang.c
@@ -223,10 +223,14 @@ chill_create_fundamental_type (objfile, typeid)
case FT_UNSIGNED_SHORT: /* Chill ints are 2 bytes */
type = init_type (TYPE_CODE_INT, 2, TYPE_FLAG_UNSIGNED, "UINT", objfile);
break;
- case FT_INTEGER: /* Chill longs are 4 bytes */
+ case FT_INTEGER: /* FIXME? */
+ case FT_SIGNED_INTEGER: /* FIXME? */
+ case FT_LONG: /* Chill longs are 4 bytes */
+ case FT_SIGNED_LONG: /* Chill longs are 4 bytes */
type = init_type (TYPE_CODE_INT, 4, TYPE_FLAG_SIGNED, "LONG", objfile);
break;
- case FT_UNSIGNED_INTEGER: /* Chill longs are 4 bytes */
+ case FT_UNSIGNED_INTEGER: /* FIXME? */
+ case FT_UNSIGNED_LONG: /* Chill longs are 4 bytes */
type = init_type (TYPE_CODE_INT, 4, TYPE_FLAG_UNSIGNED, "ULONG", objfile);
break;
case FT_FLOAT: