2014-6-24 16:41
LZ,gikdbg工具很好用,赞一个,我主要用来对apk进行动态调试,但我现在有3个严重问题:
1.成功连接设备后,用ART Debug-File-Attach附着进程,发现列表里全部是so,没有看到我想调试的dex文件
2.Attach上一个so进程后,CPU界面中的函数都是没有符号表的,可读性非常差
3.gdb中显示了找不到符号表,看不太懂这些信息,能不能大概解释一下:
(gdb) attach 3546
Attaching to process 3546
Reading symbols from /system/bin/app_process...(no debugging symbols found)...done.
/proc/self/maps get 0x8000 , raw content : 00008000-003750.
[New LWP 3550]
[New LWP 3551]
[New LWP 3552]
[New LWP 3553]
[New LWP 3554]
[New LWP 3555]
[New LWP 3556]
[New LWP 3557]
[New LWP 3558]
[New LWP 3563]
[New LWP 3565]
[New LWP 3567]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "libthread_db.so".
warning: Unable to get location for thread death breakpoint: requested event is not supported
Reading symbols from /system/bin/linker...(no debugging symbols found)...done.
Loaded symbols for /system/bin/linker
Reading symbols from /system/lib/libc.so...(no debugging symbols found)...done.
Loaded symbols for /system/lib/libc.so