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.
This commit is contained in:
Joel Brobecker
2012-09-27 12:53:44 +00:00
parent d292a9723d
commit 43c75337b6
5 changed files with 67 additions and 28 deletions

View File

@@ -959,34 +959,6 @@ 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
ps_lgetxregsize (gdb_ps_prochandle_t ph, lwpid_t lwpid, int *xregsize)
{
return PS_OK;
}
/* Get extra register set. Currently a noop. */
ps_err_e
ps_lgetxregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset)
{
return PS_OK;
}
/* Set extra register set. Currently a noop. */
ps_err_e
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