dbx调试过程

# /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
#

已标记关键词 清除标记
相关推荐
程序员的必经之路! 【限时优惠】 现在下单,还享四重好礼: 1、教学课件免费下载 2、课程案例代码免费下载 3、专属VIP学员群免费答疑 4、下单还送800元编程大礼包 【超实用课程内容】  根据《2019-2020年中国开发者调查报告》显示,超83%的开发者都在使用MySQL数据库。使用量大同时,掌握MySQL早已是运维、DBA的必备技能,甚至部分IT开发岗位也要求对数据库使用和原理有深入的了解和掌握。 学习编程,你可能会犹豫选择 C++ 还是 Java;入门数据科学,你可能会纠结于选择 Python 还是 R;但无论如何, MySQL 都是 IT 从业人员不可或缺的技能!   套餐中一共包含2门MySQL数据库必学的核心课程(共98课时)   课程1:《MySQL数据库从入门到实战应用》   课程2:《高性能MySQL实战课》   【哪些人适合学习这门课程?】  1)平时只接触了语言基础,并未学习任何数据库知识的人;  2)对MySQL掌握程度薄弱的人,课程可以让你更好发挥MySQL最佳性能; 3)想修炼更好的MySQL内功,工作中遇到高并发场景可以游刃有余; 4)被面试官打破沙锅问到底的问题问到怀疑人生的应聘者。 【课程主要讲哪些内容?】 课程一:《MySQL数据库从入门到实战应用》 主要从基础篇,SQL语言篇、MySQL进阶篇三个角度展开讲解,帮助大家更加高效的管理MySQL数据库。 课程二:《高性能MySQL实战课》主要从高可用篇、MySQL8.0新特性篇,性能优化篇,面试篇四个角度展开讲解,帮助大家发挥MySQL的最佳性能的优化方法,掌握如何处理海量业务数据和高并发请求 【你能收获到什么?】  1.基础再提高,针对MySQL核心知识点学透,用对; 2.能力再提高,日常工作中的代码换新貌,不怕问题; 3.面试再加分,巴不得面试官打破沙锅问到底,竞争力MAX。 【课程如何观看?】  1、登录CSDN学院 APP 在我的课程中进行学习; 2、移动端:CSDN 学院APP(注意不是CSDN APP哦)  本课程为录播课,课程永久有效观看时长 【资料开放】 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化。  下载方式:电脑登录课程观看页面,点击右侧课件,可进行课程资料的打包下载。
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页