From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6613 invoked by alias); 4 Oct 2002 16:46:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6566 invoked from network); 4 Oct 2002 16:46:23 -0000 Received: from unknown (HELO gondola.steamballoon.com) (209.151.1.130) by sources.redhat.com with SMTP; 4 Oct 2002 16:46:23 -0000 Received: from elenuial.steamballoon.com (elenuial.steamballoon.com [209.151.1.131]) by gondola.steamballoon.com (8.11.6/8.11.6) with ESMTP id g95GQYm10965 for ; Sat, 5 Oct 2002 12:26:34 -0400 Subject: Problem cross-debugging from Solaris to Linux/PPC From: "Paul J.Y. Lahaie" To: gdb@sources.redhat.com Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 04 Oct 2002 09:46:00 -0000 Message-Id: <1033750049.3667.19.camel@elenuial.steamballoon.com> Mime-Version: 1.0 X-SW-Source: 2002-10/txt/msg00039.txt.bz2 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