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

Message ID 001a113cf8ee4206ce054adcd2cd@google.com
State New, archived
Headers

Commit Message

Terekhov, Mikhail via Gdb-patches March 16, 2017, 5:59 p.m. UTC
  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.

  {
  

Patch

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