From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24642 invoked by alias); 29 Sep 2011 13:00:44 -0000 Received: (qmail 24634 invoked by uid 22791); 29 Sep 2011 13:00:43 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Sep 2011 13:00:21 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1R9GDr-0004J3-L8 from pedro_alves@mentor.com ; Thu, 29 Sep 2011 06:00:19 -0700 Received: from scottsdale.localnet ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 29 Sep 2011 14:00:17 +0100 From: Pedro Alves To: Eli Zaretskii Subject: Re: [RFC] Crash sourcing Python script on Windows Date: Thu, 29 Sep 2011 13:19:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.1; x86_64; ; ) Cc: gdb-patches@sourceware.org, brobecker@adacore.com, maillist-gdbpatches@barfooze.de References: <1317251996-12146-1-git-send-email-brobecker@adacore.com> <201109291151.30633.pedro@codesourcery.com> <83pqijedh5.fsf@gnu.org> In-Reply-To: <83pqijedh5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201109291400.15906.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-09/txt/msg00530.txt.bz2 On Thursday 29 September 2011 13:32:06, Eli Zaretskii wrote: > > From: Pedro Alves > > Date: Thu, 29 Sep 2011 11:51:30 +0100 > > Cc: Joel Brobecker , John Spencer > > > > Try "info sharedlibrary", and you'll probably see both msvcrXX.dll > > and both msvcrt.dll loaded. > > I get an "No shared libraries loaded at this time." response to that > command. If I load a program and let it start, then I see only > msvcrt.dll, even after issuing a Python command, like "python print 23". > > Am I doing something wrong? I meant, debug gdb under gdb, and do "(top-gdb) info sharedlibrary" to see what libraries have been loaded by the inferior gdb. It sounds like you loaded some other program that is not gdb? -- Pedro Alves