diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-04-20 21:25:40 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-04-20 21:25:40 +0000 |
commit | 1e50f1b44193cf8cffc8c9ba28ba89aba3463a43 (patch) | |
tree | b9a91519f8e2609ba83cd7f7b0efc6d6c83774ff /gdb/i386v-nat.c | |
parent | 15a4be0cfa4413029985eaeb9b8828f382273b96 (diff) | |
download | gdb-1e50f1b44193cf8cffc8c9ba28ba89aba3463a43.zip gdb-1e50f1b44193cf8cffc8c9ba28ba89aba3463a43.tar.gz gdb-1e50f1b44193cf8cffc8c9ba28ba89aba3463a43.tar.bz2 |
Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>
* procfs.c: Added replacement macros for LWP stuff. Fixed support
for UnixWare / SVR4.2MP targets and any targets which use
multi-file /proc entries. Fixed support for hardware watchpoints.
* solib.c: SCO needs some of the same code as SunOS. Change
preprocessor conditionals.
* config/i386/i386sco5.mt: New file.
* config/i386/tm-i386sco5.h: New file.
* config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o.
* config/i386/nm-i386v42mp.h
(TARGET_HAS_HARDWARE_WATCHPOINTS): define.
Add other macros for hardware assisted watchpoints.
* config/i386/nm-i386sco5.h: Correct attributions.
(TARGET_HAS_HARDWARE_WATCHPOINTS): define.
* config/i386/nm-linux.h (target_remote_watchpoint): Pass
'type' through to i386_insert_watchpoint.
Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* infrun.c (wait_for_inferior): Don't add signalled processes
as new threads.
* procfs.c (wait_fd): Note if LWP has exited.
(procfs_wait): use GETPID to get process ID.
NOTE: I didn't commit Kean's changes to configure.host/configure.tgt
yet because they are kind of bogus and I'm punting back to him to let
him figure out what he's trying to do. So configuring for UnixWare
may not work just yet.
Diffstat (limited to 'gdb/i386v-nat.c')
-rw-r--r-- | gdb/i386v-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386v-nat.c b/gdb/i386v-nat.c index 38468a9..a7eea53 100644 --- a/gdb/i386v-nat.c +++ b/gdb/i386v-nat.c @@ -155,7 +155,7 @@ i386_insert_aligned_watchpoint (pid, waddr, addr, len, rw) if (i > DR_LASTADDR) return -1; - read_write_bits = ((rw & 1) ? DR_RW_READ : 0) | ((rw & 2) ? DR_RW_WRITE : 0); + read_write_bits = (rw & 1) ? DR_RW_READ : DR_RW_WRITE; if (len == 1) len_bits = DR_LEN_1; |