This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/505: erroneous assignment to double when linked with libefence
- From: cmaloney at physics dot ucsb dot edu
- To: gdb-gnats at sources dot redhat dot com
- Date: 22 Apr 2002 21:21:58 -0000
- Subject: gdb/505: erroneous assignment to double when linked with libefence
- Reply-to: cmaloney at physics dot ucsb dot edu
>Number: 505
>Category: gdb
>Synopsis: erroneous assignment to double when linked with libefence
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 22 14:28:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Craig Maloney
>Release: GNU gdb 5.1.1
>Organization:
>Environment:
libc6-2.2.5
linux (debian woody): Linux version 2.4.16-k7 (herbert@gondolin) (gcc version 2.95.4 20011006 (Debian
prerelease)) #1 Wed Nov 28 11:06:52 EST 2001
>Description:
When linked against libefence (electric fence), assignment
to a double is erroneous when stepped through. When stepped
over, no erroneous assignment occurs.
Problem not reproducible on x86 gdb4.1
>How-To-Repeat:
compile line:
gcc -g -lefence declare-assign-bug.c
run code in debugger. step through line where assignment
occurs to produce error. step over line where assignment
occurs for no error.
>Fix:
step over any code where assignment occurs???
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-csrc; name="declare-assign-bug.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="declare-assign-bug.c"
I2luY2x1ZGUgPHN0ZGxpYi5oPgptYWluKGludCBhcmdjLCBjaGFyKiogYXJndil7CiAgZG91Ymxl
IHZhbGRvdWJsZTsKICBpZihhcmdjIT0yKXsKICAgIGV4aXQoRVhJVF9GQUlMVVJFKTsKICB9CiAg
dmFsZG91YmxlID0gYXRvZihhcmd2WzFdKTsKICBwcmludGYoIiVmXG4iLHZhbGRvdWJsZSk7Cn0K