首页
社区
课程
招聘
[讨论]关于gcore的问题
2014-4-3 17:26 16868

[讨论]关于gcore的问题

2014-4-3 17:26
16868
最近在研究ANDROID的安全问题,使用GDB执行gcore出现Command not implemented for this target.提示,感觉像平台不支持,但是我用的是ARM下的GDB。哪位遇到过,给说说啥情况

D:\Download\android-ndk-r9d\toolchains\arm-linux-androideabi-4.8\prebuilt\window
s-x86_64\bin>arm-linux-androideabi-gdb.exe
GNU gdb (GDB) 7.3.1-gg2
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-mingw32msvc --target=arm-linux-andr
oid".
For bug reporting instructions, please see:
<http://source.android.com/source/report-bugs.html>.
(gdb) shell adb forward tcp:1234 tcp:1234
(gdb) target remote :1234
Remote debugging using :1234
0x400cc3a0 in ?? ()
(gdb) gcore
Command not implemented for this target.
(gdb)

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
点赞0
打赏
分享
最新回复 (14)
雪    币: 216
活跃值: (25)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
potop 2014-4-4 14:25
2
0
“ARM 下的 GDB” ? 是直接把GDB 复制到android系统下运行吗? 有这种GDB的下载链接吗?
雪    币: 70
活跃值: (64)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
yiyiguxing 1 2014-4-4 16:34
3
0
已经解决了,我的意思是用NDK自带的GDB。需要重新静态编译一下GDB
雪    币: 216
活跃值: (25)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
potop 2014-4-4 16:49
4
0
是那个NDK-GDB 吗?那个是不是只能与gdbserver配合远程调试?能直接复制到android手机上进行本地调试吗?
雪    币: 70
活跃值: (64)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
yiyiguxing 1 2014-4-4 17:04
5
0
可以直接本地调试的
雪    币: 216
活跃值: (25)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
potop 2014-4-4 17:25
6
0
如何重新编译GDB?有教程吗?
雪    币: 70
活跃值: (64)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
yiyiguxing 1 2014-4-4 21:04
7
0
网上搜一下吧,很多的.
雪    币: 30
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
NISL 2014-5-9 21:07
8
0
怎么解决的?我也遇到这个问题了“Command not implemented for this target.”
雪    币: 70
活跃值: (64)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
yiyiguxing 1 2014-5-10 17:21
9
0
重新编译GDB。。上面不是回答了
雪    币: 32
活跃值: (11)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
unwww 2014-5-14 14:24
10
0
GDB已经编译好,但是 gcore 的时候,文件会很大,300M+,且提示 memory read 失败,不知道是什么原因,请教各位

警告提示如下:
warning: Memory read failed for corefile section, 1048576 bytes at 0x5e7b3000.

warning: Memory read failed for corefile section, 4096 bytes at 0x5eb4b000.

warning: Memory read failed for corefile section, 1048576 bytes at 0x5ec59000.
雪    币: 32
活跃值: (11)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
unwww 2014-5-15 11:26
11
0
自己顶,坐等大神
雪    币: 74
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
windflyer 2014-5-21 16:29
12
0
提供个别人编译好的gdb,静态链接的,push到手机后直接使用:

http://dan.drown.org/android/gdb-static.tar.gz
雪    币: 76
活跃值: (59)
能力值: ( LV5,RANK:60 )
在线值:
发帖
回帖
粉丝
leonnewton 1 2015-5-14 15:30
13
0
D202的windflyer?
雪    币: 9
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
padsy 2015-5-19 16:17
14
0
楼上你说的太多了..
雪    币: 76
活跃值: (59)
能力值: ( LV5,RANK:60 )
在线值:
发帖
回帖
粉丝
leonnewton 1 2015-5-24 19:08
15
0
并没有人会知道什么。。。。
游客
登录 | 注册 方可回帖
返回