[padb-devel] [padb] r121 committed - Check for the existance of a variable type before reading it, this avo...
codesite-noreply at google.com
codesite-noreply at google.com
Sat Aug 15 14:37:22 BST 2009
Revision: 121
Author: apittman
Date: Sat Aug 15 06:37:06 2009
Log: Check for the existance of a variable type before reading it, this
avoids
crrashes in IMB when run with -Ostack-shows-params=1 because gdb
can't always read argc and argv
http://code.google.com/p/padb/source/detail?r=121
Modified:
/branches/full-duplex/src/padb
=======================================
--- /branches/full-duplex/src/padb Sat Aug 15 06:09:02 2009
+++ /branches/full-duplex/src/padb Sat Aug 15 06:37:06 2009
@@ -5790,6 +5790,7 @@
my %l;
$l{t} = 0;
$l{n} = 0;
+ return unless defined ( $frame->{$type} );
return if ( @{ $frame->{$type} } == 0 );
foreach my $arg ( @{ $frame->{$type} } ) {
$l{t} = length( $arg->{type} ) if ( length( $arg->{type} ) > $l{t}
);
More information about the padb-devel
mailing list