This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix ARM stepping over Thumb-mode "bx pc" or "blx pc"


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

>> +if [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} $opts] {
>> +    untested ${testfile}.exp

[...]
Pedro> Something like:
Pedro>   untested "Failed to compile $srcfile"
Pedro> is sufficient.

prepare_for_testing actually calls untested itself, via
build_executable_from_specs, e.g.:

    if  { [gdb_compile $objects "${binfile}" executable $options] != "" } {
        untested $testname
        return -1
    }

So, I've taken to just eliminating it in these cases.

It is an unfriendly-ish call there, but that is easy to fix.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]