public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27935] New: gdb: 'bt full' can't show ‘No locals’ with vxFrameFilter.py if there is no local variable
@ 2021-06-01  7:43 gang.xu at windriver dot com
  2021-06-01  7:45 ` [Bug gdb/27935] " gang.xu at windriver dot com
  0 siblings, 1 reply; 2+ messages in thread
From: gang.xu at windriver dot com @ 2021-06-01  7:43 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 27935
           Summary: gdb: 'bt full' can't show ‘No locals’ with
                    vxFrameFilter.py if there is no local variable
           Product: gdb
           Version: 10.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: gang.xu at windriver dot com
  Target Milestone: ---

Created attachment 13477
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13477&action=edit
a python script to add frame filter

(gdb) source vxFrameFilter.py    #add frame filter

(gdb) bt full no-filters 
#0 break_me () at frame-args.c:35
No locals.
#1 0xffffffff81301144 in call_me (i=3, f=5, s=..., ss=0xffff800008525f60,
u=..., e=green) at frame-args.c:40
No locals.
#2 0xffffffff81301109 in main () at frame-args.c:53
s =
{a = 3, b = 5}
u =
{a = 7, b = 9.80908925e-45}
#3 0xffffffff8052adca in vxTaskEntry () at windALib.s:3106
No locals.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)


(gdb) bt full 
#0 break_me () at frame-args.c:35
#1 0xffffffff81301144 in call_me (i=3, f=5, s=..., ss=0xffff800008525f60,
u=..., e=green) at frame-args.c:40
#2 0xffffffff81301109 in main () at frame-args.c:53
s =
{a = 3, b = 5}
u =
{a = 7, b = 9.80908925e-45}
#3 0xffffffff8052adca in vxTaskEntry () at windALib.s:3106
#4 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)



'No locals' isn't print with the filter added. 
why the output of command "bt full no-filters" and "bt full" are different?

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug gdb/27935] gdb: 'bt full' can't show ‘No locals’ with vxFrameFilter.py if there is no local variable
  2021-06-01  7:43 [Bug gdb/27935] New: gdb: 'bt full' can't show ‘No locals’ with vxFrameFilter.py if there is no local variable gang.xu at windriver dot com
@ 2021-06-01  7:45 ` gang.xu at windriver dot com
  0 siblings, 0 replies; 2+ messages in thread
From: gang.xu at windriver dot com @ 2021-06-01  7:45 UTC (permalink / raw)
  To: gdb-prs

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

gang.xu at windriver dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gang.xu at windriver dot com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-01  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01  7:43 [Bug gdb/27935] New: gdb: 'bt full' can't show ‘No locals’ with vxFrameFilter.py if there is no local variable gang.xu at windriver dot com
2021-06-01  7:45 ` [Bug gdb/27935] " gang.xu at windriver dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).