aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
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/gdb.python
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/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/py-lazy-string.c2
1 files changed, 2 insertions, 0 deletions
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 ()
{