answersLogoWhite

0

AllQ&AStudy Guides
Best answer

Assuming that you have written a program named abc.c and created executable abc.

Steps:

1. run your program from command line ./abc

3. get the PID processid of the program from PS aux | grep abc

3. start the gdb from command line

4. type following command on GDB prompt

(gdb) attach PID

where PID = your program's processid got from step 1.

This answer is:
Related answers

Assuming that you have written a program named abc.c and created executable abc.

Steps:

1. run your program from command line ./abc

3. get the PID processid of the program from PS aux | grep abc

3. start the gdb from command line

4. type following command on GDB prompt

(gdb) attach PID

where PID = your program's processid got from step 1.

View page

GNU DeBugger

View page

GDB stands for the GNU Debugger. This is a file that is a debugger for the operation system GNU. It can be used on other systems as well.

View page

In computer terminology GDB means GNU Debugger. Its a program that if installed on a computer will look for and remove bugs from the operating system.

View page

wfwe\gdb

View page
Featured study guide
📓
See all Study Guides
✍️
Create a Study Guide
Search results