This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: backtrace semantics


On Sun, Jan 20, 2013 at 5:26 PM, David Miller <davem@davemloft.net> wrote:
> From: "Carlos O'Donell" <carlos@systemhalted.org>
>> 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.

Cheers,
Carlos.


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