Commit Graph

634 Commits

Author SHA1 Message Date
Kelvin Sherlock
22a8d6f588 debugger - ;i will show error code information. 2014-12-24 19:08:54 -05:00
Kelvin Sherlock
8c9e50cd8f Add backtrace support to the debug console.
Squashed commit of the following:

commit b3afbbf15839d5ad9343d4540674510cbd6cd16d
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 17:44:20 2014 -0500

    improve the debugger help a little bit

commit 82e1e4e3e4d802defbf49c965500ffc72c7be1af
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 17:32:21 2014 -0500

    prevent filename tab completion in the debugger.

commit 8765e5f428562e5ab6f8d59ec0e0460a834c66b5
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 16:06:21 2014 -0500

    skip macsbug names when disassembling via ;list

commit 9b87cfb3851fedc6423629608f53076741116991
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 15:43:13 2014 -0500

    improved backtracing.

commit f8e364d7c568fe6728c8efd5587f7edeb49f5816
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 15:17:28 2014 -0500

    BackTrace support
2014-12-24 17:44:48 -05:00
Kelvin Sherlock
45fae53ef5 fix CloseResFile with refNum 0. 2014-12-24 10:17:23 -05:00
Kelvin Sherlock
8c811c4de9 revert previous open hack for PPCLink 2014-12-23 11:30:07 -05:00
Kelvin Sherlock
e0094d199b FSpCreate 2014-12-23 11:29:32 -05:00
Kelvin Sherlock
f7c779a5d1 ResolveAliasFile needs to set wasAliased if the file is not found. 2014-12-23 10:40:06 -05:00
Kelvin Sherlock
09d17315d3 fix HomeResFile stack return 2014-12-23 08:44:45 -05:00
Kelvin Sherlock
e377025e48 fix ResolveAliasFile stack return value 2014-12-23 08:44:17 -05:00
Kelvin Sherlock
3dd91f18b6 Merge branch 'PPCLink'
Fixes and support for the PPCLink utility.
2014-12-22 19:59:09 -05:00
Kelvin Sherlock
ace2810e34 newhandle/sethandlesize fixes for ppclink 2014-12-22 19:58:41 -05:00
Kelvin Sherlock
48558e9885 GetHandleSize needs to return the 32-bit sign-extended error code. 2014-12-22 17:58:35 -05:00
Kelvin Sherlock
d8f6edd964 fix high-level dispatch to properly return errors. 2014-12-22 15:23:47 -05:00
Kelvin Sherlock
f1566cce45 use new realpath code 2014-12-22 09:53:38 -05:00
Kelvin Sherlock
1e7139ddbf FreeBSD realpath 2014-12-22 08:50:02 -05:00
Kelvin Sherlock
30d6b05adc FspCreateResFile 2014-12-21 22:30:04 -05:00
Kelvin Sherlock
91a0da2e0a PBHOpenDeny can create files? Need to test on real software. 2014-12-21 08:36:44 -05:00
Kelvin Sherlock
b60d23ea60 temporary realpath workaround 2014-12-21 08:36:15 -05:00
Kelvin Sherlock
6787eb1f1a unused prototype 2014-12-21 08:25:57 -05:00
Kelvin Sherlock
204332c4c9 use mpw_errno_from_errno() 2014-12-21 08:25:40 -05:00
Kelvin Sherlock
6929a374d0 use macos_error_from_errno() 2014-12-20 19:32:54 -05:00
Kelvin Sherlock
728db5133e fix whitespace 2014-12-20 13:03:29 -05:00
Kelvin Sherlock
841af35840 MM::RecoverHandle 2014-12-20 13:03:02 -05:00
Kelvin Sherlock
1a70abf995 use common code for opening resource file. 2014-12-20 12:25:55 -05:00
Kelvin Sherlock
8257050afc FSpOpenResFile support 2014-12-20 12:20:34 -05:00
Kelvin Sherlock
240a3ac480 add tool_return pair for returning error or value. 2014-12-20 12:20:18 -05:00
Kelvin Sherlock
a4e89626d5 Open/OpenRF should use the directory id / fs spec. 2014-12-20 09:18:49 -05:00
Kelvin Sherlock
148b13cdf1 PBHOpenDeny/PBHOpenRFDeny 2014-12-20 09:15:05 -05:00
Kelvin Sherlock
4bf57c6ce4 fix StackSpace to use new stack location scheme. 2014-12-18 15:40:12 -05:00
Kelvin Sherlock
84fdeb116f TempFreeMem 2014-12-18 14:40:03 -05:00
Kelvin Sherlock
304dcda66c BlockMoveData 2014-12-18 14:39:48 -05:00
Kelvin Sherlock
c03938ca7d Time Manager stuff 2014-12-18 14:29:20 -05:00
Kelvin Sherlock
eda186e9ff Merge branch 'DumpPEF'
support for MrC, MrCPP, DumpPEF (?) and DumpXCOFF.
2014-12-17 13:07:18 -05:00
Kelvin Sherlock
6a8a30df5a . 2014-12-17 07:53:25 -05:00
Kelvin Sherlock
325c1c5850 PBSetCatInfo now sets finder info. PBGetCatInfo now uses nice enums. 2014-12-16 17:35:49 -05:00
Kelvin Sherlock
18b2e7ff67 ReadXPRam call (DumpXCOFF) 2014-12-16 13:47:33 -05:00
Kelvin Sherlock
bd93788eef RM::HOpenResFile 2014-12-16 13:07:51 -05:00
Kelvin Sherlock
85e515bdeb split FSSpecManager out so RM can use it (HOpenResFile) 2014-12-16 13:07:37 -05:00
Kelvin Sherlock
0b76b9266e move stack to the top of the memory to make MrC's stack checks happy. 2014-12-15 08:56:26 -05:00
Kelvin Sherlock
d79f498cfd increase default stack size for MrC 2014-12-15 08:55:06 -05:00
Kelvin Sherlock
80be590e76 fgetenv / fsetenv 2014-12-14 19:52:49 -05:00
Kelvin Sherlock
294a0c901b PBSetCatInfo (stub for now) 2014-12-14 19:52:33 -05:00
Kelvin Sherlock
f6f7964f81 OSDispatch call 2014-12-14 19:52:08 -05:00
Kelvin Sherlock
91e142446b MM::PurgeSpace call 2014-12-14 19:51:49 -05:00
Kelvin Sherlock
fed6e9b172 don't expand $[a-z]+ in filenames. This was preventing lcc from working properly as it created temporary files named $defout$, etc. 2014-12-04 16:42:49 -05:00
Kelvin Sherlock
abe8b9236b updates to match current fellow cpu code 2014-12-04 16:09:18 -05:00
Kelvin Sherlock
ff52cae4e9 use proper c++11 std::forward 2014-11-21 09:50:56 -05:00
Kelvin Sherlock
6f50f9de03 add c++11 error categories for macos error codes 2014-09-12 13:08:43 -04:00
Kelvin Sherlock
2502c18862 c++11 error_code for mpw errno 2014-08-03 12:08:08 -04:00
Kelvin Sherlock
d826ef8c13 Merge branch 'feature_toolbox_microseconds'
Add support for the Microseconds toolcall.
2014-08-03 11:43:36 -04:00
Kelvin Sherlock
4895cfbf10 fix sequencing with memory reads. 2014-08-03 11:42:24 -04:00