From: neder <nicolas.e...@lauterbach.com> Signed-off-by: neder <nicolas.e...@lauterbach.com> --- mcdstub/meson.build | 10 +--------- qemu-options.hx | 13 +++---------- 2 files changed, 4 insertions(+), 19 deletions(-)
diff --git a/mcdstub/meson.build b/mcdstub/meson.build index ebd47b0725..6b2f970eae 100644 --- a/mcdstub/meson.build +++ b/mcdstub/meson.build @@ -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')) diff --git a/qemu-options.hx b/qemu-options.hx index 0c15125b92..0b72c2de07 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -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, \ -- 2.34.1