mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
* inferiors.c (add_thread): Set last_status kind to
TARGET_WAITKIND_IGNORE. * linux-low.c (cancel_breakpoint): Remove unnecessary regcache fetch. Use ptid_of. Avoid unnecessary get_lwp_thread calls. (linux_wait_1): Move `thread' local definition to block that uses it. Don't NULL initialize `event_child'. (linux_resume_one_thread): Avoid unnecessary get_lwp_thread calls. Alway set the thread's last_status to TARGET_WAITKIND_IGNORE. * linux-x86-low.c (x86_breakpoint_at): Read raw memory.
This commit is contained in:
@ -325,7 +325,7 @@ x86_breakpoint_at (CORE_ADDR pc)
|
||||
{
|
||||
unsigned char c;
|
||||
|
||||
read_inferior_memory (pc, &c, 1);
|
||||
(*the_target->read_memory) (pc, &c, 1);
|
||||
if (c == 0xCC)
|
||||
return 1;
|
||||
|
||||
|
Reference in New Issue
Block a user