diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-03-08 21:07:41 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-03-08 21:07:41 +0000 |
commit | 956182119001c0af1fa9704224b38b0161c39b14 (patch) | |
tree | fe8d966903ecbcce3a11cb1c3471af1370bdd57c /gdb/i386v-nat.c | |
parent | 27326785a5ee2fc94a449006efa933bfc5631e1f (diff) | |
download | gdb-956182119001c0af1fa9704224b38b0161c39b14.zip gdb-956182119001c0af1fa9704224b38b0161c39b14.tar.gz gdb-956182119001c0af1fa9704224b38b0161c39b14.tar.bz2 |
* Makefile.in (VERSION): Bump to 4.14.1.
* NEWS, README: Update for 4.14.
* i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
(i386_insert_nonaligned_watchpoint): Call aligned instead of
generic watchpoint insertion.
Diffstat (limited to 'gdb/i386v-nat.c')
-rw-r--r-- | gdb/i386v-nat.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/i386v-nat.c b/gdb/i386v-nat.c index 07ddc9f..1dfda61 100644 --- a/gdb/i386v-nat.c +++ b/gdb/i386v-nat.c @@ -101,11 +101,12 @@ static int debug_control_mirror; static CORE_ADDR address_lookup[DR_LASTADDR - DR_FIRSTADDR + 1]; static int -i386_insert_nonaligned_watchpoint PARAMS ((int, CORE_ADDR, CORE_ADDR, int, +i386_insert_aligned_watchpoint PARAMS ((int, CORE_ADDR, CORE_ADDR, int, int)); static int -i386_insert_aligned_watchpoint PARAMS ((pid, addr, len, rw)); +i386_insert_nonaligned_watchpoint PARAMS ((int, CORE_ADDR, CORE_ADDR, int, + int)); /* Insert a watchpoint. */ @@ -210,7 +211,7 @@ i386_insert_nonaligned_watchpoint (pid, waddr, addr, len, rw) size = (len > 4) ? 3 : len - 1; size = size_try_array[size * 4 + align]; - rv = i386_insert_watchpoint (pid, waddr, addr, size, rw); + rv = i386_insert_aligned_watchpoint (pid, waddr, addr, size, rw); if (rv) { i386_remove_watchpoint (pid, waddr, size); |