Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#16 GDB won't work with 8 Kingdoms.

General
open
nobody
Legacy (21)
5
2010-04-26
2009-04-08
Lcd
No

When I try to run 8 Kingdoms using GDB, I get:

(gdb) run 8Kingdoms
Starting program: /usr/local/bin/8Kingdoms 8Kingdoms
[Thread debugging using libthread_db enabled]
common/CommandLine.cpp (96): TCommandLine::TCommandLine(): unknown parameter

Program exited normally.
start 8Kingdoms gives me

(gdb) start 8Kingdoms
Breakpoint 4 at 0x409240: file 8Kingdoms.cpp, line 471.
Starting program: /usr/local/bin/8Kingdoms 8Kingdoms
[Thread debugging using libthread_db enabled]
[New Thread 0x7fbc046f3700 (LWP 7335)]
[Switching to Thread 0x7fbc046f3700 (LWP 7335)]
main (argc=2, argv=0x7fff0c8b6cd8) at 8Kingdoms.cpp:471
471 8Kingdoms.cpp: No such file or directory.
in 8Kingdoms.cpp

and when I run "start 8Kingdoms" a second time,

(gdb) start 8Kingdoms
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Breakpoint 5 at 0x409240: file 8Kingdoms.cpp, line 471.
Starting program: /usr/local/bin/8Kingdoms 8Kingdoms
[Thread debugging using libthread_db enabled]
[New Thread 0x7f898e020700 (LWP 7345)]
[Switching to Thread 0x7f898e020700 (LWP 7345)]
main (argc=2, argv=0x7fff961e3608) at 8Kingdoms.cpp:471
471 in 8Kingdoms.cpp

Discussion

  • Greg*
    Greg*
    2010-04-26

    • labels: 586456 --> Legacy