aboutsummaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index cd37615..c93498f 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -959,6 +959,8 @@ ps_plog (const char *fmt, ...)
vfprintf_filtered (gdb_stderr, fmt, args);
}
+#if defined (__sparc) || defined (__sparcv9)
+
/* Get size of extra register set. Currently a noop. */
ps_err_e
@@ -1033,6 +1035,8 @@ ps_lsetxregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset)
return PS_OK;
}
+#endif /* defined (__sparc) || defined (__sparcv9) */
+
/* Get floating-point registers for LWP. */
ps_err_e