This is the mail archive of the 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

Daniel Jacobowitz wrote:
On Wed, Mar 12, 2008 at 04:49:08PM -0400, Aleksandar Ristovski wrote:
This means that the order in which files are loaded matters and the latter in the process a file gets loaded, it carries more 'overriding' capabilities. Therefore, first files loaded should be very generic, going towards customization files.

Yes. But load_lib will not reload an already loaded file - we have some board files which check if $tool == "gdb", and load_lib mi-support.exp themselves, and use "rename". I didn't say it was pretty or the right way!

True. It means that load_lib mi-support.exp can safely stay in the testcases, and who needs to override something from there should add 'load_lib mi-support.exp' in their baseboard file and then rewrite the function (or use rename) after load_lib.

I would still like to see changes to mi-support.exp go in to make it more in-line with gdb.exp; I think "rename" would be avoided in most of the cases.

Nothing critical though...

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