gdb bugs showing while working on libcwd
Carlo Wood
carlo@alinoe.com
Mon May 27 05:42:00 GMT 2002
On Mon, May 27, 2002 at 02:03:29AM -0400, Daniel Jacobowitz wrote:
> Of course it is; it's in a namespace. Really, I don't expect any of
> what you're doing to work right now. My first stab at fixing it was a
> complete disaster, too...
That would make sense if NOTHING worked that was in a namespace.
But in many cases it does. I trust you if think this is related
to namespaces being unsupported, but never say 'of course'.
Because the whole standard resides in std::, this must be the
reason that gdb is virtually unusable with C++ :/
(gdb) p result
$2 = {static npos = Cannot access memory at address 0x8416bc4
(gdb) p buf
$1 = {<basic_iostream<char,std::char_traits<char> >> = {<basic_istream<char,std::char_traits<char> >> =
{<basic_ios<char,std::char_traits<char> >> = {<ios_base> = {static boolalpha = Cannot access memory at address 0x0
But if you ask me, it is more related to static members than
to namespaces...
--
Carlo Wood <carlo@alinoe.com>
More information about the Gdb
mailing list