[RFA]: add reason code and silent flag to decode_line_1

Daniel Jacobowitz drow@mvista.com
Tue Dec 9 21:29:00 GMT 2003


On Tue, Dec 09, 2003 at 04:24:34PM -0500, J. Johnston wrote:
> 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.

You'll probably want to fix calls in Insight too.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list