Replace debug_exit calls with debug info while setting a failure.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 9 Mar 2008 16:19:23 +0000 (12:19 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 9 Mar 2008 16:19:23 +0000 (12:19 -0400)
commit6c78122091367f87ea2338e38b175d586cee1389
tree02104c9163bc41def70a9fde10b2d52f1ca9a851
parent5a869f02df8f150e6b0525b728fba25d913f96b9
Replace debug_exit calls with debug info while setting a failure.

Calling debug_exit at the end of a call doesn't help much - several of
the registers are already clobbered at this point.  It also increases
stack usage because it prevents call tail optimization in many places.
src/apm.c
src/cdrom.c
src/clock.c
src/disk.c
src/floppy.c
src/mouse.c
src/output.c
src/serial.c
src/system.c
src/util.h