News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

autoswitch (regression) testing ?

Started by cbexaminr, October 15, 2010, 02:08:59 AM

Previous topic - Next topic

cbexaminr

What does autoswitch functionality do?

What tests should be done to verify that it is working or not (for the gdb implementation, if that matters)?

(One change I'd like to make to improve disassembly is intrusive to the processing of output from the frame command invoked by (some of?) the autoswitch implementation.  That processing is actually for handling output from breakpoints, but is being triggered by output from the frame change, and I don't know if that's intentional or not.)

oBFusCATed

Autoswitch is useful when the debugger stops on a frame that doesn't have source/line info.
The C::B automatically switches to the first frame with valid source/line info.


int main()
{
    while(1)
        sleep(10);
    return 0;
}

Run this code with the debugger and hit the pause button.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]