]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/doc/python.texi
Add gdb.Objfile.is_file attribute
authorTom Tromey <tromey@adacore.com>
Mon, 20 Jun 2022 18:32:52 +0000 (12:32 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 5 Jul 2022 17:22:20 +0000 (11:22 -0600)
commit99298c958c5393402cd2bc2885c195838a9dd363
treedd05d620651f849488132ef02898f96318ec518e
parent3acd9a692ddaf8f24d6d34cb5ccb7c26d057e9b3
Add gdb.Objfile.is_file attribute

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
gdb/doc/python.texi
gdb/python/py-objfile.c
gdb/testsuite/gdb.base/jit-reader.exp