Okay, I decided to change the way I rename my log files, before I updated the stderr right before the copyover/hotboot. Kayle threw out an idea that it could be done in db.c, which I thought was cool, because for me the first log file name of a new startup would never be correct. Well, call freopen on the stderr and it works fine, but when I run my MUD in gdb I don't see the output. So my questions is/are is there a way to make GDB recognize the new stderr stream? If not, then is there a way to make my game recognize the fact that I'm running it in GDB? I would like a way to do it so I wouldn't have to change anything code wise to run in GDB vs running it normally, if not that's cool though.
Thanks for any input,
KeB