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

Tom Tromey tromey@redhat.com
Wed Oct 17 16:27:00 GMT 2012

>>>>> "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.


More information about the Gdb-patches mailing list