This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] Make "disassemble" always use TUI disassembly window
- From: Tom Tromey <tom at tromey dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Thu, 23 Jan 2020 12:45:49 -0700
- Subject: Re: [PATCH 2/3] Make "disassemble" always use TUI disassembly window
- References: <20191227235034.5453-1-tom@tromey.com> <20191227235034.5453-3-tom@tromey.com> <877e1n43ct.fsf@tromey.com> <20200119232327.GF3865@embecosm.com>
Tom> I wonder if this should be limited to the case where the options to
Tom> disassemble are compatible with what the TUI does.
Andrew> I've wondered for a while if we should have something like:
Andrew> set tui disassemble-flags ...
Andrew> where a user can set the flags used by the disassembler. My main
Andrew> interest initially was /r, but it might be nice if /m and /s could be
Andrew> supported too, though I'm not quite sure how that might look or work.
I've considered this too (and also adding support for the new binutils
mode that graphically shows jump targets).
However, I wasn't sure how these flags would interact with the current
TUI model of disassembly, where it shows a window on the entire memory
space, and not just a single function.
Tom