- 论坛徽章:
- 0
|
错误依旧啊,难道还没有开始就错误了?
gdb ./pcpos
GNU gdb Red Hat Linux (6.3.0.0-1.62rh)
Copyright 2004 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-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x69c56: file main.cpp, line 187.
(gdb) r
Starting program: /home/symsun/poss/pcpos
Breakpoint 1 at 0xbecc56: file main.cpp, line 187.
Program received signal SIGSEGV, Segmentation fault.
0x00000001 in ?? ()
(gdb) |
|