This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] python API exposing inferior's frame stack.
El lun, 30-03-2009 a las 13:07 -0600, Tom Tromey escribiÃ:
> >>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
> Thiago> +static PyObject *
> Thiago> +frapy_name (PyObject *self, PyObject *args)
> [...]
>
> Thiago> + if (name)
> Thiago> + result = target_string_to_unicode (name, strlen (name));
>
> I think symbols are assumed to use the host encoding.
Are they? This really surprises me, since symbols are obtained from the
executable file. Or the symbol reading mechanism converts them from
target to host encoding?
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center