gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gdb] Print variable with gdb??


From: JS
Subject: [Gdb] Print variable with gdb??
Date: Wed, 30 Mar 2005 11:19:38 +0200
User-agent: KNode/0.7.7

I have:

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:

print p

but then I get an error that the variable does not exists!

Hope someone can help!

JS





reply via email to

[Prev in Thread] Current Thread [Next in Thread]