Skip to content
  • Doug Evans's avatar
    python/py-utils.c (host_string_to_python_string): New function. · 4ae6cc19
    Doug Evans authored
    gdb/ChangeLog:
    
    	* python/py-utils.c (host_string_to_python_string): New function.
    	* python/python-internal.h (host_string_to_python_string): Declare it.
    	* python/py-*.c (*): Update all calls to
    	PyString_Decode (str, strlen (str), host_charset (), NULL);
    	to use host_string_to_python_string instead.
    4ae6cc19