public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* gdb/2539: Internal GDB error on store.exp testsuite case compiled with VFP insns.
@ 2008-10-21 11:08 sposelenov
  0 siblings, 0 replies; only message in thread
From: sposelenov @ 2008-10-21 11:08 UTC (permalink / raw)
  To: gdb-gnats


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-21 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21 11:08 gdb/2539: Internal GDB error on store.exp testsuite case compiled with VFP insns sposelenov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).