aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sun4sol2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/sparc/tm-sun4sol2.h')
-rw-r--r--gdb/config/sparc/tm-sun4sol2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sun4sol2.h b/gdb/config/sparc/tm-sun4sol2.h
index 8a2a0e6..dcfe792 100644
--- a/gdb/config/sparc/tm-sun4sol2.h
+++ b/gdb/config/sparc/tm-sun4sol2.h
@@ -81,4 +81,9 @@ extern char *sunpro_static_transform_name PARAMS ((char *));
extern char *solaris_pid_to_str PARAMS ((int pid));
#define target_pid_to_str(PID) solaris_pid_to_str (PID)
+#else
+
+extern char *procfs_pid_to_str PARAMS ((int pid));
+#define target_pid_to_str(PID) procfs_pid_to_str (PID)
+
#endif