This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] gdb-events.sh portability update


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]