| Age | Commit message (Collapse) | Author | Lines |
|
Co-authored-by: SNCPlay42 <SNCPlay42@gmail.com>
|
|
"\w" is a GNU-specific extension to sed. Avoid it.
Fixes #110334
Signed-off-by: Alan Somers <asomers@gmail.com>
|
|
|
|
If there isn't a rustc in the same directory, then fall back to searching
the path.
|
|
|
|
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.
|
|
Use --directory= instead of -d, because cgdb reuses the short option.
|
|
|
|
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`.
|
|
printers enabled.
|