ARI `asection' and `sec_ptr'
Andrew Cagney
ac131313@redhat.com
Sat Mar 1 15:13:00 GMT 2003
> Daniel Jacobowitz <drow@mvista.com> writes:
>
>
>> Thanks, that was what I was looking for. I still prefer asection,
>> since it's the interface that binutils uses in exported interfaces, but
>> I don't have a strong preference.
> I really agree with Daniel here in that I think we should use the
> types used in the interface definitions as much as possible. For
> stuff internal to GDB we whould of course prefer `struct *foo' over
> using a typedf `foo_ptr'.
The interfaces defined in "bfd.h" uses both "asection" (~35) and "struct
sec" (~25) so it is not that clear cut.
Per my earlier post, I've sort clarification on this matter. So far,
`struct bfd *' has already been formalized.
Andrew
More information about the Gdb
mailing list