This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog.64bit exception.h ...
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 26 Oct 2012 10:49:53 -0000
- Subject: src/winsup/cygwin ChangeLog.64bit exception.h ...
CVSROOT: /cvs/src
Module name: src
Branch: cygwin-64bit-branch
Changes by: corinna@sourceware.org 2012-10-26 10:49:53
Modified files:
winsup/cygwin : ChangeLog.64bit exception.h exceptions.cc
sigproc.cc smallprint.cc
winsup/cygwin/include/cygwin: signal.h
Log message:
* exception.h (stackdump): Change first parameter to PUINT_PTR.
* exceptions.cc: Define cpu specific macros _GR, _AFMT and _ADDR.
Use throughout to avoid ifdef's. Fix debug printfs to work in
64 bit mode as well, throughout.
(status_info): Define member code as NTSTATUS. Add casts where
necessary throughout.
(dump_exception): Dump all x86_64 registers if building for it.
(class stack_info): Define dummy_frame as PUINT_PTR.
(stack_info::init): Change first parameter to PUINT_PTR. Rename
ebp to framep for CPU independent naming. Drop debp macro.
(stack_info::walk): Rename ebp to framep for CPU independent naming.
Disable WOW64 hack in 64 bit mode.
(stackdump): Change first parameter to PUINT_PTR. Rename ebp to framep
for CPU independent naming.
(_cygtls::inside_kernel): Ignore system_wow64_directory on 64 bit.
(rtl_unwind): Redefine for x86_64 cpu.
(_except_list): Drop redundant definition.
(_cygtls::copy_context): Just use __COPY_CONTEXT_SIZE.
* sigproc.cc (_cygtls::signal_exit): Conditionalize stackdump call per
cpu.
* smallprint.cc (__small_vsprintf): Fix up for 64 bit. Handle 'l' size
modifier in 'd', 'o', 'u', 'x' conversion to print "long" values on a
per cpu base. Add 'O' conversion. Change comment accrdingly.
* include/cygwin/signal.h (struct _uc_fpxreg): Define for 64 bit.
(struct _uc_xmmreg): Ditto.
(struct _fpstate): Ditto.
(struct ucontext): Ditto.
(struct _uc_fpreg): Define for 32 bit.
(struct _fpstate): Use struct _uc_fpreg for _st. Use explicit sized
types.
(struct ucontext): Use explicit sized types.
(__COPY_CONTEXT_SIZE): Cast safely.
(sigset_t): Define as __uint64_t on 64 bit. Add FIXME comment in 32
bit case.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.64bit.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.1.2.10&r2=1.1.2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exception.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.5.2.1&r2=1.5.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.391.2.2&r2=1.391.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.388.2.1&r2=1.388.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/smallprint.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.21.2.2&r2=1.21.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/signal.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.19.4.1&r2=1.19.4.2