gdb/jit: pass the jiter objfile as an argument to jit_event_handler
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 05e43901ae1a5f216f53dd28874986d72a17c66d..7d52e228b4649fb3e6a7f2949703f22d8326e3d9 100644 (file)
@@ -1,3 +1,15 @@
+2020-07-22  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * jit.h: Forward-declare `struct objfile`.
+       (jit_event_handler): Add a second parameter, the JITer objfile.
+       * jit.c (jit_read_descriptor): Change the signature to take the
+       JITer objfile as an argument instead of the jit_program_space_data.
+       (jit_inferior_init): Update the call to jit_read_descriptor.
+       (jit_event_handler): Use the new JITer objfile argument when calling
+       jit_read_descriptor.
+       * breakpoint.c (handle_jit_event): Update the call to
+       jit_event_handler to pass the JITer objfile.
+
 2020-07-21  John Baldwin  <jhb@FreeBSD.org>
 
        * gdbarch.c: Regenerate.
This page took 0.034089 seconds and 4 git commands to generate.