summaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2001-04-26 22:10:42 +0000
committerMichael Snyder <msnyder@specifix.com>2001-04-26 22:10:42 +0000
commit6861eef9db406d29142da1c6af3c9e1bf5418f21 (patch)
treeeb7466e02db5faf4b9d61f5148793a08593ab4da /gdb/target.c
parentae19eec8a892b48c30a943c6b89efdf36a1894d4 (diff)
downloadgdb-6861eef9db406d29142da1c6af3c9e1bf5418f21.tar.gz
2001-04-26 Michael Snyder <msnyder@redhat.com>
* target.c (normal_pid_to_str): Get rid of an ancient hack. * remote.c (remote_pid_to_str): New function for remote target.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/target.c b/gdb/target.c
index a60405f658a..7151542abb6 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -2166,11 +2166,7 @@ normal_pid_to_str (int pid)
{
static char buf[30];
- if (STREQ (current_target.to_shortname, "remote"))
- sprintf (buf, "thread %d", pid);
- else
- sprintf (buf, "process %d", pid);
-
+ sprintf (buf, "process %d", pid);
return buf;
}