diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-01-12 11:52:19 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-01-12 16:00:07 +0000 |
commit | 61671e97927dcc1b302bd01fd59bc61c27972839 (patch) | |
tree | 1078be11dae50585e6c5716377407c6a75c675da /gdb/doc | |
parent | 51eebae32ab1b7bb454c90252edb877211f6fcb4 (diff) | |
download | binutils-61671e97927dcc1b302bd01fd59bc61c27972839.zip binutils-61671e97927dcc1b302bd01fd59bc61c27972839.tar.gz binutils-61671e97927dcc1b302bd01fd59bc61c27972839.tar.bz2 |
gdb/python: add gdb.host_charset function
We already have gdb.target_charset and gdb.target_wide_charset. This
commit adds gdb.host_charset along the same lines.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/python.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 6bd5f6b..38fce5b 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -518,6 +518,14 @@ Return the name of the current target wide character set never returned. @end defun +@findex gdb.host_charset +@defun gdb.host_charset () +Return a string, the name of the current host character set +(@pxref{Character Sets}). This differs from +@code{gdb.parameter('host-charset')} in that @samp{auto} is never +returned. +@end defun + @findex gdb.solib_name @defun gdb.solib_name (address) Return the name of the shared library holding the given @var{address} |