This is the mail archive of the gdb-patches@sourceware.org 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: [RFC] Use untested for macscp.exp if no macro information generated


On Wed, Jan 28, 2009 at 02:23:11PM +0100, Pierre Muller wrote:
> 
> I tried to simplify my patch for macro support
> in order to get less uninteresting failures.

I think your earlier patch had the right idea.  Why did it leave some
failures?  We should have none if we're going to skip the test.

>  if {[list_and_check_macro main WHERE {macscp1.c {before macscp1_3}}]} {
> -    return 0
> +    global verbose
> +    set macro_support "unknown"
> +    send_gdb "info source\n"
> +    gdb_expect 10 {

General note, please use gdb_test_multiple.  No need for a timeout in
most cases; use the default setting.

-- 
Daniel Jacobowitz
CodeSourcery


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