diff options
author | Tom Tromey <tromey@redhat.com> | 2011-12-01 20:27:28 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-12-01 20:27:28 +0000 |
commit | ae6f0d5b5a3ed963c92fdcd44e54ee76026f75d5 (patch) | |
tree | 61932a7ab2364ca55fa4a9617f07ee6bc5f55bcc /gdb/doc | |
parent | 810e69868440cdc8f2052c90fc30c3be71075899 (diff) | |
download | gdb-ae6f0d5b5a3ed963c92fdcd44e54ee76026f75d5.zip gdb-ae6f0d5b5a3ed963c92fdcd44e54ee76026f75d5.tar.gz gdb-ae6f0d5b5a3ed963c92fdcd44e54ee76026f75d5.tar.bz2 |
* gdb.texinfo (Writing a Pretty-Printer): Use append method, not
add.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 82eefc3..e6cd76a 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2011-12-01 Tom Tromey <tromey@redhat.com> + + * gdb.texinfo (Writing a Pretty-Printer): Use append method, not + add. + 2011-11-22 Tom Tromey <tromey@redhat.com> * gdb.texinfo (GDB/MI Async Records): Document new *stopped diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 3321a77..86333ee 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -22591,7 +22591,7 @@ this code might appear in @code{gdb.libstdcxx.v6}: @smallexample def register_printers(objfile): - objfile.pretty_printers.add(str_lookup_function) + objfile.pretty_printers.append(str_lookup_function) @end smallexample @noindent |