mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
Initial creation of sourceware repository
This commit is contained in:
26
gdb/testsuite/gdb.base/reread1.c
Normal file
26
gdb/testsuite/gdb.base/reread1.c
Normal file
@ -0,0 +1,26 @@
|
||||
/* pr 13484 */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int x;
|
||||
|
||||
void bar()
|
||||
{
|
||||
x--;
|
||||
}
|
||||
|
||||
void foo()
|
||||
{
|
||||
x++;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
#ifdef usestubs
|
||||
set_debug_traps ();
|
||||
breakpoint ();
|
||||
#endif
|
||||
foo();
|
||||
bar();
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user