libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] [PATCH] Add coredump unwinding support to libunwin


From: Tommi Rantala
Subject: Re: [Libunwind-devel] [PATCH] Add coredump unwinding support to libunwind
Date: Fri, 10 Feb 2012 12:12:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16

On 02/09/2012 02:03 PM, ext Denys Vlasenko wrote:
Please review.

Hi, couple of comments:

I tested this quickly also on ARM (Nokia N9), and with the register remapping thing removed from _UCD_access_reg(), the example program gives backtraces that match what gdb reports for couple of coredumps.

- It would be nice if there was a way to add "backing files" to explicit address ranges (e.g. based on a copy of /proc/pid/maps taken when the process crashed). This would allow for processing of coredumps that have some of the program headers intentionally stripped to save space:
  http://gitorious.org/qa-tools/rich-core/trees/master/core-reducer

- Please do not call exit() or _exit() from the library, but fail gracefully and return some error code. I would remove the _UCD_lib.[ch] files completely.

- Please base your work against what is available in libunwind.git. That way you will also avoid changes to generated files (Makefile.in etc) in your patches.

- This one is probably obvious, but let me say it anyway: please change the indentation to match the style used in libunwind code base.

--
Tommi Rantala



reply via email to

[Prev in Thread] Current Thread [Next in Thread]