Andrew Pinski wrote:

On Jun 6, 2006, at 10:34 PM, Devang Patel wrote:

Andrew Pinski wrote:

On Jun 6, 2006, at 9:49 PM, Devang Patel wrote:
We can allocate space in numbering for vendor extensions.

What happens when you compile two sources with two different compilers and they
use the same number for vendor extension?

What happens when another compiler uses 0x4104 TAG value for
something else and GCC uses it for DW_TAG_GNU_BINCL ?

Not my fault

Read your question, my reply question and your answer.
and not really related because we are creating a new standard and
don't want to repeat this mistake, messages don't have this issue.

You just end up with weird results
in the IDE or performance analysis program.
Also what happens after you fill up the vendor extension range?
What happens when vendor extension range for TAGs and Attributes are full ?

Who cares,

Again, read your question, my reply question and your answer.
Tell me, why should n't I laugh ? :) :)

Is it constructive (and appropriate? but hey I'm DWARF newbie myself) to declare
DWARF standard limited and full of mistakes ?
we are trying making something which is useful and not making something which
is going to be limited.

Also what happens when you change your compiler but not IDE, but you don't
want to update the IDE?
What happens when GCC adds new DWARF extension but you do not want
to update GDB ?

Again, we are trying to make something useful and extendable. If you don't
care about usefulness and extendibility then go ahead and use numbers.

Read proposal again. There is one thing in proposal that allows to handle similar
situation for diary messages in nicer way.

Having the message gets rid of having duplicated code in each program that processes
the numbers, you have the message right away without doing extra work.
Do you ever wonder why errno is number and not error string ?

You really should listen to Daniel Berlin if you ever want this to be officially
part of the dwarf2 standard.  Remember he is part of the committee there.

Well, I've hunch that if he has to cast vote then he will do it based on technical merits and he will not cast vote based on his or someone else's initial position.

-
Devang

Reply via email to