You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, --enable-debug=most --enable-fast=O0 will set the correct compile flags, and 'disable-shared' will tell the compiler to compile the program in static form. Then you can use gdb directly for debugging the binary.
The following is a complete example of how to use gdb to debug scheduler_basic.
$ ./configure --enable-debug=most --enable-fast=O0 --disable-shared
$ make
$ cd test
$ make
$ gdb ./basic/scheduler_basic