[Bug tui/25144] New: Turn off printing frame-info after each step.

shahab.vahedi at gmail dot com sourceware-bugzilla@sourceware.org
Tue Oct 29 13:02:00 GMT 2019


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

            Bug ID: 25144
           Summary: Turn off printing frame-info after each step.
           Product: gdb
           Version: 8.3
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: shahab.vahedi at gmail dot com
  Target Milestone: ---

While I was debugging a piece of code, the GDB's output looked like this:
------------------------------------------
  gdb) si
  clone ()
     from /install/sysroot/lib/libc.so.0
  clone ()
     from /install/sysroot/lib/libc.so.0
  clone ()
     from /install/sysroot/lib/libc.so.0
  clone ()
     from /install/sysroot/lib/libc.so.0
  (gdb)
------------------------------------------

Each "clone()..." pattern is printed after I press enter to repeat the 'stepi'.
This is noise. One can mitigate it with:
------------------------------------------
  gdb) set print frame-info short-location
------------------------------------------

Then you would get:
------------------------------------------
  gdb) si
  clone ()
  clone ()
  clone ()
  clone ()
  (gdb)
------------------------------------------

I suggest that there must be a:
------------------------------------------
  gdb) set print frame-info off
------------------------------------------

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


More information about the Gdb-prs mailing list