This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
gdb/2539: Internal GDB error on store.exp testsuite case compiled with VFP insns.
- From: sposelenov at emcraft dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 21 Oct 2008 11:05:02 -0000
- Subject: gdb/2539: Internal GDB error on store.exp testsuite case compiled with VFP insns.
- Reply-to: sposelenov at emcraft dot com
>Number: 2539
>Category: gdb
>Synopsis: Internal GDB error on store.exp testsuite case compiled with VFP insns.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Oct 21 11:08:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: sposelenov@emcraft.com
>Release: 6.7
>Organization:
>Environment:
ARM EABI native environment, GCC 4.2.2/binutils 2.18/GLibc 2.6.
>Description:
Running the gdb.base/store.exp testsuite built with "-mfpu=vfp -mfloat-abi=softfp" causes internal GDB error.
...
(gdb) p r
../../gdb/regcache.c:178: internal-error: register_size: Assertion `regnum >= 0 && regnum < (gdbarch_num_regs (current_gdbarch) + gdbarch_num_pseudo_regs (current_gdbarch))' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n
The problem reproduced with GDB 6.8-release. Tried the
latest snapshot, but it doesn't work at all - hungs not being able to reach to breakpoint (even to main()).
>How-To-Repeat:
build testcase:
gcc -o store store.c -g -lm
Run:
gdb store
b wack_float
next
print r
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: