This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: add reason code and silent flag to decode_line_1
On Wed, Dec 17, 2003 at 02:48:19PM -0500, Elena Zannoni wrote:
> J. Johnston writes:
> > David, here is the updated patch based on your suggestion. It is definitely
> > cleaner in the short-term.
> >
> > 2003-12-09 Jeff Johnston <jjohnstn@redhat.com>
> >
> > * linespec.h (decode_line_1): Add new not_found_ptr parameter.
> > * linespec.c (decode_line_1): Add new parameter. Pass on
> > new parameter to decode_variable and symtab_from_filename
> > functions.
> > (decode_variable): Add new not_found_ptr parameter. Throw exception
> > rather than failing if the not_found_ptr is non-null and the
> > function is not found.
> > (symtab_from_filename): Add new not_found_ptr parametr. Throw exception
> > rather than failing if the not_found_ptr is non-null and the
> > source file is not found.
> > * breakpoint.c: Change all callers of decode_line_1 to add default
> > extra parameter for decode_line_1 calls.
> > * tracepoint.c: Ditto.
> > * cli/cli-cmds.c: Ditto.
>
>
> The linespec.c/.h part is approved.
Thanks - Jeff, with that approval I believe the rest of this patch is
obvious. Eagerly awaiting the next bits.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer