diff options
author | pst <pst@FreeBSD.org> | 1996-08-27 19:45:58 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-08-27 19:45:58 +0000 |
commit | 17e45781b1f9509793bb2e719c366f1ab9e47385 (patch) | |
tree | 76982da048587d3d1d2cf24c80a398f8829d3224 /sys/i386/boot/dosboot | |
parent | 694862e163e556e390b626fa5d5c14ba68fc1e92 (diff) | |
download | FreeBSD-src-17e45781b1f9509793bb2e719c366f1ab9e47385.zip FreeBSD-src-17e45781b1f9509793bb2e719c366f1ab9e47385.tar.gz |
Support for GDB remote debug protocol.
Sponsored by: Juniper Networks, Inc. <pst@jnx.com>
Diffstat (limited to 'sys/i386/boot/dosboot')
-rw-r--r-- | sys/i386/boot/dosboot/fbsdboot.c | 1 | ||||
-rw-r--r-- | sys/i386/boot/dosboot/reboot.h | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/i386/boot/dosboot/fbsdboot.c b/sys/i386/boot/dosboot/fbsdboot.c index fd77aae..4bb18e4 100644 --- a/sys/i386/boot/dosboot/fbsdboot.c +++ b/sys/i386/boot/dosboot/fbsdboot.c @@ -94,6 +94,7 @@ int main(int argc, char *argv[]) case 'a': howto |= RB_ASKNAME; break;
case 'c': howto |= RB_CONFIG; break;
case 'd': howto |= RB_KDB; break;
+ case 'g': howto |= RB_GDB; break;
case 'v': howto |= RB_VERBOSE; break;
case 'C': howto |= RB_CDROM; break;
case 'D': dos = 1; kernel = "c:\\kernel"; break;
diff --git a/sys/i386/boot/dosboot/reboot.h b/sys/i386/boot/dosboot/reboot.h index 51b5f1f..c21858a 100644 --- a/sys/i386/boot/dosboot/reboot.h +++ b/sys/i386/boot/dosboot/reboot.h @@ -31,7 +31,7 @@ * SUCH DAMAGE.
*
* @(#)reboot.h 8.1 (Berkeley) 6/2/93
- * $Id: reboot.h,v 1.7 1994/11/26 09:08:40 phk Exp $
+ * $Id: reboot.h,v 1.2 1995/04/27 18:22:32 phk Exp $
*/
#ifndef _SYS_REBOOT_H_
@@ -56,8 +56,10 @@ #define RB_MINIROOT 0x200 /* mini-root present in memory at boot time */
#define RB_CONFIG 0x400 /* invoke user configuration routing */
#define RB_VERBOSE 0x800 /* print all potentially useful info */
-#define RB_SERIAL 0x1000 /* user serial port as console */
-#define RB_CDROM 0x2000 /* use cdrom as root */
+#define RB_SERIAL 0x1000 /* user serial port as console */
+#define RB_CDROM 0x2000 /* use cdrom as root */
+#define RB_POWEROFF 0x4000 /* if you can, turn the power off */
+#define RB_GDB 0x8000 /* use GDB remote debugger instead of DDB */
#define RB_BOOTINFO 0x80000000 /* have `struct bootinfo *' arg */
|