mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Fixup GDB
This commit is contained in:
parent
d376ba5994
commit
a2d5b5a0e2
2 changed files with 3 additions and 2 deletions
|
@ -587,7 +587,7 @@ bool gdb_thread::cmd_thread_info(gdb_cmd&)
|
|||
|
||||
bool gdb_thread::cmd_current_thread(gdb_cmd&)
|
||||
{
|
||||
return send_cmd_ack(selected_thread && selected_thread->state.none_of(cpu_flag::exit) ? "" : ("QC" + u64_to_padded_hex(selected_thread->id)));
|
||||
return send_cmd_ack(selected_thread && selected_thread->state.none_of(cpu_flag::exit) ? ("QC" + u64_to_padded_hex(selected_thread->id)) : "");
|
||||
}
|
||||
|
||||
bool gdb_thread::cmd_read_register(gdb_cmd& cmd)
|
||||
|
@ -733,7 +733,7 @@ bool gdb_thread::cmd_read_all_registers(gdb_cmd&)
|
|||
return send_cmd_ack(result);
|
||||
}
|
||||
|
||||
GDB.warning("Unimplemented thread type %d.", selected_thread ->id_type());
|
||||
GDB.warning("Unimplemented thread type %d.", selected_thread->id_type());
|
||||
return send_cmd_ack("");
|
||||
}
|
||||
|
||||
|
|
|
@ -372,6 +372,7 @@ namespace stx
|
|||
{
|
||||
// Reset, probably a new utils::serial object
|
||||
s_tls_call_count = 1;
|
||||
s_tls_object_name = "none"sv;
|
||||
}
|
||||
|
||||
s_tls_current_pos = ar.pos;
|
||||
|
|
Loading…
Add table
Reference in a new issue