This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: ARI `asection' and `sec_ptr'
- From: Mark Kettenis <kettenis at chello dot nl>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Andrew Cagney <ac131313 at redhat dot com>, gdb at sources dot redhat dot com
- Date: 01 Mar 2003 14:40:39 +0100
- Subject: Re: ARI `asection' and `sec_ptr'
- References: <3E59BF0E.7020708@redhat.com> <20030224142459.GA24793@nevyn.them.org> <3E5A3550.7020700@redhat.com> <20030224151844.GA26127@nevyn.them.org> <3E5A3D85.7000908@redhat.com> <20030224154905.GA26783@nevyn.them.org> <3E5A465D.5040308@redhat.com> <20030224162002.GA27574@nevyn.them.org>
Daniel Jacobowitz <drow at mvista dot 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'.
Mark