aboutsummaryrefslogtreecommitdiff
path: root/binutils/ieee.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-03-18 23:06:29 +0000
committerIan Lance Taylor <ian@airs.com>1996-03-18 23:06:29 +0000
commit6ae6090e22c7c1d1f82ec0c25bb1f03a70b2dbe6 (patch)
tree7203800dcfbf9aeed50dd7deb17dbca2b2ae7435 /binutils/ieee.c
parent0ef22be97fe3b7557f42873884537c09aa05f977 (diff)
downloadgdb-6ae6090e22c7c1d1f82ec0c25bb1f03a70b2dbe6.zip
gdb-6ae6090e22c7c1d1f82ec0c25bb1f03a70b2dbe6.tar.gz
gdb-6ae6090e22c7c1d1f82ec0c25bb1f03a70b2dbe6.tar.bz2
* stabs.c (parse_stab_range_type): A complex type is defined as a
subrange of itself with the high bound zero. * ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16.
Diffstat (limited to 'binutils/ieee.c')
-rw-r--r--binutils/ieee.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/ieee.c b/binutils/ieee.c
index 82f1cef..32c5179 100644
--- a/binutils/ieee.c
+++ b/binutils/ieee.c
@@ -5184,6 +5184,10 @@ ieee_complex_type (p, size)
case 4:
code = 'c';
break;
+ case 12:
+ case 16:
+ /* These cases can be output by gcc -gstabs. Outputting the
+ wrong type is better than crashing. */
case 8:
code = 'd';
break;