gdbserver(1) | GNU Development Tools | gdbserver(1) |
名前
gdbserver - GNU デバッガ用リモートサーバ書式
- gdbserver
- tty prog [ args...]
gdbserver tty --attach PID
説明
GDBSERVER は、デバッグ対象のプログラムを実行しているマシンとは異なるマシン上で GDB を実行することを可能にするプログラムです。target> gdbserver COMM PROGRAM [ARGS ...]
target> gdbserver /dev/com1 emacs foo.txt
target> gdbserver host:2345 emacs foo.txt
target> gdbserver COMM --attach PID
(gdb) target remote /dev/ttyb
(gdb) target remote the-target:2345
オプション
デバッグの対象となるプログラムの名前と、通信に使用する tty を指定する必要があります。他の全てのことはリモートの GDB が行います。その他の引数は、そのままプログラムに渡されます。関連項目
info 内の ` gdb' エントリー; Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H. Pesch, July 1991.著作権
Copyright (c) 1993 Free Software Foundation, Inc.Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English.
2 November 1993 | Cygnus Support |