[PATCH v3 0/9] Handling multiple JITers

Simon Marchi simon.marchi@polymtl.ca
Sun Jul 19 15:44:06 GMT 2020


On 2020-07-15 4:16 a.m., Tankut Baris Aktemur wrote:
> Hi,
> 
> This is v3 of the series originally submitted at
> 
>   https://sourceware.org/pipermail/gdb-patches/2020-May/168959.html
> 
> The v2 is at
> 
>   https://sourceware.org/pipermail/gdb-patches/2020-June/169539.html
> 
> Upon that revision, Simon Marchi had proposed
> 
>   https://sourceware.org/pipermail/gdb-patches/2020-June/169758.html
> 
> The updates in this revision v3 are as follows:
> 
> 1. The patches mentioned by Simon in the link above have been cleaned up.
> 
> 2. The 'jiter_data' and 'jited_data' fields have been added directly
>    to the objfile struct as per Pedro's suggestion at
>    https://sourceware.org/pipermail/gdb-patches/2020-June/169796.html
> 
> 3. A final commit addresses Simon's comment of skipping JIT symbol
>    lookup in an objfile if a lookup was already done and the symbols
>    were not found.
> 
> Regards.
> Baris
> 
> Simon Marchi (7):
>   gdb/jit: link to jit_objfile_data directly from the objfile struct
>   gdb/jit: split jit_objfile_data in two
>   gdb/jit: apply some simplifications and assertions
>   gdb/jit: move cached_code_address and jit_breakpoint to
>     jiter_objfile_data
>   gdb/jit: remove jiter_objfile_data -> objfile back-link
>   gdb/jit: apply minor cleanup and modernization
>   gdb/jit: skip jit symbol lookup if already detected the symbols don't
>     exist
> 
> Tankut Baris Aktemur (2):
>   gdb/jit: pass the jiter objfile as an argument to jit_event_handler
>   gdb/jit: enable tracking multiple JITer objfiles
> 
>  gdb/breakpoint.c                             |   3 +-
>  gdb/jit.c                                    | 357 +++++++------------
>  gdb/jit.h                                    |   4 +-
>  gdb/objfiles.h                               |  50 +++
>  gdb/testsuite/gdb.base/jit-reader-simple.exp |  43 ++-
>  5 files changed, 234 insertions(+), 223 deletions(-)

The comments I sent on patches 1-3 are all I had to say, at least for now :)

Simon


More information about the Gdb-patches mailing list