> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 1 12:35:11 UTC 2024 x86_64 GNU/Linux 18:29:09 up 1 day 8:05, 2 users, load average: 1.34, 0.80, 0.57
This commit is contained in:
parent
8688870aef
commit
9d26428a28
2 changed files with 2 additions and 3 deletions
|
@ -133,7 +133,6 @@ void init_monitor(int argc, char *argv[]) {
|
|||
// printf("elf_file: %s\n", elf_file);
|
||||
if(elf_file != NULL) {
|
||||
void init_elf(const char *path);
|
||||
puts("init_elf");
|
||||
init_elf(elf_file);
|
||||
}
|
||||
|
||||
|
|
|
@ -39,9 +39,9 @@ void init_elf(const char *path) {
|
|||
FAILED_GOTO(failed, fgets(func, 30, elf_file) > 0);
|
||||
puts(func);
|
||||
}
|
||||
|
||||
return;
|
||||
failed:
|
||||
free(sym);
|
||||
failed_nosym:
|
||||
;
|
||||
Error("Failed reading elf file");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue