|
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.
-- Greetings PeteOne person with a belief is a social power equal to ninety-nine who have only interests.
– John Stuart Mill
[Prev in Thread] | Current Thread | [Next in Thread] |