aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-05-25 11:55:21 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-05-25 11:55:21 -0400
commit462f72c552226823829e7d370572b7e0852d9c02 (patch)
tree9e67e5fe8da6ed2c0ea310f5ea096fb3561e9f63 /gdb/testsuite/ChangeLog
parent6cf66e763aec5b2c3d99063d9cc6f7b96b4b9dc9 (diff)
downloadgdb-462f72c552226823829e7d370572b7e0852d9c02.zip
gdb-462f72c552226823829e7d370572b7e0852d9c02.tar.gz
gdb-462f72c552226823829e7d370572b7e0852d9c02.tar.bz2
gdb/testsuite: add simavr.exp board
This patch adds a board file for against a simavr target (so, for the AVR architecture). simavr, when started with option -g, runs a GDB stub on port 1234. In the current latest release (1.6), the port is hardcoded to 1234. But in master, there is the option to choose another port. So while the board file hardcodes the port today, in the future it should be possible to let the user choose a port, or automatically select a free port. It is easy enough to run, make sure you have avr-gcc/avr-g++ and simavr installed, and as usual just run: make check RUNTESTFLAGS="--target_board=simavr" The following environment variables influence the behavior of the board file: - SIMAVR_MCU: type of chip to simulate - SIMAVR_PATH: path to simavr binary (useful if you build your own simavr or for some reason it is not simply called `simavr`. As expected, there are a lot of failures. Many tests use some features not supported by such a target, and I suppose there are real GDB bugs too. But a lot also passes (including tests that actually run stuff), so this board file should still help to validate changes to the AVR architecture support. These are the results I got of running tests gdb.base/*.exp: # of expected passes 20926 # of unexpected failures 2257 # of expected failures 14 # of unknown successes 1 # of known failures 13 # of unresolved testcases 592 # of untested testcases 156 # of unsupported tests 30 # of paths in test names 3 # of duplicate test names 56 gdb/testsuite/ChangeLog: * boards/simavr.exp: New file. Change-Id: Ib7fa8c4e2e90b08b104bb9b552df37779de3bc21
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r--gdb/testsuite/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 22866e2..4242b98 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2020-05-25 Simon Marchi <simon.marchi@efficios.com>
+ * boards/simavr.exp: New file.
+
+2020-05-25 Simon Marchi <simon.marchi@efficios.com>
+
* lib/gdb.exp (gdb_run_cmd): Return success or failure.
* gdb.base/inferior-args.exp: New file.
* gdb.base/inferior-args.c: New file.