This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] "$ gdb PROGRAM" vs "(gdb) file PROGRAM" difference; warn on failure to remove breakpoint.
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 16 Jun 2014 15:44:22 +0100
- Subject: Re: [PATCH] "$ gdb PROGRAM" vs "(gdb) file PROGRAM" difference; warn on failure to remove breakpoint.
- Authentication-results: sourceware.org; auth=none
- References: <1402323778-27849-1-git-send-email-palves at redhat dot com>
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