This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Add FR-V Linux core file support
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 1 Mar 2006 17:08:00 -0700
- Subject: Re: [RFC] Add FR-V Linux core file support
- References: <20060214141016.4e2e56d8@ironwood.lan> <20060220153046.GD14155@nevyn.them.org> <20060220125215.3ea6cac7@ironwood.lan> <20060220195344.GA24975@nevyn.them.org>
On Mon, 20 Feb 2006 14:53:44 -0500
Daniel Jacobowitz <drow@false.org> wrote:
> On Mon, Feb 20, 2006 at 12:52:15PM -0700, Kevin Buettner wrote:
> > The gregset struct does not include the loadmap addresses. I considered
> > adding them but decided against it because they'd be the same for all of
> > the threads. There's no point in bulking up the gregset for an address
> > which is only really needed for shared library initialization.
>
> Make sure GDB doesn't try to scribble a loadmap address into a gregset
> when requested by libthread_db, then, if anyone tries to unify this
> with the fill_gregset used by linux-thread-db.c :-)
I checked on this. At the moment, there's no danger of this occurring
since FR-V doesn't define a fill_gregset function. (Thread support is
handled by the stub.)
Kevin