Hm… some notes for myself:

target: (where the program runs)

gdbserver host_ip:port program_name

host: (debugging site)

gdb program_name
target remote target_ip:port
continue (should be continue instead of run, cause the program is already running)