This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
problem with creating variable object (gdb6.3)
- From: Bogdan Slusarczyk <bodzio131 at op dot pl>
- To: gdb at sourceware dot org
- Date: Fri, 22 Jun 2007 12:07:32 +0200
- Subject: problem with creating variable object (gdb6.3)
Hi, maybe you can help me. I have some executable file where I want to
set some variable value using gdb. I know this variable address, and try
to create var-object for accessing. Problem is that gdb sometimes
returns that it cannot create var-object. I try this: -var-create - *
"*(bool *)0x028d7460" and gdb returns "No symbol "bool" in current
context.". I noticed that it depends on dynamic loaded libraries - for
some gdb works fine for others doesn't, but I don't understand why,
because mentioned variable is from executable file not from loaded
libraries. Can you tell me what is wrong?
Regards
Bogdan