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: [commit] add some comments to testsuite/lib/gdb.exp


On Sat, Dec 3, 2011 at 10:39 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> But I do wonder whether there is still anyone making use of this.
> Can't we just zap all of the #ifdef usestubs bits?

I'll leave that to someone else.

> There are zillions of tests that don't make have usestubs support
> in their main. ?It must be pretty broken?

Like I said, a bit of bitrot ...
[The usestubs way was inherently non-scalable and the bitrot will
always be inevitable.]

> All the stubs I've seen thus far that needed to do something magical,
> did it transparently, before main is reached, e.g., with extra startup
> glue, and board file magic, which IMO is the Right Way.

I think you'd be hard pressed to find someone who thought otherwise
these days ... no?
OTOH, I don't mind adding some comments to at least explain the
current code, even if the plan is to ultimately delete it.


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