История изменений
Исправление af5, (текущая версия) :
gdb ./gouraud
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/af5/Downloads/oglpg-8th-edition/04/Gouraud/gouraud...done.
(gdb) r
Starting program: /home/af5/Downloads/oglpg-8th-edition/04/Gouraud/gouraud
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00000000004014e2 in init () at gouraud.cpp:30
#2 0x0000000000401835 in main (argc=1, argv=0x7fffffffe218) at gouraud.cpp:131
(gdb)
Исходная версия af5, :
gdb ./gouraud
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/a2/Downloads/oglpg-8th-edition/04/Gouraud/gouraud...done.
(gdb) r
Starting program: /home/a2/Downloads/oglpg-8th-edition/04/Gouraud/gouraud
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00000000004014e2 in init () at gouraud.cpp:30
#2 0x0000000000401835 in main (argc=1, argv=0x7fffffffe218) at gouraud.cpp:131
(gdb)