[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb gud won't show source code

From: Peter Dyballa
Subject: Re: gdb gud won't show source code
Date: Fri, 20 Feb 2009 08:32:00 +0100

Am 20.02.2009 um 06:41 schrieb viona:

I am not sure whether it's supposed behaviour, cause in all tutorials
I've found there are examples with a.out.

The name a.out plays no role. Once gdb has started to run the programme to debug, its sources become available. It helps gdb to have a .gdbinit file in the directory with the binary to debug. Here you can record whether the sources are in a different directory. And more things, for example breakpoints.



One person with a belief is a social power equal to ninety-nine who have only interests.
                                – John Stuart Mill

reply via email to

[Prev in Thread] Current Thread [Next in Thread]