This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
ARI `asection' and `sec_ptr'
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 24 Feb 2003 01:43:26 -0500
- Subject: ARI `asection' and `sec_ptr'
Hello,
Assuming I'm reading the code right. BFD has the declarations:
typedef struct sec
{
...
} asection;
typedef struct sec *sec_ptr;
GDB uses all three (sec_ptr, asection, struct sec) and that makes things
pretty confusing. Consequently, I've added asection and sec_ptr to the
ARI. Instead people can use `struct sec *' which is consistent with
GDB's other types.
enjoy,
Andrew