From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20575 invoked by alias); 27 Oct 2003 18:58:54 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 20563 invoked from network); 27 Oct 2003 18:58:54 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 27 Oct 2003 18:58:54 -0000 Received: from redhat.com (topaz.toronto.redhat.com [172.16.14.227]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 938508001D4 for ; Mon, 27 Oct 2003 13:58:53 -0500 (EST) Message-ID: <3F9D6AED.20701@redhat.com> Date: Mon, 27 Oct 2003 18:58:00 -0000 From: Dave Brolley Organization: Red Hat Canada, Ltd User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021216 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sid@sources.redhat.com Subject: [patch] Initialize 'gprof' in BoardCfg () Content-Type: multipart/mixed; boundary="------------080507020700000207050105" X-SW-Source: 2003-q4/txt/msg00035.txt.bz2 This is a multi-part message in MIME format. --------------080507020700000207050105 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 184 I've committed the attached patch which initializes the 'gprof' member of BoardCfg. This fixes a Segmentation Fault in code which assumes it has been initialized if not NULL. Dave --------------080507020700000207050105 Content-Type: text/plain; name="sid-main.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sid-main.patch.txt" Content-length: 534 Index: commonCfg.cxx =================================================================== RCS file: /cvs/src/src/sid/main/dynamic/commonCfg.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -c -p -r1.5 -r1.6 *** commonCfg.cxx 21 Oct 2003 21:39:04 -0000 1.5 --- commonCfg.cxx 27 Oct 2003 18:55:34 -0000 1.6 *************** BoardCfg::BoardCfg (const string name, *** 869,874 **** --- 869,875 ---- cpu (NULL), gdb (NULL), gloss (NULL), + gprof (NULL), main_mapper (NULL), icache (NULL), dcache (NULL), --------------080507020700000207050105--