This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Using typeinfo functions to determine RTTI
- To: gdb-patches at sources dot redhat dot com
- Subject: Re: Using typeinfo functions to determine RTTI
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 03 May 2000 09:41:50 -0600
- Newsgroups: cygnus.patches.gdb
- Organization: Cygnus Solutions
- References: <Pine.LNX.4.10.10005020923450.14281-100000@propylaea.anduin.com> <npu2ggf8g3.fsf@zwingli.cygnus.com>
- Reply-To: tromey at cygnus dot com
>> Does anyone mind if i use the typeinfo functio name, rather than
>> the virtual table name, to figure out th real type of an object? It
>> only matters if someone does -fno-rtti, i believe. But I have no
>> idea how many people actually use that flag to save time/space in
>> debugging executables.
Jim> Almost all of Cygnus's customers use GDB to debug embedded apps,
Jim> and space is often an issue there. But I don't actually know how
Jim> many of them use -fno-rtti.
All Java programs are compiled with -fno-rtti. This includes the C++
component. So presumably if this change is made it will make it even
harder for me to debug libgcj.
Tom