mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-29 12:18:56 +00:00
Merge branch 'feat/gdbserver' into 'main'
feat: run with gdb starts gdbserver See merge request gabmus/envision!31
This commit is contained in:
commit
a97d3a8308
1 changed files with 2 additions and 2 deletions
|
@ -174,11 +174,11 @@ impl InternalJobWorker {
|
||||||
let mut launch_opts = prof.xrservice_launch_options.trim();
|
let mut launch_opts = prof.xrservice_launch_options.trim();
|
||||||
let debug_launch_opts = if debug {
|
let debug_launch_opts = if debug {
|
||||||
if launch_opts.contains(LAUNCH_OPTS_CMD_PLACEHOLDER) {
|
if launch_opts.contains(LAUNCH_OPTS_CMD_PLACEHOLDER) {
|
||||||
format!("{} {}", "gdb -batch -ex run -ex bt --args", launch_opts)
|
format!("{} {}", "gdbserver localhost:9000", launch_opts)
|
||||||
} else {
|
} else {
|
||||||
format!(
|
format!(
|
||||||
"{} {} {}",
|
"{} {} {}",
|
||||||
"gdb -batch -ex run -ex bt --args", LAUNCH_OPTS_CMD_PLACEHOLDER, launch_opts
|
"gdbserver localhost:9000", LAUNCH_OPTS_CMD_PLACEHOLDER, launch_opts
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue