From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Seitz To: Subject: Re: [RFA] gdb-events.sh portability update Date: Thu, 07 Jun 2001 12:43:00 -0000 Message-id: References: <3B1FD4D1.2070401@cygnus.com> X-SW-Source: 2001-06/msg00153.html On Thu, 7 Jun 2001, Andrew Cagney wrote: > > 3) Uses "echo" to put strings containing special characters (e.g. \n) into > > files: > > > > echo "" > > echo "fprintf_unfiltered (gdb_stderr, \"This is an error\\n\");" > > Yes, ok. Done. > On the last one, gdbarch.sh now uses printf but it doesn't > matter either way. So it does. I wasn't sure whether this was portable, but it would seem to be. Perhaps one of my subsequent patches to gdb-events.sh will mimick more of gdbarch.sh... :-) Keith