diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-06-17 14:54:10 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-06-17 21:55:01 +0000 |
commit | 573a4c9cd59d7a14e4ab305284a287c705d6b945 (patch) | |
tree | 58fb943db7dd76a0d9216de6d79d14efdb1b318a | |
parent | 43700544312f33ca78199de6003f8c4328df2203 (diff) | |
download | wireshark-573a4c9cd59d7a14e4ab305284a287c705d6b945.tar.gz |
Temporary hack to try to debug tshark -G values crash on 32-bit Windows.
Change-Id: I837a1e724f58f3e85ae4d7c77715e185a4b1ebeb
Reviewed-on: https://code.wireshark.org/review/22197
Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r-- | epan/proto.c | 2 | ||||
-rwxr-xr-x | test/suite-clopts.sh | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/epan/proto.c b/epan/proto.c index 0c262b79c6..7e2d0433d8 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -9239,6 +9239,8 @@ proto_registrar_dump_values(void) continue; } +fprintf(stderr, "Dumping %s value string, if any\n", hfinfo->abbrev); + /* ignore protocols */ if (proto_registrar_is_protocol(i)) { continue; diff --git a/test/suite-clopts.sh b/test/suite-clopts.sh index 3a0b7eda68..f988aec426 100755 --- a/test/suite-clopts.sh +++ b/test/suite-clopts.sh @@ -296,6 +296,7 @@ test_dump_glossary() { RETURNVALUE=$? if [ ! $RETURNVALUE -eq $EXIT_OK ]; then test_step_failed "exit status: $RETURNVALUE" + test_step_failed "Error messages on stderr" elif [ -s ./testout.txt ]; then test_step_output_print ./testout.txt test_step_failed "Error messages on stderr" |