diff options
author | Pedro Alves <pedro@palves.net> | 2020-09-17 23:33:41 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2020-09-18 00:05:39 +0100 |
commit | 151fdbad7a4df43fb7e5b1ef2f84622aaaa2ddb5 (patch) | |
tree | 4c39710152f35200c9792b8c8c76e83e67092d3d /Makefile.tpl | |
parent | 18a25b648176c70a651dc869394eef2d26d50723 (diff) | |
download | gdb-151fdbad7a4df43fb7e5b1ef2f84622aaaa2ddb5.zip gdb-151fdbad7a4df43fb7e5b1ef2f84622aaaa2ddb5.tar.gz gdb-151fdbad7a4df43fb7e5b1ef2f84622aaaa2ddb5.tar.bz2 |
gdb.base/watchpoint.{c,exp}
Adjust gdb.base/watchpoint.c so that it can be built as a C++ program.
Fixes:
gdb compile failed, src/gdb/testsuite/gdb.base/watchpoint.c:33:16: error: initializer-string for array of chars is too long [-fpermissive]
33 | char buf[30] = "testtesttesttesttesttesttestte";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/gdb/testsuite/gdb.base/watchpoint.c:62:14: error: expected unqualified-id before 'nullptr'
62 | struct foo5 *nullptr;
| ^~~~~~~
gdb/testsuite/ChangeLog:
* gdb.base/watchpoint.c (buf): Make it 31 bytes.
(nullptr): Rename to ...
(null_ptr): ... this.
* gdb.base/watchpoint.exp: Adjust to rename.
Diffstat (limited to 'Makefile.tpl')
0 files changed, 0 insertions, 0 deletions