about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/debuginfo.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debuginfo.rs b/src/debuginfo.rs
index 4c8585192a1..4c0b6439523 100644
--- a/src/debuginfo.rs
+++ b/src/debuginfo.rs
@@ -254,7 +254,8 @@ impl<'gcc, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
         // TODO(antoyo): implement.
     }
 
-    fn debuginfo_finalize(&self) {
+    fn debuginfo_finalize(&mut self) {
+        // TODO: emit section `.debug_gdb_scripts`.
         self.context.set_debug_info(true)
     }