diff options
author | phk <phk@FreeBSD.org> | 1999-05-09 10:51:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-05-09 10:51:13 +0000 |
commit | e8f4fc4a1d3555ba5d3ce423b41c82b7fce94a63 (patch) | |
tree | 623bf04dc60f78005b62c8986b81469006615edb /sys/ddb/ddb.h | |
parent | e85d75ef71e87265d72acde0261bcc0bd8b5ad6f (diff) | |
download | FreeBSD-src-e8f4fc4a1d3555ba5d3ce423b41c82b7fce94a63.zip FreeBSD-src-e8f4fc4a1d3555ba5d3ce423b41c82b7fce94a63.tar.gz |
add some amount of sanity to the way the gdb stuff finds its device.
I'm not too happy about the result either, but at least it has less
chance of backfiring.
This particular feature could be called "a mess" without offending
anybody.
Diffstat (limited to 'sys/ddb/ddb.h')
-rw-r--r-- | sys/ddb/ddb.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h index dcce9b2..38bf3cb 100644 --- a/sys/ddb/ddb.h +++ b/sys/ddb/ddb.h @@ -27,7 +27,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ddb.h,v 1.20 1998/07/13 06:45:23 bde Exp $ + * $Id: ddb.h,v 1.21 1999/01/27 19:00:49 dillon Exp $ */ /* @@ -145,4 +145,14 @@ struct command { struct command *more; /* another level of command */ }; +/* XXX: UGLY hack */ +#ifdef CN_DEAD +/* + * Routines to support GDB on an sio port. + */ +extern dev_t gdbdev; +extern cn_getc_t *gdb_getc; +extern cn_putc_t *gdb_putc; +#endif + #endif /* !_DDB_DDB_H_ */ |