Wildcard the file offset.
[deliverable/binutils-gdb.git] / gdb / python / py-prettyprint.c
index 5d696c86d3df08b8ae4e5bb157323bfa4165e8ea..818cde1f4a2c51c9e4d46ec81dfa7c59be61ccbb 100644 (file)
@@ -1,6 +1,6 @@
 /* Python pretty-printing
 
-   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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 ();
 }
This page took 0.024151 seconds and 4 git commands to generate.