Fix erroneous agent expression test
authorTom Tromey <tom@tromey.com>
Sat, 9 Jan 2021 17:01:30 +0000 (10:01 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 9 Jan 2021 17:01:30 +0000 (10:01 -0700)
commit66beed0227b1a9c29bcf22c47bd2803b5d595509
tree5f5aa4194aa468af8209c09f90107b3a4ade47b1
parentaf019bfde9b13d628202fe58054ec7ff08d92a0f
Fix erroneous agent expression test

Testing of the expression rewrite revealed a buglet in ax.exp.  One
test does:

    gdb_test "maint agent (unsigned char)1L" ".*ext 8.*"

However, zero extension is not actually needed in this case -- a
simple "const8 1" is also correct here.

This patch changes the test to look for a push of any width of the
constant 1.

gdb/testsuite/ChangeLog
2021-01-09  Tom Tromey  <tom@tromey.com>

* gdb.trace/ax.exp: Do not require an "ext".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/ax.exp
This page took 0.027111 seconds and 4 git commands to generate.