winedbg: Add 'info system' command.
commit7ada0e223904c563d79af97922dc8301ecf030f9
authorEric Pouech <epouech@codeweavers.com>
Wed, 5 Jul 2023 17:29:04 +0000 (5 19:29 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 7 Jul 2023 10:19:42 +0000 (7 12:19 +0200)
treeab8157f156482bc28d4fb0e4b539062b80f1450e
parentbde065746e51e4cfdcf0cbf8583a933abbb2daea
winedbg: Add 'info system' command.

Letting the information displayed in '--auto' mode be available
as a command.
Simplify a bit the --auto mode handling.

Note:
- the WOW64 status of the debuggee used to be printed in system
  information, which is a bit ackward as system info shouldn't be
  tied to a given process.
- replaced it with supported guest machines (for the record, a
  64-bit only setup incorrectly returns i386 as supported guest;
  I guess we shouldn't care).
- now printing the wow64 status of a process when displaying an
  exception information instead.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
programs/winedbg/dbg.y
programs/winedbg/debug.l
programs/winedbg/debugger.h
programs/winedbg/info.c
programs/winedbg/tgt_active.c