guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
authorDoug Evans <xdje42@gmail.com>
Sun, 2 Mar 2014 17:17:46 +0000 (09:17 -0800)
committerDoug Evans <xdje42@gmail.com>
Sun, 2 Mar 2014 17:17:46 +0000 (09:17 -0800)
gdb/ChangeLog
gdb/guile/lib/gdb/printing.scm

index 43243a6..08dd1c3 100644 (file)
@@ -1,3 +1,7 @@
+2014-03-02  Doug Evans  <xdje42@gmail.com>
+
+       * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
+
 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
 
        * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
index 36e3275..2944702 100644 (file)
@@ -47,6 +47,6 @@ If OBJ is #f, add MATCHER to the global list."
        ((objfile? obj)
         (set-objfile-pretty-printers! obj
                                       (append! (objfile-pretty-printers obj)
-                                               matcher)))
+                                               (list matcher))))
        (else
         (%assert-type #f obj SCM_ARG1 'append-pretty-printer!))))