|
From: | Richard Henderson |
Subject: | Re: [PATCH v3 22/24] testing: probe gdb for supported architectures ahead of time |
Date: | Tue, 21 Feb 2023 15:10:29 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
On 2/21/23 12:52, Alex Bennée wrote:
Currently when we encounter a gdb that is old or not built with multiarch in mind we fail rather messily. Try and improve the situation by probing ahead of time and setting HOST_GDB_SUPPORTS_ARCH=y in the relevant tcg configs. We can then skip and give a more meaningful message if we don't run the test. [AJB: we still miss some arches, for example gdb uses s390 which fails when we look for s390x. Not sure what the best way to deal with that is? Maybe define a gdb_arch as we probe each target?]
I think we need to have a complete gdb -> qemu mapping. Seems like this would be fairly easy in python... r~
[Prev in Thread] | Current Thread | [Next in Thread] |