On Thursday 13 July 2006 20:45, Jeff Dike wrote: > On Thu, Jul 13, 2006 at 08:49:31PM +0800, Miao Qingjun wrote: > > Under UML bash, I gdb a multithreading program, and set a breakpoint on > > thread entry function, But when run it, gdb is not stop at the > > breakpoint, > > instead, program exit because: > > > > Program terminated with signal SIGTRAP, Trace/breakpoint trap. > > What version of UML? Sounds like a bug in UML interrupt handling. > > Can you send me a copy of the binary you're debugging? SIGTRAP must be sent for the breakpoint - I think the problem is that either GDB misinterprets it or it is not sent the correct way.
-- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
