mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-03 07:21:58 +00:00
* dwarf2read.c (read_subrange_type): Add comment for variable
sized arrays.
This commit is contained in:
parent
e07c999f48
commit
dd5e69327d
@ -1,3 +1,8 @@
|
||||
2004-10-03 Daniel Jacobowitz <dan@debian.org>
|
||||
|
||||
* dwarf2read.c (read_subrange_type): Add comment for variable
|
||||
sized arrays.
|
||||
|
||||
2004-10-03 Paul Hilfinger <hilfingr@nile.gnat.com>
|
||||
|
||||
* Makefile.in (.l.c): Modify rule for compatibility with recent
|
||||
|
@ -4610,6 +4610,9 @@ read_subrange_type (struct die_info *die, struct dwarf2_cu *cu)
|
||||
low = 1;
|
||||
}
|
||||
|
||||
/* FIXME: For variable sized arrays either of these could be
|
||||
a variable rather than a constant value. We'll allow it,
|
||||
but we don't know how to handle it. */
|
||||
attr = dwarf2_attr (die, DW_AT_lower_bound, cu);
|
||||
if (attr)
|
||||
low = dwarf2_get_attr_constant_value (attr, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user