summaryrefslogtreecommitdiff
path: root/gdb/config/i386/nm-linux.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-03-01 04:39:36 +0000
committerDaniel Jacobowitz <drow@false.org>2008-03-01 04:39:36 +0000
commitc03374d554a6d5f326a0d356a2e0918961bc1cfb (patch)
tree5e78e840af0460012c9368fbc4189b90654e407d /gdb/config/i386/nm-linux.h
parent16fb4e2d3a147568e4e6b00c82adcf447ba10ffe (diff)
downloadbinutils-gdb-c03374d554a6d5f326a0d356a2e0918961bc1cfb.tar.gz
* Makefile.in (i386-nat.o): Update.
* amd64-linux-nat.c (_initialize_amd64_linux_nat): Call i386_use_watchpoints. * i386-linux-nat.c (_initialize_i386_linux_nat): Call i386_use_watchpoints. * i386-nat.c (i386_stopped_data_address): Take two arguments. (i386_stopped_by_watchpoint): Update call. (i386_can_use_hw_breakpoint, i386_use_watchpoints): New. * config/i386/nm-i386.h: Conditionalize definitions on ! I386_WATCHPOINTS_IN_TARGET_VECTOR. (i386_use_watchpoints): Declare. (i386_stopped_data_address): Update. * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
Diffstat (limited to 'gdb/config/i386/nm-linux.h')
-rw-r--r--gdb/config/i386/nm-linux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h
index 3ee3ecd6b99..755e0d789d3 100644
--- a/gdb/config/i386/nm-linux.h
+++ b/gdb/config/i386/nm-linux.h
@@ -23,6 +23,7 @@
/* GNU/Linux supports the i386 hardware debugging registers. */
#define I386_USE_GENERIC_WATCHPOINTS
+#define I386_WATCHPOINTS_IN_TARGET_VECTOR
#include "i386/nm-i386.h"
#include "config/nm-linux.h"