Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Dmytro Bablinyuk <dmytro.bablinyuk@rftechnology.com.au>
Cc: gdb@sources.redhat.com
Subject: Re: Using cross compiled GDB under Emacs
Date: Thu, 06 Oct 2005 02:16:00 -0000	[thread overview]
Message-ID: <20051006021624.GA22183@nevyn.them.org> (raw)
In-Reply-To: <4344889F.40401@rftechnology.com.au>

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.
> <signal handler called>

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


      reply	other threads:[~2005-10-06  2:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-06  1:40 Dmytro Bablinyuk
2005-10-06  2:14 ` Dmytro Bablinyuk
2005-10-06  2:16   ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051006021624.GA22183@nevyn.them.org \
    --to=drow@false.org \
    --cc=dmytro.bablinyuk@rftechnology.com.au \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox