Re: Sparc supply_gregset and supply_fpregset

Daniel Jacobowitz
2002-02-27T22:29:51Z

On Wed, Feb 27, 2002 at 02:26:04PM -0800, David O'Brien wrote:
> On Wed, Feb 27, 2002 at 05:23:04PM -0500, Daniel Jacobowitz wrote:
> > > Who (which file) is 1 to supply the definitions for supply_gregset
> > > and supply_fpregset when USE_PROC_FS is not set?
> >
> > Normally your target -nat file will do this.
> > If you can do them from the target -tdep file without a great deal of
> > awkwardness, however, that's preferable.
>
> I must be missing something. I am following the NetBSD bits, and I do
> not see how they are dealing with this. Do you happen to know?

I'm not familiar with them... *_gregset are only used by:
- Thread code, which is I believe GNU/Linux specific (lin-lwp rather
than the generic thread_db)
- Core dump code.

Does the NetBSD code you're looking at even support core dumps?
Perhaps it does so without these functions...

--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer