]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Move some code later in backtrace_command_1
authorTom Tromey <tom@tromey.com>
Tue, 25 Apr 2017 03:03:22 +0000 (21:03 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 27 Mar 2018 03:57:13 +0000 (21:57 -0600)
commitfb7eb8b5826f059e2b7a18e42ff9c20972e626bc
tree6c8b02d9f9ee30844439a6c98fe0b474790ff15e
parent4ca59a9f3616ba324952632233acc657fffa8be1
Move some code later in backtrace_command_1

PR backtrace/15584 notes that some code in backtrace_command_1 is not
useful when frame filters are in use.  This patch moves this code into
the no-frame-filters "if".  This also removes the unused local
"trailing_level", which I noticed while moving the code around.

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

PR backtrace/15584:
* stack.c (backtrace_command_1): Move some code into no-filters
"if".
gdb/ChangeLog
gdb/stack.c