[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to continue from a breakpoint in GNU/Hurd
From: |
Richard Braun |
Subject: |
Re: how to continue from a breakpoint in GNU/Hurd |
Date: |
Wed, 17 Jul 2013 18:13:48 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Jul 18, 2013 at 12:07:20AM +0800, Yue Lu wrote:
> when I used thread_info() to check the suspend count, they are zero.
> But I met a strange thing.
> this is my code snippet:
> thread_basic_info_data_t _info;
> thread_basic_info_t info = &_info;
> mach_msg_type_number_t info_len = THREAD_BASIC_INFO_COUNT;
> error_t err =
> thread_info (thread->port, THREAD_BASIC_INFO, (int *) &info, &info_len);
>
> after this call, the info turn out to be a _NULL_ pointer. I think
If the info pointer is NULL, how do you determine the suspend count ?
> something maybe wrong, but the err is zero.
Something does look wrong. Check all the parameters of your call, one
by one, rigorously.
--
Richard Braun
- how to continue from a breakpoint in GNU/Hurd, Yue Lu, 2013/07/16
- Re: how to continue from a breakpoint in GNU/Hurd, Luis Machado, 2013/07/16
- Re: how to continue from a breakpoint in GNU/Hurd, Yue Lu, 2013/07/16
- Re: how to continue from a breakpoint in GNU/Hurd, Luis Machado, 2013/07/16
- Re: how to continue from a breakpoint in GNU/Hurd, Yue Lu, 2013/07/17
- Re: how to continue from a breakpoint in GNU/Hurd, Richard Braun, 2013/07/17
- Re: how to continue from a breakpoint in GNU/Hurd, Yue Lu, 2013/07/17
- Re: how to continue from a breakpoint in GNU/Hurd,
Richard Braun <=
- Re: how to continue from a breakpoint in GNU/Hurd, Yue Lu, 2013/07/17
- Re: how to continue from a breakpoint in GNU/Hurd, Richard Braun, 2013/07/18