Saturday, April 24, 2010 [Tweets]

Using GDB’s ‘po’ Command While a Malloc Lock Is Being Held

Brian Webster:

What this does, when enabled, is to cause GDB to only run the current thread when you click the “Continue” button or use the “continue” command from the GDB console, rather than running all threads at once. To enable this behavior, you can simply type “set scheduler-locking on” on the console.

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment