FORTRAN_HACK macro?
Michael Elizabeth Chastain
mec.gnu@mindspring.com
Thu Jan 8 23:25:00 GMT 2004
Beats me. Here's some fact-crumbs:
dwarf2read.c was not in gdb 4.16.
dwarf2read.c was in gdb 4.17, dated 1998-01-28
1998-01-28 version already has FORTRAN_HACK
code around FORTRAN_HACK is about the same as it is today
ChangeLog-96 says dwarf2read.c introduced on 1996-07-19.
grepping on 'read_array_type' in the ChangeLogs turns up:
1996-12-01:
(dwarf_read_array_type): Handle variable length arrays.
Use lookup_pointer_type instead of handcrafting a type.
Create array type only if a DW_TAG_subrange_type was found.
1997-01-25:
(read_array_type): Renamed from dwarf_read_array_type.
Default upper array bound to describe an array with unspecified
length.
Create array types in backwards order, as dwarf2 puts out the array
dimensions from left to right.
1998-01-28:
(read_array_type): Fix langauge test.
If the FORTRAN_HACK was in the 1996-07-19 version then I would guess
that it is an unimplemented stub and can be killed/replaced easily.
If it was added after 1996-07-19 then someone was trying to do
something.
Michael C
More information about the Gdb
mailing list