Date: Sun, 18 Nov 2001 10:22:16 +0200 (IST) From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> X-Sender: eliz AT is To: twohandle <twohandle AT hotmail DOT com> cc: djgpp AT delorie DOT com Subject: Re: Why GDB always work like this? In-Reply-To: <e72ec54b.0111172156.290bbbe3@posting.google.com> Message-ID: <Pine.SUN.3.91.1011118102110.1197L-100000@is> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 17 Nov 2001, twohandle wrote: > | (gdb) break 8 > | Breakpoint 1 at 0x3430: file test.cpp, line 8. > | > | (gdb) r > | Starting program: c:/.../test.exe > | > | /** The result after running **/ > | > | Program exited normally. > | > | (gdb) > > It runs all programs like this. And the Breakpoint had no use of all. > Could you tell me why and how to resolve it, please? Compile with -gstabs+ instead of -g, and you will probably have a better chance.