Home > Mobile >  How to debug android framework native, um participant cameraserver, mediaserver and so on?
How to debug android framework native, um participant cameraserver, mediaserver and so on?

Time:01-15

With GDB and gdbserver debug android 9.0
Mobile terminal:
The adb shell ps - A | find "cameraserver
"442 1 28960 11168 cameraserver binder_ioctl_write_read e7919810 S cameraserver
Cameraserver 461 1 254964 82272 binder_ioctl_write_read 7 e197b36d0 S camerahalserver

The adb shell gdbserver64 remote: 5039-442
the attach
Server:
The source code
Gdbclient. Py - 442 p

But there is a problem:
Connecting to tracing pid 3069 using the local port 5039

The GNU GDB (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.,
License GPL + : the GNU GPL version 3 or later & lt; http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO giant, to the among permitted by law. The Type "show copying"
And "show giant" for details.
This GDB was configured as "x86_64 - Linux - gnu".
Type "show the configuration for the configuration details.
For bug reporting instructions, both please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word".
0 xe791980c in?? ()

According to:
GDB could not display stack and 0 xe791980c in?? ()
  • Related