Re: Minimal core dump mapping set
Antoine Tremblay <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Кукушкин Павел Геннадьевич 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