[patch] handle core file names without a pid suffix

2014-01-06 Thread Matthias Klose
The following fix is needed when /proc/sys/kernel/core_uses_pid is set to 0. try to rename the core file, and if it does still fail, skip the test. Matthias --- elfutils-0.158.orig/tests/backtrace-subr.sh +++ elfutils-0.158/tests/backtrace-subr.sh @@ -111,6 +111,11 @@ check_native_core() #

Re: [PATCH] stack: Add new '-n MAXFRAMES' option. Resolve addresses after unwind.

2014-01-06 Thread Jan Kratochvil
On Mon, 06 Jan 2014 15:52:08 +0100, Mark Wielaard wrote: > The default output should be useful as is. Which it is not. As for the common case of stack overflow by infinite loop it does not show the reason. > Of course they can tweak if however they want. > eu-stack has many options to tailor th

Re: [PATCH] libdw: Try .gnu_debugaltlink paths relative to the debug file

2014-01-06 Thread Petr Machata
Mark Wielaard writes: > On Mon, 2013-12-16 at 11:16 -0800, Josh Stone wrote: >> Is that a problem to use libelfP.h? I see this going on elsewhere, in >> elflint, readelf, libdw/cfi.h, and a few places in libdwfl. At least >> fildes is a pretty unassuming detail of the implementation, IMO. > > I

Re: [PATCH] stack: Add new '-n MAXFRAMES' option. Resolve addresses after unwind.

2014-01-06 Thread Mark Wielaard
On Mon, 2014-01-06 at 12:57 +, Pedro Alves wrote: > On 01/03/2014 10:23 PM, Mark Wielaard wrote: > > > But I don't agree that there shouldn't be any limit in eu-stack by default. > > Generating hunderd thousands lines of output is not a good default. > > My 0.02€: > Are you thinking of users

Re: [PATCH] stack: Add new '-n MAXFRAMES' option. Resolve addresses after unwind.

2014-01-06 Thread Pedro Alves
On 01/03/2014 10:23 PM, Mark Wielaard wrote: > But I don't agree that there shouldn't be any limit in eu-stack by default. > Generating hunderd thousands lines of output is not a good default. My 0.02€: Are you thinking of users typing in the terminal? IMO if the user asks for the backtrace, she

elfutils 0.158 released

2014-01-06 Thread Mark Wielaard
A new release of elfutils is available now at: https://fedorahosted.org/releases/e/l/elfutils/0.158/ * NEWS * Version 0.158 libdwfl: dwfl_core_file_report has new parameter executable. New functions dwfl_module_getsymtab_first_global, dwfl_module_getsym_info and dwfl_module_add