diff options
author | Pedro Alves <pedro@palves.net> | 2020-09-17 23:33:40 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2020-09-18 00:04:29 +0100 |
commit | 52626c58267233b0e6a9807a80945467a019013b (patch) | |
tree | 51c05b3972ba31b38efff9e74217d38afb60e52d /gdb/testsuite/gdb.python/py-section-script.py | |
parent | 52bb090268881cfa1ab615273e281610935f2f95 (diff) | |
download | binutils-52626c58267233b0e6a9807a80945467a019013b.zip binutils-52626c58267233b0e6a9807a80945467a019013b.tar.gz binutils-52626c58267233b0e6a9807a80945467a019013b.tar.bz2 |
gdb.base/nested-addr.{c,exp} C++ify
Adjust gdb.base/nested-addr.exp to let the testcase build and run as a
C++ program. "print /d" is used so we get "= 1" instead of "= true"
in C++ mode.
gdb/testsuite/ChangeLog:
* gdb.base/nested-addr.c (main): Add cast.
* gdb.base/nested-addr.exp: Use "print /d".
Diffstat (limited to 'gdb/testsuite/gdb.python/py-section-script.py')
0 files changed, 0 insertions, 0 deletions