分享
 
 
 

dbx调试过程

王朝other·作者佚名  2006-01-08
窄屏简体版  字體: |||超大  

# /opt/SUNWspro/bin/dbx /usr/sbin/ifconfig

.............

............. (略)

.............

(/opt/SUNWspro/bin/dbx) alias s=stepi

(/opt/SUNWspro/bin/dbx) stop in putmsg

(/opt/SUNWspro/bin/dbx) stop in getmsg

(/opt/SUNWspro/bin/dbx) runargs hme0

(/opt/SUNWspro/bin/dbx) run

Running: ifconfig hme0

(process id 28918)

hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500

inet 10.5.3.7 netmask ffffff00 broadcast 10.5.3.255

stopped in putmsg at 0xef5b9348

0xef5b9348: putmsg : st %o0, [%sp + 0x44]

(/opt/SUNWspro/bin/dbx) where

=>[1] putmsg(0x4, 0xeffffaf8, 0x0, 0x0, 0x0, 0x0), at 0xef5b9348

[2] dlpi_open_attach(0x4, 0x2710, 0x29c00, 0x2b1c8, 0x2, 0xff), at 0x14c9c

[3] dlpi_get_address(0x2b19c, 0xeffffc48, 0x35, 0x0, 0x686d6530, 0x6c6f3000), at 0x15710

[4] ether_status(0x2b19c, 0x863, 0x13384, 0x2b000, 0xc0206800, 0x2ac00), at 0x133b0

[5] status(0x2a018, 0x2b010, 0x863, 0x2ac00, 0x2b19c, 0x2d616444), at 0x13090

[6] main(0x0, 0xeffffd8c, 0x2b19c, 0x2, 0x0, 0x0), at 0x121f8

(/opt/SUNWspro/bin/dbx) examine 0xeffffaf8/32x

dbx: warning: unknown language, 'ansic' assumed

0xeffffaf8: 0xefff 0xfbdc 0x0000 0x0008 0x0002 0xb1c8 0x0000 0x0000

0xeffffb08: 0x2f64 0x6576 0x2f68 0x6d65 0x0000 0x0001 0x0000 0x0000

0xeffffb18: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0xeffffb28: 0x0000 0x0000 0x0000 0x0000 0xef70 0x8130 0xef6e 0xb798

(/opt/SUNWspro/bin/dbx) examine 0x2b1c8/32x

0x0002b1c8: 0x0000 0x000b 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1d8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1e8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1f8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

(/opt/SUNWspro/bin/dbx) cont

stopped in getmsg at 0xef5b7b10

0xef5b7b10: getmsg : st %o0, [%sp + 0x44]

(/opt/SUNWspro/bin/dbx) where

=>[1] getmsg(0x4, 0xeffffaf8, 0x0, 0xeffffaf4, 0x0, 0x0), at 0xef5b7b10

[2] 0x157f4(0x4, 0xeffffaf8, 0xeffffaf4, 0x3c, 0x2a88c, 0x2a898), at 0x157f3

[3] dlpi_open_attach(0x4, 0x2710, 0x29c00, 0x2b1c8, 0x2, 0xff), at 0x14d00

[4] dlpi_get_address(0x2b19c, 0xeffffc48, 0x35, 0x0, 0x686d6530, 0x6c6f3000), at 0x15710

[5] ether_status(0x2b19c, 0x863, 0x13384, 0x2b000, 0xc0206800, 0x2ac00), at 0x133b0

[6] status(0x2a018, 0x2b010, 0x863, 0x2ac00, 0x2b19c, 0x2d616444), at 0x13090

[7] main(0x0, 0xeffffd8c, 0x2b19c, 0x2, 0x0, 0x0), at 0x121f8

(/opt/SUNWspro/bin/dbx) examine 0xeffffaf8/32x

0xeffffaf8: 0x0000 0x2710 0x0000 0x0000 0x0002 0xb1c8 0x0000 0x0000

0xeffffb08: 0x2f64 0x6576 0x2f68 0x6d65 0x0000 0x0001 0x0000 0x0000

0xeffffb18: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0xeffffb28: 0x0000 0x0000 0x0000 0x0000 0xef70 0x8130 0xef6e 0xb798

(/opt/SUNWspro/bin/dbx) examine 0x2b1c8/32x

0x0002b1c8: 0x0000 0x000b 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1d8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1e8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1f8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

(/opt/SUNWspro/bin/dbx) examine 0xeffffaf4/32x

0xeffffaf4: 0x0000 0x0000 0x0000 0x2710 0x0000 0x0000 0x0002 0xb1c8

0xeffffb04: 0x0000 0x0000 0x2f64 0x6576 0x2f68 0x6d65 0x0000 0x0001

0xeffffb14: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0xeffffb24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0xef70 0x8130

(/opt/SUNWspro/bin/dbx) s

signal INT (Interrupt) in getmsg at 0xef5b7b10

0xef5b7b10: getmsg : st %o0, [%sp + 0x44]

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b14

0xef5b7b14: getmsg+0x0004: mov 0x55, %g1

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b18

0xef5b7b18: getmsg+0x0008: ta %icc,%g0 + 8

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b1c

0xef5b7b1c: getmsg+0x000c: bgeu getmsg+0x40

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b20

0xef5b7b20: getmsg+0x0010: cmp %o0, 0x5b

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b50

0xef5b7b50: getmsg+0x0040: retl

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b54

0xef5b7b54: getmsg+0x0044: nop

(/opt/SUNWspro/bin/dbx) s

stopped in (unknown) at 0x157fc

0x000157fc: tst %o0

(/opt/SUNWspro/bin/dbx) examine 0x2b1c8/32x

dbx: warning: unknown language, 'ansic' assumed

0x0002b1c8: 0x0000 0x0006 0x0000 0x000b 0x0000 0x0000 0x0000 0x0000

0x0002b1d8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1e8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1f8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

(/opt/SUNWspro/bin/dbx) examine 0xeffffaf4/32x

0xeffffaf4: 0x0000 0x0001 0x0000 0x2710 0x0000 0x0008 0x0002 0xb1c8

0xeffffb04: 0x0000 0x0000 0x2f64 0x6576 0x2f68 0x6d65 0x0000 0x0001

0xeffffb14: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0xeffffb24: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0xef70 0x8130

(/opt/SUNWspro/bin/dbx) cont

stopped in putmsg at 0xef5b9348

0xef5b9348: putmsg : st %o0, [%sp + 0x44]

(/opt/SUNWspro/bin/dbx) where

=>[1] putmsg(0x4, 0xeffffb7c, 0x0, 0x0, 0xef62563c, 0x14ea8), at 0xef5b9348

[2] 0x15154(0x4, 0xeffffc48, 0x2710, 0x2b1c8, 0x2, 0xff), at 0x15153

[3] dlpi_get_address(0x4, 0xeffffc48, 0x35, 0x0, 0x686d6530, 0x6c6f3000), at 0x1572c

[4] ether_status(0x2b19c, 0x863, 0x13384, 0x2b000, 0xc0206800, 0x2ac00), at 0x133b0

[5] status(0x2a018, 0x2b010, 0x863, 0x2ac00, 0x2b19c, 0x2d616444), at 0x13090

[6] main(0x0, 0xeffffd8c, 0x2b19c, 0x2, 0x0, 0x0), at 0x121f8

(/opt/SUNWspro/bin/dbx) examine 0xeffffb7c/32x

dbx: warning: unknown language, 'ansic' assumed

0xeffffb7c: 0x0000 0x0000 0x0000 0x0008 0x0002 0xb1c8 0xff00 0x0000

0xeffffb8c: 0x00ff 0x0000 0x0000 0xff00 0xe76c 0x642f 0x0000 0x0068

0xeffffb9c: 0x0000 0x006c 0x7efe 0xfeff 0x8101 0x0100 0x0000 0x0004

0xeffffbac: 0xefff 0xfc48 0x0000 0x0035 0x0000 0x0000 0x686d 0x6530

(/opt/SUNWspro/bin/dbx) examine 0x2b1c8/32x

0x0002b1c8: 0x0000 0x0031 0x0000 0x0002 0x0000 0x0000 0x0000 0x0000

0x0002b1d8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1e8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1f8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

(/opt/SUNWspro/bin/dbx) cont

stopped in getmsg at 0xef5b7b10

0xef5b7b10: getmsg : st %o0, [%sp + 0x44]

(/opt/SUNWspro/bin/dbx) where

=>[1] getmsg(0x4, 0xeffffb7c, 0x0, 0xeffffb78, 0x0, 0x0), at 0xef5b7b10

[2] 0x157f4(0x4, 0xeffffb7c, 0xeffffb78, 0x3c, 0x2a8c0, 0x2a8d4), at 0x157f3

[3] 0x151b0(0x4, 0xeffffc48, 0x2710, 0x2b1c8, 0x2, 0xff), at 0x151af

[4] dlpi_get_address(0x4, 0xeffffc48, 0x35, 0x0, 0x686d6530, 0x6c6f3000), at 0x1572c

[5] ether_status(0x2b19c, 0x863, 0x13384, 0x2b000, 0xc0206800, 0x2ac00), at 0x133b0

[6] status(0x2a018, 0x2b010, 0x863, 0x2ac00, 0x2b19c, 0x2d616444), at 0x13090

[7] main(0x0, 0xeffffd8c, 0x2b19c, 0x2, 0x0, 0x0), at 0x121f8

(/opt/SUNWspro/bin/dbx) examine 0xeffffb7c/32x

0xeffffb7c: 0x0000 0x2710 0x0000 0x0000 0x0002 0xb1c8 0xff00 0x0000

0xeffffb8c: 0x00ff 0x0000 0x0000 0xff00 0xe76c 0x642f 0x0000 0x0068

0xeffffb9c: 0x0000 0x006c 0x7efe 0xfeff 0x8101 0x0100 0x0000 0x0004

0xeffffbac: 0xefff 0xfc48 0x0000 0x0035 0x0000 0x0000 0x686d 0x6530

(/opt/SUNWspro/bin/dbx) examine 0x2b1c8/32x

0x0002b1c8: 0x0000 0x0031 0x0000 0x0002 0x0000 0x0000 0x0000 0x0000

0x0002b1d8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1e8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1f8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

(/opt/SUNWspro/bin/dbx) examine 0xeffffb78/32x

0xeffffb78: 0x0000 0x0000 0x0000 0x2710 0x0000 0x0000 0x0002 0xb1c8

0xeffffb88: 0xff00 0x0000 0x00ff 0x0000 0x0000 0xff00 0xe76c 0x642f

0xeffffb98: 0x0000 0x0068 0x0000 0x006c 0x7efe 0xfeff 0x8101 0x0100

0xeffffba8: 0x0000 0x0004 0xefff 0xfc48 0x0000 0x0035 0x0000 0x0000

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b14

0xef5b7b14: getmsg+0x0004: mov 0x55, %g1

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b18

0xef5b7b18: getmsg+0x0008: ta %icc,%g0 + 8

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b1c

0xef5b7b1c: getmsg+0x000c: bgeu getmsg+0x40

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b20

0xef5b7b20: getmsg+0x0010: cmp %o0, 0x5b

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b50

0xef5b7b50: getmsg+0x0040: retl

(/opt/SUNWspro/bin/dbx) s

stopped in getmsg at 0xef5b7b54

0xef5b7b54: getmsg+0x0044: nop

(/opt/SUNWspro/bin/dbx) s

stopped in (unknown) at 0x157fc

0x000157fc: tst %o0

(/opt/SUNWspro/bin/dbx) examine 0x2b1c8/32x

dbx: warning: unknown language, 'ansic' assumed

0x0002b1c8: 0x0000 0x0032 0x0000 0x0006 0x0000 0x000c 0x0800 0x20ce

0x0002b1d8: 0xa44b 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1e8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

0x0002b1f8: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000

(/opt/SUNWspro/bin/dbx) examine 0xeffffb78/32x

0xeffffb78: 0x0000 0x0001 0x0000 0x2710 0x0000 0x0012 0x0002 0xb1c8

0xeffffb88: 0xff00 0x0000 0x00ff 0x0000 0x0000 0xff00 0xe76c 0x642f

0xeffffb98: 0x0000 0x0068 0x0000 0x006c 0x7efe 0xfeff 0x8101 0x0100

0xeffffba8: 0x0000 0x0004 0xefff 0xfc48 0x0000 0x0035 0x0000 0x0000

(/opt/SUNWspro/bin/dbx) cont

ether 8:0:20:ce:a4:4b

execution completed, exit code is 0

(/opt/SUNWspro/bin/dbx) exit

#

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有