mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
This is the result of: ... $ git rm -rf gdb/testsuite $ git commit -a -m tmp $ git revert HEAD $ git rebase --whitespace=fix HEAD^ ... Tested on x86_64-linux. PR build/33616 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33616
22 lines
292 B
C
22 lines
292 B
C
/*
|
|
* Test that GDB cleans up properly after errors that result when a
|
|
* breakpoint is reset.
|
|
*/
|
|
|
|
/* VARIABLE is a macro defined on the compiler command line. */
|
|
|
|
#include <stdlib.h>
|
|
|
|
int VARIABLE = 42;
|
|
|
|
void stop_here ()
|
|
{
|
|
VARIABLE *= 2;
|
|
}
|
|
|
|
int main ()
|
|
{
|
|
stop_here ();
|
|
exit (0);
|
|
}
|