summaryrefslogtreecommitdiff
path: root/Source/Core/Core/Src/Debugger/GClibloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Core/Src/Debugger/GClibloc.cpp')
-rw-r--r--Source/Core/Core/Src/Debugger/GClibloc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Core/Src/Debugger/GClibloc.cpp b/Source/Core/Core/Src/Debugger/GClibloc.cpp
index 74744fd383..3a3fad22c5 100644
--- a/Source/Core/Core/Src/Debugger/GClibloc.cpp
+++ b/Source/Core/Core/Src/Debugger/GClibloc.cpp
@@ -270,7 +270,8 @@ int LoadSymbolsFromO(const char* filename, unsigned int base, unsigned int count
fseek (ifil, ELF_SH.offset, SEEK_SET);
if (ELF_SH.size<0 || ELF_SH.size>0x10000000)
{
- PanicAlert("WTF??");
+ PanicAlert("Failed to load symbols from object file.\n"
+ "Header size is invalid");
}
abuf = (unsigned char *)malloc (ELF_SH.size);
fread (abuf, 1, ELF_SH.size, ifil);