diff options
author | Jim Blandy <jimb@codesourcery.com> | 2003-12-13 20:12:31 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2003-12-13 20:12:31 +0000 |
commit | 1b3bb3d0324b5b684e494279279a34b5f81abe56 (patch) | |
tree | d5f103df7edaf69b1c50af96f79008aece758db5 /gdb/testsuite/gdb.base/freebpcmd.c | |
parent | 8b1ddfd7d13296021b1a07d8133555416f495ea8 (diff) | |
download | gdb-1b3bb3d0324b5b684e494279279a34b5f81abe56.zip gdb-1b3bb3d0324b5b684e494279279a34b5f81abe56.tar.gz gdb-1b3bb3d0324b5b684e494279279a34b5f81abe56.tar.bz2 |
* gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
Diffstat (limited to 'gdb/testsuite/gdb.base/freebpcmd.c')
-rw-r--r-- | gdb/testsuite/gdb.base/freebpcmd.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/freebpcmd.c b/gdb/testsuite/gdb.base/freebpcmd.c new file mode 100644 index 0000000..52d9f30 --- /dev/null +++ b/gdb/testsuite/gdb.base/freebpcmd.c @@ -0,0 +1,15 @@ +int +main (int argc, char **argv) +{ + int i; + +#ifdef usestubs + set_debug_traps(); + breakpoint(); +#endif + + for (i = 0; i < 100; i++) + printf (">>> %d\n", i); /* euphonium */ + + return 0; +} |