From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4643 invoked by alias); 6 Oct 2005 02:16:31 -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 4582 invoked by uid 22791); 6 Oct 2005 02:16:27 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 06 Oct 2005 02:16:27 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1ENLJ2-0005mU-NQ; Wed, 05 Oct 2005 22:16:24 -0400 Date: Thu, 06 Oct 2005 02:16:00 -0000 From: Daniel Jacobowitz To: Dmytro Bablinyuk Cc: gdb@sources.redhat.com Subject: Re: Using cross compiled GDB under Emacs Message-ID: <20051006021624.GA22183@nevyn.them.org> Mail-Followup-To: Dmytro Bablinyuk , gdb@sources.redhat.com References: <43448083.9020906@rftechnology.com.au> <4344889F.40401@rftechnology.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4344889F.40401@rftechnology.com.au> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-10/txt/msg00027.txt.bz2 On Thu, Oct 06, 2005 at 12:14:55PM +1000, Dmytro Bablinyuk wrote: > > >Does anybody know how to 'attach' emacs to gdb? > >The program was compiled with these options > >-ggdb -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ > >-DTEXT_BASE=0xFFF00000 -fno-builtin -ffreestanding -nostdinc -isystem > >-pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_8260 -DCONFIG_CPM2 -ffixed-r2 > >-ffixed-r29 -mstring -mcpu=603e -mmultiple -Wall -Wstrict-prototypes > Also the problem is with 's' and 'n' commands. > If I type > (gdb) s > it will never stop and will simply keep going until I reset JTAG. > > (gdb) s > > Program received signal 0, Signal 0. > This looks like your remote debugging stub/setup is just broken. GDB should not be detecting either signal 0, or signal handlers. -- Daniel Jacobowitz CodeSourcery, LLC