* [uml-devel] gdb debugging problem on uml-2.6.10 @ 2005-04-28 15:54 Mei,Jia 2005-04-28 20:51 ` Jeff Dike 2005-05-01 10:16 ` Blaisorblade 0 siblings, 2 replies; 6+ messages in thread From: Mei,Jia @ 2005-04-28 15:54 UTC (permalink / raw) To: user-mode-linux-devel Hi, When I try gdb-5.3.90 with uml in vanilla-2.6.10 kernel. I found a problem. When I set a breakpoint somewhere, and after some step, uml will always get a SIGTRAP signal and trap into gdb. Does anyone met the same problem as me? Any known fix for it? thanks! Eric ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [uml-devel] gdb debugging problem on uml-2.6.10 2005-04-28 15:54 [uml-devel] gdb debugging problem on uml-2.6.10 Mei,Jia @ 2005-04-28 20:51 ` Jeff Dike 2005-05-01 10:16 ` Blaisorblade 1 sibling, 0 replies; 6+ messages in thread From: Jeff Dike @ 2005-04-28 20:51 UTC (permalink / raw) To: Mei,Jia; +Cc: user-mode-linux-devel On Thu, Apr 28, 2005 at 11:54:37PM +0800, Mei,Jia wrote: > When I try gdb-5.3.90 with uml in vanilla-2.6.10 kernel. I found a problem. > > When I set a breakpoint somewhere, and after some step, uml will > always get a SIGTRAP signal and trap into gdb. You are running UML inside gdb, not gdb inside UML, correct? And you get a SIGTRAP from nowhere, someplace that you didn't set a breakpoint? Can you post a gdb log of this? And can you try something more recent than 2.6.10? Jeff ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [uml-devel] gdb debugging problem on uml-2.6.10 2005-04-28 15:54 [uml-devel] gdb debugging problem on uml-2.6.10 Mei,Jia 2005-04-28 20:51 ` Jeff Dike @ 2005-05-01 10:16 ` Blaisorblade 2005-05-05 2:54 ` Mei,Jia 1 sibling, 1 reply; 6+ messages in thread From: Blaisorblade @ 2005-05-01 10:16 UTC (permalink / raw) To: user-mode-linux-devel; +Cc: Mei,Jia On Thursday 28 April 2005 17:54, Mei,Jia wrote: > Hi, > > When I try gdb-5.3.90 with uml in vanilla-2.6.10 kernel. I found a problem. > > When I set a breakpoint somewhere, and after some step, uml will > always get a SIGTRAP signal and trap into gdb. > > Does anyone met the same problem as me? Any known fix for it? No, I don't think there is any known fix for it. However, does this problem keep on and makes debugging impossible (i.e., after you "cont", does it keep stopping)? > thanks! > > Eric Hmm, are you doing debugging in SKAS or in TT mode? In the second case, then it can be a bug in the ptrace proxy (which has a big bug with some gdb releases >= 6.0). In the first case, maybe it's something I observed too (I'm not sure because I don't use a lot gdb with UML)... Better, I've observed breakpoints being *skipped* by gdb. -- Paolo Giarrusso, aka Blaisorblade Skype user "PaoloGiarrusso" Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [uml-devel] gdb debugging problem on uml-2.6.10 2005-05-01 10:16 ` Blaisorblade @ 2005-05-05 2:54 ` Mei,Jia 2005-05-05 17:02 ` Blaisorblade 0 siblings, 1 reply; 6+ messages in thread From: Mei,Jia @ 2005-05-05 2:54 UTC (permalink / raw) To: user-mode-linux-devel Blaisorblade wrote: >>When I try gdb-5.3.90 with uml in vanilla-2.6.10 kernel. I found a problem. >> >>When I set a breakpoint somewhere, and after some step, uml will >>always get a SIGTRAP signal and trap into gdb. >> >>Does anyone met the same problem as me? Any known fix for it? > > No, I don't think there is any known fix for it. However, does this problem > keep on and makes debugging impossible (i.e., after you "cont", does it keep > stopping)? > > Hmm, are you doing debugging in SKAS or in TT mode? In the second case, then > it can be a bug in the ptrace proxy (which has a big bug with some gdb > releases >= 6.0). > > In the first case, maybe it's something I observed too (I'm not sure because I > don't use a lot gdb with UML)... Better, I've observed breakpoints being > *skipped* by gdb. I'm sorry for the late response since away for a few days. It turn out to be the rootfs problem, although I don't know why (not related to tls), change to a new rootfs fixed it. Maybe don't need to chase more on this. And appreciate you and Jeff's reply. Eric ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [uml-devel] gdb debugging problem on uml-2.6.10 2005-05-05 2:54 ` Mei,Jia @ 2005-05-05 17:02 ` Blaisorblade 2005-05-05 20:14 ` Mei,Jia 0 siblings, 1 reply; 6+ messages in thread From: Blaisorblade @ 2005-05-05 17:02 UTC (permalink / raw) To: user-mode-linux-devel; +Cc: Mei,Jia On Thursday 05 May 2005 04:54, Mei,Jia wrote: > Blaisorblade wrote: > >>When I try gdb-5.3.90 with uml in vanilla-2.6.10 kernel. I found a > >> problem. > >>When I set a breakpoint somewhere, and after some step, uml will > >>always get a SIGTRAP signal and trap into gdb. > >>Does anyone met the same problem as me? Any known fix for it? > > No, I don't think there is any known fix for it. However, does this > > problem keep on and makes debugging impossible (i.e., after you "cont", > > does it keep stopping)? > > Hmm, are you doing debugging in SKAS or in TT mode? In the second case, > > then it can be a bug in the ptrace proxy (which has a big bug with some > > gdb releases >= 6.0). > > In the first case, maybe it's something I observed too (I'm not sure > > because I don't use a lot gdb with UML)... Better, I've observed > > breakpoints being *skipped* by gdb. > I'm sorry for the late response since away for a few days. It turn out > to be the rootfs problem, although I don't know why (not related to > tls), change to a new rootfs fixed it. Maybe don't need to chase more on > this. > And appreciate you and Jeff's reply. This just happened to other three people (including me) in these days, so I'd like to know which rootfs's you used, to get a feeling of what could be going on. Thanks a lot. -- Paolo Giarrusso, aka Blaisorblade Skype user "PaoloGiarrusso" Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [uml-devel] gdb debugging problem on uml-2.6.10 2005-05-05 17:02 ` Blaisorblade @ 2005-05-05 20:14 ` Mei,Jia 0 siblings, 0 replies; 6+ messages in thread From: Mei,Jia @ 2005-05-05 20:14 UTC (permalink / raw) To: Blaisorblade; +Cc: user-mode-linux-devel Blaisorblade wrote: > This just happened to other three people (including me) in these days, so I'd > like to know which rootfs's you used, to get a feeling of what could be going The rootfs is a kind of minimal installation of FC3 (obtained from others), the new rootfs is also FC3 made by others and I was told there's nothing special trick for the new rootfs. I'll ask for more details. Eric ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-05 20:19 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-04-28 15:54 [uml-devel] gdb debugging problem on uml-2.6.10 Mei,Jia 2005-04-28 20:51 ` Jeff Dike 2005-05-01 10:16 ` Blaisorblade 2005-05-05 2:54 ` Mei,Jia 2005-05-05 17:02 ` Blaisorblade 2005-05-05 20:14 ` Mei,Jia
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox