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]
Other format: [Raw text]

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


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


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