Fix i686 build error in gdb-rhel-10464-xsave-update-7of21.patch
Resolves: RHEL-10464
This commit is contained in:
parent
bd876a4f72
commit
02fab25d92
@ -79,7 +79,7 @@ diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
|
|||||||
{
|
{
|
||||||
- char xstateregs[X86_XSTATE_MAX_SIZE];
|
- char xstateregs[X86_XSTATE_MAX_SIZE];
|
||||||
+ struct gdbarch *gdbarch = regcache->arch ();
|
+ struct gdbarch *gdbarch = regcache->arch ();
|
||||||
+ const i386_gdbarch_tdep *tdep = gdbarch_tdep<i386_gdbarch_tdep> (gdbarch);
|
+ const struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
||||||
+ char xstateregs[tdep->xsave_layout.sizeof_xsave];
|
+ char xstateregs[tdep->xsave_layout.sizeof_xsave];
|
||||||
struct iovec iov;
|
struct iovec iov;
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
|
|||||||
{
|
{
|
||||||
- char xstateregs[X86_XSTATE_MAX_SIZE];
|
- char xstateregs[X86_XSTATE_MAX_SIZE];
|
||||||
+ struct gdbarch *gdbarch = regcache->arch ();
|
+ struct gdbarch *gdbarch = regcache->arch ();
|
||||||
+ const i386_gdbarch_tdep *tdep = gdbarch_tdep<i386_gdbarch_tdep> (gdbarch);
|
+ const struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
||||||
+ char xstateregs[tdep->xsave_layout.sizeof_xsave];
|
+ char xstateregs[tdep->xsave_layout.sizeof_xsave];
|
||||||
struct iovec iov;
|
struct iovec iov;
|
||||||
|
|
||||||
|
6
gdb.spec
6
gdb.spec
@ -37,7 +37,7 @@ Version: 10.2
|
|||||||
|
|
||||||
# The release always contains a leading reserved number, start it at 1.
|
# The release always contains a leading reserved number, start it at 1.
|
||||||
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
|
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
|
||||||
# Do not provide URL for snapshots as the file lasts there only for 2 days.
|
# Do not provide URL for snapshots as the file lasts there only for 2 days.
|
||||||
@ -1158,6 +1158,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 15 2024 Keith Seitz - 10.2-15.el9
|
||||||
|
- Fix i686 build error in gdb-rhel-10464-xsave-update-7of21.patch.
|
||||||
|
(Keith Seitz, RHEL-10464)
|
||||||
|
|
||||||
* Thu Apr 11 2024 Keith Seitz - 10.2-14.el9
|
* Thu Apr 11 2024 Keith Seitz - 10.2-14.el9
|
||||||
- Backport "Fix GDB internal error by using text (instead of data)
|
- Backport "Fix GDB internal error by using text (instead of data)
|
||||||
section offset"
|
section offset"
|
||||||
|
Loading…
Reference in New Issue
Block a user