2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
* infrun.c (normal_stop): Don't skip calling the normal_stop observers if the thread was doing a multi-step, but stopped for some reason other than stepping. gdb/testsuite/ 2012-01-05 Pedro Alves <alves.ped@gmail.com> * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files. * gdb.python/py-events.c (first): Add bits for new "step N" test. * gdb.python/py-events.exp: Test that "step N" tripping on a breakpoint emits a breakpoint event.
This commit is contained in:
parent
50aeff07f4
commit
2ca0b532fd
7 changed files with 110 additions and 1 deletions
|
@ -24,6 +24,11 @@ int second(){
|
|||
}
|
||||
|
||||
int first(){
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 2; i++)
|
||||
do_nothing ();
|
||||
|
||||
return second();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue