From mboxrd@z Thu Jan 1 00:00:00 1970 From: Motohiko.Nagano@jp.sony.com To: gdb@sourceware.cygnus.com Subject: Does Gdb for win32 exist? Date: Wed, 28 Jun 2000 18:21:00 -0000 Message-id: <7840643F05B5D3119B9A0000F807175702BD85DE@SJP01014> X-SW-Source: 2000-06/msg00199.html 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 >From zuav@int.spb.ru Fri Jun 30 02:05:00 2000 From: Alexander Zhuckov 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: X-SW-Source: 2000-06/msg00200.html Content-length: 582 Daniel Berlin 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 To: Alexander Zhuckov Cc: gdb@sourceware.cygnus.com Subject: Re: namespaces and gdb Date: Fri, 30 Jun 2000 07:28:00 -0000 Message-id: 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 |c++filt|grep -i 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