(src) <gdb.ini>: Don't replace the line with x_error_quitter; instead
authorEli Zaretskii <eliz@gnu.org>
Tue, 14 Apr 2009 10:37:59 +0000 (10:37 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 14 Apr 2009 10:37:59 +0000 (10:37 +0000)
append "set environment NAME" to the end.
Set NAME and USERNAME in the environment to the same value.

msdos/ChangeLog
msdos/mainmake.v2

index 887d66c..9063343 100644 (file)
@@ -1,3 +1,9 @@
+2009-04-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * mainmake.v2 (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.
+
 2009-02-28  Eli Zaretskii  <eliz@gnu.org>
 
        * mainmake.v2 (boot): Don't require b-emacs.exe if not building
index c77c41a..2cad495 100644 (file)
@@ -104,9 +104,11 @@ src: FRC
        $(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))'