puzzling gdb text
hi;
trying to debug some code using gdb, and I get to line in code where preceding a getstring() fn, which reads "Enter a string"
If I the enter a string after gdb prompt, I get msg "unrecognized cmd". If I wait for code line for GetString to enter the string, gdb exits code.
How do I "enter a string" to satisfy the code?
Also, interested in how to expres a cmd to get the type od character in the code, together with its value. (I know that 'p whatever gets the value)
Please explain in simple terms, as I'm a real novice.
Last edited by atlantis43; 02-27-2013 at 02:21 PM.
|