Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eric Marsden <emarsden@mail.dotcom.fr>
To: gdb@sources.redhat.com
Subject: conditional traps on powerpc
Date: Mon, 19 Feb 2001 13:59:00 -0000	[thread overview]
Message-ID: <wziy9v2z65l.fsf@mail.dotcom.fr> (raw)

I have a problem debugging a program which uses conditional traps on
powerpc (TWxxx instructions). Upon encountering these the linuxppc
kernel raises a SIGTRAP, which is grabbed by gdb. When running such a
program under gdb I can't distinguish between normal breakpoints and
these conditional trap instructions; debugging becomes impossible.

Is there some way to handle this situation, or is it necessary to
modify gdb so that it looks at the faulting instruction to determine
whether it was a conditional trap?

-- 
Eric Marsden                          <URL: http://www.laas.fr/~emarsden/ >


             reply	other threads:[~2001-02-19 13:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-19 13:59 Eric Marsden [this message]
2001-02-19 14:33 ` Fernando Nasser
2001-02-19 15:02   ` Andrew Cagney

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=wziy9v2z65l.fsf@mail.dotcom.fr \
    --to=emarsden@mail.dotcom.fr \
    --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