Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Non-stop mode(How do all threads come to a halt on one breakpoint?)
Non-stop mode [message #1737751] Tue, 12 July 2016 09:17 Go to next message
Eclipse UserFriend
What exactly does Eclipse do when non-stop mode is not enabled ("all-stop" mode is enable) and all threads halt at one breakpoint?

Is GDB sending signals to other threads when a breakpoint is hit?
Re: Non-stop mode [message #1737850 is a reply to message #1737751] Wed, 13 July 2016 09:51 Go to previous message
Eclipse UserFriend
Really Eclipse isn't doing anything in "all-stop" mode as the modes are handled by GDB. All stop is how GDB has historically worked and non-stop is the new way. In All-stop, the process is stopped (all threads are stopped), in non-stop, the processes is not stopped, only the the thread with the breakpoint.

Some features in GDB are only supported when in non-stop mode, e.g. attaching additional processes (inferiors).

Have a look at the GDB docs: https://sourceware.org/gdb/onlinedocs/gdb/Thread-Stops.html#Thread-Stops
Previous Topic:How to find filename and namespace in cdt ast node basespecifier (c++ inheritance)
Next Topic:STlink-v2 - debug interface was not found (ft2232) - with Ubuntu and Openocd
Goto Forum:
  


Current Time: Wed Aug 20 04:25:06 EDT 2025

Powered by FUDForum. Page generated in 0.06300 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top