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 Sat, Jan 19, 2013 at 10:43 AM, David Miller <davem@davemloft.net> wrote:
>> I'd say you should always list the caller of backtrace() in the frame.
>>
>> In gdb when you issue `bt' you always get the caller in the backtrace.
>
> Fair enough, I'll fix sparc to match.
>
> I hope other port maintainers are paying attention :-)

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.

Cheers,
Carlos.


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