gdb/testsuite: use proc parameters in gdb.arch/amd64-osabi.exp
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 10 May 2021 16:43:06 +0000 (12:43 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 10 May 2021 16:43:07 +0000 (12:43 -0400)
commit0709cf686d42d00066ead084ceef1fbfd44ca558
treea9c74e0d0154ba4c8df6bf39eb95f020a8f69870
parent31aceaef1cba910c84b81c78064d226fd10d8976
gdb/testsuite: use proc parameters in gdb.arch/amd64-osabi.exp

This test has a little oversight: the test procedure doesn't actually
use its parameters, the commands and expected patterns are hard-coded,
so we always test with i386:x86-64, instead of with the three arches.
Fix that.

gdb/testsuite/ChangeLog:

* gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
parameters.

Change-Id: Iee2c32963d09e502ae791d5df2b6c04a1f49a57a
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/amd64-osabi.exp