简体   繁体   English

QEMU aarch64没有达到断点

[英]QEMU aarch64 not hitting breakpoint

I am using QEMU, buildroot-2018.02.6 and Linux kernel (4.18.14), compiled all these on Ubuntu for aarch64, using gdb-multiarch to debug, but not hitting the break point in kernel code; 我使用的是QEMU,buildroot-2018.02.6和Linux内核(4.18.14),它们在Ubuntu上针对aarch64进行了全部编译,使用gdb-multiarch进行了调试,但没有达到内核代码的极限。 when I set break point, I get below message: 设置断点时,出现以下消息:

warning: Breakpoint address adjusted from 0xffff000008f90990 to 0xff000008f90990.
Breakpoint 1 at 0xff000008f90990: file init/main.c, line 532.

Never hit the break point, tried with both hbreak and break . 永远不要碰到断点,同时尝试hbreakbreak Please help. 请帮忙。

Which gdb version are you using? 您使用的是哪个gdb版本? There was a bug in gdb in this area in gdb 8.1: https://sourceware.org/bugzilla/show_bug.cgi?id=23127 -- it has been fixed in newer gdb version I think, and it wasn't present in older ones like gdb 7. gdb 8.1中该区域的gdb中存在一个错误: https ://sourceware.org/bugzilla/show_bug.cgi?id = 23127-我认为它已在较新的gdb版本中修复,并且在以下版本中不存在较旧的版本,例如gdb 7。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM