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: [PATCH 4/4] Test on solib load and unload


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> Using a list makes caller code cleaner if multiple lines are written.
Yao> I am fine to use one big string here.

You can always join a list in the caller:

   set list [however-you-make-it]
   gdb_produce_source filename [join $list \n]

Yao> 	* lib/gdb.exp (gdb_produce_source): New procedure.
Yao> 	* gdb.perf/solib.c: New.
Yao> 	* gdb.perf/solib.exp: New.
Yao> 	* gdb.perf/solib.py: New.

Looks good to me, thanks.

Tom


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