This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: Minimal core dump mapping set


ÐÑÐÑÑÐÐÐ ÐÐÐÐÐ ÐÐÐÐÐÐÑÐÐÐÑ writes:

> Dear developers, 
>
> I want to generate core dump file by application itself. Of course it supposed to be compatible with gdb. When I store all anonymous mappings to the file I get no problems. I can see stacks and heaps and so forth. But I want to store only stacks without heap. So I decided to skip anonymous mappings. Here I get in trouble. Gdb can't open that kind of core. I noticed that storing last 4 anonymous  mappings (I mean in proc maps list) solves the problem. But how can I be sure that and if the  particular mapping is vital for gdb. And what do those mappings keep. 
>

Not sure about your exact issue but you may want to check
https://www.linutronix.de/minicoredumper/ if you have not already...

Regards,
Antoine


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