aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-11-02 04:44:47 +0000
committerJason Molenda <jmolenda@apple.com>1999-11-02 04:44:47 +0000
commit5c44784c11ecc8febfff615b88496c56c9ad5274 (patch)
tree74f9079f5b0ddae1182abf087af8adc02103e149 /gdb/gdbtypes.c
parent9503fd8735ec438fcb2fca34afa276e3e6ca94f5 (diff)
downloadfsf-binutils-gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.zip
fsf-binutils-gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.tar.gz
fsf-binutils-gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.tar.bz2
import gdb-1999-11-01 snapshot
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r--gdb/gdbtypes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index ffed1e6..e8917d0 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -658,7 +658,8 @@ init_simd_type (char *name,
memset (f, 0, sizeof (*f));
f->loc.bitpos = 0;
f->type = create_array_type (0, elt_type,
- create_range_type (0, builtin_type_int, 0, n));
+ create_range_type (0, builtin_type_int,
+ 0, n-1));
f->name = elt_name;
/* Build a struct type with that field. */