about summary refs log tree commit diff
path: root/src/etc/rust-gdb
AgeCommit message (Collapse)AuthorLines
2023-04-14Typo fix in src/etc/rust-gdbAlan Somers-1/+1
Co-authored-by: SNCPlay42 <SNCPlay42@gmail.com>
2023-04-14Fix rust-gdb and rust-gdbgui on FreeBSDAlan Somers-2/+2
"\w" is a GNU-specific extension to sed. Avoid it. Fixes #110334 Signed-off-by: Alan Somers <asomers@gmail.com>
2023-03-23Set up standard library path substitution in rust-gdb and gdbguiLaurențiu Nicola-0/+4
2020-04-02Prefer sysroot from rustc in same directory as rust-gdbJeremy Fitzhardinge-1/+9
If there isn't a rustc in the same directory, then fall back to searching the path.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-08-19Exec gdb and lldb in rust-* wrappersftilde-1/+1
This way the process we get by calling rust-{gdb,lldb} is an actual {gdb,lldb} instance and not (perhaps surprisingly) a script waiting for the debugger process to finish. Thus, sending a SIGINT to the spawned process stops execution of the child, for example.
2018-05-21rust-gdb: work around the re-used -d argument in cgdbBenjamin Lamowski-1/+1
Use --directory= instead of -d, because cgdb reuses the short option.
2017-04-20Rename environment variable `GDB_CMD` to `RUST_GDB` to prevent ambiguityNicolas Bigaouette-3/+3
2017-04-18Use an (over-writable) environment variable for the `gdb` commandNicolas Bigaouette-1/+4
Instead of hard-coding the command to run, using the environment variable `GDB_CMD` (that defaults to `gdb`) allows using a different debugger than the default `gdb` executable. This gives the possibility to use `cgdb` as the debugger, which provides a nicer user interface. Note that one has to use `GDB_CMD="cgdb --"` to use cgdb (note the trailing `--`) to let cgdb pass the proper arguments to `gdb`.
2014-12-30debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty ↵Michael Woerister-0/+23
printers enabled.