/* Functions specific to running gdb native on a Motorola Delta Series sysV68.
- Copyright (C) 1993, Free Software Foundation, Inc.
+ Copyright (C) 1993, 1997-98, Free Software Foundation, Inc.
This file is part of GDB.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "defs.h"
#include <sys/signal.h> /* for MAXSIG in sys/user.h */
/* Return the address in the core dump or inferior of register REGNO.
BLOCKEND is the address of the end of the user structure. */
-unsigned int
+CORE_ADDR
register_addr (regno, blockend)
int regno;
- int blockend;
+ CORE_ADDR blockend;
{
static int sysv68reg[] =
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -1, 15, 16 };
exit (1);
}
}
+
+clear_insn_cache ()
+{
+#ifdef MCT_TEXT /* in sys/signal.h on sysV68 R3V7.1 */
+ memctl(0, 4096, MCT_TEXT);
+#endif
+}
+
+kernel_u_size ()
+{
+ return sizeof (struct user);
+}