Only embed gdb script on ELF targets, and add missing gdb symlink
This commit is contained in:
parent
ebc9f7703b
commit
90dd084993
1
share/kak/gdb
Symbolic link
1
share/kak/gdb
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../gdb/
|
|
@ -1140,6 +1140,7 @@ int main(int argc, char* argv[])
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__ELF__)
|
||||||
asm(R"(
|
asm(R"(
|
||||||
.pushsection ".debug_gdb_scripts", "MS",@progbits,1
|
.pushsection ".debug_gdb_scripts", "MS",@progbits,1
|
||||||
.byte 4
|
.byte 4
|
||||||
|
@ -1151,3 +1152,4 @@ asm(R"(
|
||||||
.ascii "gdb.printing.register_pretty_printer(gdb.current_objfile(), kakoune.build_pretty_printer())\n"
|
.ascii "gdb.printing.register_pretty_printer(gdb.current_objfile(), kakoune.build_pretty_printer())\n"
|
||||||
.popsection
|
.popsection
|
||||||
)");
|
)");
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user