Fix false "Unknown error 512" on x32 (H.J. Lu, BZ 956883).
This commit is contained in:
parent
46f79e2112
commit
3344b6ba48
@ -102,7 +102,7 @@ gdb/
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
+
|
+
|
||||||
+ if (gdbarch_ptr_bit (gdbarch) == 32)
|
+ if (gdbarch_bfd_arch_info (gdbarch)->bits_per_word == 32)
|
||||||
+ {
|
+ {
|
||||||
+ /* Sign-extend %eax as during return from a syscall it is being checked
|
+ /* Sign-extend %eax as during return from a syscall it is being checked
|
||||||
+ for -ERESTART* values -512 being above 0xfffffffffffffe00; tested by
|
+ for -ERESTART* values -512 being above 0xfffffffffffffe00; tested by
|
||||||
|
5
gdb.spec
5
gdb.spec
@ -36,7 +36,7 @@ Version: 7.6
|
|||||||
|
|
||||||
# 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: 24%{?dist}
|
Release: 25%{?dist}
|
||||||
|
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
@ -1390,6 +1390,9 @@ fi
|
|||||||
%endif # 0%{!?el5:1} || "%{_target_cpu}" == "noarch"
|
%endif # 0%{!?el5:1} || "%{_target_cpu}" == "noarch"
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 27 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-25.fc19
|
||||||
|
- Fix false "Unknown error 512" on x32 (H.J. Lu, BZ 956883).
|
||||||
|
|
||||||
* Fri Apr 26 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-24.fc19
|
* Fri Apr 26 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-24.fc19
|
||||||
- Rebase to FSF GDB 7.6.
|
- Rebase to FSF GDB 7.6.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user