This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Getting pissed off by gdb. Please help with stepping in.
Doug Evans wrote:
On Thu, Mar 18, 2010 at 12:53 PM, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
Date: Thu, 18 Mar 2010 21:38:18 +0200
From: Eli Zaretskii <eliz@gnu.org>
From: Pedro Alves <pedro@codesourcery.com>
Date: Thu, 18 Mar 2010 18:55:39 +0000
Cc: dje@google.com,
temp@sourceboost.com
Users often find this behaviour unexpected (I've often
wished GDB would behave like what the OP is suggesting too).
Then why don't we change the behavior to match what users expect?
Because different users expect different things. I for example would
be somewhat annoyed by having to issue an extra "step". And the
argument that this is what people that are familliar with Visual
Studio are used to is pretty weak. GDB users are used the GDB behaviour!
That argument is pretty weak too IMO.
This isn't a VS vs GDB discussion.
Am I the only one who remembers that gdb used to have the behavior that
is being discussed, and it was deliberately changed to behave the way it
does today?
My admittedly fallable memory cells are telling me that it was Fernando
Nasser who championed the change, which means that it would have been
at least five years ago.
If I am right, the argument then was that the new behavior (what gdb
has today) was closer to what users would expect.