This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to set memory value from gdb? (MI)


Hi, can anybody tell me how to set memory value from gdb? Suppose I want to set bool variable using memory, I tryied '-var-create - * *0x0289add0-0x0289add1' and next: '-var-assign var1 1' but I got: 'Left operand of assignment is not an lvalue' How can I do it properly?

Regards
Bogdan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]