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 backtrace/15582] need a way to omit elided frames


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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=978d6c756fcb0332ddf12e19305dd0e53b98a93d

commit 978d6c756fcb0332ddf12e19305dd0e53b98a93d
Author: Tom Tromey <tom@tromey.com>
Date:   Sun Apr 23 11:03:57 2017 -0600

    Allow hiding of some filtered frames

    When a frame filter elides some frames, they are still printed by
    "bt", indented a few spaces.  PR backtrace/15582 notes that it would
    be nice for users if elided frames could simply be dropped.  This
    patch adds this capability.

    gdb/ChangeLog
    2018-03-26  Tom Tromey  <tom@tromey.com>

        PR backtrace/15582:
        * stack.c (backtrace_command): Parse "hide" argument.
        * python/py-framefilter.c (py_print_frame): Handle PRINT_HIDE.
        * extension.h (enum frame_filter_flags) <PRINT_HIDE>: New
        constant.

    gdb/doc/ChangeLog
    2018-03-26  Tom Tromey  <tom@tromey.com>

        PR backtrace/15582:
        * gdb.texinfo (Backtrace): Mention "hide" argument.

    gdb/testsuite/ChangeLog
    2018-03-26  Tom Tromey  <tom@tromey.com>

        PR backtrace/15582:
        * gdb.python/py-framefilter.exp: Add "bt hide" test.

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