From: twohandle AT hotmail DOT com (twohandle) Newsgroups: comp.os.msdos.djgpp Subject: Why GDB always work like this? Date: 17 Nov 2001 21:56:07 -0800 Organization: http://groups.google.com/ Lines: 42 Message-ID: NNTP-Posting-Host: 61.142.200.20 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1006062967 30485 127.0.0.1 (18 Nov 2001 05:56:07 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 18 Nov 2001 05:56:07 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com GDB for djgpp | C:\...>gdb test | | GNU gdb 5.0 | Copyright 2000 Free Software Foundation, Inc. | GDB is free software, covered by the GNU General Public License, and you are | welcome to change it and/or distribute copies of it under certain conditions. | Type "show copying" to see the conditions. | There is absolutely no warranty for GDB. Type "show warranty" for details. | This GDB was configured as "i386-pc-msdosdjgpp"... | | (gdb) l | 1 #include "xxx.h" | 2 | 3 int main(void) | 4 { | 5 ... ; | 6 ... ; | 7 | 8 cout<<"?" ; | 9 ... ; | 10 ... ; | | (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?