[padb-devel] [padb commit] r108 - Check that the attach returned anything before checking

codesite-noreply at google.com codesite-noreply at google.com
Wed Jul 15 21:18:48 BST 2009


Author: apittman
Date: Wed Jul 15 13:18:14 2009
New Revision: 108

Modified:
    branches/full-duplex/src/padb

Log:
Check that the attach returned anything before checking
that it returned an error, fixes issue #2


Modified: branches/full-duplex/src/padb
==============================================================================
--- branches/full-duplex/src/padb	(original)
+++ branches/full-duplex/src/padb	Wed Jul 15 13:18:14 2009
@@ -4198,6 +4198,7 @@

      my $result = gdb_send( $gdb, "attach $pid" );

+    return unless defined $result;
      return if ( $result eq "error" );

      $gdb->{attached} = 1;




More information about the padb-devel mailing list