How do you debug a program with a core file using gdb?

What will be an ideal response?


To debug a program with a core file all you need to do is also give the name of the core file as an argument to gdb when starting the debugger
gdb buggy core

Computer Science & Information Technology

You might also like to view...

The________is the process that invokes os.fork.

a) child process. b) parent process. c) master process. d) None of the above.

Computer Science & Information Technology

In addition to the Simple Query Wizard, there are three additional query wizards available to make quick, step-by-step queries

Indicate whether the statement is true or false

Computer Science & Information Technology

COGNITIVE ASSESSMENT You are looking for the best protection against data loss. Which of the following will you use?

A. archival backup B. differential backup C. selective backup D. partial backup

Computer Science & Information Technology

Briefly describe billboard, portal, e-commerce, and product support web sites.

What will be an ideal response?

Computer Science & Information Technology