473,320 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

not able to get debug info for executable on windows


We have an application which we build on linux and windows.
In one particular set of operations (not necessary to describe here),
the application crashes in Windows but not in Linux.
I am not able to use the gdb in Windows for debugging this though I
tried using
/Zi and /Z7 flags for the same.
I am using the following cl and gdb versions:

GDB :
GNU gdb6.0
configured as "i686-pc-mingw32"

CL :
32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
On running with gdb, it says
Minimal symbols from cheetah-debug.exe... (no debugging symbols
found)...

Jan 3 '08 #1
2 1858
On 2008-01-03 07:57, call_me_anything wrote:
We have an application which we build on linux and windows.
In one particular set of operations (not necessary to describe here),
the application crashes in Windows but not in Linux.
I am not able to use the gdb in Windows for debugging this though I
tried using
/Zi and /Z7 flags for the same.
I am using the following cl and gdb versions:

GDB :
GNU gdb6.0
configured as "i686-pc-mingw32"

CL :
32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Questions about how to use compilers, debuggers, etc. are off-topic and
should be asked in a group discussing these programs.

In your case I suspect you use Microsoft's compiler on Windows, and it
does not use the same format for debug symbols (I think they keep them
in a separate file) so you will have to use the MS debugger too (or some
other debugger which understands that format).

--
Erik Wikström
Jan 3 '08 #2
call_me_anything wrote:
We have an application which we build on linux and windows.
In one particular set of operations (not necessary to describe here),
the application crashes in Windows but not in Linux.
Generally, your question is off-topic here, since this newsgroup is about
the C++ language, not about any compilers or debuggers.
I am not able to use the gdb in Windows for debugging this though I
tried using /Zi and /Z7 flags for the same.
I don't think that gdb supports such command line flags under Windows or
under Linux.
I am using the following cl and gdb versions:

GDB :
GNU gdb6.0
configured as "i686-pc-mingw32"

CL :
32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
On running with gdb, it says
Minimal symbols from cheetah-debug.exe... (no debugging symbols
found)...
Are you sure that you can debug programs created by "32-bit C/C++ Optimizing
Compiler Version 13.10.3077 for 80x86" with "GNU gdb6.0"?

Jan 3 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Pocket Rocket | last post by:
I am developing an application using Windows forms, C# and Visual Studio.Net. The executable size remains the same whether I built the debug or release version. Is it normal? Am I missing...
0
by: Adam Tomjack | last post by:
I'm trying to embed Python 2.3.5 into a C++ application on Windows XP. When I build my app with debug symbols and link to a debug build of Python, then my program seems to crash most (but not all)...
8
by: Davy | last post by:
Hi all, I use VC and gcc/gdb to compile and debug C/C++ files. But I found some of the debug version of the compiled files are too large to be run in a small RAM. Can I compile C/C++ Debug...
1
by: Reza Sadeghi | last post by:
Hi I am getting this error when I tried to browse any asp.net in visual studio.net. I can build the project but when I try to run and debug the project I get error message that "Unable to start...
4
by: jim | last post by:
I am trying to debug a user written web control and web control designer. I found an article “Building Windows Forms Controls and Component with Rich Design-Time Features” that describes how...
6
by: Bob Rock | last post by:
Hello, I'm using an executable (for which I do not have the source code nor the pdb file) as the startup application to load a DLL I'm writing and need to debug. If I try to debug the DLL I...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
5
by: llothar | last post by:
How can i find out if a selected python interpreter (i only know the path name under which i should start it) is a debug build? I tried sys.api_version, sys.platform, sys.version,...
1
by: Tim Mitchell | last post by:
Hi, A quick question: Is there any way for a python script to know if it's being executed by a debug build of python (python_d.exe) instead of python? Thanks Tim
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.