-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hareesh Nagarajan wrote:
| Hi,
|
| I've written this simple piece of code that uses STL strings in C++
| (appears below). Now when I run GDB I get the following:
|
| 1. warning: Unable to find dynamic linker breakpoint function.
| GDB will be unable to debug shared library initializers
| and track explicitly loaded dynamic code.
|
| 2. The program being debugged stopped while in a function called from GDB.
| When the function (std::string::at(unsigned) const) is done executing,
| GDB will silently stop (instead of continuing to evaluate the
| expression containing the function call).
|
| Why on earth am I getting the second message? I am not able call the
| member functions of any container.
|
[snip]

Can you show us how you have compiled the program? I tried to reproduce
this on my box (GCC 3.4, GDB 6.0) and it works as expected (that is,
what I expected, not what you experienced ;) )

Regards,

Karsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCDKDzgUNlsZQzobwRAoI3AJ4nzorIrXY/hnJGz1y0nPeXozCiSwCgp2Cj
i0wjc8C/liApO111JCNzJr0=
=QDwD
-----END PGP SIGNATURE-----

--
[email protected] mailing list



Reply via email to