PERFORCE change 50294 for review

Marcel Moolenaar marcel at FreeBSD.org
Sat Apr 3 15:38:39 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=50294

Change 50294 by marcel at marcel_nfs on 2004/04/03 15:37:45

	Support the boot_gdb environment variable for selecting
	GDB as the default backend.

Affected files ...

.. //depot/projects/gdb/sys/alpha/alpha/machdep.c#7 edit

Differences ...

==== //depot/projects/gdb/sys/alpha/alpha/machdep.c#7 (text+ko) ====

@@ -1022,6 +1022,8 @@
 	/*
 	 * Initialize debuggers, and break into them if appropriate.
 	 */
+	if (getenv("boot_gdb") != NULL)
+		boothowto |= RB_GDB;
 	kdb_init();
 
 #ifdef KDB


More information about the p4-projects mailing list