public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* open watcom
@ 2003-09-18 20:21 y2bismil
  0 siblings, 0 replies; 11+ messages in thread
From: y2bismil @ 2003-09-18 20:21 UTC (permalink / raw)
  To: gdb

Hey guys,

We're exploring a new development environment here, and as part of the 
migration process, I was wondering if its possible to debug code genered by the 
open watcom compiler using gdb.  I've tried unsuccessfully setting the 
debugging in watcom to:  watcom, codeview, and dwarf, but to no avail.

Does anyone know the location of a list of supported debug format by gdb?

thanks all,

Yamin



----------------------------------------
This mail sent through www.mywaterloo.ca

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: open watcom
@ 2003-09-18 20:25 Michael Elizabeth Chastain
  2003-09-18 20:29 ` Joel Brobecker
  2003-09-18 20:34 ` y2bismil
  0 siblings, 2 replies; 11+ messages in thread
From: Michael Elizabeth Chastain @ 2003-09-18 20:25 UTC (permalink / raw)
  To: gdb, y2bismil

> Does anyone know the location of a list of supported debug format by gdb?

dwarf 1, dwarf 1+
dwarf 2
stabs, stabs+
coff, xcoff, xcoff+
mdebug

Also, I'm not sure whether "hp" is an object code format or a debug
format.

Michael C

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: open watcom
@ 2003-09-18 21:11 Michael Elizabeth Chastain
  2003-09-18 21:20 ` y2bismil
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Elizabeth Chastain @ 2003-09-18 21:11 UTC (permalink / raw)
  To: gdb, y2bismil

Check the switches for open watcom.  It's likely that you need to
specify debug switches both at compile time *and* link time when
building your program.

gdb automatically detects debug type.

I know that other people have used dwarf 1, and I ran the gdb test
suite on it earlier this year.  So I know that gdb does automatically
detect and use dwarf-1 debug information with gcc -gdwarf.

Michael C

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: open watcom
@ 2003-09-18 21:54 Michael Elizabeth Chastain
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Elizabeth Chastain @ 2003-09-18 21:54 UTC (permalink / raw)
  To: gdb, y2bismil

Well, I think you are stuck:

  gdb doesn't support open watcom.
  open watcom has no documentation that I could find about gdb.
  google "open watcom gdb" did not find anybody talking about
    using open watcom and gdb.

You could ask on an open watcom list if open watcom interacts with gdb,
and if anyone has actually used that combination.

I suggest that you check out the debugger that comes with Open Watcom.

I will file an enhancement request against gdb to add support for
open watcom.  It is a lot of work to add support for a new compiler;
someone would have to volunteer to do this work.

Open Watcom is licensed under the Sybase Open Watcom Public License,
which is an OSI-approved open source license.  So I think it would be
reasonable to consider adding support for this compiler, if a volunteer
steps up.

Michael C

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

end of thread, other threads:[~2003-09-19 14:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1063899004.27567.ezmlm@sources.redhat.com>
2003-09-18 17:10 ` vast numbers of unimplemented MI commands Jim Ingham
2003-09-19 14:50   ` Alain Magloire
2003-09-19 14:53     ` open watcom y2bismil
2003-09-18 20:21 y2bismil
2003-09-18 20:25 Michael Elizabeth Chastain
2003-09-18 20:29 ` Joel Brobecker
2003-09-18 20:34 ` y2bismil
2003-09-18 21:11 Michael Elizabeth Chastain
2003-09-18 21:20 ` y2bismil
2003-09-18 22:44   ` Jim Blandy
2003-09-18 21:54 Michael Elizabeth Chastain

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