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 03:18:15PM -0400, Aleksandar Ristovski wrote:
>> Attached working diff. Comments welcome.
> I think this patch is OK, if you add a changelog entry for it.  Do
> you have write access?  If not, would you like to?

In the context of this thread, I have reduced the originally proposed diff.
it is a simple change in mi-support.exp, diff attached.

I gave up the removal of "load_lib mi-support.exp" from all tests since, as 
Daniel pointed out, the overriding can still be done by loading the file in
board file, and after the load_lib statement redefining the functions of 
interest; load_lib makes sure to not reload already loaded file.

Leaving "load_lib mi-support.exp" maybe makes it a bit more clear what file 
contains functions that can be overridden.


Aleksandar Ristovski
QNX Software Systems

2008-03-28  Aleksandar Ristovski  <>

	* lib/mi-support.exp: Rename mi_gdb_start to default_mi_gdb_start
	add mi_gdb_start to simply call the default one. Brings mi-support
	in line with gdb.exp.

Attachment: mi-support.diff
Description: Text document

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