diff options
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/python.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index a4fd009..1315ddc 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -2756,11 +2756,11 @@ unwinding. An object passed to an unwinder (a @code{gdb.PendingFrame} instance) provides a method to read frame's registers: -@defun PendingFrame.read_register (reg) -This method returns the contents of the register @var{reg} in the +@defun PendingFrame.read_register (register) +This method returns the contents of @var{register} in the frame as a @code{gdb.Value} object. For a description of the -acceptable values of @var{reg} see -@ref{gdbpy_frame_read_register,,Frame.read_register}. If @var{reg} +acceptable values of @var{register} see +@ref{gdbpy_frame_read_register,,Frame.read_register}. If @var{register} does not name a register for the current architecture, this method will throw an exception. |