Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 15:38:38 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 50294 for review
Message-ID:  <200404032338.i33Nccsn003715@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50294

Change 50294 by marcel@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404032338.i33Nccsn003715>