about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-08-06 18:01:07 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-08-06 18:01:07 +0000
commit82aac02c5267a427fdc5e8e1abbba98fc11c832c (patch)
tree49797b26e09b5743c7f16acd979436fff0b01d12
parent2136c500cdbdd08fe7c25927b5d3ce790d75f68b (diff)
Revert "Preserve the .debug_gdb_scripts section"
This reverts commit 868bdde25b030e0b71a29a5dbc04a891036e702e.
-rw-r--r--src/debuginfo.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/debuginfo.rs b/src/debuginfo.rs
index 4c0b6439523..4c8585192a1 100644
--- a/src/debuginfo.rs
+++ b/src/debuginfo.rs
@@ -254,8 +254,7 @@ impl<'gcc, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
         // TODO(antoyo): implement.
     }
 
-    fn debuginfo_finalize(&mut self) {
-        // TODO: emit section `.debug_gdb_scripts`.
+    fn debuginfo_finalize(&self) {
         self.context.set_debug_info(true)
     }