public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: William Tambe <tambewilliam@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Best way to check whether the "sim" is running standalone or by GDB
Date: Fri, 15 Jan 2021 01:04:31 -0500	[thread overview]
Message-ID: <20210115060431.GO6938@vapier> (raw)
In-Reply-To: <CAF8i9mN_-NBW=YYxhhjc7mpCgkm2P0Ptz_AKMyi7-UCvOCpj9Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

On 28 Aug 2019 21:15, William Tambe wrote:
> What is the best way to check whether the "sim" is running standalone
> or by GDB ?

this is the point of SIM_OPEN_KIND.  it is set to SIM_OPEN_DEBUG when
gdb (a debugger) is used, and SIM_OPEN_STANDALONE when it's not.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2021-01-15  6:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-29  2:15 William Tambe
2019-08-29 18:05 ` William Tambe
2019-08-30  9:54   ` Nick Clifton
2019-08-30 15:24     ` William Tambe
2019-08-30 16:02       ` Nick Clifton
2021-01-15  6:04 ` Mike Frysinger [this message]
2019-09-03 19:26 Michael Morrell

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=20210115060431.GO6938@vapier \
    --to=vapier@gentoo.org \
    --cc=gdb@sourceware.org \
    --cc=tambewilliam@gmail.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).