summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/jit-elf-util.h
diff options
context:
space:
mode:
authorMihails Strasuns <mihails.strasuns@intel.com>2020-03-27 11:21:01 +0100
committerMihails Strasuns <mihails.strasuns@intel.com>2020-05-12 09:52:46 +0200
commitaff4e759b8ad54df367e38ceaf16c92f680695a1 (patch)
tree26d94167f17636e273c7853fcb76cdaf3700d99c /gdb/testsuite/gdb.base/jit-elf-util.h
parent80ad340c90234f7294ee71468c984e7f853d9bb6 (diff)
downloadbinutils-gdb-aff4e759b8ad54df367e38ceaf16c92f680695a1.tar.gz
[gdb/testsuite] define jit function name via macro
Replaces previous approach with patching resulting ELF binary after loading - now that each test iteration works on a separately compiled binary it is not necessary anymore. Tests are still being ran without debug info to preserve original test functionality but this change opens up the possibility to enable debug info if needed too. gdb/testsuite/ChangeLog: 2020-03-27 Mihails Strasuns <mihails.strasuns@intel.com> * lib/jit-elf-helpers.exp: Supply -DFUNCTION_NAME macro definition when compiling jit-elf-solib.co. * gdb.base/jit-elf-main.c: Stop patching jit function name. * gdb.base/jit-elf-solib.c: Use FUNCTION_NAME macro value as a function name.
Diffstat (limited to 'gdb/testsuite/gdb.base/jit-elf-util.h')
0 files changed, 0 insertions, 0 deletions