diff options
author | Tom de Vries <tdevries@suse.de> | 2021-01-28 08:14:58 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-01-28 08:14:58 +0100 |
commit | 2f985dd1acf41d6b52ee2433f09a5fcc0244456a (patch) | |
tree | 664d3b40745c1ff9979c278f58f5571cd1a90048 /gdb/ada-lang.c | |
parent | 22efa3d3074613a0c74e834a1c4366a639c0f763 (diff) | |
download | binutils-2f985dd1acf41d6b52ee2433f09a5fcc0244456a.zip binutils-2f985dd1acf41d6b52ee2433f09a5fcc0244456a.tar.gz binutils-2f985dd1acf41d6b52ee2433f09a5fcc0244456a.tar.bz2 |
[gdb/testsuite] Fix gdb.ada/out_of_line_in_inlined.exp with -m32 and gcc-10
When running test-case gdb.ada/out_of_line_in_inlined.exp with target board
unix/-m32 on a system with gcc-10 default compiler, we run into:
...
(gdb) break foo_o224_021.child1.child2^M
Breakpoint 1 at 0x804ba59: foo_o224_021.child1.child2. (3 locations)^M
(gdb) FAIL: gdb.ada/out_of_line_in_inlined.exp: scenario=all: \
break foo_o224_021.child1.child2
...
The test does not expect the "3 locations" part.
Fix this by using gdb_breakpoint instead of gdb_test.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2021-01-28 Tom de Vries <tdevries@suse.de>
* gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions