gdb/testsuite: remove get_compiler_info calls from gdb.exp and dwarf.exp
authorAndrew Burgess <aburgess@redhat.com>
Wed, 8 Jun 2022 13:25:00 +0000 (14:25 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 9 Jun 2022 13:40:48 +0000 (14:40 +0100)
commit1562f64fec2ce6a31bc534be73e9e4180edbb600
treefddd5c74d183d2d322d177f2a39b74e9ba00db59
parent61ee7510b3fa24ca48b6c053c4fad5916a6b01ff
gdb/testsuite: remove get_compiler_info calls from gdb.exp and dwarf.exp

We don't need to call get_compiler_info before calling
test_compiler_info; test_compiler_info includes a call to
get_compiler_info.

This commit cleans up lib/gdb.exp and lib/dwarf.exp a little by
removing some unneeded calls to get_compiler_info.  We could do the
same cleanup throughout the testsuite, but I'm leaving that for
another day.

There should be no change in the test results after this commit.
gdb/testsuite/lib/dwarf.exp
gdb/testsuite/lib/gdb.exp