diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-11-02 04:44:47 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-11-02 04:44:47 +0000 |
commit | ca799f40e93972d04247a5bbc76b749a2d462824 (patch) | |
tree | d0142d7a9db3d791008037a060e4336032339c66 /gdb/gdbtypes.c | |
parent | 1f80975aceb82ecd4fc9bf4e988e6d1b7c7bbca1 (diff) | |
download | gdb-ca799f40e93972d04247a5bbc76b749a2d462824.tar.gz |
import gdb-1999-11-01 snapshot
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r-- | gdb/gdbtypes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index ffed1e6e2e8..e8917d06855 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. */ |