🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1143

Re: Use GDB to debug MSVC generated executables and shared libraries.

#1143
From: Eli Zaretskii
Date: Sat, 23 Dec 2006 09:47
13 lines
2051 bytes
> From: Naresh Vankayalapati <nvankaya@mathworks.com>
> Date: Thu, 30 Nov 2006 15:24:09 -0500
> Cc: 
> 
> I wanted to know if there is a way to use these debuggers to debug
> executables generated using MSVC.

You cannot use GDB to debug MSVC-compiled programs on the source
level.  GDB doesn't understand the proprietary format of Microsoft PDB
debug information.

You _can_ debug Windows programs on the source level, but only if they
are compiled by GCC, either the MinGW GCC or Cygwin GCC.
Technical Details
Message-ID: <mailman.2238.1166867264.2155.bug-gdb@gnu.org>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <eknel9$pld$1@fred.mathworks.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5053,c52aa5d56154ce80,start
X-Google-Attributes: gidf5053,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gnu.gdb.bug
Subject: Re: Use GDB to debug MSVC generated executables and shared
 libraries.
Date: Sat, 23 Dec 2006 11:47:38 +0200
Lines: 15
Approved: bug-gdb@gnu.org
Message-ID: <mailman.2238.1166867264.2155.bug-gdb@gnu.org>
References: <eknel9$pld$1@fred.mathworks.com>
Reply-To: Eli Zaretskii <eliz@gnu.org>
NNTP-Posting-Host: lists.gnu.org
X-Trace: news.Stanford.EDU 1166867265 11091 199.232.76.165 (23 Dec 2006 09:47:45 GMT)
X-Complaints-To: news@news.stanford.edu
Cc: gnu-gdb-bug@moderators.isc.org
To: Naresh Vankayalapati <nvankaya@mathworks.com>
Envelope-to: bug-gdb@gnu.org
In-reply-to: <eknel9$pld$1@fred.mathworks.com> (message from Naresh
 Vankayalapati on Thu, 30 Nov 2006 15:24:09 -0500)
X-BeenThere: bug-gdb@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gdb>
List-Post: <mailto:bug-gdb@gnu.org>
List-Help: <mailto:bug-gdb-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=subscribe>