Skip to content

Commit

Permalink
Merge pull request quarkusio#20355 from zakkak/fix-20321
Browse files Browse the repository at this point in the history
Fix gdb debugging with GraalVM/Mandrel >=21.1
  • Loading branch information
geoand authored Sep 24, 2021
2 parents b938e53 + db5ad51 commit f0aba85
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,6 @@ public NativeImageBuildItem build(NativeConfig nativeConfig, NativeImageSourceJa
Path finalSymbolsPath = outputTargetBuildItem.getOutputDirectory().resolve(symbolsName);
IoUtils.copy(generatedSymbols, finalSymbolsPath);
Files.delete(generatedSymbols);
final String sources = "sources";
final Path generatedSources = outputDir.resolve(sources);
final Path finalSources = outputTargetBuildItem.getOutputDirectory().resolve(sources);
IoUtils.copy(generatedSources, finalSources);
IoUtils.recursiveDelete(generatedSources);
} else {
log.warn(
"objcopy executable not found in PATH. Debug symbols therefore cannot be placed into the dedicated directory.");
Expand Down

0 comments on commit f0aba85

Please sign in to comment.