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: [SH] regs command


>>>>> "Maciej" == Maciej W Rozycki <macro@codesourcery.com> writes:

Maciej>  While I agree that this command deprecation case may not be important 
Maciej> enough to make a decision on an internal API change weeks before a 
Maciej> release, that does not mean the problem is not there.

Yeah, I agree, there is a problem -- it is encountered infrequently
enough that we can usually pretend it isn't there.  There's also some
places that were designed to avoid dependency problems, like the way
command list roots are statically allocated.

Basing the dependencies on file names doesn't seem robust.  It works in
this case; but I don't think there is a reason to believe it will always
be a workable approach.

I think one way to fix it would be to have the code express the
dependencies.  This might be tricky to maintain, though I suppose with
enough assertions it could be robust.

Tom


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