mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
tools/checkstack.pl: handle the <stmdb> instruct properly
Change-Id: Id34b04134c7bd164598da52c682fd0b7711415f2 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack);
|
||||
# e.g. c01f0d48: e92ddff0 push {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
|
||||
#
|
||||
sub arm_push_handling {
|
||||
my $regex = qr/.*push.*}/o;
|
||||
my $regex = qr/.*(?:push.*}|stmdb.*sp.*}).*/o;
|
||||
my $size = 0;
|
||||
my $line_arg = shift;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user