* Re: [PATCH v4] Fix segfault when invoking -var-info-path-expression on a dynamic varobj [not found] <20180628205431.27844-1-jan.vrany@fit.cvut.cz> @ 2018-07-02 1:43 ` Simon Marchi 2018-07-02 2:04 ` Simon Marchi 0 siblings, 1 reply; 2+ messages in thread From: Simon Marchi @ 2018-07-02 1:43 UTC (permalink / raw) To: Jan Vrany, gdb-patches > diff --git a/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.py b/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.py > new file mode 100644 > index 0000000000..34d016fb89 > --- /dev/null > +++ b/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.py > @@ -0,0 +1,57 @@ > +# Copyright (C) 2008-2018 Free Software Foundation, Inc. > + > +# This program is free software; you can redistribute it and/or modify > +# it under the terms of the GNU General Public License as published by > +# the Free Software Foundation; either version 3 of the License, or > +# (at your option) any later version. > +# > +# This program is distributed in the hope that it will be useful, > +# but WITHOUT ANY WARRANTY; without even the implied warranty of > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +# GNU General Public License for more details. > +# > +# You should have received a copy of the GNU General Public License > +# along with this program. If not, see <http://www.gnu.org/licenses/>. > + > +import sys > +import gdb > +import gdb.types > + > +# Folowing is for Python 3 compatibility... "Following" There's an extra \n at the end of py-mi-var-info-path-expression.exp, which git complains about. Otherwise, LGTM. Thanks, Simon ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v4] Fix segfault when invoking -var-info-path-expression on a dynamic varobj 2018-07-02 1:43 ` [PATCH v4] Fix segfault when invoking -var-info-path-expression on a dynamic varobj Simon Marchi @ 2018-07-02 2:04 ` Simon Marchi 0 siblings, 0 replies; 2+ messages in thread From: Simon Marchi @ 2018-07-02 2:04 UTC (permalink / raw) To: Jan Vrany, gdb-patches On 2018-07-01 09:43 PM, Simon Marchi wrote: >> diff --git a/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.py b/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.py >> new file mode 100644 >> index 0000000000..34d016fb89 >> --- /dev/null >> +++ b/gdb/testsuite/gdb.python/py-mi-var-info-path-expression.py >> @@ -0,0 +1,57 @@ >> +# Copyright (C) 2008-2018 Free Software Foundation, Inc. >> + >> +# This program is free software; you can redistribute it and/or modify >> +# it under the terms of the GNU General Public License as published by >> +# the Free Software Foundation; either version 3 of the License, or >> +# (at your option) any later version. >> +# >> +# This program is distributed in the hope that it will be useful, >> +# but WITHOUT ANY WARRANTY; without even the implied warranty of >> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> +# GNU General Public License for more details. >> +# >> +# You should have received a copy of the GNU General Public License >> +# along with this program. If not, see <http://www.gnu.org/licenses/>. >> + >> +import sys >> +import gdb >> +import gdb.types >> + >> +# Folowing is for Python 3 compatibility... > > "Following" > > There's an extra \n at the end of py-mi-var-info-path-expression.exp, which git > complains about. Actually, it might be the lack of \n at the end of py-mi-var-info-path-expression.py, please check that too. Simon ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-02 2:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20180628205431.27844-1-jan.vrany@fit.cvut.cz>
2018-07-02 1:43 ` [PATCH v4] Fix segfault when invoking -var-info-path-expression on a dynamic varobj Simon Marchi
2018-07-02 2:04 ` Simon Marchi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox