This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: fix `gdb -write' case
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> Is this patch to fix bugs against gdb 6.8?
Yeah, it is a regression since 6.8.
Yao> $ ./gdb/gdb -nx -write ~/Work/gdb-write
Yao> (gdb) set var s="b"
Yao> evaluation of this expression requires the target program to be active
This is the bug -- before the charset changes, this worked.
Yao> (gdb) set var s="b"
Yao> BFD: reopening /home/yao/Work/gdb-write: Text file busy
Yao> ....
Yao> Invalid cast.
Yao> Is it a separate issue?
I don't know.
Tom