changeset 102961:4d83e5b1225b

(src) <gdb.ini>: Don't replace the line with x_error_quitter; instead append "set environment NAME" to the end. Set NAME and USERNAME in the environment to the same value.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 14 Apr 2009 10:37:21 +0000
parents 6df519334b1d
children 6e053873a19a
files msdos/mainmake.v2
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msdos/mainmake.v2	Tue Apr 14 02:28:45 2009 +0000
+++ b/msdos/mainmake.v2	Tue Apr 14 10:37:21 2009 +0000
@@ -104,9 +104,11 @@
 	$(MAKE) top_srcdir=${top_srcdir} BOOTSTRAPEMACS="${boot}"
 	djecho -s '/-geometry/s,^.*,set environment HOME $(top_srcdir),' \
 	          '/environment *TERM/s/^.*/set environment TERM internal/' \
-	          '/x_error_quitter/s/^.*/set environment NAME root/' >gdb.sed
+	       >gdb.sed
 	sed -f gdb.sed _gdbinit >gdb.tmp
 	djecho -a gdb.tmp -s 'set environment USER root' \
+	                     'set environment NAME root' \
+	                     'set environment USERNAME root' \
 	                     'set environment EMACSPATH $(top_srcdir)/bin' \
 	                     'set environment SHELL $(subst \,/,$(COMSPEC))' \
 	                     'set environment PATH $(subst \,/,$(PATH))'