Re: winedbg and loading symbols

2003-09-19 Thread Michael Ost

Great, thanks! And it looks like gdb 5.2.1 has no problem with stabs
format, or with mixed dwarf and stabs formats.

So, has anyone looked into adapting, say, kdbg, to run winedbg commands?

Cheers (you made my day!) ... mo

On Fri, 2003-09-19 at 10:09, Eric Pouech wrote:
> Michael Ost wrote:
> > Howdy, list.
> > 
> > I can't figure out how to get winedbg (6/18/03 build) to load my
> > application's symbol table. I am writing an ELF application which uses
> > the wine libraries, and trying to debug it with winedbg. 
> you're using gcc >= 3.2, aren't you ?
> you need to compile with -gstabs. Default debug format changed in latest 
> gcc versions from stabs to dwarf2. WineDbg supports the former but not 
> the later.
> 
> A+
> 
> -- 
> Eric Pouech





Re: winedbg and loading symbols

2003-09-19 Thread Eric Pouech
Michael Ost wrote:
Great, thanks! And it looks like gdb 5.2.1 has no problem with stabs
format, or with mixed dwarf and stabs formats.
So, has anyone looked into adapting, say, kdbg, to run winedbg commands?
http://www.winehq.com/site/docs/wine-devel/dbg-others
A+
--
Eric Pouech



Re: winedbg and loading symbols

2003-09-19 Thread Eric Pouech
Michael Ost wrote:
Howdy, list.

I can't figure out how to get winedbg (6/18/03 build) to load my
application's symbol table. I am writing an ELF application which uses
the wine libraries, and trying to debug it with winedbg. 
you're using gcc >= 3.2, aren't you ?
you need to compile with -gstabs. Default debug format changed in latest 
gcc versions from stabs to dwarf2. WineDbg supports the former but not 
the later.

A+

--
Eric Pouech



winedbg and loading symbols

2003-09-19 Thread Michael Ost
Howdy, list.

I can't figure out how to get winedbg (6/18/03 build) to load my
application's symbol table. I am writing an ELF application which uses
the wine libraries, and trying to debug it with winedbg. 

I can run that program fine, but when it loads the shared library built
by winebuild (rm-host.exe.so) it says that there is no debug information
in the ELF shared library. The file is built with -g, and 'nm' shows
symbols galore.

I tried using the 'symbolfile' command. The docs suggest that it would
help, but I can't figure out what sort of 'path' argument it wants.
Here's what I typed:

Wine-dbg>symbolfile /home/most/src/rm-host/x86/rm-host.exe.so
Parse error
Wine-dbg>symbolfile F:\src\rm-host\x86\rm-host.exe.so
Parse error

Any suggestions? By the way has anyone got a GUI front end to winedbg in
the works (ala kdbg for gdb)? I'd love to ge my hands on it.

- mo

PS: Sorry if this isn't the right forum, perhaps it's not a developer
topic. But I can't find any other useful resources.