From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14115 invoked by alias); 1 Mar 2011 23:25:33 -0000 Received: (qmail 14103 invoked by uid 22791); 1 Mar 2011 23:25:32 -0000 X-SWARE-Spam-Status: No, hits=-5.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Mar 2011 23:25:28 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 65ED59002 for ; Tue, 1 Mar 2011 15:25:27 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost3.vmware.com (Postfix) with ESMTP id 5B4B0CD9F2 for ; Tue, 1 Mar 2011 15:25:27 -0800 (PST) Message-ID: <4D6D8067.9090802@vmware.com> Date: Tue, 01 Mar 2011 23:25:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101201) MIME-Version: 1.0 To: "gdb@sourceware.org" Subject: question, xmalloc and gdbserver? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-03/txt/msg00004.txt.bz2 What's the policy about using malloc vs. xmalloc in gdbserver? I notice both are used, with xmalloc being favored, but there are still quite a few calls to malloc.