Ok so I have had no luck getting GDB to show anything. I have attached the output so you can see that the build type is set to devel
Code:
Doing a clean build.
Forcing cross compilation.
Building pcsx2 with -DCMAKE_BUILD_PO=FALSE -DCMAKE_BUILD_TYPE=Devel -DGTK3_API=TRUE -DSDL2_API=FALSE -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake
-- The C compiler identification is GNU 5.1.1
-- The CXX compiler identification is GNU 5.1.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build Fedora specific
-- Cross compilation is enabled.
-- Compiling a i386 build on a x86_64 host.
-- Found ALSA: /usr/lib/libasound.so (found version "1.0.29")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.6")
-- Found Git: /usr/bin/git (found version "2.5.0")
-- Looking for lzma_auto_decoder in /usr/lib/liblzma.so
-- Looking for lzma_auto_decoder in /usr/lib/liblzma.so - found
-- Looking for lzma_easy_encoder in /usr/lib/liblzma.so
-- Looking for lzma_easy_encoder in /usr/lib/liblzma.so - found
-- Looking for lzma_lzma_preset in /usr/lib/liblzma.so
-- Looking for lzma_lzma_preset in /usr/lib/liblzma.so - found
-- Found LibLZMA: /usr/include (found version "5.2.1")
-- Found OpenGL: /usr/lib/libGL.so
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.19")
-- Found wxWidgets: TRUE
-- Found Libc: /usr/lib/librt.so;/usr/lib/libdl.so;/usr/lib/libm.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- AIO found
-- PORTAUDIO found
-- SOUNDTOUCH found
-- PNGPP not found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found SDL: /usr/lib/libSDL.so (found version "1.2.15")
-- Looking for XOpenDisplay in /usr/lib/libX11.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/libX11.so
-- Found GTK3_GTK: /usr/lib/libgtk-3.so
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/games/native_emulators/source_files/pcsx2/build
I run the following command "gdb PCSX2"
followed by "run"
I then close the PCSX2 application
I run the following command (still within GDB) "thread apply all bt"
Nothing happens apart from the GDB prompt re-appearing again
I try running "bt"
I get the following response "No Stack"
I dont know if it is the effect of gdb but it almost appears that the hang does not happen when launching via gdb. If I launch without gdb, when i close the program the main window closes but the "PCSX2 Program Log" window remains open and it appears to hang (I have left it for a long time to prove that it never closes).
Launching via gdb does not cause the "PCSX2 Program Log" window to remain.....
Maybe the reason there is no call stack is because the program doesn't crash?
On the plus side, I have discovered that I dont need the virtual machine to build it anymore as the 32bit dependencies no longer conflict with the 64bit versions like they did on older versions of Fedora so now I can build on my 64bit machine