婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁(yè) > 知識(shí)庫(kù) > Linux加載vmlinux調(diào)試

Linux加載vmlinux調(diào)試

熱門標(biāo)簽:安陽ai電銷機(jī)器人軟件 智能電話機(jī)器人坐席 涪陵商都400電話開通辦理 柳州市機(jī)器人外呼系統(tǒng)報(bào)價(jià) 云會(huì)外呼系統(tǒng) 外呼系統(tǒng)不彈窗 廈門營(yíng)銷外呼系統(tǒng)平臺(tái) 外呼系統(tǒng)的經(jīng)營(yíng)范圍 申請(qǐng)400電話價(jià)格多少

使用gdb加載內(nèi)核符號(hào)表

arm-eabi-gdb out/target/product/msm8625/obj/KERNEL_OBJ/vmlinux

在內(nèi)核的.config里面要打開 DEBUG_INFO和DEBUG_VM

定位故障代碼

(gdb) l * qrd7627a_add_io_devices+0x100
0xc07cd05c is in qrd7627a_add_io_devices (/home/yejialong/GH700C/kernel/arch/arm/mach-msm/msm8x25/goso-msm7627a-io.c:1851).
1846      } else if (machine_is_msm8625q_skud() || machine_is_msm8625q_evbd()) {
1847    #ifndef CONFIG_CALA02
1848          platform_device_register(&pmic_mpp_leds_pdev_skud);
1849    #endif
1850          /* enable the skud flash and torch by gpio leds driver */
1851          platform_device_register(&gpio_flash_skud);
1852      } else if (machine_is_msm8625q_skue()) {
1853           /* enable the skue flashlight by gpio leds driver */
1854          platform_device_register(&gpio_flash_skue);
1855      }

下面是mtk平臺(tái)加載的方法,但是不管哪個(gè)平臺(tái)都是差不多的,道理都是一樣的。

weiqifa@weiqifa-Inspiron-3847:~/weiqifa/tm100$ ./prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gdb ./out/target/product/tm100/obj/KERNEL_OBJ/vmlinux
GNU gdb (GDB) 7.3.1-gg2
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-linux-gnu --target=arm-linux-android".
For bug reporting instructions, please see:
<http://source.android.com/source/report-bugs.html>...
Reading symbols from /home/weiqifa/weiqifa/tm100/out/target/product/tm100/obj/KERNEL_OBJ/vmlinux...done.
(gdb)

rockchip rk3399調(diào)試vmlinux

./prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-addr2line -f -e kernel/vmlinux
weiqifa@dev:~/rk3399_7in1$ ./prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-addr2line -f -e kernel/vmlinux ffffff8008459f3c
rk_iommu_domain_free
/data/weiqifa/rk3399_7in1/kernel/drivers/iommu/rockchip-iommu.c:1005 (discriminator 2)
weiqifa@dev:~/rk3399_7in1$

RK平臺(tái)tombstone調(diào)試

./prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-addr2line -e ./out/target/product/rk3399_mid/symbols/system/lib/libspeexresampler.so 0x00002d54
/proc/self/cwd/external/speex/libspeex/resample.c:376

arm-eabi-gdb  先用命令找到這個(gè)東西,然后在去找去找到vmlinux  還有就是我arm-eabi-4.7/ 這個(gè)版本才可以用,這個(gè)是我試出來的。

總結(jié)

以上就是這篇文章的全部?jī)?nèi)容了,希望本文的內(nèi)容對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,謝謝大家對(duì)腳本之家的支持。如果你想了解更多相關(guān)內(nèi)容請(qǐng)查看下面相關(guān)鏈接

標(biāo)簽:綏化 晉城 南充 蕪湖 撫順 孝感 福州 巴中

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Linux加載vmlinux調(diào)試》,本文關(guān)鍵詞  Linux,加載,vmlinux,調(diào)試,Linux,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《Linux加載vmlinux調(diào)試》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于Linux加載vmlinux調(diào)試的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 济宁市| 金昌市| 西宁市| 泰兴市| 兴仁县| 海阳市| 外汇| 河源市| 华容县| 建始县| 涟源市| 临沧市| 木里| 梁河县| 平利县| 察隅县| 任丘市| 玛纳斯县| 噶尔县| 永仁县| 木兰县| 徐闻县| 都匀市| 保定市| 雅江县| 来安县| 旬阳县| 库尔勒市| 枣强县| 兴仁县| 云和县| 乌海市| 石门县| 新绛县| 淳化县| 志丹县| 大石桥市| 诸暨市| 永福县| 昌吉市| 巴彦淖尔市|