aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-17 22:15:18 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-17 22:15:18 +0000
commit8926118ce27a8c21cd8d8600bb068454ec58baf3 (patch)
tree11dff4edfcc5ae3afb6f2559aab5616b2d075006 /gdb/remote.c
parentdb728ff7cd9b6832a77ae09b75b94352b1820471 (diff)
downloadgdb-8926118ce27a8c21cd8d8600bb068454ec58baf3.zip
gdb-8926118ce27a8c21cd8d8600bb068454ec58baf3.tar.gz
gdb-8926118ce27a8c21cd8d8600bb068454ec58baf3.tar.bz2
Remove else clause to #if UI_OUT.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 9b2c883..cddb617 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -1,6 +1,7 @@
/* Remote target communications for serial-line targets in custom GDB protocol
- Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
- 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
+ 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -1001,14 +1002,9 @@ record_currthread (int currthread)
if (!in_thread_list (pid_to_ptid (currthread)))
{
add_thread (pid_to_ptid (currthread));
-#ifdef UI_OUT
ui_out_text (uiout, "[New ");
ui_out_text (uiout, target_pid_to_str (pid_to_ptid (currthread)));
ui_out_text (uiout, "]\n");
-#else
- printf_filtered ("[New %s]\n",
- target_pid_to_str (pid_to_ptid (currthread)));
-#endif
}
}