From 5a9ac57c21d9f61192ed9ecc662f71ff85a5793e Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Tue, 5 Mar 2013 16:24:38 +0100 Subject: Some string parameters can be prefixed by hexaddress MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similarly, access out-of-bounds messages can be appended to the address itself. Signed-off-by: Jan Pokorný --- gdb-bt-reformat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb-bt-reformat b/gdb-bt-reformat index 6bb31cb..389d6e1 100755 --- a/gdb-bt-reformat +++ b/gdb-bt-reformat @@ -11,8 +11,8 @@ DEF_IDENT = '[A-Za-z_][A-Za-z0-9_]*' DEF_UNKNOWN = '[?]{2}' DEF_HEX = '0x[0-9A-Fa-f]+' DEF_NUM = '[+-]?(?:[0-9]+(?:[.][0-9]*)?|[.][0-9]+)(?:[eE][0-9]+)?' -DEF_MSG = '[<][ A-Za-z0-9_]+[>]' -DEF_STR = '["][ A-Za-z0-9_]*["]' +DEF_MSG = '(?:%(DEF_HEX)s\s+)?[<][ A-Za-z0-9_]+[>]' % locals() +DEF_STR = '(?:%(DEF_HEX)s\s+)?["][ A-Za-z0-9_:]*["]' % locals() DEF_PATH = '[A-Za-z0-9._/-]+' RE_BT = re.compile( '(?P^\#[0-9]+\s+)' -- cgit