This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add gdb.current_arch() function to python module -- equivalent of guile (current-arch)
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Matthew Malcomson <hardenedapple at gmail dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 8 Feb 2017 17:15:30 +0000
- Subject: Re: [PATCH] Add gdb.current_arch() function to python module -- equivalent of guile (current-arch)
- Authentication-results: sourceware.org; auth=none
- References: <ac00f967-3a7d-bd6a-88de-bcb98ff357ca@gmail.com>
On Mon, Feb 6, 2017 at 5:01 PM, Matthew Malcomson
<hardenedapple@gmail.com> wrote:
>
> I've been finding that awkward in some extensions I've been writing, mainly
> when I want to work with the disassembly of a function before my target
> program
> has started.
>
Architecture.disassemble doesn't work?
https://sourceware.org/gdb/current/onlinedocs/gdb/Architectures-In-Python.html
--
Yao (齐尧)