please ask a question abput breakpoint
Jan Kratochvil
jan.kratochvil@redhat.com
Fri Jul 6 06:31:00 GMT 2012
On Fri, 06 Jul 2012 05:23:45 +0200, orglinux@sina.com wrote:
> Hi, GDB developpers: In mulit-threading ,when a thread encounter
> a breadpoint, how does the gdbserver find out the thread encounting the
> breakpoint? Because many threads may encounter the same breakpoint.
In the case of Linux kernel it reports SIGTRAP for the specific task
(=thread). waitpid returns PID (TID) of that thread.
Regards,
Jan
More information about the Gdb
mailing list