From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31715 invoked by alias); 8 Mar 2011 18:15:39 -0000 Received: (qmail 31654 invoked by uid 22791); 8 Mar 2011 18:15:37 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Mar 2011 18:15:30 +0000 Received: (qmail 24093 invoked from network); 8 Mar 2011 18:15:28 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Mar 2011 18:15:28 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: RFC: lazily call save_current_space_and_thread Date: Tue, 08 Mar 2011 18:37:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-27-generic; KDE/4.6.1; x86_64; ; ) Cc: Tom Tromey , Jan Kratochvil References: <201103081802.35770.pedro@codesourcery.com> In-Reply-To: <201103081802.35770.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103081815.25814.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-03/txt/msg00551.txt.bz2 On Tuesday 08 March 2011 18:02:35, Pedro Alves wrote: > I suspect it's related to spawning iconv (or rather, that's > triggering some bug). Err, I must have blown a fuse or something. That example was me running gdb under gdb, and doing "run", with the options you posted. Naturaly, the inferior gdb is spawning iconv, and the superior gdb catches that. That is triggering some bug, which may not even be what you're seeing, but it's most likely irrevelant _what_ does the inferior spawn, as long as it spawns something. Errors accessing memory like in my previous post are usually caused by gdb reading/writing to/from the wrong process.. -- Pedro Alves