diff options
author | Luiz Capitulino | 2010-02-11 02:50:03 +0100 |
---|---|---|
committer | Anthony Liguori | 2010-02-19 22:18:18 +0100 |
commit | b4475aa2b354fa67865c3bf768409386c0dff15b (patch) | |
tree | 7cc4bef7942a0e53afd96ac6d8d2291e1b845a4e /configure | |
parent | Monitor: Rename cmd_new_ret() (diff) | |
download | qemu-b4475aa2b354fa67865c3bf768409386c0dff15b.tar.gz qemu-b4475aa2b354fa67865c3bf768409386c0dff15b.tar.xz qemu-b4475aa2b354fa67865c3bf768409386c0dff15b.zip |
Monitor: Debugging support
Add configure options (--enable-debug-mon and --disable-debug-mon)
plus the MON_DEBUG() macro.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -266,6 +266,7 @@ linux_aio="" gprof="no" debug_tcg="no" +debug_mon="no" debug="no" strip_opt="yes" bigendian="no" @@ -514,9 +515,14 @@ for opt do ;; --disable-debug-tcg) debug_tcg="no" ;; + --enable-debug-mon) debug_mon="yes" + ;; + --disable-debug-mon) debug_mon="no" + ;; --enable-debug) # Enable debugging options that aren't excessively noisy debug_tcg="yes" + debug_mon="yes" debug="yes" strip_opt="no" ;; @@ -1918,6 +1924,7 @@ echo "host CPU $cpu" echo "host big endian $bigendian" echo "target list $target_list" echo "tcg debug enabled $debug_tcg" +echo "Mon debug enabled $debug_mon" echo "gprof enabled $gprof" echo "sparse enabled $sparse" echo "strip binaries $strip_opt" @@ -1995,6 +2002,9 @@ echo "ARCH=$ARCH" >> $config_host_mak if test "$debug_tcg" = "yes" ; then echo "CONFIG_DEBUG_TCG=y" >> $config_host_mak fi +if test "$debug_mon" = "yes" ; then + echo "CONFIG_DEBUG_MONITOR=y" >> $config_host_mak +fi if test "$debug" = "yes" ; then echo "CONFIG_DEBUG_EXEC=y" >> $config_host_mak fi |