aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2017-03-16 10:43:21 -0700
committerDoug Evans <dje@google.com>2017-03-16 10:43:21 -0700
commit6ebac3fbacebaebd9e2c9393da3b612342d953a9 (patch)
treee6fab2babadd4b2578bdf4874961c12906ffa9ed /gdb/testsuite
parent2cc36e25db366d70a975702b61c7700ae934d4d0 (diff)
downloadgdb-6ebac3fbacebaebd9e2c9393da3b612342d953a9.zip
gdb-6ebac3fbacebaebd9e2c9393da3b612342d953a9.tar.gz
gdb-6ebac3fbacebaebd9e2c9393da3b612342d953a9.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.python/py-lazy-string.c2
2 files changed, 6 insertions, 0 deletions
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 ()
{