(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.
This commit is contained in:
Eli Zaretskii 2009-04-14 10:37:59 +00:00
parent d78df08059
commit dfec862219
2 changed files with 9 additions and 1 deletions

View 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

View 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))'