This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Let "gcore" command accept a suffix argument
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: Stan Shebs <stanshebs at earthlink dot net>, Tom Tromey <tromey at redhat dot com>, Stan Shebs <stan at codesourcery dot com>, Michael Snyder <msnyder at vmware dot com>, gdb-patches ml <gdb-patches at sourceware dot org>, Eli Zaretskii <eliz at gnu dot org>
- Date: Mon, 21 Jun 2010 14:33:50 -0700
- Subject: Re: [RFC] Let "gcore" command accept a suffix argument
- References: <daef60381001052257q2068a8fbmaacd026b8d5cef49@mail.gmail.com> <20100106075757.GF24777@adacore.com> <daef60381001090154m36f5cf15x9f76b7073e4d126@mail.gmail.com> <20100109105557.GA2007@adacore.com> <daef60381001090717j4a658548g114950986df6279b@mail.gmail.com> <20100110054328.GD2007@adacore.com> <daef60381001100530k39fe9727s355cad73a47a2989@mail.gmail.com> <20100110140029.GF2007@adacore.com> <AANLkTinVPdwg6HuAp08wknw8DYe80LcR33tbEaRkMDXz@mail.gmail.com> <20100621165714.GC2595@adacore.com>
> > 2010-06-21 Hui Zhu <teawater@gmail.com>
> >
> > * printcmd.c (ui_printf_maybe_filtered): New function.
> > (printf_command): Call ui_printf_maybe_filtered.
> > (_initialize_printcmd): New command "eval".
Something that I thought of afterwards: Can you also add a small test
for this new command. We should at least verify that a basic case
works fine - something like "eval echo [...]"...
Thanks,
--
Joel