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: [drow@mvista.com: Re: RFA: LOC_COMPUTED support]


Just a generic heads up on the structure of this code and these, er, batons (from the point of view of the architecture).

This is implementing something like (I've not hacked C++ in > 10 years):

	// some base classes
	class A;
	class B;

	// a derived class (wonder if I got the order right).
	class B::class B1;

	// A `uses' B but is parameterized with the specific instance
	class A->method (class B B);

in C.

I honestly think that using baton's distract from what is a simple O-O construct and standard O-O terminology.

The frame and architecture code both reflect this structure - pass in the object and then use methods supplied as part of the object.

Once all this is settled, I think I'll look to re-factor (hmm, buzword) the code so that its structure better refects what is going on.

enjoy,
Andrew


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