From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26178 invoked by alias); 28 Feb 2009 13:02:22 -0000 Received: (qmail 26023 invoked by uid 22791); 28 Feb 2009 13:02:21 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 28 Feb 2009 13:02:11 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n1SD26YR028034; Sat, 28 Feb 2009 14:02:06 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n1SD26n5020357; Sat, 28 Feb 2009 14:02:06 +0100 (CET) Date: Sat, 28 Feb 2009 13:02:00 -0000 Message-Id: <200902281302.n1SD26n5020357@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: laurent@guerby.net CC: gdb@sourceware.org In-reply-to: <1235824612.11347.446.camel@localhost> (message from Laurent GUERBY on Sat, 28 Feb 2009 13:36:52 +0100) Subject: Re: GDB 6.8 on sparc64-linux not working, idem on powerpc64-linux References: <1235812429.11347.438.camel@localhost> <1235824612.11347.446.camel@localhost> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00177.txt.bz2 > From: Laurent GUERBY > Date: Sat, 28 Feb 2009 13:36:52 +0100 > > (gdb) b main > Breakpoint 1 at 0x1000044c: file toto.c, line 1. > (gdb) r > Starting program: /home/guerby/tmp/a.out > warning: no loadable sections found in added symbol-file system-supplied DSO at 0x100000 > > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x1000044c0002d032 in ?? () > (gdb) bt > #0 0x1000044c0002d032 in ?? () > #1 0x0007d5a400000000 in ?? () > Cannot access memory at address 0xfffff4f010018940 > (gdb) n > Cannot find bounds of current function This (and the sparc64 issue) smells like a mismatch between bitness of gdb and the program you're trying to debug. What does file(1) report when you run it on your gdb binary and your program's binary?