diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 0596188e050..29689e20a95 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -1280,7 +1280,7 @@ if hasattr(gdb, 'printing'): | |||
| 1280 | RegexpCollectionPrettyPrinter except when printing Lisp_Object.""" | 1280 | RegexpCollectionPrettyPrinter except when printing Lisp_Object.""" |
| 1281 | def __call__ (self, val): | 1281 | def __call__ (self, val): |
| 1282 | """Look up the pretty-printer for the provided value.""" | 1282 | """Look up the pretty-printer for the provided value.""" |
| 1283 | type = val.type | 1283 | type = val.type.unqualified () |
| 1284 | typename = type.tag or type.name | 1284 | typename = type.tag or type.name |
| 1285 | basic_type = gdb.types.get_basic_type (type) | 1285 | basic_type = gdb.types.get_basic_type (type) |
| 1286 | basic_typename = basic_type.tag or basic_type.name | 1286 | basic_typename = basic_type.tag or basic_type.name |