File: gdbserver.1

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (103 lines) | stat: -rw-r--r-- 4,117 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.\" Copyright (c) 1993 Free Software Foundation
.\" See section COPYING for conditions for redistribution
.\" $FreeBSD: doc/ja_JP.eucJP/man/man1/gdbserver.1,v 1.2 2001/05/14 01:07:24 horikawa Exp $
.TH gdbserver 1 "2 November 1993" "Cygnus Support" "GNU Development Tools"
.SH ̾
gdbserver \- GNU ǥХåѥ⡼ȥ
.SH 
.na
.TP
.B gdbserver
.RB tty
.RB prog
.RB "[\|" args... "\|]"
.ad b
.SH 
GDBSERVER ϡǥХåоݤΥץ¹ԤƤޥȤϰۤʤ
ޥ GDB ¹Ԥ뤳ȤǽˤץǤ

ˡ ((å)¦):

ޤǥХåоݤΥץΥԡ򥿡åȥƥѰդޤ
GDBserver ϡܥΤʤΤǡѥڡ󤹤뤿
ץ򥹥ȥåפƤ⹽ޤƤΥܥϡۥȥƥ
¹Ԥ GDB ˤäƹθޤ

ФѤ뤿ˤϡåȥƥ˥󤷡`gdbserver'
ץ¹Ԥޤ(a) GDB Ȥ̿ˡ(b) ץ̾
(c) ץؤΰ ꤹɬפޤŪʽ񼰤ϰʲΤ褦
ʤޤ:

	target> gdbserver COMM PROGRAM [ARGS ...]

㤨СꥢݡȤѤϡʲΤ褦ˤʤޤ

	target> gdbserver /dev/com1 emacs foo.txt

Ǥϡemacs  foo.txt ѤƥǥХå뤳Ȥꤷ
GDB Ȥ̿ /dev/com1 Ѥޤgdbserver ϡۥȤ GDB 
̿뤳ȤԤޤ

TCP ³ѤϡʲΤ褦ˤʤޤ

	target> gdbserver host:2345 emacs foo.txt

ǤϡۥȤ GDB Ȥ̿ TCP ѤʳϡƱǤ
 `host:2345' ϡ`host'  TCP ³  TCP ݡ 2345
³ΤԤġȤ̣Ǥ(Ǥ `host' ̵뤵ޤ)
åȥƥ¸ߤ TCP ݡȤȤξ̵ͤСݡֹ
ͳ֤ȤǤޤۥȤ GDB  `target remote' ޥɤǡ
Ʊݡֹꤹɬפޤ¾ΥӥȾͤݡֹ
硢gdbserver ϥ顼åϤƽλޤ

ˡ (ۥ¦):

GDB ܥơ֥򸡺ꤹ뤿ᡢۥȥƥˤϡå
ץΥȥåפƤʤԡɬפǤ̾ξƱ͡
ǽΰ˥åȥץꤷ GDB ưޤ(ꥢ饤
9600 baud ʳưƤϡ--baud ץɬפǤ)
Ĥޤꡢ`gdb TARGET-PROG' 뤤ϡ`gdb --baud BAUD TARGET-PROG' Τ褦
ưޤθ塢˳ФɬפΤ륳ޥɤϡ`target remote' Ǥ
ޥɤΰϡǥХ̾(̾`/dev/ttyb' Τ褦ʥꥢǥХ)
HOST:PORT һҤǤ㤨С

	(gdb) target remote /dev/ttyb

ϡꥢ饤 /dev/ttyb ѤƥФ̿ޤޤ

	(gdb) target remote the-target:2345

ϡTCP ³ǡۥ `the-target'  gdbserver ư˻ꤷ
ݡȤƱݡ 2345 ѤƥФ̿ޤTCP ³ξ硢
`target remote' ޥɤ¹Ԥ gdbserver ¹ԤƤɬפޤ
ʤȡ`Connection refused' Ȥ褦ʥ顼ˤʤǤ礦
.SH ץ
ǥХåоݤȤʤץ̾ȡ̿˻Ѥ tty ꤹ
ɬפޤ¾ƤΤȤϥ⡼Ȥ GDB Ԥޤ
¾ΰϡΤޤޥץϤޤ
.SH Ϣ
.RB "`\|" gdb "\|'"
entry in
.B info\c
\&;
.I
Using GDB: A Guide to the GNU Source-Level Debugger\c
, Richard M. Stallman and Roland H. Pesch, July 1991.
.SH COPYING
Copyright (c) 1993 Free Software Foundation, Inc.
.PP
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.
.PP
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.
.PP
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.