public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tom Tromey <tromey@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Add gdb.Objfile.is_file attribute
Date: Mon, 20 Jun 2022 21:47:14 +0300	[thread overview]
Message-ID: <83o7ynkw99.fsf@gnu.org> (raw)
In-Reply-To: <20220620183940.2718428-1-tromey@adacore.com> (message from Tom Tromey via Gdb-patches on Mon, 20 Jun 2022 12:39:40 -0600)

> Date: Mon, 20 Jun 2022 12:39:40 -0600
> From: Tom Tromey via Gdb-patches <gdb-patches@sourceware.org>
> Cc: Tom Tromey <tromey@adacore.com>
> 
> Sometimes an objfile comes from memory and not from a file.  It can be
> useful to be able to check this from Python, so this patch adds a new
> "is_file" attribute.
> ---
>  gdb/NEWS                              |  3 +++
>  gdb/doc/python.texi                   |  7 +++++++
>  gdb/python/py-objfile.c               | 14 ++++++++++++++
>  gdb/testsuite/gdb.base/jit-reader.exp | 12 ++++++++++++
>  4 files changed, 36 insertions(+)

OK for the documentation parts, thanks.

  reply	other threads:[~2022-06-20 18:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 18:39 Tom Tromey
2022-06-20 18:47 ` Eli Zaretskii [this message]
2022-06-21 11:25 ` Andrew Burgess

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=83o7ynkw99.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@adacore.com \
    /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).