aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame-base.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-04-01 14:02:08 -0600
committerTom Tromey <tromey@adacore.com>2020-04-01 14:08:17 -0600
commit3d1cfd43bec7c22928d12ab235151b8eeeaf4e96 (patch)
treeaae801032f76ea5e17654d5c128daceed23bf246 /gdb/frame-base.c
parente033dfa92f844849cc528649eee24d2b0b3f22e5 (diff)
downloadgdb-3d1cfd43bec7c22928d12ab235151b8eeeaf4e96.zip
gdb-3d1cfd43bec7c22928d12ab235151b8eeeaf4e96.tar.gz
gdb-3d1cfd43bec7c22928d12ab235151b8eeeaf4e96.tar.bz2
Move Rust union tests to new file
I wanted to run the gdb.rust tests against older versions of the Rust compiler, to ensure that changes I am making don't break debugging when using older compilers. However, this did not work because simple.rs now uses unchecked unions, which were only added in Rust 1.19. This patch splits the union code into its own file, so that simple.exp can continue to work. I tested this with selected rust versions back to 1.12. gdb/testsuite/ChangeLog 2020-04-01 Tom Tromey <tromey@adacore.com> * gdb.rust/union.rs: New file. * gdb.rust/union.exp: New file. * gdb.rust/simple.rs (Union, Union2): Move to union.rs. (main): Update. * gdb.rust/simple.exp: Move union tests to union.exp.
Diffstat (limited to 'gdb/frame-base.c')
0 files changed, 0 insertions, 0 deletions