From: Mohamed Mediouni <mohamed@unpredictable.fr>
To: Steve Aarnio <saarnio@qti.qualcomm.com>
Cc: Michael Tokarev <mjt@tls.msk.ru>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"qemu-trivial@nongnu.org" <qemu-trivial@nongnu.org>
Subject: Re: [PATCH v2 1/1] meson.build: Add --enable-pdb option
Date: Mon, 23 Mar 2026 22:32:41 +0100 [thread overview]
Message-ID: <BAECD617-8F87-4D0C-8F8C-725333B436B2@unpredictable.fr> (raw)
In-Reply-To: <MN2PR02MB6622D6619419DCD792B5F3B59B4BA@MN2PR02MB6622.namprd02.prod.outlook.com>
> On 23. Mar 2026, at 18:44, Steve Aarnio <saarnio@qti.qualcomm.com> wrote:
>
> This option will (attempt to) modify the QEMU compile and link flags to
> emit PDB symbol files rather than the standard (DWARF?) symbol output
> from gcc/clang. Prerequisites for this are host_os == Windows and
> --enable-debug flag set.
>
> This enables using native Windows debug tools (Windbg/Visual Studio) for
> debugging QEMU.
>
> Signed-off-by: Steve Aarnio <saarnio@qti.qualcomm.com>
> ---
> meson.build | 5 +++++
> meson_options.txt | 2 ++
> 2 files changed, 7 insertions(+)
Hello,
A small thing on top:
diff --git a/configure b/configure
index cd1dadd8bb..e355484921 100755
--- a/configure
+++ b/configure
@@ -709,6 +709,9 @@ for opt do
meson_option_add -Doptimization=0
default_cflags='-O0 -g'
;;
+ --enable-pdb)
+ meson_option_add -Dpdb=true
+ ;;
--disable-tcg) tcg="disabled"
;;
--enable-tcg) tcg=“enabled"
prev parent reply other threads:[~2026-03-23 21:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-18 19:18 [PATCH] meson.build: Add --enable-use-pdb option Steve Aarnio
2026-03-19 1:24 ` Mohamed Mediouni
2026-03-19 15:55 ` Steve Aarnio
2026-03-22 11:56 ` Michael Tokarev
2026-03-22 12:21 ` Mohamed Mediouni
2026-03-23 17:44 ` [PATCH v2 1/1] meson.build: Add --enable-pdb option Steve Aarnio
2026-03-23 21:32 ` Mohamed Mediouni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAECD617-8F87-4D0C-8F8C-725333B436B2@unpredictable.fr \
--to=mohamed@unpredictable.fr \
--cc=mjt@tls.msk.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=saarnio@qti.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox