#include "frame.h"
#include "obstack.h"
#include "symtab.h"
-#include <dis-asm.h>
+#include "dis-asm.h"
#include "gdbcmd.h"
#include "gdbtypes.h"
if (regno == 8)
{
/* CCR register */
-
int C, Z, N, V;
- unsigned char b[2];
+ unsigned char b[4];
unsigned char l;
-
read_relative_register_raw_bytes (regno, b);
- l = b[1];
+ l = b[REGISTER_VIRTUAL_SIZE(8) -1];
printf_unfiltered ("\t");
printf_unfiltered ("I-%d - ", (l & 0x80) != 0);
printf_unfiltered ("H-%d - ", (l & 0x20) != 0);
}
}
-/* This doesn't quite fit either in the simulator or in gdb proper.
- Perhaps the simulator could return 1 to mean it loaded it and 0 to
- mean "you deal with it, caller". */
-
-int
-sim_load (abfd, prog)
-bfd *abfd;
-char *prog;
-{
- return sim_load_standard (abfd);
-}