This is the mail archive of the
mailing list for the glibc project.
Re: backtrace semantics
On Sun, Jan 20, 2013 at 5:26 PM, David Miller <firstname.lastname@example.org> wrote:
> From: "Carlos O'Donell" <email@example.com>
>> Don't sound so defeatist. If you really want to be
>> different try coming up with some creative counter
>> arguments? :-)
>> As a user *I* want to see all the frames from the point
>> at which the function call occurs. It seems most
>> logical to me that the frame I'm in should be included.
> You don't know what function you're in when you make the backtrace()
> call? :-)
At the time I wrote the code, probably, by the time I've spent
several days debugging, probably not. :-)
> That's my argument for not including it.
It's actually a decent argument, but by not being the expected
behaviour it's less than useful to our users.