2
I'm executing a pro*c executable in linux and I've got segmentation fault error. But there is no core file dumped.
Thus, I want to debug the program using GDB debugging tool. However, I see that it is not installed on my Linux machine (a RHEL 5.3). How to install GDB debugging tool in linux? Do I need to download any package and install it, or does it come with RHEL?
Any help is appreciated.
2sudo apt-get install gdb – H2CO3 – 2012-05-11T07:09:24.013
1which distro??? – Vineet Menon – 2012-05-11T07:09:55.040
4Don't ask questions when the answer can be easily found via Google. And you did not specify what distribution of Linux you are using. – None – 2012-05-11T07:13:13.480
below is distribution details: Enterprise Linux Enterprise Linux Server release 5.3 (Carthage) Red Hat Enterprise Linux Server release 5.3 (Tikanga) LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch – None – 2012-05-11T07:18:59.530
1@Hindol.. my question doesnt harm anything.. – None – 2012-05-11T07:20:26.797
@Hindol you could have said this in a friendlier and more constructive manner. And we all know that sometimes Google has the proper answer buried under tons of crap :) There is no reason I see why this question cannot be answered without being harsh. – Huygens – 2012-05-11T10:33:50.963