public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gdb trouble
@ 2001-11-12 14:17 vipin aravind
  2001-11-12 15:39 ` Corinna Vinschen
  0 siblings, 1 reply; 30+ messages in thread
From: vipin aravind @ 2001-11-12 14:17 UTC (permalink / raw)
  To: cygwin


[-- Attachment #1.1: Type: text/plain, Size: 386 bytes --]

hi,
I have done
1)gcc -g  test.c
2)  gdb 
3)   from the  "run"  menu I choose  the executeable  I get  the following error-message box.



---------------------------
Error
---------------------------
Error loading "/home/Administrator/test":
 not in executable format: File format not recognized

---------------------------
OK   
---------------------------

vipin

[-- Attachment #1.2: Type: text/html, Size: 1212 bytes --]

[-- Attachment #2: InterScan_Disclaimer.txt --]
[-- Type: text/plain, Size: 856 bytes --]

-------------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
----------------------------------------------------------------------------------------------------------------------


[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: gdb trouble
@ 2004-06-30 13:52 Vincent Girard-Reydet
  0 siblings, 0 replies; 30+ messages in thread
From: Vincent Girard-Reydet @ 2004-06-30 13:52 UTC (permalink / raw)
  To: Cygwin List, robert.collins

I have tried your link, but it's a dead link. I saw your post telling that
MSDN CDs provide teh CV5.0 spec. I can find them neither on the last MSDN
library CDrom. Any idea of where I could find the spec ?

Vincent Girard-Reydet

----- Original Message -----
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Robert Collins" <robert.collins@itdomain.com.au>; "Corinna
Vinschen" <cygwin@cygwin.com>
Sent: Wednesday, November 21, 2001 9:42 PM
Subject: Re: gdb trouble

Found it.

http://www.pearsonptg.com/book_detail/0,3771,0201721872,00.html

claims to document the pdb format.

Rob
===
----- Original Message -----
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Robert Collins" <robert.collins@itdomain.com.au>; "Corinna
Vinschen" <cygwin@cygwin.com>
Sent: Wednesday, November 21, 2001 9:42 PM
Subject: Re: gdb trouble


> And more (last one I think)
>
> Watcomm apparent support Codeview in their debug formats - and they
are
> open sourcing watcomm C/C++ - see http://www.openwatcom.org/
>
> Rob
> ===
> ----- Original Message -----
> From: "Robert Collins" <robert.collins@itdomain.com.au>
> To: "Robert Collins" <robert.collins@itdomain.com.au>; "Corinna
> Vinschen" <cygwin@cygwin.com>
> Sent: Wednesday, November 21, 2001 9:36 PM
> Subject: Re: gdb trouble
>
>
> > And some more that caught my eye:
> >
>
http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0399/hood/hood03
> > 99.htm&nav=/msj/0399/newnav.htm
> > Is an article about .dbg file formats - not written my MS, and
> includdes
> > references to pdb.
> > It also has a handy file cvinfo.h which is the header required to
> > manipulate codeview 4 data.
> >
> > MSDN returns a hit on COFFTOCV.C which does what it says.
> >
> > http://www.winehq.com/hypermail/wine-patches/2001/08/0106.html
> > based on the info from the above header!
> >
> > http://support.microsoft.com/support/kb/articles/q121/3/66.asp
> >
> > These folk appear to be able to generate Codeview data (which is
what
> is
> > in pdb files).
> > http://www.digitalmars.com/faq.html
> > and http://www.digitalmars.com/bibliography.html (see CV4)
> >
> > Wine has/had pdb partial support
> > http://www.winehq.com/News/1999-49.html
> >
> > http://www.tbcnet.com/~clive/vcomwinp.html
> > has a dumppe that understands codeview
> >
> > http://www.rdbooks.com/store/products/rd2364.htm is an old book -
> maybe
> > there is a newer version with CV4 info?
> >
> > http://www.wotsit.org/
> > is a useful site on file formats - nothing there, but if you ask,
> maybe
> > they know where to find it.
> >
> > Codeview is also known as CV4 - a earch on that might help.
> > MSDN spat out this:
> > http://support.microsoft.com/support/kb/articles/Q194/9/21.ASP
> > which has some partial info on the Codeview format.
> >
> > http://www.jorgon.freeserve.co.uk/GobugHelp/Symbolic.htm
> > isn't really helpful, butmay be of interest
> >
> > Lastly, MSDN CD roms do have the Specification (CV5.0 Symbolic Debug
> > Information) But I'm afraid to open it :]. Perhaps someone you know
> can
> > create a clean room spec for you.
> >
> > Rob
> >
> > ===
> > ----- Original Message -----
> > From: "Robert Collins" <robert.collins@itdomain.com.au>
> > To: "Corinna Vinschen" <cygwin@cygwin.com>
> > Sent: Wednesday, November 21, 2001 8:46 PM
> > Subject: Re: gdb trouble
> >
> >
> > > Some related articles:
> > >
> > > http://support.microsoft.com/support/kb/articles/Q182/0/43.ASP
> > >
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwbgen
> > > /html/msdn_peeringpe.asp
> > >
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/d
> > > bghelp_0l0n.asp?frame=true
> > >
> > > To me it looks like there are 2 options.
> > > 1) add the user of the symbol handling library to gdb. That should
> > allow
> > > pdb use.
> > > 2) Using the symbol handling library, and (say) VC++, generate
test
> > > exe's with .pdb and reverse engineer the format. Once done, use
the
> > > resulting library in gdb.
> > >
> > > Rob
> > >
> > >
> > > ===
> > > ----- Original Message -----
> > > From: "Corinna Vinschen" <cygwin@cygwin.com>
> > > To: "cygwin" <cygwin@cygwin.com>
> > > Sent: Wednesday, November 21, 2001 8:29 PM
> > > Subject: Re: gdb trouble
> > >
> > >
> > > > On Wed, Nov 21, 2001 at 10:14:43AM +0530, vipin aravind wrote:
> > > > > I  had  been using  softice  debugger  on windows  which  is
> from
> > > > > mega(  and  it understands pdb  format)  and  how   do they
know
> > > the
> > > > > format?
> > > > > I  think  it  would  be documented.
> > > >
> > > > Sure.  Somewhere.  Under NDA, I assume.
> > > >
> > > > Corinna
> > > >
> > > > --
> > > > Corinna Vinschen                  Please, send mails regarding
> > Cygwin
> > > to
> > > > Cygwin Developer
> > > mailto:cygwin@cygwin.com
> > > > Red Hat, Inc.
> > > >
> > > > --
> > > > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > > > Bug reporting:         http://cygwin.com/bugs.html
> > > > Documentation:         http://cygwin.com/docs.html
> > > > FAQ:                   http://cygwin.com/faq/
> > > >
> > > >
> > >
> > >
> > > --
> > > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > > Bug reporting:         http://cygwin.com/bugs.html
> > > Documentation:         http://cygwin.com/docs.html
> > > FAQ:                   http://cygwin.com/faq/
> > >
> > >
> >
> >
>
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: gdb trouble
@ 2001-11-13  1:04 Katherina O'Connor
  2001-11-13  4:43 ` Corinna Vinschen
  0 siblings, 1 reply; 30+ messages in thread
From: Katherina O'Connor @ 2001-11-13  1:04 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]

... ".pch" is a suffix for "pre-compiled" header
files, a feature which is optionally, having 
nothing to do with debug. MSVC can generate debug 
information either in a MS format or COFF. Not
"understanding" COFF is a problem of gdb 
and not of MSVC.

-Kathy

Not really. Microsoft is using a proprietary debug format 



On Tue, Nov 20, 2001 at 01:52:20PM +0530, vipin aravind wrote:
> oops sorry the executeable was created as a.exe and gdb a worked
> How do I get the prefix same as the source file.

gcc -o outputfilename ...

> Is it possible to debug vc++ generated exe's?

Not really. Microsoft is using a proprietary debug format (.pch files).
You would be stuck with assembler debugging.

Corinna

-- 
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/




______________________________________________________
Kein Schwein klickt mich an? Tragen Sie Ihre Site doch einfach im
Fireballkatalog ein! http://www.fireball.de/katalogeintrag.html




[-- Attachment #2: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: gdb trouble
@ 2001-11-12 17:01 vipin aravind
  2001-11-12 17:05 ` Corinna Vinschen
  2001-11-12 17:36 ` David Starks-Browning
  0 siblings, 2 replies; 30+ messages in thread
From: vipin aravind @ 2001-11-12 17:01 UTC (permalink / raw)
  To: cygwin


[-- Attachment #1.1: Type: text/plain, Size: 759 bytes --]

oops  sorry  the  executeable  was  created  as a.exe and gdb a  worked
How   do  I get  the prefix  same as the source file.
Is it possible  to debug  vc++ generated exe's?
vipin
  ----- Original Message ----- 
  From: vipin aravind 
  To: cygwin@cygwin.com 
  Sent: Tuesday, November 20, 2001 1:49 PM
  Subject: gdb trouble


  hi,
  I have done
  1)gcc -g  test.c
  2)  gdb 
  3)   from the  "run"  menu I choose  the executeable  I get  the following error-message box.

   
   
  ---------------------------
  Error
  ---------------------------
  Error loading "/home/Administrator/test":
   not in executable format: File format not recognized

  ---------------------------
  OK   
  ---------------------------

  vipin

[-- Attachment #1.2: Type: text/html, Size: 2396 bytes --]

[-- Attachment #2: InterScan_Disclaimer.txt --]
[-- Type: text/plain, Size: 856 bytes --]

-------------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
----------------------------------------------------------------------------------------------------------------------


[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 30+ messages in thread
* GDB trouble
@ 1997-11-18 16:11 Brad Scott
  0 siblings, 0 replies; 30+ messages in thread
From: Brad Scott @ 1997-11-18 16:11 UTC (permalink / raw)
  To: gnu-win32

I've searched the archives and online help, and I can't find an answer to
my problem. Gcc and bash seem to work fine, but gdb keeps crashing my
system. It will run for a short while, but after I've entered 3 or 4
commands, it freezes up. If I try to shut it down from windows, the whole
computer freezes, to the extent where I can't even re-boot it without
turning it off and on. I'm using windows95, and I've tried running gdb from
dos, bash and tclsh, and its the same with all of them. I installed tmp and
bin directories as instucted, and here's what I added to autoexec.bat:
SET PATH=%PATH%;C:\gnuwin32\b18\H-i386-cygwin32\bin;C:\gnuwin32\b18\tcl\bin
SET GCC_EXEC_PREFIX=C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
SET TCL_LIBRARY=C:/gnuwin32/b18/tcl/lib/tcl7.6
SET GDBTK_LIBRARY=C:/gnuwin32/b18/share/gdbtcl
SET LIBRARY_PATH=C:\gnuwin32\b18\H-i386-cygwin32\lib;
I tried re-doing the installation from the download file, but that didn't
do anything.
I'm pretty clueless with unix, so I'm hoping thats what my problem is.
Thanks
Brad
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2004-06-30 11:53 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-12 14:17 gdb trouble vipin aravind
2001-11-12 15:39 ` Corinna Vinschen
2001-11-13  1:05   ` Keith Seitz
2001-11-13  3:42     ` Peter Buckley
2001-11-13  4:21       ` Keith Seitz
2001-11-13  7:17       ` David A. Cobb
2001-11-13  7:39         ` Corinna Vinschen
2001-11-13  7:45           ` Keith Seitz
2001-11-13  8:31             ` Corinna Vinschen
2001-11-13  8:40               ` Keith Seitz
  -- strict thread matches above, loose matches on Subject: below --
2004-06-30 13:52 Vincent Girard-Reydet
2001-11-13  1:04 Katherina O'Connor
2001-11-13  4:43 ` Corinna Vinschen
2001-11-13 16:54   ` vipin aravind
2001-11-13 18:28     ` Larry Hall (RFK Partners, Inc)
2001-11-14  1:34     ` Corinna Vinschen
2001-11-14  4:49       ` Robert Collins
2001-11-14  5:33         ` vipin aravind
2001-11-21  1:58           ` vipin aravind
2001-11-14  6:30         ` Robert Collins
2001-11-14  6:53           ` Robert Collins
2001-11-14  6:56             ` Robert Collins
2001-11-21  2:46               ` Robert Collins
2001-11-21  2:42             ` Robert Collins
2001-11-21  2:36           ` Robert Collins
2001-11-21  1:46         ` Robert Collins
2001-11-12 17:01 vipin aravind
2001-11-12 17:05 ` Corinna Vinschen
2001-11-12 17:36 ` David Starks-Browning
1997-11-18 16:11 GDB trouble Brad Scott

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).