Move abort() into opr
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 11 Sep 2011 20:44:23 +0000 (21:44 +0100)
committerDerrick Brashear <shadow@dementix.org>
Mon, 26 Sep 2011 04:09:54 +0000 (21:09 -0700)
commit0a8f21e6a44d59a3333c0b4fee572fe6d94aae3d
tree00fda9af00375e505392d591ccc02b7afbe538c4
parentbdf86d245fd55c5c7ac7ea81e3d6b6bafdbe1783
Move abort() into opr

We need our own abort function, because the behaviour of the Windows
abort() implementation isn't sufficiently flexible for us.
Because we're replacing an operating system function, reather than
implementing a missing function, this doesn't belong in roken.

So, provide an alternative opr_abort() implementation in our portable
runtime layer, which is a synonym for abort() on Unix, and implements
the required DebugBreak() functionality on Windows.

Remove lwp_abort() which was just creating another, unnecessary, layer
of abstraction.

Change-Id: Ice226d70d2791beaba011f42e39fde60242f6cc3
Reviewed-on: http://gerrit.openafs.org/4428
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
16 files changed:
src/WINNT/client_exp/NTMakefile
src/lwp/iomgr.c
src/lwp/lwp.h
src/lwp/lwp_nt.c
src/opr/Makefile.in
src/opr/NTMakefile
src/opr/assert.c [new file with mode: 0644]
src/opr/opr.h
src/rx/rx_user.c
src/rx/test/NTMakefile
src/rx/test/testclient.c
src/rx/test/testserver.c
src/rxdebug/NTMakefile
src/util/afsutil.h
src/util/assert.c
src/xstat/NTMakefile