|
|||||||||||
| 技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測(cè)控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng) 驅(qū)動(dòng)編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機(jī) | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計(jì) | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe |
GDB調(diào)試LINUX內(nèi)核(軟仿) |
| 作者:mybao 欄目:驅(qū)動(dòng)編程 |
[root@localhost linux-2.6.11.8]# arm-uclinux-gdb vmlinux GNU gdb 6.1 COPYRIGHT 2004 Free SOFTWARE Foundation, Inc. GDB is free SOFTWARE, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-uclinux"... (gdb) target sim Connected to the simulator. (gdb) load Loading section .init, size 0x17000 vma 0xc008000 Loading section .text, size 0x1f06b8 vma 0xc01f000 Loading section __ex_table, size 0x9b8 vma 0xc20f6c0 Loading section __ksymtab, size 0x3c20 vma 0xc210078 Loading section __ksymtab_gpl, size 0x610 vma 0xc213c98 Loading section __kcrctab, size 0x1e04 vma 0xc2142a8 Loading section __kcrctab_gpl, size 0x308 vma 0xc2160ac Loading section __ksymtab_strings, size 0x937c vma 0xc2163b4 Loading section __param, size 0x2bc vma 0xc21f730 Loading section .data, size 0x4b350 vma 0xc220000 Start address 0xc008000 Transfer rate: 20015520 bits/sec. (gdb) c Continuing. The program is not being run. (gdb) The program is not being run. run就可以運(yùn)行了,不過(guò)有時(shí)候設(shè)置斷點(diǎn),停不下來(lái),奇怪 * - 本貼最后修改時(shí)間:2007-5-8 19:08:52 修改者:mybao |
|
|
| 免費(fèi)注冊(cè)為維庫(kù)電子開(kāi)發(fā)網(wǎng)會(huì)員,參與電子工程師社區(qū)討論,點(diǎn)此進(jìn)入 |
Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號(hào) |