Re: Target system locks when single stepping in GDB kernel debug session
Re: Target system locks when single stepping in GDB kernel debug session
- Subject: Re: Target system locks when single stepping in GDB kernel debug session
- From: Duane Murphy <email@hidden>
- Date: Tue, 17 Nov 2009 15:55:02 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I'll jump in this band wagon. I see this regularly. It is very
frustrating to take 10-15 minutes to setup a two-machine debugging
session only to have stepping shut down the entire session.
Yes, I can verify that this happens regularly.
On Nov 17, 2009, at 3:17 PM, Joe Lowe wrote:
>
> 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?
>
> Joe
>
>
> 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.
>> 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?
>>>
>>> Joe
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Darwin-kernel mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
...Duane
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.10.0 (Build 500)
Charset: US-ASCII
wsBVAwUBSwM36Urg9acQ4r2CAQhAuwf/ZmeTdmx2DgLpLeBuyTVVX0CepcOuQDoP
ZNwIVAE9KYm8aREHRzs4CHMEQwXDWJy8d0hx9Afg363BsXKJn84mpSKjs8ur9+oT
AYRmMI1rTSdlNHCafVrDzxub3LW2//Ph57UJp/3jUd+C/TthYC17VMxJEigf495D
l4r4cx0C0dc4ZESPqO1nvbUllr7jryAqpM33DaYyGOxusUGvSJVJCWFtf2gca13e
1tj4UfkeQSk7rXCQWVdZSXbXphAf+sJEaS5w8Q6dQQscIB/jCctthYVbLLe8U0FZ
rxQ48GejG/yZZ3Kr2AQcpFvYsjCb3MV2C1OEEOHs6Ov9F62OIoExuw==
=cbDh
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden