Created
May 26, 2016 13:08
-
-
Save simark/3d2644c96bf4dce4ef191e3a233c3182 to your computer and use it in GitHub Desktop.
gdb.base/return.exp reproduction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double | |
func3 () | |
{ | |
return -5.0; | |
} | |
double tmp3; | |
int main () | |
{ | |
tmp3 = func3 (); | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file return | |
b func3 | |
r | |
return 2 | |
n | |
print tmp3 | |
quit tmp3 != 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment