Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Does Gdb for win32 exist?
@ 2000-06-28 18:21 Motohiko.Nagano
  0 siblings, 0 replies; only message in thread
From: Motohiko.Nagano @ 2000-06-28 18:21 UTC (permalink / raw)
  To: gdb

Is there GDB which meet the following 3 requirements?

* Can "target exec" win32 native program (for example, notepad.exe)
* Can debug multi-thread program
* Can signal

I want to use GDB on Windows98 or Windows 2000.

Using gdb in cygwin1.1.2, I get the following error. 

(gdb) target exec E:\\WINNT\\notepad.exe
"E:\WINNT\notepad.exe": not in executable format: File format not recognized

Using gdb in cygwin B20.1,  I cannnot debug multi-thread program.

If someone knows the GDB which meet the requirements, please tell me it.


Thanks

Motohiko Nagano <moto@xd5.so-net.ne.jp>
From zuav@int.spb.ru Fri Jun 30 02:05:00 2000
From: Alexander Zhuckov <zuav@int.spb.ru>
To: gdb@sourceware.cygnus.com
Subject: Re: namespaces and gdb
Date: Fri, 30 Jun 2000 02:05:00 -0000
Message-id: <87vgyrlfap.fsf@ithilien.int.spb.ru>
References: <Pine.LNX.4.10.10006281027001.6466-100000@propylaea.anduin.com>
X-SW-Source: 2000-06/msg00200.html
Content-length: 582

Daniel Berlin <dan@cgsoftware.com> writes:
> p 'Foo::version'
> I'm trying to remember if i made it possible to just do p Foo::version, i
> know i did it with templates.
> If you don't want to have to quote it, try the latest CVS version of gdb,
> and tell me if i fixed that (Bell Atlantic DSL is down right now, or else
> i'd do a checkout myself).

Thank you very much! I tried it (p 'Foo::version') in gdb 5.0 and it works.
And now I have one more question: how I can examine a value of a variable
in anonymous namespace?
-- 
Alexander Zhuckov   zuav@int.spb.ru   2:5030/518.50
From dan@cgsoftware.com Fri Jun 30 07:28:00 2000
From: Daniel Berlin <dan@cgsoftware.com>
To: Alexander Zhuckov <zuav@int.spb.ru>
Cc: gdb@sourceware.cygnus.com
Subject: Re: namespaces and gdb
Date: Fri, 30 Jun 2000 07:28:00 -0000
Message-id: <Pine.LNX.4.21.0006300724580.2963-100000@propylaea.anduin.com>
References: <87vgyrlfap.fsf@ithilien.int.spb.ru>
X-SW-Source: 2000-06/msg00201.html
Content-length: 587

On 30 Jun 2000, Alexander Zhuckov wrote:

> 
> Thank you very much! I tried it (p 'Foo::version') in gdb 5.0 and it works.
> And now I have one more question: how I can examine a value of a variable
> in anonymous namespace?
> 
You have to know how it's really being named. nm <your
executable>|c++filt|grep -i <the variable name>
See, the real problem is that namespaces don't generate any debug info,
and aren't symbols, so they don't really exist, so to speak.
The reason quoting it works is because it also matches it against the
demangled names.
--Dan
C++ Support Maintainer - GDB


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-28 18:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-28 18:21 Does Gdb for win32 exist? Motohiko.Nagano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox