This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] move strace call to gdb_init? (away from testcase)
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 23 Feb 2011 13:22:35 +0400
- Subject: Re: [RFC] move strace call to gdb_init? (away from testcase)
- References: <20110223072123.GQ2617@adacore.com> <000901cbd336$0a273ef0$1e75bcd0$@muller@ics-cnrs.unistra.fr>
> No testcase changes tracelevel
> for now..
... and I forgot to say that I would consider that to be a bug
(to change the strace level without changing it)
> What about removing it completely and adding tracelevel variable to
> the list of banned variables in lib/gdb.exp currently, this list has
> only two items: gdb.exp, line 2767: set banned_variables { bug_id
> prms_id }
>
> just add tracelevel variable to this list and remove all
> if {$tracelevel} {
> strace $tracelevel
> }
> from all testcases.
That would definitely work for me!
--
Joel