你如何开始在gdb中使用'target remote'重新运行程序? [英] How do you start running the program over again in gdb with 'target remote'?

查看:1135
本文介绍了你如何开始在gdb中使用'target remote'重新运行程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您在同一台计算机上的可执行文件上执行通常的gdb会话时,您可以给出run命令,它会再次启动该程序。

When you're doing a usual gdb session on an executable file on the same computer, you can give the run command and it will start the program over again.

当你在嵌入式系统上运行gdb时,与命令target localhost:3210'一样,如何在不退出并重新启动gdb会话的情况下重新启动程序?

When you're running gdb on an embedded system, as with the command target localhost:3210', how do you start the program over again without quitting and restarting your gdb session?

推荐答案

您正在寻找多进程模式对于gdbserver 设置远程exec-file文件名

You are looking for Multi-Process Mode for gdbserver and set remote exec-file filename

这篇关于你如何开始在gdb中使用'target remote'重新运行程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆