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 python/18565] New: Frame filters do not display inlined functions


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

            Bug ID: 18565
           Summary: Frame filters do not display inlined functions
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com
  Target Milestone: ---

Created attachment 8379
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8379&action=edit
Fix+testcase

https://bugzilla.redhat.com/show_bug.cgi?id=1233787

#0  0x00007f283a4edf93 in process_event (binding=0x54eeb00, event=0x7063a70,
window=0x0, handler=0x888fe60, screen=0x16b96c0 [MetaScreen], display=0x34ccc10
[MetaDisplay]) at core/keybindings.c:1737
#1  0x00007f283a4edf93 in process_event (display=display@entry=0x34ccc10
[MetaDisplay], screen=screen@entry=0x16b96c0 [MetaScreen],
window=window@entry=0x0, event=event@entry=0x7063a70) at
core/keybindings.c:1791

$ eu-stack -v --core=coredump
#0  0x00007f283a4edf93     invoke_handler - libmutter.so.0
    core/keybindings.c:1737
#1  0x00007f283a4edf93     process_event - libmutter.so.0
    core/keybindings.c:1791

Frame #0 is inlined.

Attaching a fix but it has a regression of some bogus indentation/spaces:

#22 0x00000000004007fc in 1cnuf () at ./gdb.python/py-framefilter.c:99^M
    #23 0x00000000004007fc in func2 (f=3) at
./gdb.python/py-framefilter.c:120^M
#24 0x0000000000400818 in 3cnuf (i=3) at ./gdb.python/py-framefilter.c:126^M

Additionally #23 should not display the PC as #22 is inlined into 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]