This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] GDB testsuite patch.
Daniel Jacobowitz <drow@false.org> wrote:
> That's not the same as what you've done. gdb_file_cmd should not
> always fail for objects without debugging information, since there are
> other tests that work OK without it. This only applies to the gdb.gdb/
> tests.
Damn, I noticed this, but I got so caught up in the procedural criticism,
I forgot to mention it.
Daniel is right; gdb_file_cmd is not a good place to test for this
unconditionally. You have to look in gdb.gdb/*.exp and find a good
way so that you make this check only for gdb.gdb/*.exp.
Michael