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: dlmopen and core dumps


"Carlos O'Donell" <carlos@systemhalted.org> writes:

> On 12/19/2012 01:05 PM, Jan Kratochvil wrote:
>> On Sat, 15 Dec 2012 01:20:03 +0100, Carlos O'Donell wrote:
>>> Why not just run a generic program, or rather a python script?
>>
>> Python is needlessly expensive.  There does not exist only GDB, there exist
>> other smaller tools examining external programs which can for example run on
>> embedded targets.
>
> Do you have examples of such tools that I can go look at?

I suppose ltrace fits the bill.  Embedded crowd even seems to have some
interest in it (I've seen several MIPS-related bug reports over the past
year).  It's a small tool (the binary is about 200K), and linking in
close to 2M worth of libpython is something I'd rather not do.

I find the declarative approach very attractive.  Using specifically
Dwarf seems like an obvious choice.  Putting together a parser for Dwarf
expressions wouldn't be a big deal, and failing that, even the whole of
eu-libdw is not huge.

Thanks,
PM


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