Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDB monitor wait failures #93

Open
jugeeya opened this issue Sep 19, 2019 · 0 comments
Open

GDB monitor wait failures #93

jugeeya opened this issue Sep 19, 2019 · 0 comments

Comments

@jugeeya
Copy link

jugeeya commented Sep 19, 2019

Running either of the methods for PM suspended starts for non-monitored applications fail. I can split these into three issues, here with output:

  1. monitor wait application failing:
(gdb) monitor wait application
Target error: 0x80f
  1. monitor wait title succeeding but failing due to gdb remote timeout:
(gdb) monitor wait title 01006A800016E000
Ignoring packet error, continuing...
Ignoring packet error, continuing...
[4][2019-09-19 00:10] tool/GdbConnection.cpp:53: packet opened with bad character -
[4][2019-09-19 00:10] tool/GdbConnection.cpp:190: gdb connection error
PID: 0x85
(gdb) attach 0x85
Attaching to Remote target
Remote communication error.  Target disconnected.: Broken pipe.

The following issue ONLY occurs with SaltySD active as a sysmodule. It is likely due to SaltySD checking on the title using similar functions upon application start.

  1. monitor wait title succeeding with remote timeout set, but failing to attach due to svcContinueDebugEvent error:
(gdb) target extended-remote | twib gdb
Remote debugging using | twib gdb
(gdb) set remotetimeout 999999999
(gdb) monitor wait title 01006A800016E000
PID: 0x85
(gdb) file main.elf
Reading symbols from main.elf...
(No debugging symbols found in main.elf)
(gdb) attach 0x85
Attaching to program: /home/user/main.elf, Remote target
terminate called after throwing an instance of 'twili::twib::ResultError'
  what():  ResultError: 0xf401
Remote connection closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant