我已经在某个文件的特定行设置了断点,由于存在多个这样的文件,这导致GDB创建了多个断点。
有没有一种方法可以从多个断点列表中删除断点? 尝试使用断点的索引进行删除时,会出现错误。
(gdb) b drv.c:2145
Breakpoint 1 at 0xa8b8172: drv.c:2145. (3 locations)
(gdb) info b
Num Type Disp Enb Address What
1 breakpoint keep y <MULTIPLE>
1.1 y 0x0a8b8172 in soc_property_ci_get_str at /lspace/seb/broadcom/src/soc/common/drv.c:2145
1.2 y 0x0a8b81d8 in soc_property_ci_get_str at /lspace/seb/broadcom/src/soc/common/drv.c:2145
1.3 y 0x0aaa364d in soc_dpp_info_config_common_tm at /lspace/seb/broadcom/src/soc/dpp/drv.c:2145
有没有一种方法可以从多个断点列表中删除断点? 尝试使用断点的索引进行删除时,会出现错误。
(gdb) d 1.1
warning: bad breakpoint number at or near '1.1'