@@ -1,16 +1,9 @@
-#
-# The main gdbstub still relies on per-build definitions of various
-# types. The bits pushed to softmmu/user.c try to use guest agnostic
-# types such as hwaddr.
-#
-
# We need to build the core mcd code via a library to be able to tweak
# cflags so:
mcd_system_ss = ss.source_set()
-# We build one version of the mcdstub,
-#because it only needs to work for system emulation
+# only system emulation is supported over mcd
mcd_system_ss.add(files('mcdstub.c'))
mcd_system_ss = mcd_system_ss.apply(config_host, strict: false)
@@ -23,5 +16,4 @@ libmcd_softmmu = static_library('mcd_softmmu',
mcd_softmmu = declare_dependency(link_whole: libmcd_softmmu)
system_ss.add(mcd_softmmu)
-# this might cause problems because we don't support user mode
common_ss.add(files('mcd_syscalls.c'))
@@ -4417,7 +4417,8 @@ ERST
DEF("mcd", HAS_ARG, QEMU_OPTION_mcd, \
"-mcd dev accept mcd connection on 'dev'. (QEMU defaults to starting\n"
" the guest without waiting for a mcd client to connect; use -S too\n"
- " if you want it to not start execution.)\n",
+ " if you want it to not start execution.)\n"
+ " To use the default Port write '-mcd default'\n",
QEMU_ARCH_ALL)
SRST
``-mcd dev``
@@ -4428,15 +4429,7 @@ SRST
The most usual configuration is to listen on a local TCP socket::
- -mcd tcp::1234
-ERST
-
-DEF("mcdd", 0, QEMU_OPTION_mcdd, \
- "-mcdd shorthand for -mcd tcp::" DEFAULT_MCDSTUB_PORT "\n",
- QEMU_ARCH_ALL)
-SRST
-``-mcdd``
- Shorthand for -mcd tcp::1234, i.e. open a mcdserver on TCP port 1234
+ -mcd tcp::1235
ERST
DEF("d", HAS_ARG, QEMU_OPTION_d, \