- Fix a stupid typo, causing all threads to have the same backtrace.

svn path=/trunk/; revision=72806
This commit is contained in:
Jérôme Gardou 2016-09-25 22:33:48 +00:00
parent 844f4e8868
commit 14628d18e5

View file

@ -196,7 +196,6 @@ gdb_send_registers(void)
RegisterPtr = thread_to_reg(DbgThread, i, &size); RegisterPtr = thread_to_reg(DbgThread, i, &size);
if (RegisterPtr) if (RegisterPtr)
{ {
RegisterPtr = ctx_to_reg(&CurrentContext, i, &size);
RegisterStr[0] = hex_chars[RegisterPtr[0] >> 4]; RegisterStr[0] = hex_chars[RegisterPtr[0] >> 4];
RegisterStr[1] = hex_chars[RegisterPtr[0] & 0xF]; RegisterStr[1] = hex_chars[RegisterPtr[0] & 0xF];
RegisterStr[2] = hex_chars[RegisterPtr[1] >> 4]; RegisterStr[2] = hex_chars[RegisterPtr[1] >> 4];