enhance .loc directive for dwarf3 special features

Daniel Jacobowitz drow@false.org
Wed Sep 7 17:56:00 GMT 2005


On Wed, Sep 07, 2005 at 10:44:05AM -0700, Richard Henderson wrote:
> On Wed, Sep 07, 2005 at 09:28:56AM -0400, Daniel Jacobowitz wrote:
> > Hmm, I would have expected:
> > 
> > 	.loc [FILE LINE [COLUMN]] [basic_block] [is_stmt [VALUE]]
> > 
> > et cetera.  I think it's still unambiguous.  The chattier we make these
> > things, the longer it'll take to assemble them... but probably not a
> > big deal.
> 
> I suppose that's possible as well, yes.  I hadn't liked that because
> it makes the column number non-optional, but having the user add the
> one zero is not that big a deal.

It shouldn't... none of the new qualifiers start with a number. 
basic_block consumes one item, is_stmt consumes one and another if it's
a number, require file/line/optional-column to appear first in the list
to prevent ambiguity in ".loc is_stmt 1 1 1".

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Binutils mailing list