aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2001-07-11 19:11:07 +0000
committerDaniel Jacobowitz <drow@false.org>2001-07-11 19:11:07 +0000
commit94dfea5dd6a202a610ce4a3c9c9d537d077b4bf1 (patch)
treed3b4ddf44438bdce02be987d8071d700284bd55e /gdb/gdbserver
parent067a7d17c46263a249d418edc6111b7cbd694527 (diff)
downloadgdb-94dfea5dd6a202a610ce4a3c9c9d537d077b4bf1.zip
gdb-94dfea5dd6a202a610ce4a3c9c9d537d077b4bf1.tar.gz
gdb-94dfea5dd6a202a610ce4a3c9c9d537d077b4bf1.tar.bz2
minor F_SETOWN nit
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/remote-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c
index 19f6715..35faf02 100644
--- a/gdb/gdbserver/remote-utils.c
+++ b/gdb/gdbserver/remote-utils.c
@@ -158,10 +158,10 @@ remote_open (char *name)
#if defined(F_SETFL) && defined (FASYNC)
save_fcntl_flags = fcntl (remote_desc, F_GETFL, 0);
fcntl (remote_desc, F_SETFL, save_fcntl_flags | FASYNC);
-#endif
#if defined (F_SETOWN)
fcntl (remote_desc, F_SETOWN, getpid ());
#endif
+#endif
disable_async_io ();
fprintf (stderr, "Remote debugging using %s\n", name);
}