This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [Keith Seitz] Re: [tools-team] Status 2008-09-01
- From: Tom Tromey <tromey at redhat dot com>
- To: Dragos Tatulea <dragos dot tatulea at gmail dot com>
- Cc: keiths at redhat dot com, archer at sourceware dot org, jan dot kratochvil at redhat dot com, cmoller at redhat dot com
- Date: Fri, 25 Sep 2009 12:40:12 -0600
- Subject: Re: [Keith Seitz] Re: [tools-team] Status 2008-09-01
- References: <6d1764b50909230708l60a4be26ocf3bf6aef198710@mail.gmail.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Dragos" == Dragos Tatulea <dragos.tatulea@gmail.com> writes:
Dragos> I changed objectprint to on by default on Jan's suggestion, but
Dragos> this breaks some other cases like this one (from ptr-typedef
Dragos> test)
Dragos> gdb> p foz_ptr
Dragos> $1 = (struct foo *) 0x0
Dragos> instead of
Dragos> (foz*)
This seems like a generic bug, though. So, it could be fixed either
separately or at the same time the default is flipped.
Dragos> Back to the previous case: Jan suggested printing an
Dragos> error/warning for the user saying that the ptr has a different
Dragos> type (and maybe printing the type). What do you think?
I think it depends on how often the warning would trigger, and where it
would be printed (e.g., would it show up mid-struct?).
Tom