2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
* gdbint.texinfo (target_stopped_data_address): Update to new prototype. (i386_stopped_data_address): Update prototype and description. (i386_stopped_by_watchpoint): New function and description.
This commit is contained in:
parent
a3bb10891c
commit
ac77d04f5d
|
@ -1,3 +1,10 @@
|
||||||
|
2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
* gdbint.texinfo (target_stopped_data_address): Update to
|
||||||
|
new prototype.
|
||||||
|
(i386_stopped_data_address): Update prototype and description.
|
||||||
|
(i386_stopped_by_watchpoint): New function and description.
|
||||||
|
|
||||||
2004-10-03 Paul N. Hilfinger <hilfinger@gnat.com>
|
2004-10-03 Paul N. Hilfinger <hilfinger@gnat.com>
|
||||||
|
|
||||||
* gdb.texinfo (Filenames): Add Ada suffixes.
|
* gdb.texinfo (Filenames): Add Ada suffixes.
|
||||||
|
|
|
@ -476,9 +476,10 @@ no other code touches these values, the implementations of the above
|
||||||
two macros can use them for their internal purposes.
|
two macros can use them for their internal purposes.
|
||||||
|
|
||||||
@findex target_stopped_data_address
|
@findex target_stopped_data_address
|
||||||
@item target_stopped_data_address ()
|
@item target_stopped_data_address (@var{addr_p})
|
||||||
If the inferior has some watchpoint that triggered, return the address
|
If the inferior has some watchpoint that triggered, place the address
|
||||||
associated with that watchpoint. Otherwise, return zero.
|
associated with the watchpoint at the location pointed to by
|
||||||
|
@var{addr_p} and return non-zero. Otherwise, return zero.
|
||||||
|
|
||||||
@findex HAVE_STEPPABLE_WATCHPOINT
|
@findex HAVE_STEPPABLE_WATCHPOINT
|
||||||
@item HAVE_STEPPABLE_WATCHPOINT
|
@item HAVE_STEPPABLE_WATCHPOINT
|
||||||
|
@ -598,15 +599,25 @@ less than 4, the number of debug registers available to x86
|
||||||
processors.
|
processors.
|
||||||
|
|
||||||
@findex i386_stopped_data_address
|
@findex i386_stopped_data_address
|
||||||
@item i386_stopped_data_address (void)
|
@item i386_stopped_data_address (@var{addr_p})
|
||||||
The macros @code{STOPPED_BY_WATCHPOINT} and
|
The target function
|
||||||
@code{target_stopped_data_address} are set to call this function. The
|
@code{target_stopped_data_address} is set to call this function.
|
||||||
argument passed to @code{STOPPED_BY_WATCHPOINT} is ignored. This
|
This
|
||||||
function examines the breakpoint condition bits in the DR6 Debug
|
function examines the breakpoint condition bits in the DR6 Debug
|
||||||
Status register, as returned by the @code{I386_DR_LOW_GET_STATUS}
|
Status register, as returned by the @code{I386_DR_LOW_GET_STATUS}
|
||||||
macro, and returns the address associated with the first bit that is
|
macro, and returns the address associated with the first bit that is
|
||||||
set in DR6.
|
set in DR6.
|
||||||
|
|
||||||
|
@findex i386_stopped_by_watchpoint
|
||||||
|
@item i386_stopped_by_watchpoint (void)
|
||||||
|
The macro @code{STOPPED_BY_WATCHPOINT}
|
||||||
|
is set to call this function. The
|
||||||
|
argument passed to @code{STOPPED_BY_WATCHPOINT} is ignored. This
|
||||||
|
function examines the breakpoint condition bits in the DR6 Debug
|
||||||
|
Status register, as returned by the @code{I386_DR_LOW_GET_STATUS}
|
||||||
|
macro, and returns true if any bit is set. Otherwise, false is
|
||||||
|
returned.
|
||||||
|
|
||||||
@findex i386_insert_watchpoint
|
@findex i386_insert_watchpoint
|
||||||
@findex i386_remove_watchpoint
|
@findex i386_remove_watchpoint
|
||||||
@item i386_insert_watchpoint (@var{addr}, @var{len}, @var{type})
|
@item i386_insert_watchpoint (@var{addr}, @var{len}, @var{type})
|
||||||
|
@ -654,7 +665,7 @@ register.
|
||||||
@item i386_stopped_by_hwbp (void)
|
@item i386_stopped_by_hwbp (void)
|
||||||
This function returns non-zero if the inferior has some watchpoint or
|
This function returns non-zero if the inferior has some watchpoint or
|
||||||
hardware breakpoint that triggered. It works like
|
hardware breakpoint that triggered. It works like
|
||||||
@code{i386_stopped_data_address}, except that it doesn't return the
|
@code{i386_stopped_data_address}, except that it doesn't record the
|
||||||
address whose watchpoint triggered.
|
address whose watchpoint triggered.
|
||||||
|
|
||||||
@findex i386_cleanup_dregs
|
@findex i386_cleanup_dregs
|
||||||
|
|
Loading…
Reference in New Issue