Re: [PATCH 3/3] Add a test case for the jit-reader interface.

Tom Tromey
2012-10-17T16:27:33Z

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

Pedro> This means that shlib tests are never skipped on native, but
Pedro> it doesn't prevent it from running elsewhere.

Oh, duh.
Sanjoy, your test has to check isnative.

Pedro> Should the test be native-only? If so, why? Doesn't the jit
Pedro> interface work when debugging with remote targets (e.g.,
Pedro> gdbserver)?

It does, but this tests the 'jit-reader-load' functionality, which means
it must build a .so that gdb itself loads. 'isnative' isn't maybe
exactly the right test -- you might have a build-x-host toolchain -- but
it seems simplest.

Tom