diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-09 09:11:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-09 09:11:55 +0000 |
commit | 4e6cc5ad02af2056a5b0e2bd4dcd951faa839043 (patch) | |
tree | 6de84b0ea7f0aa198f72135b8af9e8194dcf6d05 /sys | |
parent | a88355727ee614a0799cd69e280e12794521ca3d (diff) |
indicate that the register array is in physical order
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/alpha/db_interface.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/db_interface.c b/sys/arch/alpha/alpha/db_interface.c index 05c5466ceca..08c93e7d453 100644 --- a/sys/arch/alpha/alpha/db_interface.c +++ b/sys/arch/alpha/alpha/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.5 1997/07/09 09:06:19 deraadt Exp $ */ +/* $OpenBSD: db_interface.c,v 1.6 1997/07/09 09:11:54 deraadt Exp $ */ /* * Copyright (c) 1997 Niklas Hallqvist. All rights reserverd. @@ -50,6 +50,10 @@ extern int trap_types; void kdbprinttrap __P((int, int)); +/* + * These entries must be in the same order as the CPU registers. + * You can add things at the end. + */ struct db_variable db_regs[] = { { "v0", (long *)&ddb_regs.tf_regs[FRAME_V0], FCN_NULL, }, /* 0 */ { "t0", (long *)&ddb_regs.tf_regs[FRAME_T0], FCN_NULL, }, /* 1 */ |