diff -uprN src0/gdb/record.c src1/gdb/record.c --- src0/gdb/record.c 2009-07-31 14:43:26.000000000 -0400 +++ src1/gdb/record.c 2009-08-06 10:31:58.000000000 -0400 @@ -932,7 +932,6 @@ record_store_registers (struct target_op if (RECORD_IS_REPLAY) { int n; - struct cleanup *old_cleanups; /* Let user choose if he wants to write register or not. */ if (regno < 0)