conditional traps on powerpc
Eric Marsden
emarsden@mail.dotcom.fr
Mon Feb 19 13:59:00 GMT 2001
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/ >
More information about the Gdb
mailing list