From: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/3] Handling multiple JITers
Date: Mon, 25 May 2020 11:38:44 +0200 [thread overview]
Message-ID: <cover.1590397723.git.tankut.baris.aktemur@intel.com> (raw)
Hi,
This short series is about handling multiple JITers.
GDB defines an interface that JITers are expected to conform to, so
that JITed code can be debugged. In particular, a JITer should invoke
(empty) functions from that interface at important points in the JIT
flow. GDB puts breakpoints at these functions to be notified about
essential JIT events. See
https://sourceware.org/gdb/current/onlinedocs/gdb/JIT-Interface.html
GDB's internal JIT-tracking mechanism assumes that there is a single
objfile that contains the JIT symbols on which GDB inserts the
notification breakpoints. This brings the problem that if multiple
JITers exist, only the first one will be decorated with JIT breakpoints
and the JIT events from the others will be missed.
The series proposed here makes GDB track multiple objfiles with JIT
symbols.
Regards.
Baris
Tankut Baris Aktemur (3): gdb/jit: use a map to store objfile and jit
breakpoint info gdb/jit: enable tracking multiple jitter objfiles
gdb/testsuite: fix minor things in jit tests
gdb/jit.c | 229 ++++++++++---------
gdb/testsuite/gdb.base/jit-elf-so.exp | 2 +-
gdb/testsuite/gdb.base/jit-reader-simple.exp | 47 +++-
3 files changed, 171 insertions(+), 107 deletions(-)
--
2.17.1
next reply other threads:[~2020-05-25 9:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 9:38 Tankut Baris Aktemur [this message]
2020-05-25 9:38 ` [PATCH 1/3] gdb/jit: use a map to store objfile and jit breakpoint info Tankut Baris Aktemur
2020-06-14 17:50 ` Simon Marchi
2020-06-16 9:47 ` Aktemur, Tankut Baris
2020-05-25 9:38 ` [PATCH 2/3] gdb/jit: enable tracking multiple jitter objfiles Tankut Baris Aktemur
2020-06-14 17:09 ` Simon Marchi
2020-06-16 9:48 ` Aktemur, Tankut Baris
2020-05-25 9:38 ` [PATCH 3/3] gdb/testsuite: fix minor things in jit tests Tankut Baris Aktemur
2020-06-14 18:09 ` Simon Marchi
2020-06-15 7:15 ` Aktemur, Tankut Baris
2020-06-12 11:12 ` [PATCH 0/3] Handling multiple JITers Aktemur, Tankut Baris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1590397723.git.tankut.baris.aktemur@intel.com \
--to=tankut.baris.aktemur@intel.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).