This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARI `asection' and `sec_ptr'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]