From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52522 invoked by alias); 20 Apr 2016 17:00:27 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 51939 invoked by uid 89); 20 Apr 2016 17:00:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,XPRIO autolearn=no version=3.3.2 spammy=vital, Hx-languages-length:664, HX-MDAV-Processed:Apr, HX-MDAV-Processed:2016 X-HELO: relay.1c.ru Received: from relay.1c.ru (HELO relay.1c.ru) (194.190.207.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Apr 2016 16:59:56 +0000 Received: from v8mail by relay.1c.ru (MDaemon PRO v9.6.5) with ESMTP id md50043594503.msg for ; Wed, 20 Apr 2016 19:59:09 +0300 X-Spam-Processed: relay.1c.ru, Wed, 20 Apr 2016 19:59:09 +0300 (not processed: message from trusted or authenticated source) X-Return-Path: kukp@1c.ru X-Envelope-From: kukp@1c.ru X-MDaemon-Deliver-To: gdb@sourceware.org Date: Wed, 20 Apr 2016 17:00:00 -0000 From: =?utf-8?B?0JrRg9C60YPRiNC60LjQvSDQn9Cw0LLQtdC7INCT0LXQvdC90LDQtNGM?= =?utf-8?B?0LXQstC40Yc=?= Subject: =?utf-8?B?TWluaW1hbCBjb3JlIGR1bXAgbWFwcGluZyBzZXQ=?= To: =?utf-8?B?Z2RiQHNvdXJjZXdhcmUub3Jn?= Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-MDAV-Processed: relay.1c.ru, Wed, 20 Apr 2016 19:59:09 +0300 X-SW-Source: 2016-04/txt/msg00039.txt.bz2 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. Thank you for answer, Pavel Kukushkin, kukp@1c.ru