Don't try to get the TIB address without an inferior
authorHannes Domani <ssbssa@yahoo.de>
Wed, 4 Mar 2020 20:20:31 +0000 (21:20 +0100)
committerHannes Domani <ssbssa@yahoo.de>
Fri, 6 Mar 2020 17:38:47 +0000 (18:38 +0100)
commitb7d64b29094ef58448c9b41bcde299fad2976237
treebbba6e4e83a097872fe69aca74ac2f08cb9d1f41
parent84d9ab33f3dc542c5f20abb9026240cfd48ccd97
Don't try to get the TIB address without an inferior

The target_get_tib_address call always fails in this case, and there is an
error when changing the program with the file command:

(gdb) file allocer64.exe
Reading symbols from allocer64.exe...
You can't do that when your target is `exec'

Now it will skip this part, there is no need to rebase the executable without
an inferior anyways.

gdb/ChangeLog:

2020-03-06  Hannes Domani  <ssbssa@yahoo.de>

* windows-tdep.c (windows_solib_create_inferior_hook):
Check if inferior is running.
gdb/ChangeLog
gdb/windows-tdep.c
This page took 0.024833 seconds and 4 git commands to generate.