> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 17:46:39 up 19:55,  2 users,  load average: 0.41, 0.27, 0.24
This commit is contained in:
tracer-ics2023
2024-08-18 17:46:40 +08:00
committed by zzy
parent d92d1b942b
commit 0922fc9132
2 changed files with 4 additions and 5 deletions

View File

@ -221,7 +221,6 @@ void init_sdb() {
}
int test_expr() {
init_sdb();
uint32_t expect, res;
char buf[65536] = {0};
if (scanf("%"PRIu32" %s", &expect, buf));

View File

@ -21,10 +21,6 @@ void engine_start();
int is_exit_status_bad();
int main(int argc, char *argv[]) {
#ifdef _TEST_EXPR_
int test_expr(void);
return test_expr();
#endif
/* Initialize the monitor. */
#ifdef CONFIG_TARGET_AM
am_init_monitor();
@ -32,6 +28,10 @@ int main(int argc, char *argv[]) {
init_monitor(argc, argv);
#endif
#ifdef _TEST_EXPR_
int test_expr(void);
return test_expr();
#endif
/* Start engine. */
engine_start();