[Bug gdb/21559] ../../gdb/regcache.c:1087: internal-error: void regcache_raw_supply(regcache, int, const void): Assertion `regnum >= 0 && regnum < regcache->descr->nr_raw_registers' failed.

andrew at ishiboo dot com sourceware-bugzilla@sourceware.org
Fri Jun 9 01:49:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21559

--- Comment #3 from Andrew Paprocki <andrew at ishiboo dot com> ---
It should be noted that modifying `configure` to force on
`HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE` and
`HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE` fixes this issue. For some reason the
`configure` tests for `fs_base` and `gs_base` fail even though `sys/user.h` on
RHEL5 has the fields defined in `user_regs_struct`.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list