% gdb ./vmlinux
break tnetd7300_set_clock
set remotebaud 115200
target remote /dev/ttyS0
(gdb) break tnetd7300_set_clock
Breakpoint 1 at 0x94101c80: file arch/mips/ar7/clock.c, line 218.
(gdb) set remotebaud 115200
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
Quit
(gdb) run
Starting program: /ramdisk/tmp/vmlinux
/bin/bash: /ramdisk/tmp/vmlinux: cannot execute binary file
/bin/bash: /ramdisk/tmp/vmlinux: Success
Program exited with code 01.
warning: shared library handler failed to enable breakpoint
You can't do that without a process to debug.