Thanks for the help. That's the -g option correct? If so, then yes.
I tried r at the (gbd) prompt, and it tried to startup, but then said there was no process. Here's a copy & paste:
[EMAIL PROTECTED] steam]$ ./srcds_run_debug -console -game espionage -IP jmetcalf.2y.net -port 27017 +map esp_test +maxplayers 10 GNU gdb Red Hat Linux (6.1post-1.20040607.43rh) 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) r Starting program: /usr/steam/hlds_l/srcds_i486 -game espionage -norestart warning: Child process unexpectedly missing: No child processes
Program terminated with signal ?, Unknown signal. The program no longer exists. You can't do that without a process to debug. (gdb)
(srcds_run_debug is a copy of srcds_run modified to have DEBUG="yes" and also point to the gdb library thingy.)
when I type 'quit' at the (gdb) prompt it exits and then the server starts up, then immediately segfaults.
I tried starting a server w/o the srcds_run script and got the following error: [EMAIL PROTECTED] steam]$ ./srcds_i486 -console -game espionage -IP jmetcalf.2y.net -port 27017 +map esp_test +maxplayers 10 Failed to open bin/dedicated_i486.so (vstdlib_i486.so: cannot open shared object file: No such file or directory)
But there is a bin/dedicated_i486.so. The server runs hl2mp just fine...
Any ideas? ------------------ Russell "DOOManiac" Weed ------------------ [EMAIL PROTECTED] ------------------
Jeffrey "botman" Broome wrote:
DOOManiac wrote:
I added gdb --args ./srcds_i486 -game <modname> -norestart to my srcds_run (actually, I copied that as srcds_run_debug and edited the copy). I run the command and it leaves me at a gdb prompt, but from there I have no idea what to do.
The gbx command 'r' will run the executable. When it crashes enter the command 'where' to get a stack traceback. I hope you compiled with debug symbols enabled.
-- Jeffrey "botman" Broome
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

