Red Hat ENTERPRISE LINUX 3 - DEBUGGING WITH GDB Manual page 334

Debugging with gdb
Hide thumbs Also See for ENTERPRISE LINUX 3 - DEBUGGING WITH GDB:
Table of Contents

Advertisement

324
-- read registers
g
Read general registers.
Reply:
XX...
Each byte of register data is described by two hex digits. The bytes with the register
are transmitted in target byte order. The size of each register and their position within
the
g packet
REGISTER_NAME
below.
E
NN
for an error.
-- write regs
GXX...
Reply:
OK
for success
E
NN
for an error
-- reserved
h
Reserved for future use.
-- set thread
Hct...
Set thread for subsequent operations (
formed: it should be
nator
may be -1, meaning all the threads, a thread number, or zero which means pick any
t...
thread.
Reply:
OK
for success
E
NN
for an error
-- cycle step (draft)
iaddr,nnn
Step the remote target by a single clock cycle. If
is present, cycle step starting at that address.
are determined by the gdb internal macros
macros. The specification of several standard
,
m
for step and continue operations,
c
Appendix D. gdb Remote Serial Protocol
,
,
, et.al.).
depends on the operation to be per-
M
g
G
c
for other operations. The thread desig-
g
is present, cycle step
,nnn
REGISTER_RAW_SIZE
packets is specified
g
cycles. If
nnn
and
addr

Advertisement

Table of Contents
loading

Table of Contents