gdb/ChangeLog:
2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com> * python/py-prettyprint.c (print_string_repr): Suppress address printing testsuite/ChangeLog: 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.python/py-prettyprint.exp: Adjust.
This commit is contained in:
parent
fd6d681553
commit
269f82e5eb
4 changed files with 18 additions and 4 deletions
|
@ -209,7 +209,12 @@ print_string_repr (PyObject *printer, const char *hint,
|
|||
Py_DECREF (py_str);
|
||||
}
|
||||
else if (replacement)
|
||||
common_val_print (replacement, stream, recurse, options, language);
|
||||
{
|
||||
struct value_print_options opts = *options;
|
||||
|
||||
opts.addressprint = 0;
|
||||
common_val_print (replacement, stream, recurse, &opts, language);
|
||||
}
|
||||
else
|
||||
gdbpy_print_stack ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue