This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

conditional traps on powerpc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]