dbx除錯過程 (轉)

worldblog發表於2007-12-15
dbx除錯過程 (轉)[@more@]

# /opt/SUNWspro/bin/x /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 mtu 1500
  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
#


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752043/viewspace-993935/,如需轉載,請註明出處,否則將追究法律責任。

相關文章