This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Cross target core debugging: host=i386, Target=PPC
On Mon, Jul 29, 2002 at 04:40:57PM -0700, Jason R Thorpe wrote:
> On Mon, Jul 29, 2002 at 02:53:59PM -0700, Kevin Buettner wrote:
>
> > This part will need some work. (The other parts might too; I haven't
> > looked closely at them yet.) Anyway, there are several problems here...
> >
> > 1) The constants ELF_NGREG, ELF_NFPREG, ELF_NVRREG will almost certainly
> > be incorrect for other targets.
> >
> > 2) Defining elf_greg_t in terms of a long isn't portable.
> >
> > 3) Likewise, for elf_fpreg_t being defined in terms of a double.
>
> Take a look at the way the e.g. mips-netbsd or the sh-netbsdelf targets
> do this.
I'll dust off my patches for cross cores tonight. I've just been
sitting on them out of sheer laziness.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer