Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* conditional traps on powerpc
@ 2001-02-19 13:59 Eric Marsden
  2001-02-19 14:33 ` Fernando Nasser
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Marsden @ 2001-02-19 13:59 UTC (permalink / raw)
  To: gdb

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/ >


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-02-19 15:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-19 13:59 conditional traps on powerpc Eric Marsden
2001-02-19 14:33 ` Fernando Nasser
2001-02-19 15:02   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox