Re: ARI `asection' and `sec_ptr'

Daniel Jacobowitz
2003-02-24T15:49:22Z

On Mon, Feb 24, 2003 at 10:43:01AM -0500, Andrew Cagney wrote:
> >GDB's preference is `struct sec' however, yes, BFD may have other
> >>preferences. You'll note that I've already sent out a patch to clarify
> >>the status of `struct _bfd'.
> >
> >
> >Why is GDB's preference 'struct sec'
>
> Please read GDB's internal document.

It says:

Declarations like `struct foo *' should be used in preference to
declarations like `typedef struct foo { ... } *foo_ptr'.

I believe that to be a different issue; I'm not suggesting we use
sec_ptr.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer