Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem with gdb in non-stop mode

19 views
Skip to first unread message

Jaydeep Chovatia

unread,
Oct 30, 2012, 3:57:45 PM10/30/12
to
Hi,

I am using GNU gdb v7.2 on my Linux box. I would like to debug in such a way that when my program reaches a particular break point then other threads should continue execution. To do that I have started my application with following options in gdb:

(gdb) b testfile.cxx:123
(gdb) set target-async 1
(gdb) set non-stop on
(gdb) set pagination off
(gdb) run

But when my program reaches above break point and after that if I execute "Continue" or "bt" then I get following error:

(gdb) c
Continuing.
Cannot execute this command while the selected thread is running.

Any help on this would be appreciated.

thanks,
Jaydeep
0 new messages