My experience with GDB is only with hello world example.

I'm doing :
(gdb) file fgfs --fg-root=/home/knoppix/FlightGear-0.9.9
Load new symbol table from "/ramdisk/home/knoppix/FlightGear-0.9.9/source/src/Main/fgfs"? (y or n) y
Reading symbols from /ramdisk/home/knoppix/FlightGear-0.9.9/source/src/Main/fgfs...done.
unknown option `--fg-root=/home/knoppix/FlightGear-0.9.9'

(gdb) run

Starting program: /ramdisk/home/knoppix/FlightGear-0.9.9/source/src/Main/fgfs
[Thread debugging using libthread_db enabled]
[New Thread -1224321312 (LWP 5489)]

Base package check failed ... Found version [none] at: /usr/local/share/FlightGear
Please upgrade to version: 0.9.9

Program exited with code 0377.
(gdb)

Am I doing right ?

Frederic Bouvier <[EMAIL PROTECTED]> wrote:
Fre deric Bouvier wrote :
> Isao Yamashita wrote :
>
>> ...
>> Audio initialization failed!
>> Could not change the current ALC context
>> Adding subsystem fx
>> Adding subsystem voice
>> ATC Display
>> ATC Manager
>> terminate called after throwing an instance of 'sg_io_exception'
>>

start fgfs with gdb. You will be able to catch the exception when it is
thrown.

-Fred




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to