This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4] Test on solib load and unload
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 04 Nov 2013 09:26:16 -0700
- Subject: Re: [PATCH 4/4] Test on solib load and unload
- Authentication-results: sourceware.org; auth=none
- References: <1383291300-13917-1-git-send-email-yao at codesourcery dot com> <1383291300-13917-5-git-send-email-yao at codesourcery dot com> <87eh6zyi6j dot fsf at fleche dot redhat dot com> <52746817 dot 7060902 at codesourcery dot com>
>>>>> "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