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
  2001-11-12 14:17 gdb trouble vipin aravind
@ 2001-11-12 15:39 ` Corinna Vinschen
  2001-11-13  1:05   ` Keith Seitz
  0 siblings, 1 reply; 30+ messages in thread
From: Corinna Vinschen @ 2001-11-12 15:39 UTC (permalink / raw)
  To: cygwin

On Tue, Nov 20, 2001 at 01:49:27PM +0530, vipin aravind wrote:
> 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

The gdb GUI is not Cygwin path aware, unfortunately.  Try the
same w/o GUI by starting `gdb -nw'

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/

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

* Re: gdb trouble
  2001-11-12 15:39 ` Corinna Vinschen
@ 2001-11-13  1:05   ` Keith Seitz
  2001-11-13  3:42     ` Peter Buckley
  0 siblings, 1 reply; 30+ messages in thread
From: Keith Seitz @ 2001-11-13  1:05 UTC (permalink / raw)
  To: Corinna Vinschen

On Tue, 20 Nov 2001, Corinna Vinschen wrote:

> The gdb GUI is not Cygwin path aware, unfortunately.  Try the
> same w/o GUI by starting `gdb -nw'

In what way is it not "path aware"?

Keith



--
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-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
  0 siblings, 2 replies; 30+ messages in thread
From: Peter Buckley @ 2001-11-13  3:42 UTC (permalink / raw)
  To: Keith Seitz; +Cc: Corinna Vinschen

I presuppose that it doesn't understand /cygdrive and mount points, so 
it doesn't compute /usr/bin to mean c:\cygwin\bin.

Wild guess-
Peter

Keith Seitz wrote:

> On Tue, 20 Nov 2001, Corinna Vinschen wrote:
> 
> 
>>The gdb GUI is not Cygwin path aware, unfortunately.  Try the
>>same w/o GUI by starting `gdb -nw'
>>
> 
> In what way is it not "path aware"?
> 
> Keith
> 
> 
> 
> --
> 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/
> 
> 


-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--


--
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-13  3:42     ` Peter Buckley
@ 2001-11-13  4:21       ` Keith Seitz
  2001-11-13  7:17       ` David A. Cobb
  1 sibling, 0 replies; 30+ messages in thread
From: Keith Seitz @ 2001-11-13  4:21 UTC (permalink / raw)
  To: cygwin

On Tue, 20 Nov 2001, Peter Buckley wrote:

> I presuppose that it doesn't understand /cygdrive and mount points, so
> it doesn't compute /usr/bin to mean c:\cygwin\bin.

Probably not a bad guess, but allow me to enumerate what Insight can and
cannot do (for the record). At least as far as I know:

When using the file menu's Open option, users open an exe for debugging by
using the Window's file selection dialog, which knows nothing about
cygwin (of course).

When using the console window to specify filenames, it is (or should be)
100% aware that /bin is c:/cygwin/bin, just as gdb does (or should).

I'm not sure where else command-line gdb and Insight differ w.r.t.
filenames (which is why I asked my original question).

Of course, I could be missing something obvious.
Keith


--
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-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
  1 sibling, 1 reply; 30+ messages in thread
From: David A. Cobb @ 2001-11-13  7:17 UTC (permalink / raw)
  To: Peter Buckley, Keith Seitz, Cygwin Library General Discussion

Peter Buckley wrote:

> I presuppose that it doesn't understand /cygdrive and mount points, so 
> it doesn't compute /usr/bin to mean c:\cygwin\bin.


Now I'm totally confused [i.e. more than usually so].
Why does the APPLICATION need to be "Cygwin aware?"  If it references 
"/usr/bin" the equation to "C:\cygwin\bin" or whatever is entirely 
behind the curtains, nicht war?

Please, Corinna, clarify what gdb is "missing."


> 
> Wild guess-
> Peter
> 
> Keith Seitz wrote:
> 
>> On Tue, 20 Nov 2001, Corinna Vinschen wrote:
>>
>>
>>> The gdb GUI is not Cygwin path aware, unfortunately.  Try the
>>> same w/o GUI by starting `gdb -nw'
>>>
>>
>> In what way is it not "path aware"?
>>
>> Keith
>>
>>
>>
>> -- 
>> 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/
>>
>>
> 
> 


-- 
David A. Cobb, Software Engineer, Public Access Advocate, All around 
nice guy.
New PGP key 09/13/2001:
:<http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit&\
fingerprint=on>
:<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=superbiskit&\
fingerprint=on>
Fingerprint=0x{E7C6_4EE2_6B75_5BA3_C52E__77FA_63C3_9366_DCFB_229B}
"By God's Grace I am a Christian man, by my actions a great sinner."
--The Way of a Pilgrim, R. M. French [tr.]
Potentially Viral Software is any software for which you are not allowed
to examine the source.  Do not buy or use Potentially Viral Software!


--
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-13  7:17       ` David A. Cobb
@ 2001-11-13  7:39         ` Corinna Vinschen
  2001-11-13  7:45           ` Keith Seitz
  0 siblings, 1 reply; 30+ messages in thread
From: Corinna Vinschen @ 2001-11-13  7:39 UTC (permalink / raw)
  To: cygwin

On Tue, Nov 20, 2001 at 11:36:20AM -0500, David A. Cobb wrote:
> Peter Buckley wrote:
> 
> > I presuppose that it doesn't understand /cygdrive and mount points, so 
> > it doesn't compute /usr/bin to mean c:\cygwin\bin.
> 
> 
> Now I'm totally confused [i.e. more than usually so].
> Why does the APPLICATION need to be "Cygwin aware?"  If it references 
> "/usr/bin" the equation to "C:\cygwin\bin" or whatever is entirely 
> behind the curtains, nicht war?
> 
> Please, Corinna, clarify what gdb is "missing."

gdb is a Cygwin application.  It can act using POSIX paths and
Cygwin mount points.  The GUI is not a Cygwin app.  It acts 
using native Windows paths.  Nobody has ported that stuff to
Cygwin so far.  AFAIK.

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/

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

* Re: gdb trouble
  2001-11-13  7:39         ` Corinna Vinschen
@ 2001-11-13  7:45           ` Keith Seitz
  2001-11-13  8:31             ` Corinna Vinschen
  0 siblings, 1 reply; 30+ messages in thread
From: Keith Seitz @ 2001-11-13  7:45 UTC (permalink / raw)
  To: Corinna Vinschen

On Tue, 20 Nov 2001, Corinna Vinschen wrote:

> gdb is a Cygwin application.  It can act using POSIX paths and
> Cygwin mount points.  The GUI is not a Cygwin app.  It acts
> using native Windows paths.  Nobody has ported that stuff to
> Cygwin so far.  AFAIK.

Ok, now you can add me to the confused list, too.

Insight (I assume this is the GUI gdb we're talking about?) is built on
gdb. Gdb is a cygwin app, and, therefore, Insight is, too.

In both apps, I can type "file /home/keiths/foo.exe" and it will load
C:\Cygwin\home\keiths\foo.exe. Is this not cygwin-awareness?

What does NOT work, however, is Tcl. The tcl interp in Insight is _not_
cygwin aware, so you cannot do something like:

  (gdb) tk file stat /home/keiths/foo.exe

Instead, you need to use something like:

  (gdb) tk file stat [ide_cygwin_path to_win32 /home/keiths/foo.exe]

??
Keith



--
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-13  7:45           ` Keith Seitz
@ 2001-11-13  8:31             ` Corinna Vinschen
  2001-11-13  8:40               ` Keith Seitz
  0 siblings, 1 reply; 30+ messages in thread
From: Corinna Vinschen @ 2001-11-13  8:31 UTC (permalink / raw)
  To: cygwin

On Tue, Nov 20, 2001 at 10:17:20AM -0800, Keith Seitz wrote:
> On Tue, 20 Nov 2001, Corinna Vinschen wrote:
> 
> > gdb is a Cygwin application.  It can act using POSIX paths and
> > Cygwin mount points.  The GUI is not a Cygwin app.  It acts
> > using native Windows paths.  Nobody has ported that stuff to
> > Cygwin so far.  AFAIK.
> 
> Ok, now you can add me to the confused list, too.

Yeah, me too.  What I told was based on what you've written
in your previous posting.  I have no real clue of the GUI
since I'm always using gdb -nw.  You should know that better
than me so please explain it.

Corinna

> Insight (I assume this is the GUI gdb we're talking about?) is built on
> gdb. Gdb is a cygwin app, and, therefore, Insight is, too.
> 
> In both apps, I can type "file /home/keiths/foo.exe" and it will load
> C:\Cygwin\home\keiths\foo.exe. Is this not cygwin-awareness?
> 
> What does NOT work, however, is Tcl. The tcl interp in Insight is _not_
> cygwin aware, so you cannot do something like:
> 
>   (gdb) tk file stat /home/keiths/foo.exe
> 
> Instead, you need to use something like:
> 
>   (gdb) tk file stat [ide_cygwin_path to_win32 /home/keiths/foo.exe]
> 
> ??
> Keith

-- 
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/

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

* Re: gdb trouble
  2001-11-13  8:31             ` Corinna Vinschen
@ 2001-11-13  8:40               ` Keith Seitz
  0 siblings, 0 replies; 30+ messages in thread
From: Keith Seitz @ 2001-11-13  8:40 UTC (permalink / raw)
  To: Corinna Vinschen

On Tue, 20 Nov 2001, Corinna Vinschen wrote:

> On Tue, Nov 20, 2001 at 10:17:20AM -0800, Keith Seitz wrote:
> > On Tue, 20 Nov 2001, Corinna Vinschen wrote:
> >
> > > gdb is a Cygwin application.  It can act using POSIX paths and
> > > Cygwin mount points.  The GUI is not a Cygwin app.  It acts
> > > using native Windows paths.  Nobody has ported that stuff to
> > > Cygwin so far.  AFAIK.
> >
> > Ok, now you can add me to the confused list, too.
>
> Yeah, me too.  What I told was based on what you've written
> in your previous posting.  I have no real clue of the GUI
> since I'm always using gdb -nw.  You should know that better
> than me so please explain it.

Hmm. Okay.

So that we're all on the same page:

- Insight/gdb are both cygwin-aware. If you type commands at the console
using filenames, these filenames will go through all the cygwin mounts and
such.

- The tcl interpreter in Insight is NOT cygwin-aware. If you write custom
tcl commands for use with Insight, you must be careful to use
"ide_cygwin_path" to convert to/from cygwin paths from/to windows paths.

I think that's all there is.

Feeling less confused now. :v)
Keith



--
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-14  6:56             ` Robert Collins
@ 2001-11-21  2:46               ` Robert Collins
  0 siblings, 0 replies; 30+ messages in thread
From: Robert Collins @ 2001-11-21  2:46 UTC (permalink / raw)
  To: Robert Collins, Corinna Vinschen

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
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-14  6:53           ` Robert Collins
  2001-11-14  6:56             ` Robert Collins
@ 2001-11-21  2:42             ` Robert Collins
  1 sibling, 0 replies; 30+ messages in thread
From: Robert Collins @ 2001-11-21  2:42 UTC (permalink / raw)
  To: Robert Collins, Corinna Vinschen

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
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-14  6:30         ` Robert Collins
  2001-11-14  6:53           ` Robert Collins
@ 2001-11-21  2:36           ` Robert Collins
  1 sibling, 0 replies; 30+ messages in thread
From: Robert Collins @ 2001-11-21  2:36 UTC (permalink / raw)
  To: Robert Collins, Corinna Vinschen

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
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-14  5:33         ` vipin aravind
@ 2001-11-21  1:58           ` vipin aravind
  0 siblings, 0 replies; 30+ messages in thread
From: vipin aravind @ 2001-11-21  1:58 UTC (permalink / raw)
  To: Robert Collins, Corinna Vinschen

well  I  read in an msdn article  that the pdb  format is not  publicly
documented.  probably numega  got  in some  sort of
agreement  with microsoft  on  providing  the info.
vipin


> 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/
>

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

* Re: gdb trouble
  2001-11-14  4:49       ` Robert Collins
  2001-11-14  5:33         ` vipin aravind
  2001-11-14  6:30         ` Robert Collins
@ 2001-11-21  1:46         ` Robert Collins
  2 siblings, 0 replies; 30+ messages in thread
From: Robert Collins @ 2001-11-21  1:46 UTC (permalink / raw)
  To: Corinna Vinschen

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/

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

* Re: gdb trouble
  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
  1 sibling, 1 reply; 30+ messages in thread
From: Robert Collins @ 2001-11-14  6:56 UTC (permalink / raw)
  To: Robert Collins, Corinna Vinschen

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
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-14  6:30         ` Robert Collins
@ 2001-11-14  6:53           ` Robert Collins
  2001-11-14  6:56             ` Robert Collins
  2001-11-21  2:42             ` Robert Collins
  2001-11-21  2:36           ` Robert Collins
  1 sibling, 2 replies; 30+ messages in thread
From: Robert Collins @ 2001-11-14  6:53 UTC (permalink / raw)
  To: Robert Collins, Corinna Vinschen

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
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-14  4:49       ` Robert Collins
  2001-11-14  5:33         ` vipin aravind
@ 2001-11-14  6:30         ` Robert Collins
  2001-11-14  6:53           ` Robert Collins
  2001-11-21  2:36           ` Robert Collins
  2001-11-21  1:46         ` Robert Collins
  2 siblings, 2 replies; 30+ messages in thread
From: Robert Collins @ 2001-11-14  6:30 UTC (permalink / raw)
  To: Robert Collins, Corinna Vinschen

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
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-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-21  1:46         ` Robert Collins
  2 siblings, 1 reply; 30+ messages in thread
From: vipin aravind @ 2001-11-14  5:33 UTC (permalink / raw)
  To: Robert Collins, Corinna Vinschen

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


well  I  read in an msdn article  that the pdb  format is not  publicly
documented.  probably numega  got  in some  sort of
agreement  with microsoft  on  providing  the info.
vipin


> 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/
>


[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 854 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
  2001-11-14  1:34     ` Corinna Vinschen
@ 2001-11-14  4:49       ` Robert Collins
  2001-11-14  5:33         ` vipin aravind
                           ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: Robert Collins @ 2001-11-14  4:49 UTC (permalink / raw)
  To: Corinna Vinschen

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/

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

* Re: gdb trouble
  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
  1 sibling, 1 reply; 30+ messages in thread
From: Corinna Vinschen @ 2001-11-14  1:34 UTC (permalink / raw)
  To: cygwin

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/

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

* Re: gdb trouble
  2001-11-13 16:54   ` vipin aravind
@ 2001-11-13 18:28     ` Larry Hall (RFK Partners, Inc)
  2001-11-14  1:34     ` Corinna Vinschen
  1 sibling, 0 replies; 30+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-11-13 18:28 UTC (permalink / raw)
  To: vipin aravind, Corinna Vinschen

Well if you can point us to documentation, I expect folks here would 
be happy and willing to read it.

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



At 11:44 PM 11/20/2001, 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.
>vipin
>----- Original Message -----
>From: "Corinna Vinschen" <cygwin@cygwin.com>
>To: <cygwin@cygwin.com>
>Sent: Tuesday, November 20, 2001 7:35 PM
>Subject: Re: gdb trouble
>
>
> > On Tue, Nov 20, 2001 at 05:43:22AM -0800, Katherina O'Connor wrote:
> > > ... ".pch" is a suffix for "pre-compiled" header
> > > files, a feature which is optionally, having
> > > nothing to do with debug. MSVC can generate debug
> >
> > Sorry, I meant the .pdb files or whatever the extension is.  The
> > format of these files is nowhere documented.
> >
> > > information either in a MS format or COFF. Not
> > > "understanding" COFF is a problem of gdb
> > > and not of MSVC.
> >
> > gdb understands coff but isn't that only generated by VC when
> > giving some special option?  I don't have VC installed anywhere.
> >
> > 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
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-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
  0 siblings, 2 replies; 30+ messages in thread
From: vipin aravind @ 2001-11-13 16:54 UTC (permalink / raw)
  To: Corinna Vinschen

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

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.
vipin
----- Original Message -----
From: "Corinna Vinschen" <cygwin@cygwin.com>
To: <cygwin@cygwin.com>
Sent: Tuesday, November 20, 2001 7:35 PM
Subject: Re: gdb trouble


> On Tue, Nov 20, 2001 at 05:43:22AM -0800, Katherina O'Connor wrote:
> > ... ".pch" is a suffix for "pre-compiled" header
> > files, a feature which is optionally, having
> > nothing to do with debug. MSVC can generate debug
>
> Sorry, I meant the .pdb files or whatever the extension is.  The
> format of these files is nowhere documented.
>
> > information either in a MS format or COFF. Not
> > "understanding" COFF is a problem of gdb
> > and not of MSVC.
>
> gdb understands coff but isn't that only generated by VC when
> giving some special option?  I don't have VC installed anywhere.
>
> 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/
>


[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 854 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
  2001-11-13  1:04 Katherina O'Connor
@ 2001-11-13  4:43 ` Corinna Vinschen
  2001-11-13 16:54   ` vipin aravind
  0 siblings, 1 reply; 30+ messages in thread
From: Corinna Vinschen @ 2001-11-13  4:43 UTC (permalink / raw)
  To: cygwin

On Tue, Nov 20, 2001 at 05:43:22AM -0800, Katherina O'Connor wrote:
> ... ".pch" is a suffix for "pre-compiled" header
> files, a feature which is optionally, having 
> nothing to do with debug. MSVC can generate debug 

Sorry, I meant the .pdb files or whatever the extension is.  The
format of these files is nowhere documented.

> information either in a MS format or COFF. Not
> "understanding" COFF is a problem of gdb 
> and not of MSVC.

gdb understands coff but isn't that only generated by VC when
giving some special option?  I don't have VC installed anywhere.

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/

^ 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
  1 sibling, 0 replies; 30+ messages in thread
From: David Starks-Browning @ 2001-11-12 17:36 UTC (permalink / raw)
  To: vipin aravind; +Cc: cygwin

On Tuesday 20 Nov 01, vipin aravind writes:
> oops  sorry  the  executeable  was  created  as a.exe and gdb a  worked
> How   do  I get  the prefix  same as the source file.

"man gcc" or "info gcc"

will tell you:

	gcc -o test test.c

does what you are asking.  BUT DON'T DO THAT!!!

Don't create executables called "test" or "test.exe".  Unix (and thus
Cygwin) has its own version of "test", and you will have trouble
getting the right "test" invoked.

Choose some other name instead:

	gcc -o myprog test.c
or	gcc -o a test.c

Regards,
David


--
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
  1 sibling, 0 replies; 30+ messages in thread
From: Corinna Vinschen @ 2001-11-12 17:05 UTC (permalink / raw)
  To: cygwin

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/

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