This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Problem cross-debugging from Solaris to Linux/PPC
- From: "Paul J.Y. Lahaie" <pjlahaie at steamballoon dot com>
- To: gdb at sources dot redhat dot com
- Date: 04 Oct 2002 12:47:29 -0400
- Subject: Problem cross-debugging from Solaris to Linux/PPC
I'm trying to cross-debug from Solaris 9/SPARC to Linux/PPC and I am
unable to get it working.
I've got Linux/x86 to Linux/PPC working with gdb 5.2 and I am using the
same gdbserver on the Linux/PPC host.
On the Solaris host I get the following:
(gdb) file ~/hello
Reading symbols from ~/hello...done.
(gdb) target remote ppc:5000
Remote debugging using ppc:5000
0x30010e40 in ?? ()
(gdb) break main
Breakpoint 1 at 0x100004bc: file hello.c, line 5.
(gdb) cont
Continuing.
warning: Cannot insert breakpoint -1:
Cannot access memory at address 0x3001a084
(gdb)
I've tried both 5.2 and 5.2.1, compiled with gcc 3.2 and gcc 2.95.3.
Paul