(gdb) run bomb Starting program: bomb No executable file specified. Use the "file" or "exec-file" command.
时间: 2024-01-12 15:05:12 浏览: 56
这不是一个问题,而是一个 gdb 调试器的命令行输入,看起来你想要运行一个叫做 "bomb" 的可执行文件,但是你没有指定该文件的路径或者 gdb 找不到该文件。你可以先使用 "file" 命令指定可执行文件的路径,然后使用 "run" 命令来运行它。例如:
```
(gdb) file /path/to/bomb
(gdb) run
```
请注意替换 "/path/to/bomb" 为你实际的可执行文件路径。
相关问题
(gdb) break sent.cpp:458 No symbol table is loaded. Use the "file" command. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (sent.cpp:458) pending. (gdb) run Starting program: No executable file specified. Use the "file" or "exec-file" command.
这个问题看起来是因为你没有指定可执行文件,导致 GDB 无法启动程序。你需要使用 "file" 命令或 "exec-file" 命令指定可执行文件,然后再运行程序。
请按照以下步骤进行操作:
1. 使用 "file" 命令或 "exec-file" 命令指定可执行文件,例如:
```
(gdb) file my_program
```
2. 设置断点,例如:
```
(gdb) break sent.cpp:458
```
3. 运行程序,例如:
```
(gdb) run
```
这样应该就可以成功启动程序并设置断点了。如果你还遇到其他问题,请提供更多的上下文信息,我会尽力帮助你解决问题。
(gdb) run -c /usr/local/etc/suricata/suricata.yaml --dpdkintel Starting program: -c /usr/local/etc/suricata/suricata.yaml --dpdkintel No executable file specified. Use the "file" or "exec-file" command.
这是一个 GDB 的调试信息,看起来你正在尝试调试一个程序,但是你没有指定可执行文件。你需要使用 "file" 或 "exec-file" 命令来指定一个可执行文件。例如,如果你要调试一个名为 "myprogram" 的程序,你可以使用以下命令:
```
(gdb) file myprogram
```
然后你可以使用 "run" 命令来运行程序:
```
(gdb) run -c /usr/local/etc/suricata/suricata.yaml --dpdkintel
```