This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: question about GDB message
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