diff options
Diffstat (limited to 'gdb/windows-tdep.c')
-rw-r--r-- | gdb/windows-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c index 2a5524e..984f139 100644 --- a/gdb/windows-tdep.c +++ b/gdb/windows-tdep.c @@ -902,7 +902,7 @@ windows_solib_create_inferior_hook (int from_tty) } CORE_ADDR tlb; gdb_byte buf[8]; - if (target_has_execution + if (target_has_execution () && target_get_tib_address (inferior_ptid, &tlb) && !target_read_memory (tlb + peb_offset, buf, ptr_bytes)) { |