This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFC: change debug pseudo-type for vectors


DJ Delorie <dj@redhat.com> writes:

>> Errr, GDB will run into the same exact problem, when passing it as
>> an argument to functions you calll.
>
> So the basic answer is "sorry, you're screwed" ?  I really don't want
> to tell a customer that when the information gdb is printing is so
> obviously wrong.
Well, you can't do it without special casing it in gdb. At least, not
easily.

We can't change the debug info output, that would screw other
debuggers.
We don't want to introduce GDB specific extensions to DWARF2/etc just
to handle this case (IE at DW_AT_GNU_show_as or something).

It's a "your damned if you do, your damned if you don't" situation.


--Dan

-- 
"The other day when I was walking through the woods, I saw a
rabbit standing in front of a candle making shadows of people on
a tree.
"-Steven Wright


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]