From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 3EAE72F0EA for ; Thu, 11 Jan 2001 01:47:37 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f0B6lbC23293 for axp-list@listman.redhat.com; Thu, 11 Jan 2001 01:47:37 -0500 Received: from utep.el.utwente.nl (root@utep.el.utwente.nl [130.89.30.10]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f0B6laD23289 for ; Thu, 11 Jan 2001 01:47:36 -0500 Received: from tn.utwente.nl (uttnb55.tn.utwente.nl [130.89.74.55]) by utep.el.utwente.nl (8.9.3/8.9.3) with ESMTP id HAA03506 for ; Thu, 11 Jan 2001 07:53:26 +0100 Message-ID: <3A5D571F.AB4663B@tn.utwente.nl> Date: Thu, 11 Jan 2001 07:47:59 +0100 From: "Andrei A. Dergatchev" X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en,ru MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: gdb(1) quirks ... References: <3A5CBCA0.28C891BE@cis.rit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Hi, > I just grabbed and built the gdb 5.0 and I am getting the same types > of results. Again, the "test" below may look bizarre, but trying to > do the same with two floats or doubles in a program yields the same > results. > > -- > GNU gdb 5.0 > Copyright 2000 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "alphaev56-unknown-linux-gnu". > Setting up the environment for debugging gdb. > No symbol table is loaded. Use the "file" command. > (gdb) p 1.0+1 > $1 = 0 > (gdb) Erroneous arithmetic operation. > (gdb) p 1.0+1.0 > $2 = 0 > (gdb) Currently I'm running Debian and not Redhat, I also built gdb 5.0 myself yesterday and I can't repeat the errors you're getting: Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. andrei@wit379215:~$ /usr/local/bin/gdb GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alphapca56-unknown-linux-gnu". (gdb) p 1.0+1 $1 = 2 (gdb) p 1.0+1.0 $2 = 2 (gdb) My Alpha is sx164, what is yours - LX ? Which version of glibc you're running ? > > Scott > > -- > Scott D. Brown // Scientist // brown@cis.rit.edu > Digital Imaging and Remote Sensing Lab // Rochester Institute of Technology > 54 Lomb Memorial Dr. Rochester, NY 14623 // 716.475.7194 // FX:716.475.5988 > Regards, Andrei