user: Restore debug usage message for '-d ?' in user mode emulation
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 18 Jul 2011 10:44:09 +0000 (11:44 +0100)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Sat, 30 Jul 2011 05:20:18 +0000 (07:20 +0200)
commit7f764ecb73ad2640e12f3cbeb6a4a319dce1862a
tree694a9d4cd141b66856f2d15353cdf0a5532a6b89
parenta6fc0fcdaec749df0b7aaa22ef4e15cc8242360d
user: Restore debug usage message for '-d ?' in user mode emulation

The code which prints the debug usage message on '-d ?' for *-user
has to come before the check for "not enough arguments", so that
"qemu-foo -d ?" prints the list of possible debug log items rather than
the generic usage message. (This was inadvertently broken in commit
c235d73.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
bsd-user/main.c
darwin-user/main.c
linux-user/main.c