From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25665 invoked by alias); 29 Jan 2004 14:06:04 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25642 invoked from network); 29 Jan 2004 14:06:03 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 29 Jan 2004 14:06:03 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D2B6C2B92; Thu, 29 Jan 2004 09:02:35 -0500 (EST) Message-ID: <4019127B.5000104@gnu.org> Date: Thu, 29 Jan 2004 14:06:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Paul Hilfinger Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Test for double freeing in breakpoint_re_set_one References: <20040113100600.42C1FF2D70@nile.gnat.com> <40171150.5080708@gnu.org> <40171322.7080704@gnu.org> <20040128123010.A0ED8F28D8@nile.gnat.com> <40181BCC.6050007@gnu.org> <20040129111605.AAD2BF2EBD@nile.gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-01/txt/msg00740.txt.bz2 > Per Andrew's request, I have added the following test to the testsuite > in gdb.base. This particular problem, since it involves memory corruption, > won't reliably show itself (i.e., on earlier versions of GDB) unless one > is "lucky" enough to have it cause a segmentation fault or one is using > a checked version of malloc/free in GDB. I will leave to others Andrew's > question concerning file descriptors on IDT/SIM. Just FYI, I did some digging. The IDT/SIM problem would have been on cygwin. The simulators would hold open the executable making the instalation of a new one impossible. Since the simulators now close the bfd cache (releasing the executable) that specific problem will no longer occure. However, I think GDB still keeps the executable open leading to the second of the problems. Andrew