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 cli/16007] New: Display also MSYMBOL_SIZE


https://sourceware.org/bugzilla/show_bug.cgi?id=16007

            Bug ID: 16007
           Summary: Display also MSYMBOL_SIZE
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com

readelf -Ws /usr/bin/gdb|grep ' main$'
  2851: 00000000004546f0    51 FUNC    GLOBAL DEFAULT   14 main

(gdb) info symbol main
Actual:
main in section .text of /usr/bin/gdb
Expected:
main in section .text of /usr/bin/gdb starts at address 0x4546f0 <main> and
ends at 0x454723 <main+51>.

Command "disassemble main" knows the size but sometimes user would also like to
know it.

-- 
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]