aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-04-26 22:10:42 +0000
committerMichael Snyder <msnyder@vmware.com>2001-04-26 22:10:42 +0000
commitf3fb8c8501c80aa6996a09a438f8a1b7d132c631 (patch)
tree3bf5444e060e172f9969bcf0644350fbd3953818 /gdb/target.c
parentcc274e7c27f0d0a8a09cfe7c632ebccfe98bb27a (diff)
downloadgdb-f3fb8c8501c80aa6996a09a438f8a1b7d132c631.zip
gdb-f3fb8c8501c80aa6996a09a438f8a1b7d132c631.tar.gz
gdb-f3fb8c8501c80aa6996a09a438f8a1b7d132c631.tar.bz2
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 a60405f..7151542 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;
}