aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-10-22 10:49:19 -0600
committerTom Tromey <tromey@adacore.com>2021-10-29 07:52:31 -0600
commitd3771fe234b74d60cfa553940bce9d047bd38e8d (patch)
tree9ad43197c7905e0f64bf6b77e526e0c34fa3035b /gdb/NEWS
parent7a72f09da5c62a213952752c9659e7686e1dd4ab (diff)
downloadgdb-d3771fe234b74d60cfa553940bce9d047bd38e8d.zip
gdb-d3771fe234b74d60cfa553940bce9d047bd38e8d.tar.gz
gdb-d3771fe234b74d60cfa553940bce9d047bd38e8d.tar.bz2
Add gdb.Architecture.integer_type Python function
This adds a new Python function, gdb.Architecture.integer_type, which can be used to look up an integer type of a given size and signed-ness. This is useful to avoid dependency on debuginfo when a particular integer type would be useful. v2 moves this to be a method on gdb.Architecture and addresses other review comments.
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 c1e4dd0..9e950d2 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -49,6 +49,9 @@ maint show internal-warning backtrace
containing all of the possible Architecture.name() values. Each
entry is a string.
+ ** New function gdb.Architecture.integer_type(), which returns an
+ integer type given a size and a signed-ness.
+
* New features in the GDB remote stub, GDBserver
** GDBserver is now supported on OpenRISC GNU/Linux.