aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-06-20 12:32:52 -0600
committerTom Tromey <tromey@adacore.com>2022-07-05 11:22:20 -0600
commit99298c958c5393402cd2bc2885c195838a9dd363 (patch)
treedd05d620651f849488132ef02898f96318ec518e /gdb/NEWS
parent3acd9a692ddaf8f24d6d34cb5ccb7c26d057e9b3 (diff)
downloadbinutils-99298c958c5393402cd2bc2885c195838a9dd363.zip
binutils-99298c958c5393402cd2bc2885c195838a9dd363.tar.gz
binutils-99298c958c5393402cd2bc2885c195838a9dd363.tar.bz2
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.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index c4f4a02..1178a37 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -118,6 +118,9 @@ GNU/Linux/LoongArch (gdbserver) loongarch*-*-linux*
to wrap the result of a call to a Disassembler. It has
read-only attributes 'length' and 'string'.
+ ** gdb.Objfile now has an attribute named "is_file". This is True
+ if the objfile comes from a file, and False otherwise.
+
* New features in the GDB remote stub, GDBserver
** GDBserver is now supported on LoongArch GNU/Linux.