This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tui/15580] New: TUI assembly window line prefix is too long


http://sourceware.org/bugzilla/show_bug.cgi?id=15580

            Bug ID: 15580
           Summary: TUI assembly window line prefix is too long
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: adrianh.bsc at gmail dot com

When the assembly window is displayed, it prefixes each line with a fully
resolved C++ function signature and line offset which can be very long as it
can contain namespaces and template parameters.  This is ok, except that it
makes it difficult to read the assembly instructions as I have to set the ASM
window focus and then scroll right.

There are a couple of different suggestions that I have for this:

1. Have the assembly window right justify it's instructions.  This will allow
the assembly instructions to always be displayed, yet almost always allow the
right most portion of the signature and offset to be displayed.

2. Have an alternative prefix which could include be a <filename>:<line> prefix
or <filename>:<line>+<offset> for something similar to the <function
signature>+<offset> prefix.

I'm thinking that the first would require the least amount of changes, but the
second may be useful, perhaps in combination with the first.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]