gdb userland and gdbserver are perfect

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-03 00:00:00 +00:00
parent ac8663a44a
commit 9693c23fe6
6 changed files with 141 additions and 135 deletions

11
userland/count.c Normal file
View File

@@ -0,0 +1,11 @@
#include <stdio.h>
#include <unistd.h>
int main(void) {
int i = 0;
while (1) {
printf("%d\n", i);
i++;
sleep(1);
}
}