Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simark@simark.ca>
To: Hannes Domani <ssbssa@yahoo.de>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Don't try to get the TIB address without an inferior
Date: Fri, 06 Mar 2020 17:05:00 -0000	[thread overview]
Message-ID: <e5271413-a8df-d61e-2880-76eb88497615@simark.ca> (raw)
In-Reply-To: <01f93db0-846f-8a9b-0642-498be38e75ff@simark.ca>

On 2020-03-06 11:57 a.m., Simon Marchi wrote:
> On 2020-03-06 11:50 a.m., Hannes Domani via gdb-patches wrote:
>> 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'

Actually, can you precise the steps for reproducing this issue?  Just calling
"file" doesn't cause windows_solib_create_inferior_hook to be called in my
build*, so there must be something more to it.

* My build is an --enable-targets=all on a Linux host, in which I load a binary
compiled with x86_64-w64-mingw32-gcc.

Simon


  reply	other threads:[~2020-03-06 17:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200306165000.3073-1-ssbssa.ref@yahoo.de>
2020-03-06 16:50 ` Hannes Domani via gdb-patches
2020-03-06 16:57   ` Simon Marchi
2020-03-06 17:05     ` Simon Marchi [this message]
2020-03-06 17:12       ` Hannes Domani via gdb-patches
2020-03-06 17:21         ` Simon Marchi
2020-03-06 17:42           ` Hannes Domani via gdb-patches
2020-03-06 17:06     ` Hannes Domani via gdb-patches
2020-03-06 17:13       ` Simon Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5271413-a8df-d61e-2880-76eb88497615@simark.ca \
    --to=simark@simark.ca \
    --cc=gdb-patches@sourceware.org \
    --cc=ssbssa@yahoo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox