Date: Sun, 18 Nov 2001 10:22:16 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: twohandle cc: djgpp AT delorie DOT com Subject: Re: Why GDB always work like this? In-Reply-To: Message-ID: 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.