What about putting together a script that automatically does everything?
My script already restarts aMule so that it doesn't just stop after crashing. Now can someone integrate the gdb and I'll send my Backtraces

I started with removing the localization call from aMule, because it interrupts the starting process for my aMule:
in Line 444 of /src/amule.cpp
// Load localization settings
// Localize_mule(); // <-- commented out, removes the startup pop-ups so that the program starts automatically.
lines 1131 should work, too:
/* //commented by DJtm
if ((!m_locale.Init(language)) && (language != wxLANGUAGE_DEFAULT)) {
wxMessageBox(wxT(_("The selected locale seems not to be installed on your box\n You must generate it to use this language.\nA good start on linux systems is the file /etc/locale.gen and the package 'locales'\nGood luck!\n(Note: I'll try to set it anyway)")));
}
*/
then I use a script for automatic restart and log of date:
amule.sh
"
#!/bin/sh
echo "Start of script..." >> amule.log
echo "Start of script..."
echo "------------------------------------"
date >> amule.log
while true
do
echo "------------------------------------"
echo "Starting aMule"
echo "------------------------------------"
/usr/local/bin/amule
echo "------------------------------------" >> amule.log
echo "------------------------------------"
echo "Restarting aMule"
echo "------------------------------------" >> amule.log
echo "Restarting aMule" >> amule.log
date >> amule.log
echo "------------------------------------" >> amule.log
sleep 10
done
"
/amule.sh -- replace the /usr/local/bin/amule with your path.
but how do I setup gdb to automatically catch and debug the backtraces into a file? with the --batch option it shouldn't be too hard to integrate it into this script.
Hope it helps other people along!