aboutsummaryrefslogtreecommitdiff
path: root/gdb/infttrace.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2003-02-06 17:58:01 +0000
committerFred Fish <fnf@specifix.com>2003-02-06 17:58:01 +0000
commitb871e4ecc4cbe22c0babe87fbe8d2e1c3e8882f3 (patch)
treef1b1730763fe8bff727fca1a15281eb99a43ea80 /gdb/infttrace.c
parentcad91d28c98145241551dfde9718f7c72512aeb6 (diff)
downloadgdb-b871e4ecc4cbe22c0babe87fbe8d2e1c3e8882f3.zip
gdb-b871e4ecc4cbe22c0babe87fbe8d2e1c3e8882f3.tar.gz
gdb-b871e4ecc4cbe22c0babe87fbe8d2e1c3e8882f3.tar.bz2
Checked in as obvious fixes. Also updated FSF copyright year to 2003
for remote-e7000.c and infttrace.c. 2003-02-05 Fred Fish <fnf@intrinsity.com> * remote-e7000.c (e7000_drain_command): Fix precedence problem with '=' and '!='. * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem with '&' and '=='. (angel_RDI_info): Ditto. * infttrace.c (threads_continue_all_but_one): Fix precedence problem with '&' and '!='. (threads_continue_all_with_signals): Ditto.
Diffstat (limited to 'gdb/infttrace.c')
-rw-r--r--gdb/infttrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c
index 589a0e2..02a5576 100644
--- a/gdb/infttrace.c
+++ b/gdb/infttrace.c
@@ -1,6 +1,6 @@
/* Low level Unix child interface to ttrace, for GDB when running under HP-UX.
Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
- 1999, 2000, 2001
+ 1999, 2000, 2001, 2003
Free Software Foundation, Inc.
This file is part of GDB.
@@ -3951,7 +3951,7 @@ threads_continue_all_but_one (lwpid_t gdb_tid, int signal)
* state.tts_flags & TTS_STATEMASK == TTS_WASSUSPENDED
*/
if (debug_on)
- if (state.tts_flags & TTS_STATEMASK != TTS_WASSUSPENDED)
+ if ((state.tts_flags & TTS_STATEMASK) != TTS_WASSUSPENDED)
printf ("About to continue non-stopped thread %d\n", scan_tid);
#endif
@@ -4085,7 +4085,7 @@ threads_continue_all_with_signals (lwpid_t gdb_tid, int signal)
#ifdef THREAD_DEBUG
if (debug_on)
- if (state.tts_flags & TTS_STATEMASK != TTS_WASSUSPENDED)
+ if ((state.tts_flags & TTS_STATEMASK) != TTS_WASSUSPENDED)
warning ("About to continue non-stopped thread %d\n", scan_tid);
#endif