This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: adapt gdb/testsuite/config/sim.exp to new gdb_file_cmd
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: manjo at austin dot ibm dot com, cagney at gnu dot org, jimb at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 09 Sep 2004 13:33:45 -0400
- Subject: Re: RFA: adapt gdb/testsuite/config/sim.exp to new gdb_file_cmd
- References: <vt2y8jkuyz1.fsf@zenia.home>
Jim Blandy <jimb@redhat.com> wrote:
> Here's a caller of gdb_file_cmd that wasn't updated when the type of
> its return value was changed.
Yes. I didn't even look in config/*.exp when I changed the return type
of gdb_file_cmd and gdb_load. I thought there was one implementation of
gdb_load, but actually, there are nine implementations!
I've thought about this and I've decided to revert the return type
change. After that, I'll change gdb_file_cmd to set a global variable,
which gdb.gdb/*.exp will test.
So I'm declining this patch. I'll have the breakage fixed shortly,
and then add the new global.
Michael
> 2004-09-08 Jim Blandy <jimb@redhat.com>
>
> * config/sim.exp (gdb_load): Adapt to expect and return new return
> values from gdb_file_command.