This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: enhance .loc directive for dwarf3 special features
On Wed, Sep 07, 2005 at 11:12:04AM -0700, Richard Henderson wrote:
> On Wed, Sep 07, 2005 at 01:50:33PM -0400, Daniel Jacobowitz wrote:
> > > 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".
>
> Fair enough; a letter beginning the third argument means no column
> number present.
Works for me.
I'm not violently attached to this idea if you think the separate .loc
is cleaner.
--
Daniel Jacobowitz
CodeSourcery, LLC