Skip to content

Commit 45ac8b4

Browse files
committed
Add gdb -nx to avoid .gdbinit files
1 parent 86e4253 commit 45ac8b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ impl App {
158158
match (&args.local, &args.remote) {
159159
(true, None) => {
160160
let mut gdb_process = Command::new("gdb")
161-
.args(["--interpreter=mi2", "--quiet"])
161+
.args(["--interpreter=mi2", "--quiet", "-nx"])
162162
.stdin(Stdio::piped())
163163
.stdout(Stdio::piped())
164164
.spawn()

0 commit comments

Comments
 (0)