aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/ChangeLog
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2020-12-18 17:23:06 +0100
committerHannes Domani <ssbssa@yahoo.de>2020-12-18 22:04:16 +0100
commit4aea001fd84a05f1e552c5dea1025e3f62dd2d7e (patch)
tree27ae942e59baf13662d1cf7217f511d407f297d3 /gdb/doc/ChangeLog
parentb3f9469bfa42ef352e1d96f8733817242dd41a2e (diff)
downloadgdb-4aea001fd84a05f1e552c5dea1025e3f62dd2d7e.zip
gdb-4aea001fd84a05f1e552c5dea1025e3f62dd2d7e.tar.gz
gdb-4aea001fd84a05f1e552c5dea1025e3f62dd2d7e.tar.bz2
Add address keyword to Value.format_string
This makes it possible to disable the address in the result string: const char *str = "alpha"; (gdb) py print(gdb.parse_and_eval("str").format_string()) 0x404000 "alpha" (gdb) py print(gdb.parse_and_eval("str").format_string(address=False)) "alpha" gdb/ChangeLog: 2020-12-18 Hannes Domani <ssbssa@yahoo.de> * python/py-value.c (valpy_format_string): Implement address keyword. gdb/doc/ChangeLog: 2020-12-18 Hannes Domani <ssbssa@yahoo.de> * python.texi (Values From Inferior): Document the address keyword. gdb/testsuite/ChangeLog: 2020-12-18 Hannes Domani <ssbssa@yahoo.de> * gdb.python/py-format-string.exp: Add tests for address keyword.
Diffstat (limited to 'gdb/doc/ChangeLog')
-rw-r--r--gdb/doc/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 223c8fc..f5ab543 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-18 Hannes Domani <ssbssa@yahoo.de>
+
+ * python.texi (Values From Inferior): Document the address keyword.
+
2020-12-17 Simon Marchi <simon.marchi@polymtl.ca>
PR gdb/27088