]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] share jit-protocol.h by all jit tests
authorMihails Strasuns <mihails.strasuns@intel.com>
Fri, 14 Feb 2020 10:33:41 +0000 (11:33 +0100)
committerMihails Strasuns <mihails.strasuns@intel.com>
Tue, 21 Apr 2020 13:22:38 +0000 (15:22 +0200)
commit946422b6a113063b9bbd72832ed13d4694134597
tree2bb55b62e14c1de71dfba221f1538ea700c04ebd
parent922a7c7c5d4040f9e4ab75a059b9ca33f45ab952
[gdb/testsuite] share jit-protocol.h by all jit tests

There was an existing jit-protocol.h defining common symbols needed for
JIT-supporting application, however, it was only used by few tests.
Others redeclared the same symbols.

This unifies all tests to use jit-protocol.h

gdb/testsuite/ChangeLog:

2020-02-18  Mihails Strasuns  <mihails.strasuns@intel.com>

* gdb.base/jit-attach-pie.c: Use jit-protocol.h.
* gdb.base/jit-elf-main.c: Use jit-protocol.h.
* gdb.base/jit-reader-host.c: Use jit-protocol.h.
* gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
* gdb.base/jit-protocol.h: Update definitions to match all usage
  contexts.
gdb/testsuite/gdb.base/jit-attach-pie.c
gdb/testsuite/gdb.base/jit-elf-main.c
gdb/testsuite/gdb.base/jit-protocol.h
gdb/testsuite/gdb.base/jit-reader-host.c
gdb/testsuite/gdb.base/jit-reader-simple-jit.c