% cat > foo.c main() { getpid(); } ^D % cc foo.c % gdb a.out (gdb) break main (gdb) run (gdb) break getpid (gdb) stepi (gdb) stepi bingo... I get stopped in _Xsyscall in the console... christos ------------------------------------------------------------------------------