]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
gdb/testsuite: allow gdb.base/overlays.exp to compile for m32r
authorAndrew Burgess <andrew.burgess@embecosm.com>
Sun, 13 Sep 2020 20:53:08 +0000 (21:53 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 6 Oct 2020 10:18:37 +0000 (11:18 +0100)
commited3bdac42ce8e545e04bd15a153a85aee4a7a9af
tree83a279efdcf4b8c95d6f17cd7d0c05ce56571fee
parent3ce6300ea8e9d205e6c4e0d6bfab31cf1fe4ac07
gdb/testsuite: allow gdb.base/overlays.exp to compile for m32r

The gdb.base/overlays.exp test is only currently supported on m32r
baremetal targets, however, when I configure a toolchain for m32r-elf
the test does not compile.

This commit updates the linker script, fixes some TCL errors in the
exp file, and adds some missing includes to the source file so that
the test does compile.

With this test, when run against an m32r-elf toolchain the test mostly
passes, but there are a couple of failures, these are GDB issues and
will be addressed in a later commit.

gdb/testsuite/ChangeLog:

* gdb.base/m32r.ld: Remove SEARCH_DIR line.  Add MEMORY regions,
make use of regions throughout.
* gdb.base/overlays.exp: Enclose string with variableds in "..",
not {...}.
* gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/m32r.ld
gdb/testsuite/gdb.base/overlays.exp
gdb/testsuite/gdb.base/ovlymgr.c