This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[OB PATCH] gdb.python/py-lazy-string (pointer): Really add new typedef.


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 ()
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]