Mail Archives: djgpp/2001/11/18/01:35:01
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?
- Raw text -