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
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
TuxSH
5955ca6957
Increase max number of sessions for pmdbg
2019-03-30 14:15:23 +01:00
TuxSH
dcddcfc94d
Allow PMLAUNCHFLAG_QUEUE_DEBUG_APPLICATION for non-apps
2019-03-29 23:22:16 +01:00
TuxSH
1453d9adac
cubic ninja users rejoice
2019-03-29 23:01:55 +01:00
TuxSH
ef034a87d4
revert fsldr change, fix null deref in pm
2019-03-29 22:40:54 +01:00
TuxSH
e688ec9257
move patches to pm
2019-03-29 19:07:24 +01:00
TuxSH
ae1f85d341
K11Ext: add GetSystemInfo k11extSize
2019-03-29 18:23:52 +01:00
TuxSH
7177799021
Rosalina: delete "auto screenfilter restore on wakeup" functionality.
...
It was causing sleep mode wakeup issues and/or interfering with gsp in a
bad way.
2019-03-29 18:23:52 +01:00
TuxSH
1041d7c438
Add custom pm sysmodule
2019-03-29 00:32:45 +01:00
TuxSH
e57abad52f
ctrulib changes
2019-03-29 00:09:59 +01:00
TuxSH
74bbfb95d3
service_manager: auto subscribe
2019-03-28 22:56:13 +01:00
TuxSH
8345f31c2a
Fix wrong result code returned in GetServiceHandle
2019-03-27 21:56:13 +01:00
TuxSH
d44055d232
sm: simplify main loop logic
2019-03-27 20:36:40 +01:00
TuxSH
4a431b8fdf
Fix bug in port closed handling
2019-03-26 23:15:37 +01:00
TuxSH
e2ed200509
Fix doPublishNotification bug
2019-03-26 20:53:48 +01:00
TuxSH
4e5f6e1eff
Fix #1232
...
Thanks @profi200
2019-03-23 23:14:23 +01:00
TuxSH
474eb3001b
Introduce service_manager, also fix hb:ldr pm/pm race condition
2019-03-16 23:40:43 +01:00
TuxSH
f72d99d9b0
Fix wrong number of menus
2019-03-16 23:34:51 +01:00
TuxSH
a9a569c79d
Remove useless rules
2019-03-16 18:11:46 +01:00
TuxSH
68b8c99ad0
Fix parallel building
2019-03-16 13:10:30 +01:00
TuxSH
d8c6f94887
Fix config title
2019-03-15 23:21:12 +01:00
TuxSH
8b51141f54
Fix latest commit
2019-03-15 23:03:25 +01:00
TuxSH
0195ab34e9
Fix itcm sections overwriting argv
2019-03-15 23:03:25 +01:00
TuxSH
0bb82feb81
Fix string format case in exceptions.c
2019-03-15 23:03:25 +01:00
TuxSH
6199f598e5
Add -nocodepadding to cxis as it ought to be
2019-03-15 23:03:25 +01:00
TuxSH
b92406afe2
Fix rebase
2019-03-15 23:03:25 +01:00
TuxSH
244409fc98
Change k11 mapping logic again
2019-03-15 23:03:24 +01:00
TuxSH
f3b2a6c30d
Fix some of the bugs
2019-03-15 23:03:24 +01:00
TuxSH
a65f7fbf88
Fix the linker scripts again
2019-03-15 23:03:24 +01:00
TuxSH
35ad240018
Rewrite k11ext mmu mapping func + linker script
2019-03-15 23:03:23 +01:00
TuxSH
e64f267e4c
Fix section declarations in .s files
2019-03-15 23:03:23 +01:00
TuxSH
d28e961adc
Use <string.h> & <3ds/exheader.h>, fix some bugs, etc.
...
also fix all warnings and use -Werror
2019-03-15 23:03:23 +01:00
TuxSH
e6b7dc1dc5
Add top-level Makefile + @fincs 's linker script fixes
2019-03-15 23:03:22 +01:00
TuxSH
9e7e967a5f
Fix bss being PROGBITS, etc.
2019-03-15 23:03:22 +01:00
TuxSH
33d40b491e
Fix firm.c sysmodule merging loop
2019-03-15 23:03:21 +01:00
TuxSH
7cb50d38b9
Fix linker script bug, see details
...
LD interprets "a.o b.o c.o(sectionexpr)" as 3 separate input commands, i.e. it will copy all the sections from a.o, then b.o and the sections matching (sectionexpr) from c.o in that order; (a.o b.o c.o)(sectionexpr) results in a syntax error.
2019-03-15 23:03:21 +01:00
TuxSH
d6d440a47e
Sanitize arm9 build system... however link script overflows itcm
2019-03-15 23:03:21 +01:00
TuxSH
52cd950ca6
source => arm9/source
2019-03-15 23:03:20 +01:00
TuxSH
9fad2dff21
Add top-level Makefile for sysmodules
2019-03-15 23:03:20 +01:00
TuxSH
4b40dd52f4
Give a proper build system for each sysmodule, k11ext, arm11.
...
Previously, these Makefiles didn't correctly track header changes.
The project doesn't build as a whole, future commits will fix it.
2019-03-15 23:03:19 +01:00
TuxSH
6bd7070d38
Do the same for romfs redit => get rid of armips; update README.md
2019-03-15 23:03:18 +01:00
TuxSH
0c9365bcb7
Do the same for large patches (emunand, reboot). This greatly simplifies logic.
2019-03-15 23:03:18 +01:00
TuxSH
c0bd69309a
Do the same for arm9 exceptions
2019-03-15 23:03:18 +01:00
TuxSH
55bd62d7a9
Merge the chainloader into the main ARM9 folder
2019-03-15 23:03:18 +01:00
TuxSH
020236742f
Fix gdbstub UB with IO
2019-03-15 22:37:04 +01:00
TuxSH
faeb0d9395
Fix strict-aliasing-related UB
2019-03-15 22:23:44 +01:00
TuxSH
b05f993221
Fix wrong memset size in screen_filters
2019-03-15 17:04:15 +01:00
TuxSH
e796abb155
Also use alignedseqmemcpy for sha_hash
2019-03-15 16:17:57 +01:00
TuxSH
3d2c12cf09
Revert sdmmc driver, fixes regression #1225 . Also fix a logic bug
2019-03-13 17:33:53 +01:00
TuxSH
8ff5111e30
Use better i2c driver from fb3ds
2019-03-13 16:34:11 +01:00
TuxSH
673ec9fc51
Fix memcpy into fifo UB
2019-03-13 13:53:29 +01:00
TuxSH
a7100a1e7f
Fix implicit fallthrough in debug.c
2019-02-28 19:08:39 +01:00
TuxSH
710ad11819
Upgrade fatfs and sdmmc driver
2019-02-28 19:04:11 +01:00
TuxSH
f718297591
Fix screens not working on firmlaunch
...
- LCD fill was not unset
- Still needs to do screeninit on firmlaunch even though PDN_GPU_CNT is 0x1007F
2019-02-26 20:19:52 +01:00
TuxSH and GitHub
f437d92374
Merge pull request #1065 from panicbit/screen_filter
...
Implement blue light filters
2019-02-21 19:48:07 +01:00
TuxSH and GitHub
47916b2831
Fix menu thread stack overflow
...
sizeof(menuThreadStack) not matching 0x3000
2019-02-21 19:47:35 +01:00
TuxSH and GitHub
932ed4222f
Merge pull request #1142 from luigoalma/master
...
Added Patch to Process9 11.8 to the new AMPXI function
2018-09-20 09:44:36 +02:00
TuxSH
2127271b33
Double-license the gdbstub.
2018-06-14 18:33:09 +02:00
TuxSH
1600171ffa
Bump copyright year
2018-06-14 18:13:57 +02:00
TuxSH and GitHub
89a3dc8643
Merge pull request #1084 from ev1l0rd/patch-1
...
Removed links to compiled armips and makerom
2018-05-22 10:05:00 +02:00
TuxSH and GitHub
3477beb05c
Merge pull request #1086 from Nanquitas/patch-1
...
Fix GPU_PSC1_CNT address
2018-05-21 00:00:22 +02:00
TuxSH and GitHub
f776c56cd4
Merge pull request #1069 from Nanquitas/patch-1
...
Fix KProcessHandleTable__ToKThread on latest fw
2018-04-26 19:33:03 +02:00
TuxSH
a2177c0510
Fix menu entries (again)
2018-04-05 23:40:18 +02:00
TuxSH
356a94cc2e
Double the size of launchedPath
2018-04-05 23:20:30 +02:00
TuxSH
938cb6492f
Revert "Revert "Switched from mapping target process memory to svcReadProcessMemory & svcWriteProcessMemory functions.""
...
This reverts commit 1fd689f5da .
2018-03-20 01:11:49 +01:00
TuxSH and GitHub
fed62855cb
Merge pull request #1000 from duckbill007/master
...
Gateshark cheats support
2018-03-20 01:00:25 +01:00
TuxSH and GitHub
76d274cfe2
getmemregions: userland never exceeds 0x40000000
2018-01-19 01:42:53 +01:00
TuxSH and GitHub
ccf13be964
Merge pull request #1010 from Nanquitas/input-redirection-sockupdate
...
InputRedirection: check service existence instead of using OpenProcessByName
2018-01-19 01:30:15 +01:00
TuxSH and GitHub
e36b27ccf0
Merge pull request #1012 from Nanquitas/rosalina-freeze-fix
...
Rosalina: fix freeze when attempting to open Rosalina before the syst…
2018-01-19 01:29:58 +01:00
TuxSH and GitHub
34c80ad476
Merge pull request #1009 from Nanquitas/gdb-list-memregion
...
gdb: new getmemregions command
2018-01-19 01:28:53 +01:00
TuxSH and GitHub
97ae106d8e
Merge pull request #1011 from Nanquitas/patch-2
...
sock_util: remove unneeded check
2018-01-19 01:28:08 +01:00
TuxSH
11f820efa7
Check service existence before GetServiceHandle
2018-01-15 02:52:50 +01:00
TuxSH
9074688491
Make srvGetServiceHandle non-blocking if service port is full in all cases
2018-01-15 02:27:07 +01:00
TuxSH
553f8d2533
Remove lto for sysmodules
2018-01-12 11:20:17 +01:00
TuxSH
bbadf840ef
struct fb shouldn't be packed
2018-01-04 22:12:31 +01:00
TuxSH
acc50aae46
Merge branch 'master' of github.com:AuroraWright/Luma3DS
2018-01-04 18:41:14 +01:00
TuxSH
6a68a77973
Rewrite the ARM9 exception handlers, ...
...
- Fix patchArm9ExceptionHandlersInstall for older versions
- Fix some bugs in the ARM11 exception handlers
- Other, minor, changes
2018-01-04 18:40:11 +01:00
TuxSH
1572bfd989
[sm] Fix process unregistering logic bug ( fixes #984 )
...
In this case pm+sm were supposed to automatically unregister ro's services (the kernel can close a dying process's handle automatically). Not doing this apparently induced a reference leak of DevMenu's as a process, preventing it to be destroyed and the memory allocation reslimit counter to be updated by KProcess's destructor accordingly.
2017-12-27 19:30:57 +01:00
TuxSH
2a840f2c79
Minor date/time conversion loop style fixes
2017-12-19 02:32:51 +01:00
TuxSH and GitHub
4eaf791849
Merge pull request #937 from Hayleia/timestamped-screenshots
...
screenshots use timestamps as name
2017-12-19 02:15:07 +01:00
TuxSH and GitHub
16530d3a52
Merge pull request #972 from LiquidFenrir/ramviewer-fix
...
fix mistake, processes viewed were attached even if debugger was off
2017-12-18 07:13:13 +01:00
TuxSH and GitHub
57d03d6333
Merge pull request #916 from LiquidFenrir/ramviewer-fix
...
Several ramviewer improvements
2017-12-17 03:31:36 +01:00
TuxSH
cf8696ac70
Disable non-process memory access by default (see below), remove IDA 6.8 support...
...
The physical memory access "bit31" mapping (0--0x30000000 => 0x80000000--0xB0000000) as well as privileged (kernel) mappings confuse debugger clients like IDA's which interpret the value of the registers.
Access to those mappings can be toggled using "monitor toggleextmemaccess" instead (issue reported by @Nanquitas). Closes #943 .
Additionally, support for the buggy IDA 6.8's buggy gdb client was removed. Please use IDA 7.0 or higher.
P.S: IDA 7.0 added client support for no-ack mode (Debugging options > Set specific options), which should be enabled to make debugging twice as smooth. "Use stepping support" should be unchecked.
2017-11-26 02:18:59 +01:00