add gdb cofnig

This commit is contained in:
sadan 2024-12-19 00:57:04 -05:00
parent cb9eccce25
commit 8abe1f4ff9
No known key found for this signature in database
2 changed files with 28 additions and 21 deletions

View file

@ -1,23 +1,29 @@
{pkgs, unstable, ...}: { { pkgs, unstable, ... }:
home = { {
packages = with pkgs; [ home = {
meson packages = with pkgs; [
autoPatchelfHook meson
cmake autoPatchelfHook
# clang cmake
libgcc # clang
glib libgcc
bear glib
glibc bear
gdb glibc
lldb_19 gdb
unstable.llvmPackages_19.clang-tools lldb_19
]; unstable.llvmPackages_19.clang-tools
file = { ];
eslint_d_config = { file = {
source = ../../../../dotfiles/eslintrc.json; eslint_d_config = {
target = "./.config/.eslintrc.json"; source = ../../../../dotfiles/eslintrc.json;
}; target = "./.config/.eslintrc.json";
}; };
gdb_config = {
source = ../../../../dotfiles/gdb;
target = "./.config/gdb";
recursive = true;
};
}; };
};
} }

1
dotfiles/gdb/gdbinit Normal file
View file

@ -0,0 +1 @@
set auto-load safe-path /