A
a
In .C or .h file we have #define some constant.
While using the gdb debugger, how to show the value of these constant?
Thanx
While using the gdb debugger, how to show the value of these constant?
Thanx
a said:In .C or .h file we have #define some constant.
While using the gdb debugger, how to show the value of these constant?
In .C or .h file we have #define some constant.
While using the gdb debugger, how to show the value of these constant?
a said:In .C or .h file we have #define some constant.
While using the gdb debugger, how to show the value of these constant?
Thanx
In .C or .h file we have #define some constant.
While using the gdb debugger, how to show the value of these constant?
Thanx
Keith said:We don't know; that's not a C question. gdb comes with extensive
documentation. If that doesn't help, you might try the gnu.utils.help
newsgroup.
This is the text that is actually fed to the compiler; the preprocessor
symbol SIZE no longer exists. Therefore, I would not expect it to be
accessible from a debugger.
Now, specific compilers may allow you to preserve that information for
debugging purposes, but that's beyond the scope of the C language.
FWIW, my experience with gdb leads me to say "you can't do that."
You should be asking in the gcc mailing lists as mentioned.a said:In .C or .h file we have #define some constant.
While using the gdb debugger, how to show the value of these constant?
Thanx
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.