public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Johannes Thoma <johannes@johannesthoma.com>
To: cygwin@cygwin.com
Subject: Re: Cygwin gdb to load debug into from Windows VC?
Date: Tue, 3 Oct 2023 18:55:26 +0200	[thread overview]
Message-ID: <1f625f06-1967-2e51-2fa3-699ff78f4852@johannesthoma.com> (raw)
In-Reply-To: <CALXu0UcsrucyiUtibq-TSjL-ALxkZJAqnW_2EDNN7fht1SQR6A@mail.gmail.com>

Hi,

Am 03.10.23 um 17:03 schrieb Cedric Blancher via Cygwin:
> On Tue, 26 Sept 2023 at 06:39, Cedric Blancher
> <cedric.blancher@gmail.com> wrote:
>>
>> Good morning!
>>
>> Is it possible to load Visual Studio (VC19, VC22) debug info (*.pdb
>> files) into Cygwin gdb?
> 
> Anyone?
> 
> Or can VC19/VC22 create DWARF debug data?
> 
> Ced

As far as I know gdb cannot read program database (pdb) files since this file format is proprietary.
I don't know about VC support for gdb but what you can do is to compile your application with mingw-w64
(if it is a non posix app). Then you can use gdb to debug it.

Hope that helps, best regards,

Johannes

  reply	other threads:[~2023-10-03 16:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-26  4:39 Cedric Blancher
2023-10-03 15:03 ` Cedric Blancher
2023-10-03 16:55   ` Johannes Thoma [this message]
2023-10-16 15:10     ` Jon Turney

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=1f625f06-1967-2e51-2fa3-699ff78f4852@johannesthoma.com \
    --to=johannes@johannesthoma.com \
    --cc=cygwin@cygwin.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).