From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3589 invoked by alias); 6 Oct 2005 02:14:50 -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 3580 invoked by uid 22791); 6 Oct 2005 02:14:46 -0000 Received: from fep4.mfe.bur.connect.com.au (HELO mfep4.connect.com.au) (203.63.86.4) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 06 Oct 2005 02:14:46 +0000 Received: from [192.168.1.100] (cor12-ppp681.hay.dsl.connect.net.au [61.68.71.173]) by mfep4.connect.com.au (Postfix) with ESMTP id B7744B046 for ; Thu, 6 Oct 2005 12:14:43 +1000 (EST) Message-ID: <4344889F.40401@rftechnology.com.au> Date: Thu, 06 Oct 2005 02:14:00 -0000 From: Dmytro Bablinyuk User-Agent: Debian Thunderbird 1.0.7 (X11/20051001) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Re: Using cross compiled GDB under Emacs References: <43448083.9020906@rftechnology.com.au> In-Reply-To: <43448083.9020906@rftechnology.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-10/txt/msg00026.txt.bz2 > 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. (gdb) info line *(0x03fcbae8) Line 626 of "board.c" starts at address 0x3fcbae0 and ends at 0x3fcbaec . (gdb) The GDB version 6.3 I would be very grateful for advice Thank you