This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Strange - Value can't be converted to integer.
- To: <gdb at sourceware dot cygnus dot com>
- Subject: Strange - Value can't be converted to integer.
- From: "Gianni Mariani" <gianni at mariani dot ws>
- Date: Tue, 21 Aug 2001 09:26:47 -0700
- Cc: <gmariani at chaincast dot com>
With this morning's snapshot on the 5.0.1 branch I am getting
strange behaviour. I compiled gdb using gcc 3.0 on Linux
system with binutils 2.11.2 and base RH7.1 glibc.
gdb v5 gives the message "virtual baseclass botch" in the same
place.
The snippet below shows a debug session. It seems I just can't
de-reference anything from this class.
Any ideas ?
307 {
308 m_errorReporter = w_er;
309 w_lenused = 0;
310
311 // Check to see if we're ready to parse more stuff
312 if ( ! m_parse_complete ) {
313
314 // The parsing comes in 3 parts -
315 // 1. HTTP response e.g."HTTP/1.0 200"
316 // 2. HTTP headers delimited by two new lines
(gdb) print this
$1 = (MessageParseBase_IMPL *) 0x402cefcc
(gdb) print this[0]
Value can't be converted to integer.
(gdb) print *this
Value can't be converted to integer.
(gdb) print this
$2 = (MessageParseBase_IMPL *) 0x402cefcc
(gdb) print *(MessageParseBase_IMPL *) 0x402cefcc
Value can't be converted to integer.
(gdb) print m_parse_complete
Value can't be converted to integer.