Re: Target system locks when single stepping in GDB kernel debug session
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812) Joe On Nov 9, 2009, at 12:32 PM, Joe Lowe wrote: I am using GDB kernel debugging over ethernet. Whenever I single step over a function call the target system locks up and never returns to the debugger. The keyboard debug break sequence and power button do not help once in this state. The target machine has to be power cycled. Target system is a quad core intel based mac running OSX 10.5.8. The GDB version on the debugger system is "GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009)", using the 10.5.8 kernel debug kit. The debugger is fully functional except for the single stepping issue. Has anyone else seen this or have any idea what might be the cause? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... The break/continue, advance, and stepi commands work fine. I would expect whatever technical difficulties there are with implementing source level single stepping would to some extent affect these other commands. I guess maybe a better question: Can anyone confirm that they use ethernet kernel debugging with OSX and are able to single step hrough source without the debuggee sometimes locking up? James Shimer wrote: There are special hardware debugging tools used for debugging schedulers, In Circuit Emulation (ICE) and JTAG. With out them, I think your subject to catch 22 between debugger scheduling and your "step over" break point causing deadlock. Joe _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/jamesshimer%40mac.com This email sent to jamesshimer@mac.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Joe Lowe