zwelch 6d1d58a1fc - Fixes '[<>]' whitespace
- Replace ')\([<>]\)(' with ') \1 ('.
- Replace ')\([<>]\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\([<>]\)(' with '\1 \2 ('.
- Replace '\(\w\)\([<>]\)\(\w\)' with '\1 \2 \3'.


git-svn-id: svn://svn.berlios.de/openocd/trunk@2375 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:45:47 +00:00

28 lines
415 B
C

/* simple app.
modify test.ld to change address.
Even if the app is position independent, the symbols
need to match to test basic debugging.
To load the app to 0x20000000 in GDB, use:
load a.out
monitor reg sp 0x20004000
monitor reg pc 0x20002000
stepi
arm-elf-gcc -mthumb -mcpu = cortex-m3 -nostdlib -Ttest.ld test.c
*/
int j;
void _start()
{
int i;
for (i = 0; i < 1000; i++)
{
j++;
}
}