Messages in this thread Patch in this message | | | Date | Mon, 23 Nov 2009 12:04:57 +0100 (CET) | From | Patrick Boettcher <> | Subject | PATCH [1/2] - CHECKSTACK: sparc: fix regex to match all stacksize |
| |
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
---- diff --git a/tools/checkstack.pl b/tools/checkstack.pl index 14ee68e..e0af9c7 100755 --- a/tools/checkstack.pl +++ b/tools/checkstack.pl @@ -97,7 +97,7 @@ my (@stack, $re, $dre, $x, $xs); $re = qr/.*[[:space:]]LINK[[:space:]]*(0x$x{1,8})/o; } elsif ($arch eq 'sparc' || $arch eq 'sparc64') { # f0019d10: 9d e3 bf 90 save %sp, -112, %sp - $re = qr/.*save.*%sp, -(([0-9]{2}|[3-9])[0-9]{2}), %sp/o; + $re = qr/.*save.*%sp, -(\d*), %sp/o; } else { print("wrong or unknown architecture \"$arch\"\n"); exit
| |