about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
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
commite02cc40ec96457ab563273a69d314418cea7eb84 (patch)
treea9c5c78d9f05ac1b9c4d95c650687d22b2cc8246 /compiler/rustc_codegen_gcc
parent270c1a4d24ba4b244037c3fa1651d17a5f77eae4 (diff)
downloadrust-e02cc40ec96457ab563273a69d314418cea7eb84.tar.gz
rust-e02cc40ec96457ab563273a69d314418cea7eb84.zip
Revert "Preserve the .debug_gdb_scripts section"
This reverts commit 868bdde25b030e0b71a29a5dbc04a891036e702e.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/debuginfo.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/debuginfo.rs b/compiler/rustc_codegen_gcc/src/debuginfo.rs
index 4c0b6439523..4c8585192a1 100644
--- a/compiler/rustc_codegen_gcc/src/debuginfo.rs
+++ b/compiler/rustc_codegen_gcc/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)
     }