From 6ebac3fbacebaebd9e2c9393da3b612342d953a9 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 16 Mar 2017 10:43:21 -0700 Subject: [PATCH] gdb.python/py-lazy-string (pointer): Really add new typedef. Somehow got dropped in earlier commit. gdb/testsuite/ChangeLog: * gdb.python/py-lazy-string (pointer): Really add new typedef. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.python/py-lazy-string.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index aa07cb05ffb..8a3096fe612 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-03-16 Doug Evans + + * gdb.python/py-lazy-string (pointer): Really add new typedef. + 2017-03-16 Thomas Preud'homme * gdb.cp/m-static.exp: Fix expectation for prototype of diff --git a/gdb/testsuite/gdb.python/py-lazy-string.c b/gdb/testsuite/gdb.python/py-lazy-string.c index 41011ce99c3..8d90d6d0269 100644 --- a/gdb/testsuite/gdb.python/py-lazy-string.c +++ b/gdb/testsuite/gdb.python/py-lazy-string.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +typedef const char* pointer; + int main () { -- 2.30.2