From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75859 invoked by alias); 28 Sep 2016 15:31:31 -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 75803 invoked by uid 89); 28 Sep 2016 15:31:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=H*r:bizsmtp X-HELO: p3plwbeout03-01.prod.phx3.secureserver.net Received: from p3plsmtp03-01-2.prod.phx3.secureserver.net (HELO p3plwbeout03-01.prod.phx3.secureserver.net) (72.167.218.213) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Sep 2016 15:31:24 +0000 Received: from localhost ([72.167.218.133]) by p3plwbeout03-01.prod.phx3.secureserver.net with bizsmtp id p3XP1t0022tGlPL013XPyB; Wed, 28 Sep 2016 08:31:23 -0700 X-SID: p3XP1t0022tGlPL01 Received: (qmail 23580 invoked by uid 99); 28 Sep 2016 15:31:23 -0000 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" User-Agent: Workspace Webmail 6.5.0 Message-Id: <20160928083121.5c1bb9f86d671edec44bb378f25c04cc.5416b9a60c.wbe@email03.godaddy.com> From: To: "Nikolay Martyanov" , gdb@sourceware.org Subject: RE: Custom core file Date: Wed, 28 Sep 2016 15:31:00 -0000 Mime-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00070.txt.bz2 >> So, I guess, dump/restore approach works only in two cases: >> a) debugging live process you have attached to (it's not my case, as I=20 >> perform postmortem debug) >> b) already has loaded core file, which provides a context via saved CPU= =20 >> state - and it is the way I chose to follow. For step (B) - first load a dummy (tiny) standard core file - that gives you a debug context, think of it as a shim. Then proceed with adding your symbols and using dump/restore to load your image.