This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/2539: Internal GDB error on store.exp testsuite case compiled with VFP insns.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]