[PATCH] "$ gdb PROGRAM" vs "(gdb) file PROGRAM" difference; warn on failure to remove breakpoint.

Pedro Alves palves@redhat.com
Mon Jun 16 14:44:00 GMT 2014


On 06/09/2014 03:22 PM, Pedro Alves wrote:

> I say "restores" because this was GDB's behavior in 7.7 and earlier.
> 
> And, likewise, "file" with no arguments only started turning
> breakpoints set in the main executable to "<pending>" with the
> remote-symbol-file patch (63644780).  The old behavior is now
> restored, and we break-unload-file.exp test now exercizes both "gdb;
> file PROGRAM" and "gdb PROGRAM".

I've now pushed this to both mainline and the 7.8 branch.

-- 
Pedro Alves



More information about the Gdb-patches mailing list