old-cross-binutils/gdb/vx-share/reg.h
John Gilmore f312afc75c These two files are copyrighted by Sun Microsystems.
Wind River stole them from the Sun Unix distributions.

We can't distribute them in an FSF GDB release.
We should even rewrite them for our own releases, though that is not
as urgent.

Until these two files are rewritten, VxWorks support in GDB will not compile.
The i960 support can be gained by just rewriting the ptrace.h file.
Only small amounts of the reg.h file need to be rebuilt -- compile
remote-vx.c to see what is needed.

	John
1992-10-23 10:51:07 +00:00

34 lines
742 B
C

#ifndef _REG_
#define _REG_
#ifdef I80960
/* Intel 960 register values passed over the wire by RPC: */
struct regs
{
int r_lreg[16]; /* local registers */
int r_greg[16]; /* global registers */
int r_pcw; /* process control word */
int r_acw; /* arithmetic control word */
int r_tcw; /* trace control word */
};
#define FP_REG_SIZE 12
struct fp_status {
char fps_regs[4][FP_REG_SIZE]; /* floating point regs */
};
#else /* For now, just 68000 */
/* THE 68000 VERSION OF THIS FILE WAS `BORROWED' FROM A COPYRIGHTED
SUN MICROSYSTEMS INCLUDE FILE. IT NEEDS TO BE REBUILT FROM SCRATCH.
John Gilmore
Cygnus Support
*/
FIXME
#endif /* !I80960 */
#endif !_REG_