This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/821: gdb v5.2.1 build on a s390 fails in linux-s390-low.c on PT_FPRx


The following reply was made to PR gdb/821; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@mvista.com>
To: Francois.Deweulf@ca.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/821: gdb v5.2.1 build on a s390 fails in linux-s390-low.c on PT_FPRx
Date: Tue, 12 Nov 2002 12:03:47 -0500

 On Tue, Nov 12, 2002 at 04:49:06PM -0000, Francois.Deweulf@ca.com wrote:
 > 
 > >Number:         821
 > >Category:       gdb
 > >Synopsis:       gdb v5.2.1 build on a s390 fails in linux-s390-low.c on PT_FPRx
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    unassigned
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Tue Nov 12 08:58:00 PST 2002
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     François Deweulf
 > >Release:        5.2.1
 > >Organization:
 > >Environment:
 > SuSE SLES-7 (s390) - Kernel 2.4.7-timer-SMP (8)
 > GNU Make version 3.79.1
 > gcc version 3.2
 > >Description:
 > Here are the error output while trying to build gdb on this s390 box:
 > 
 > make[3]: Entering directory `/devel/eTA/gdb-5.2.1/gdb/gdbserver'
 > gcc -c -g -O2    -I. -I. -I./../regformats -I./../../include -I../../bfd -I./../../bfd linux-s390-low.c
 > linux-s390-low.c:58: `PT_FPR0' undeclared here (not in a function)
 > linux-s390-low.c:58: initializer element is not constant
 > linux-s390-low.c:58: (near initialization for `regmap[51]')
 
 What's in <asm/ptrace.h>?  Either PT_FPR0_HI or PT_FPR0 ought to be
 defined.
 
 -- 
 Daniel Jacobowitz
 MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]