New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: gdb: Make target-independent and auto-load-safe-path with a wrapper #74808
base: staging
Are you sure you want to change the base?
Conversation
The libgcc/compiler-rt used varies with the target platform. I checked, and lldb doesn't have a similar notion of load prefix path, so this stays a one-off wrapper for gdb for now.
, gdb-unwrapped | ||
, safePaths ? [ | ||
# $debugdir:$datadir/auto-load are whitelisted by default by GDB | ||
"$debugdir" "$datadir/auto-load" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These shouldn't be needed when you don't pass the with-auto-load-safe-path option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes thank you I accidentally added them back when I rebased.
Thank you for your contributions.
|
I marked this as stale due to inactivity. → More info |
Motivation for this change
The libgcc/compiler-rt used varies with the target platform.
I checked, and lldb doesn't have a similar notion of load prefix path,
so this stays a one-off wrapper for gdb for now.
Need to test to make sure all cross stuff works as expected.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @