This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: So what is wrong with v3 C++
Christopher Faylor <cgf@redhat.com> writes:
> On Thu, Jun 28, 2001 at 08:42:26PM -0700, Michael Elizabeth Chastain wrote:
>> (gdb) p pB
>> $1 = (B *) 0x8050538
>> (gdb) p *pB
>> Value can't be converted to integer.
>
> FWIW, I've been getting these types of errors with a recent cygwin
> version of gdb, too.
>
Hmmmm.
I wonder if it's actually caused by either rtti or baseclass_offset or
something.
Michael, can you send me a stack trace?
> cgf
--
"A while ago, I went skiing in England. It was a rare package:
two weeks in England, one night in Connecticut, two weeks in
England. I said, "Yes, I'll take it." I got on this chairlift
with this guy I didn't know. We went halfway up the mountain
without saying a word. Then he turned to me and said, "You
know, this is the first time I've gone skiing in ten years." I
said, "Why did you take such a long time off?" He said, "I was
in prison. Want to know why?" I said, "Not really. Well, you
better tell me why." He said, "I pushed a total stranger off a
Ferris wheel." I said, "I remember you."
"-Steven Wright