Print variable with gdb??
From: JS (d44sf_at_44ada.com)
Date: Wed, 30 Mar 2005 00:23:03 +0200
int p = 5;
when I debug my code I would like to get a print of p's value therefore I
start gdb and type:
but then I get an error that the variable does not exists!
Hope someone can help!