This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[OB PATCH] gdb.python/py-lazy-string (pointer): Really add new typedef.
- From: "Doug Evans via gdb-patches" <gdb-patches at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 16 Mar 2017 17:59:24 +0000
- Subject: [OB PATCH] gdb.python/py-lazy-string (pointer): Really add new typedef.
- Authentication-results: sourceware.org; auth=none
- Reply-to: Doug Evans <dje at google dot com>
Somehow this line got dropped.
Verified py-lazy-string.exp passes.
Committed.
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 --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index aa07cb05ff..8a3096fe61 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 41011ce99c..8d90d6d026 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 ()
{