aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-sol-thread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-09-27 12:53:44 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-09-27 12:53:44 +0000
commit43c75337b68375e451cc441a739b9e654894f558 (patch)
tree46bc3abd50a266d21e5262987630229ba8109809 /gdb/sparc-sol-thread.c
parentd292a9723dae9eb829d077bc8d3d76a87f75553f (diff)
downloadgdb-43c75337b68375e451cc441a739b9e654894f558.zip
gdb-43c75337b68375e451cc441a739b9e654894f558.tar.gz
gdb-43c75337b68375e451cc441a739b9e654894f558.tar.bz2
New unit sparc-sol-thread.c extracted from sol-thread.c
Moving some sparc-specific routines out of sol-thread.c into their own (new) file. gdb/ChangeLog: * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): Move these functions to sparc-sol-thread.c. * sparc-sol-thread.c: New file. * configure.ac: Add sparc-sol-thread.o to CONFIG_OBS and sparc-sol-thread.c to CONFIG_SRCS for sparc-solaris native configurations. * configure: Regenerate.
Diffstat (limited to 'gdb/sparc-sol-thread.c')
-rw-r--r--gdb/sparc-sol-thread.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/gdb/sparc-sol-thread.c b/gdb/sparc-sol-thread.c
new file mode 100644
index 0000000..6b7c49d
--- /dev/null
+++ b/gdb/sparc-sol-thread.c
@@ -0,0 +1,43 @@
+/* Copyright (C) 2012 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+#include "defs.h"
+#include <proc_service.h>
+
+/* Get size of extra register set. Currently a noop. */
+
+ps_err_e
+ps_lgetxregsize (struct ps_prochandle *ph, lwpid_t lwpid, int *xregsize)
+{
+ return PS_OK;
+}
+
+/* Get extra register set. Currently a noop. */
+
+ps_err_e
+ps_lgetxregs (struct ps_prochandle *ph, lwpid_t lwpid, caddr_t xregset)
+{
+ return PS_OK;
+}
+
+/* Set extra register set. Currently a noop. */
+
+ps_err_e
+ps_lsetxregs (struct ps_prochandle *ph, lwpid_t lwpid, caddr_t xregset)
+{
+ return PS_OK;
+}