Best way to check whether the "sim" is running standalone or by GDB
Mike Frysinger
vapier@gentoo.org
Fri Jan 15 06:04:31 GMT 2021
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <https://sourceware.org/pipermail/gdb/attachments/20210115/ac47a198/attachment.sig>
More information about the Gdb
mailing list