diff options
author | Tom Tromey <tromey@adacore.com> | 2022-06-20 12:32:52 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-07-05 11:22:20 -0600 |
commit | 99298c958c5393402cd2bc2885c195838a9dd363 (patch) | |
tree | dd05d620651f849488132ef02898f96318ec518e /gdb/NEWS | |
parent | 3acd9a692ddaf8f24d6d34cb5ccb7c26d057e9b3 (diff) | |
download | binutils-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |