gdbserver+gdb

  • gdbserver

Usage: gdbserver [OPTIONS] COMM PROG [ARGS ...]
gdbserver [OPTIONS] --attach COMM PID
gdbserver [OPTIONS] --multi COMM
COMM may either be a tty device (for serial debugging), or 
HOST:PORT to listen for a TCP connection.

 gdbserver 127.0.0.1:1234

 

  • gdb

 target remote 127.0.0.1:1234

 

 

posted @ 2012-08-27 10:59  ahuo  阅读(363)  评论(0编辑  收藏  举报