diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2020-11-24 09:56:38 +0100 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2020-11-24 09:57:31 +0100 |
commit | 50757f95a8296b3552362d9d6ac6c0182336766f (patch) | |
tree | 9c4090ddc838868cd326480f0f92864934909b10 /gdb/rust-lang.c | |
parent | 2c20a6018c56797f4ce9c2d3c462168cb2d76831 (diff) | |
download | binutils-50757f95a8296b3552362d9d6ac6c0182336766f.zip binutils-50757f95a8296b3552362d9d6ac6c0182336766f.tar.gz binutils-50757f95a8296b3552362d9d6ac6c0182336766f.tar.bz2 |
gdb/testsuite: do not hard-code location indices in condbreak-multi-context.exp
Breakpoint locations are sorted according to their addresses. The
addresses are determined by how the compiler emits the code.
Therefore, we may have a different order of locations depending on the
compiler we use. To make the gdb.base/condbreak-multi-context.exp
test flexible enough for different compilers' output, do not hard-code
location indices.
Tested with GCC and Clang.
gdb/testsuite/ChangeLog:
2020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* gdb.base/condbreak-multi-context.exp: Do not hard-code location
indices.
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions