[binutils-gdb] gdb.python/py-lazy-string (pointer): Really add new typedef.
Doug Evans
devans@sourceware.org
Thu Mar 16 17:44:00 GMT 2017
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6ebac3fbacebaebd9e2c9393da3b612342d953a9
commit 6ebac3fbacebaebd9e2c9393da3b612342d953a9
Author: Doug Evans <dje@google.com>
Date: Thu Mar 16 10:43:21 2017 -0700
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.
Diff:
---
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 aa07cb0..8a3096f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2017-03-16 Doug Evans <dje@google.com>
+
+ * gdb.python/py-lazy-string (pointer): Really add new typedef.
+
2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
* 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 41011ce..8d90d6d 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 <http://www.gnu.org/licenses/>. */
+typedef const char* pointer;
+
int
main ()
{
More information about the Gdb-cvs
mailing list