* lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
authorKeith Seitz <keiths@redhat.com>
Tue, 10 Sep 2002 22:07:58 +0000 (22:07 +0000)
committerKeith Seitz <keiths@redhat.com>
Tue, 10 Sep 2002 22:07:58 +0000 (22:07 +0000)
commitdc360f582a4fa2f21c5a847ccece58de75b0e2f7
tree99921b8a9d03e23c6cfd84cdba8dbeb9e18ed6bf
parent77d8f2b47ef858ba7534d08097decc6826a53e65
    * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
        regexp for stopping at main. Could have multiple event notifications.
        Don't assume that main was declared with no parameters.
        (mi_next): Use mi_step_to.
        (mi_step): Use mi_next_to.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/mi-support.exp