From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16606 invoked by alias); 17 Aug 2002 00:08:38 -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 16599 invoked from network); 17 Aug 2002 00:08:37 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 17 Aug 2002 00:08:37 -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 g7GNsbl24980 for ; Fri, 16 Aug 2002 19:54:38 -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 g7H08Tu04507; Fri, 16 Aug 2002 20:08:30 -0400 Received: from romulus.sfbay.redhat.com (IDENT:4S3qfhTgb/lPu/WPPE1se5LNVyf9akdG@romulus.sfbay.redhat.com [172.16.27.251]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g7H08Re30613; Fri, 16 Aug 2002 17:08:27 -0700 Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g7H08PI32706; Fri, 16 Aug 2002 17:08:25 -0700 Date: Fri, 16 Aug 2002 17:08:00 -0000 From: Kevin Buettner Message-Id: <1020817000824.ZM32705@localhost.localdomain> In-Reply-To: william@nscs.fast.net "Re: ChangeLog entry, re: gdb-5.2 and SCO OpenServer 5.0.5" (Aug 16, 6:18pm) References: <200208161749.aa10539@mip486.nscs.fast.net> <1020816220813.ZM31901@localhost.localdomain> <200208161818.aa10685@mip486.nscs.fast.net> To: william@nscs.fast.net, kevinb@redhat.com Subject: Re: ChangeLog entry, re: gdb-5.2 and SCO OpenServer 5.0.5 Cc: ac131313@ges.redhat.com, gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-08/txt/msg00475.txt.bz2 I've just committed the change below to the 5.2 branch (just in case it becomes necessary to release a 5.2.2 version of GDB). Thanks, William! Kevin 2002-08-16 William Bader * i386-tdep.c (get_longjmp_target): Dynamically allocate ``buf''. Index: i386-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386-tdep.c,v retrieving revision 1.52 diff -u -p -r1.52 i386-tdep.c --- i386-tdep.c 19 Feb 2002 18:42:27 -0000 1.52 +++ i386-tdep.c 16 Aug 2002 23:53:07 -0000 @@ -858,7 +858,7 @@ i386_pop_frame (void) int get_longjmp_target (CORE_ADDR *pc) { - char buf[TARGET_PTR_BIT / TARGET_CHAR_BIT]; + char *buf = alloca (TARGET_PTR_BIT / TARGET_CHAR_BIT); CORE_ADDR sp, jb_addr; sp = read_register (SP_REGNUM);