question about GDB message

Daniel Jacobowitz drow@false.org
Tue Sep 25 17:22:00 GMT 2007


On Tue, Sep 25, 2007 at 09:45:28AM -0700, The Westlakers wrote:
> > Looking at the source code, it looks to me like there is no support
> > for 64-bit bare ELF binaries on SPARC; only Linux / Solaris / BSD
> > binaries.
> any idea how much work to be done to support it? I may be able to do it
> along with my current GDB support for Ultra Sparc N1 and N2.

It should not be a lot of work; it's a little tricky to do it without
breaking other configurations though.  Take a look at sparc64_init_abi
and its current callers.

Something as simple as this might work, but no promises:

  gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9,
                          GDB_OSABI_UNKNOWN, sparc64_init_abi);


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list