aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-nat.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-10-07 19:35:06 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-10-07 19:35:06 +0000
commitfc5abaaec148bdcc57222b797b0746e93f88ce81 (patch)
tree05d2be85c46f5223edc13e83b8c07af104f4703c /gdb/i386-nat.c
parentdfc8b031068927d78186ae898196c70149630315 (diff)
downloadfsf-binutils-gdb-fc5abaaec148bdcc57222b797b0746e93f88ce81.zip
fsf-binutils-gdb-fc5abaaec148bdcc57222b797b0746e93f88ce81.tar.gz
fsf-binutils-gdb-fc5abaaec148bdcc57222b797b0746e93f88ce81.tar.bz2
gdb/
* i386-nat.c (i386_stopped_by_hwbp): Remove.
Diffstat (limited to 'gdb/i386-nat.c')
-rw-r--r--gdb/i386-nat.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c
index 325b4df..eb16687 100644
--- a/gdb/i386-nat.c
+++ b/gdb/i386-nat.c
@@ -581,27 +581,6 @@ i386_stopped_by_watchpoint (void)
return i386_stopped_data_address (&current_target, &addr);
}
-/* Return non-zero if the inferior has some break/watchpoint that
- triggered. */
-
-static int
-i386_stopped_by_hwbp (void)
-{
- int i;
-
- dr_status_mirror = i386_dr_low.get_status ();
- if (maint_show_dr)
- i386_show_dr ("stopped_by_hwbp", 0, 0, hw_execute);
-
- ALL_DEBUG_REGISTERS(i)
- {
- if (I386_DR_WATCH_HIT (i))
- return 1;
- }
-
- return 0;
-}
-
/* Insert a hardware-assisted breakpoint at BP_TGT->placed_address.
Return 0 on success, EBUSY on failure. */
static int