This is the mail archive of the gdb-patches@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: [PATCH] Cross target core debugging: host=i386, Target=PPC


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.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


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