[svn:parrot] r44112 - branches/sys_mem_reduce/src

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Feb 17 20:42:09 UTC 2010


Author: bacek
Date: Wed Feb 17 20:42:09 2010
New Revision: 44112
URL: https://trac.parrot.org/parrot/changeset/44112

Log:
One more GC allocations in debug.c

Modified:
   branches/sys_mem_reduce/src/debug.c

Modified: branches/sys_mem_reduce/src/debug.c
==============================================================================
--- branches/sys_mem_reduce/src/debug.c	Wed Feb 17 20:41:48 2010	(r44111)
+++ branches/sys_mem_reduce/src/debug.c	Wed Feb 17 20:42:09 2010	(r44112)
@@ -1011,7 +1011,7 @@
         /* Allocate space for command line buffers, NUL terminated c strings */
         pdb->cur_command = mem_gc_allocate_n_typed(interp, DEBUG_CMD_BUFFER_LENGTH + 1, char);
         pdb->last_command = mem_gc_allocate_n_typed(interp, DEBUG_CMD_BUFFER_LENGTH + 1, char);
-        pdb->file = mem_allocate_zeroed_typed(PDB_file_t);
+        pdb->file = mem_gc_allocate_zeroed_typed(interp, PDB_file_t);
     }
 
     /* PDB_disassemble(interp, NULL); */


More information about the parrot-commits mailing list