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
This feature should roughly mirror --gdb-attach=yes for memcheck. We already have -pause_at_uninitialized/unaddressable, but attaching in this way puts the user a few frames inside of DrMemory tool code. --gdb-attach sets up gdb so that it sees the original application context, ie all of the application registers, xsp, xip, etc, and the user can begin a normal debugging session as if the tool wasn't there.
I have found this really useful for being able to actually print out values when I have say an out of bounds access, for example. If you don't have this, you only get the information the tool gives you, while the debugger allows you to ask more questions.
as an initial step here I'm going to put in a local var CONTEXT (using dr_mcontext_to_context() which I recently added) for at least our own use until we have a real debugger interface
as an initial step here I'm going to put in a local var CONTEXT (using dr_mcontext_to_context() which I recently added) for at least our own use until we have a real debugger interface
From [email protected] on September 22, 2011 16:10:18
This feature should roughly mirror --gdb-attach=yes for memcheck. We already have -pause_at_uninitialized/unaddressable, but attaching in this way puts the user a few frames inside of DrMemory tool code. --gdb-attach sets up gdb so that it sees the original application context, ie all of the application registers, xsp, xip, etc, and the user can begin a normal debugging session as if the tool wasn't there.
I have found this really useful for being able to actually print out values when I have say an out of bounds access, for example. If you don't have this, you only get the information the tool gives you, while the debugger allows you to ask more questions.
Original issue: http://code.google.com/p/drmemory/issues/detail?id=600
The text was updated successfully, but these errors were encountered: