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] gdb.mi tests


On Wed, Mar 12, 2008 at 10:25:12PM +0300, Vladimir Prus wrote:
> Aleksandar Ristovski wrote:
> 
> >> Something like the diffs attached (I manually removed some things from my diff
> >> so the diff may not be patchable, but it should be sufficient to illustrate what
> >> am I talking about.
> >> 
> > 
> > Attached working diff. Comments welcome.
> 
> I don't have any objections to this course of action, if this simplifies
> your testing.
> 
> But just for the record, can you tell how you override mi_gdb_start? Of course,
> assuming it's not some proprietary information.

FWIW, I tried something similar long ago and Elena preferred it the
way it is - you'll see that sid and gdbserver target support is also
in mi-support.exp, not in config/ with the other pieces.

  http://sources.redhat.com/ml/gdb-patches/2002-07/msg00227.html

However, CodeSourcery's test harness goes to some trouble to work
around this - you still can, you just need to be handy with TCL to do
it.  We load mi-support.exp in our board files and use "rename".
Which is a bit silly to have to do.

-- 
Daniel Jacobowitz
CodeSourcery


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