Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
PureOS
Packages
qemu
Commits
430c7ec7
Commit
430c7ec7
authored
Jul 15, 2009
by
malc
Browse files
Avoid SIGSEGV when dumping cpu state without enabled logging
Signed-off-by:
malc
<
av1474@comtv.ru
>
parent
f64ab228
Changes
1
Hide whitespace changes
Inline
Side-by-side
linux-user/main.c
View file @
430c7ec7
...
...
@@ -1053,7 +1053,8 @@ do { \
fprintf(stderr, fmt , ## __VA_ARGS__); \
cpu_dump_state(env, stderr, fprintf, 0); \
qemu_log(fmt, ## __VA_ARGS__); \
log_cpu_state(env, 0); \
if (logfile) \
log_cpu_state(env, 0); \
} while (0)
void
cpu_loop
(
CPUPPCState
*
env
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment