Re: RFC: fix `gdb -write' case

Tom Tromey
2011-05-10T14:16:31Z

>>>>> "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