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: adapt gdb/testsuite/config/sim.exp to new gdb_file_cmd


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.


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