[djgpp/commit] Fix the DJGPP build of GDB
Eli Zaretskii
eliz@gnu.org
Sat Sep 5 16:18:00 GMT 2009
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: gdb-patches@sourceware.org
> Date: Sat, 05 Sep 2009 18:04:06 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > @@ -2,31 +2,37 @@
> > s|gdb\.c++|gdb.cxx|g
> > /ac_rel_source/s|ln -s|cp -p|
> > s|\.gdbinit|gdb.ini|g
> > +# This works around a bug in DJGPP port of Bash 2.0x
> > +s|return $ac_retval|(&)|g
>
> Looks like you missed escaping the $.
It works regardless. The GNU Sed manual says:
`$'
It is the same as `^', but refers to end of line. `$' also acts
as a special character only at the end of the regular expression
or subexpression [...]
Is this a GNU-specific Sed extension? (I don't mind making it more
portable, even if it is, although DJGPP uses GNU Sed.)
Thanks.
More information about the Gdb-patches
mailing list