From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5507 invoked by alias); 26 Aug 2002 21:22:43 -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 5499 invoked from network); 26 Aug 2002 21:22:42 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 26 Aug 2002 21:22:42 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g7QL7ml06053 for ; Mon, 26 Aug 2002 17:07:48 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g7QLMdu16018; Mon, 26 Aug 2002 17:22:39 -0400 Received: from romulus.sfbay.redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g7QLMbe09880; Mon, 26 Aug 2002 14:22:38 -0700 Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g7QLMUZ32375; Mon, 26 Aug 2002 14:22:30 -0700 Date: Mon, 26 Aug 2002 15:31:00 -0000 From: Kevin Buettner Message-Id: <1020826212230.ZM32374@localhost.localdomain> In-Reply-To: Don Howard "Re: [RFA] GDB/622 - clear current breakpoint in commands causes trouble" (Aug 23, 10:48am) References: To: Don Howard , Michael Snyder Subject: Re: [RFA] GDB/622 - clear current breakpoint in commands causes trouble Cc: Joel Brobecker , MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-08/txt/msg00868.txt.bz2 On Aug 23, 10:48am, Don Howard wrote: > One question: is it important to use xstrdup() over > plain strdup()? Don is right, xstrdup() should be used instead of strdup(). If there's some good reason to prefer strdup(), then the return value needs to be checked. (Joel's 2002-07-31 patch isn't doing this.) Kevin