From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,392a654c4e778943 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: GDB 2.8.1 defect References: <1132317809.937986.140480@g49g2000cwa.googlegroups.com> <1132444533.17109.3.camel@sonnenregen> From: Brian May Date: Thu, 24 Nov 2005 18:01:15 +1100 Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:ESE47jMZcISgRJKsbYa2ayr34dM= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: snoopy.microcomaustralia.com.au X-Trace: news.melbourne.pipenetworks.com 1132815675 202.173.153.89 (24 Nov 2005 17:01:15 +1000) X-Complaints-To: abuse@pipenetworks.com X-Abuse-Info: Please forward all headers to enable your complaint to be properly processed. Path: g2news1.google.com!news3.google.com!news.glorb.com!nntp.waia.asn.au!130.95.128.9.MISMATCH!news.uwa.edu.au!news1.optus.net.au!optus!snewsf0.syd.ops.aspac.uu.net!news.netspace.net.au!news.melbourne.pipenetworks.com!not-for-mail Xref: g2news1.google.com comp.lang.ada:6579 Date: 2005-11-24T18:01:15+11:00 List-Id: >>>>> "Anonymous" == Anonymous Coward writes: Anonymous> tbreak gdb_final_failure.adb:5 Anonymous> run Anonymous> finish # observe that it claims to return ~-1.999 Anonymous> next Anonymous> info locals # notice that it actually returned 5.5 on debian/sarge, powerpc, gnat 3.15p-12 compiler: # gdb gdb_final_failure GNU gdb 6.3-debian Copyright 2004 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 "powerpc-linux"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) tbreak gdb_final_failure.adb:5 Breakpoint 1 at 0x1800c2c: file gdb_final_failure.adb, line 5. (gdb) run Starting program: /home/bam/tmp/gdb_final_failure gdb_final_failure.simple_float () at gdb_final_failure.adb:5 5 return 5.5; (gdb) finish Run till exit from #0 gdb_final_failure.simple_float () at gdb_final_failure.adb:5 0x01800c68 in gdb_final_failure () at gdb_final_failure.adb:12 12 Some_Float := Simple_Float; Value returned is $1 = 5.5 (gdb) next 13 null; (gdb) info locals some_float = 5.5 (gdb) c Continuing. Program exited normally. (gdb) q It looks OK to me... -- Brian May