public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: anix <2362292778@qq.com>
To: "Paul Koning" <paulkoning@comcast.net>, gdb <gdb@sourceware.org>
Subject: Re: Executing a CLI command from Python
Date: Fri, 3 Mar 2023 17:01:47 +0800	[thread overview]
Message-ID: <tencent_A5999093B98346A8AA84A4DED8BD0098E508@qq.com> (raw)
In-Reply-To: <EC5C6352-E2A7-4C8C-8F6C-4998C3001411@comcast.net>

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

dear:


now, i see that problem for half-precision floating-point value.
for intel&nbsp; IA-32, there are not its instructin.


&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;niu wensheng
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Mar, 3, 2023



---Original---
From: "Paul Koning via Gdb"<gdb@sourceware.org&gt;
Date: Thu, Feb 16, 2023 05:50 AM
To: "gdb"<gdb@sourceware.org&gt;;
Subject: Executing a CLI command from Python


I looked through the Python GDB API documentation but didn't see this: is there a way for Python code to ask GDB to execute a command?

For example, I want to look up information about a kernel module (addresses etc.) then issue an "add-symbol-file" command using parameters constructed from what was looked up.

paul

      parent reply	other threads:[~2023-03-03  9:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 21:50 Paul Koning
2023-02-15 22:25 ` Jan Vrany
2023-02-16  0:29   ` Paul Koning
2023-03-03  9:01 ` anix [this message]

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=tencent_A5999093B98346A8AA84A4DED8BD0098E508@qq.com \
    --to=2362292778@qq.com \
    --cc=gdb@sourceware.org \
    --cc=paulkoning@comcast.net \
    /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).