public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: Johannes Thoma <johannes@johannesthoma.com>,
	Cedric Blancher <cedric.blancher@gmail.com>,
	The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Cygwin gdb to load debug into from Windows VC?
Date: Mon, 16 Oct 2023 16:10:54 +0100	[thread overview]
Message-ID: <622d35d4-be25-4fcc-b2dd-aeea980f9c97@dronecode.org.uk> (raw)
In-Reply-To: <1f625f06-1967-2e51-2fa3-699ff78f4852@johannesthoma.com>

On 03/10/2023 17:55, Johannes Thoma via Cygwin wrote:
> 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,
> 

There was actually some upstream work on this (see the branch 
users/ssbssa/pdb-reader-preview in the binutils-gdb git repository), but 
unfortunately this seem to be abandoned.


      reply	other threads:[~2023-10-16 15:10 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
2023-10-16 15:10     ` Jon Turney [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=622d35d4-be25-4fcc-b2dd-aeea980f9c97@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cedric.blancher@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=johannes@johannesthoma.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).