Skip to content

Commit

Permalink
fixed --gdb
Browse files Browse the repository at this point in the history
  • Loading branch information
Ex-32 committed Jul 24, 2024
1 parent c0e8d02 commit afd70c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions probe_src/probe_frontend/cli/src/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ impl Recorder {
}

let mut child = if self.gdb {
let mut dir_env = OsString::from("--init-eval-command=set environmnet __PROBE_DIR=");
let mut dir_env = OsString::from("--init-eval-command=set environment __PROBE_DIR=");
dir_env.push(self.output.path());
let mut preload_env = OsString::from("--init-eval-command=set environmnet LD_PRELOAD=");
let mut preload_env = OsString::from("--init-eval-command=set environment LD_PRELOAD=");
preload_env.push(ld_preload);

let self_bin =
Expand Down

0 comments on commit afd70c0

Please sign in to comment.