Re: [PATCH 2/2] gdb: add warning when no native target is available

Eli Zaretskii
2025-11-07T07:48:49Z

> From: Guinevere Larsen <guinevere@redhat.com>
> Cc: Guinevere Larsen <guinevere@redhat.com>
> Date: Thu, 6 Nov 2025 16:45:14 -0300
>
> + if (get_native_target () == nullptr)
> + warning (_("No native target, only remote debugging is supported.\n"
> + "Use \"%ps\" to check which architectures are supported."),
> + styled_string (command_style.style (), "info architecture"));

Would we also say "Native debugging is supported" in the opposite
case?

Thanks.