Commit Graph

1616 Commits

Author SHA1 Message Date
TuxSH d357db25f2 gdb TIO: fix mode and flags being swapped 2019-04-28 02:06:31 +02:00
TuxSH 9b3cc5391b tio fixes 2019-04-27 23:23:36 +02:00
TuxSH 54eeb97b24 Add GDB target IO support (called Host I/O by gdb), not working yet 2019-04-27 16:50:47 +02:00
TuxSH 593f50de91
Merge pull request #1246 from piepie62/Debuffer
Remove cheat file buffer and use buffered reading
2019-04-23 23:04:34 +02:00
piepie62 85af8d9fa4 Merge branch 'Debuffer' of https://github.com/piepie62/Luma3DS into Debuffer 2019-04-23 08:25:10 -07:00
piepie62 58ff96dc83 Merge origin into this branch 2019-04-23 08:24:50 -07:00
TuxSH a5803d1b62
Merge pull request #1245 from piepie62/IFile-Fix
IFile: Fix reading past the end of file
2019-04-23 11:29:54 +02:00
TuxSH eddb0988a0
Merge pull request #1243 from piepie62/master
Improve cheat execution parameters and handle CRLF properly
2019-04-23 11:29:04 +02:00
TuxSH 5d3585a33d fix gdb control C regression 2019-04-21 18:00:29 +02:00
TuxSH 4285736286 fix layeredfs regression 2019-04-21 12:15:50 +02:00
piepie62 32b8cf6172 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS into Debuffer 2019-04-19 11:36:19 -07:00
TuxSH 3e724e88a8 Fix crash dumps not saving properly 2019-04-19 10:01:00 +02:00
TuxSH 687dfddd9f HBLDR_DebugNextApplicationByForce changes 2019-04-19 00:37:20 +02:00
piepie62 90a43089ba Debuffer cheat reading and strip whitespace
Effectively doubles the amount of cheats possible, while also getting rid of that annoying line limit
2019-04-18 14:01:46 -07:00
piepie62 1e0baeb30e Fix reading past the end of a file 2019-04-18 14:01:02 -07:00
piepie62 353f7d1705 Add bounds checking 2019-04-18 14:01:02 -07:00
piepie62 f5f3764f99 Improve cheat execution parameters and handle CRLF properly 2019-04-18 14:01:02 -07:00
TuxSH eef22f8701 Fix "debug next process" with hbldr homebrew 2019-04-18 22:58:53 +02:00
TuxSH 9e1a9f2842 Implement HBLDR_DebugNextApplicationByForce
also prevent port 4003 (next application) from being extended-remote
2019-04-18 22:28:23 +02:00
TuxSH 0b33134f6c Loader services refactor 2019-04-18 19:48:01 +02:00
TuxSH 5c4d6c68b2 gdb: fix GDB_AttachToProcess returning success even when the process doesn't exist 2019-04-18 00:40:20 +02:00
TuxSH 89e42a457c gdb: hio: fix error parsing 2019-04-17 23:53:27 +02:00
TuxSH 17ca09346d gdb: fix multiple extended-remote issues, also fix possible race condtions 2019-04-17 23:12:29 +02:00
TuxSH 54de645dc3 pm: fix inverted condition 2019-04-17 02:03:02 +02:00
TuxSH da6c02068b pm: fix reslimit bug 2019-04-17 01:31:03 +02:00
TuxSH 06bcb39721 always save errdisp to file; hio changes 2019-04-17 00:18:12 +02:00
piepie62 2b31a4ab5c Merge master into Debuffer 2019-04-15 15:19:46 -07:00
piepie62 3b4ef682fe Debuffer cheat reading and strip whitespace
Effectively doubles the amount of cheats possible, while also getting rid of that annoying line limit
2019-04-15 15:14:53 -07:00
piepie62 eab9a31dff Fix reading past the end of a file 2019-04-15 13:08:53 -07:00
piepie62 ff86ed2e77 Add bounds checking 2019-04-15 03:41:25 -07:00
piepie62 2fe1169423 Improve cheat execution parameters and handle CRLF properly 2019-04-14 23:12:14 -07:00
TuxSH 4c9fe186d7 gdb: hio support (untested yet) 2019-04-14 21:48:15 +02:00
TuxSH e11cc090b2 gdb: add support to run new processes
Only titleId [mediaType [launchFlags]] is supported, and the launched title shouldn't rely on APT and all 3 parameters should be hex-encoded.

usage example, with titleId+mediaType:
(gdb) set remote file-exec 0004013000003702
(gdb) r 0
2019-04-13 19:18:47 +02:00
TuxSH 763a1de8d3 gdb: add extended-remote support, implement vAttach 2019-04-12 23:40:51 +02:00
TuxSH e57b546dd4 gdb: rework meaning of selected/used 2019-04-10 23:38:10 +02:00
TuxSH bd670cf87c gdb: add GDB_FindAllocatedContextByPid 2019-04-10 23:17:49 +02:00
TuxSH 1e0996c395 gdb: simply gdbstate 2019-04-09 23:59:05 +02:00
TuxSH 5f295c4227 increase i2c timeout 2019-04-07 16:13:14 +02:00
Aurora Wright 4f699ccb81 Fix external firm booting with old firms, minor style changes 2019-04-06 21:32:06 +07:00
TuxSH 70757e564d refactor latest commit 2019-04-05 00:55:13 +02:00
TuxSH af822e5af5 Fix n3ds IPS screen issues/regression, closes #1236 2019-04-05 00:04:38 +02:00
TuxSH 63736d7873 Refactor process detaching code 2019-03-31 22:58:36 +02:00
TuxSH fb800bd4c9 Add support to force-debug applications before they start running code 2019-03-31 20:01:16 +02:00
TuxSH 219f38169f Update drawString (rosalina) 2019-03-31 17:04:07 +02:00
TuxSH c688600d33 PMDBG_GetCurrentAppTitleId => PMDBG_GetCurrentAppTitleIdAndPid 2019-03-31 16:12:31 +02:00
TuxSH ea14d8a186 gdb: avoid race conditions 2019-03-31 01:14:40 +01:00
TuxSH cd18b85632 gdb: refactor port/ctx alloc 2019-03-31 00:24:45 +01:00
TuxSH 22ec031495 Add client code for new custom pm commands, use them, fix pm race conditions 2019-03-30 18:12:54 +01:00
TuxSH 43b998d37d Add new pmdbg commands: GetCurrentAppTitleId, DebugNextApplicationByForce, LaunchTitleDebug 2019-03-30 15:36:49 +01:00
TuxSH 127101a683 Fix debug bug 2019-03-30 15:05:49 +01:00