当前位置: 技术问答>linux和unix
有关dbx出现的是十六进制地址而非代码段问题
来源: 互联网 发布时间:2016-04-12
本文导语: >dbx programname core Type 'help' for help. [using memory image in core] reading symbolic information ... Segmentation fault in splay at 0x90000000003ef44 ($t1) 0x90000000003ef44 (splay+0xcc) e8050008 ld r0,0x8(r5) (dbx) (dbx) (dbx) wh...
>dbx programname core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...
Segmentation fault in splay at 0x90000000003ef44 ($t1)
0x90000000003ef44 (splay+0xcc) e8050008 ld r0,0x8(r5)
(dbx)
(dbx)
(dbx) where
splay(??, ??, ??) at 0x90000000003ef44
realloc_y(??, ??, ??) at 0x9000000000402e0
realloc_common(??, ??) at 0x90000000003e024
sqlrlc(??, ??, ??, ??) at 0x900000000e5aa1c
sqlcopybnd(??, ??, ??, ??, ??) at 0x900000000e664c8
sqlrbd(??, ??, ??, ??, ??) at 0x900000000e667e0
sqlatm(??, ??, ??, ??, ??, ??, ??) at 0x900000000e68db0
sqlnst(??, ??, ??) at 0x900000000e61bc0
sqlcmex(??, ??, ??, ??, ??) at 0x900000000e8df7c
sqlcxt(??, ??, ??, ??) at 0x900000000e8d6b0
T1100(0x11004aca0) at 0x100005b20
_tmsvcdsp() at 0x900000001167c1c
_tmrunserver() at 0x900000001118f20
_tmstartserver() at 0x9000000011cf7d0
main(0x1200000012, 0xffffffffffff688) at 0x1000004a0
(dbx)
(dbx)
程序是用cc -g 编译的,不知道为何这样?另外,通过地址能看到代码吗?
Type 'help' for help.
[using memory image in core]
reading symbolic information ...
Segmentation fault in splay at 0x90000000003ef44 ($t1)
0x90000000003ef44 (splay+0xcc) e8050008 ld r0,0x8(r5)
(dbx)
(dbx)
(dbx) where
splay(??, ??, ??) at 0x90000000003ef44
realloc_y(??, ??, ??) at 0x9000000000402e0
realloc_common(??, ??) at 0x90000000003e024
sqlrlc(??, ??, ??, ??) at 0x900000000e5aa1c
sqlcopybnd(??, ??, ??, ??, ??) at 0x900000000e664c8
sqlrbd(??, ??, ??, ??, ??) at 0x900000000e667e0
sqlatm(??, ??, ??, ??, ??, ??, ??) at 0x900000000e68db0
sqlnst(??, ??, ??) at 0x900000000e61bc0
sqlcmex(??, ??, ??, ??, ??) at 0x900000000e8df7c
sqlcxt(??, ??, ??, ??) at 0x900000000e8d6b0
T1100(0x11004aca0) at 0x100005b20
_tmsvcdsp() at 0x900000001167c1c
_tmrunserver() at 0x900000001118f20
_tmstartserver() at 0x9000000011cf7d0
main(0x1200000012, 0xffffffffffff688) at 0x1000004a0
(dbx)
(dbx)
程序是用cc -g 编译的,不知道为何这样?另外,通过地址能看到代码吗?
|
编译以后是不是把 ×.o 等中间文件都删除了? 如果是,留着看看,应该能跟到你要的函数。
关注
关注