From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24002 invoked by alias); 17 Aug 2009 18:34:13 -0000 Received: (qmail 23994 invoked by uid 22791); 17 Aug 2009 18:34:13 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Aug 2009 18:34:01 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7HIXxg3025537 for ; Mon, 17 Aug 2009 14:33:59 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n7HIXvbj019066; Mon, 17 Aug 2009 14:33:58 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7HIXuxO025402; Mon, 17 Aug 2009 14:33:56 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id EC1BB3782CD; Mon, 17 Aug 2009 12:33:55 -0600 (MDT) From: Tom Tromey To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] [ia64] No start when GDB built with -lmcheck References: <20090816185543.GA19581@host0.dyn.jankratochvil.net> Reply-To: tromey@redhat.com Date: Mon, 17 Aug 2009 18:50:00 -0000 In-Reply-To: <20090816185543.GA19581@host0.dyn.jankratochvil.net> (Jan Kratochvil's message of "Sun, 16 Aug 2009 20:55:43 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-08/txt/msg00252.txt.bz2 >>>>> "Jan" == Jan Kratochvil writes: Jan> 2009-08-16 Jan Kratochvil Jan> Fix ia64 start crash when GDB built with -lmcheck. Jan> * ia64-tdep.c (ia64_gdbarch_init): Allocate TDEP as cleared. I think if you go this route, you should remove the redundant initializations a couple lines down: tdep->sigcontext_register_address = 0; tdep->pc_in_sigtramp = 0; Or, initialize the new field there. Either approach is pre-approved. Tom