This is the mail archive of the gdb@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]

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


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