GDB错误"程序通常&QUOT退出; [英] gdb error "Program exited normally"

查看:178
本文介绍了GDB错误"程序通常&QUOT退出;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我通过GDB它给错误bedug程序[主题0x8003(LWP 6186)退出]和程序正常退出任何机构可以帮助我走出这个问题

when i bedug the programme through gdb it is giving error [Thread 0x8003 (LWP 6186) exited] and Program exited normally can any body help me to come out this problem

推荐答案

这是不是一个错误,在GDB的观点。你的程序刚刚结束摆好,为0的返回值,和gdb通知您的。

That is not an error, from gdb's point of view. Your program just finished gracefully, with a return value of 0, and gdb informs you of that.

您可能需要启动程序前设置一些断点,所以你可以在任何你想看到闲逛。最明显的事(其可以是或可以不是在你的情况是有用的)将是

You might want to set a few breakpoints before starting your program, so you can poke around in whatever you wish to see. The most obvious thing (which may or may not be useful in your case) would be

b main

这篇关于GDB错误"程序通常&QUOT退出;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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