[RFA] new set/show multiple-choice-auto-select commands (take 2)

Joel Brobecker brobecker@adacore.com
Thu Jan 17 14:51:00 GMT 2008


> Why shouldn't GDB default to setting both breakpoints... like we do
> for template functions now?

That's the part I didn't understand. But since this was agreed on
earlier, I accepted it.

Note that, in Ada, we have made a different choice for the default
behavior: Instead of breaking everywhere by default, we ask the user
by default. This is something we have been doing at least since I joined
AdaCore 7 years ago, so I'd be reluctant to change the default, as it
might surprise Ada users using the FSF debugger. I am not strongly
opposed to the change, but I know I am going to have a very very hard
time convincing AdaCore of this change of behavior and we will likely
end up with different behaviors between the FSF GDB and AdaCore's.
Not that big a deal, but might be disruptive to Ada users who use both
(I know we have some customers who also use Ada at home and thus use
both).

> I am concerned that we now have too many different places where we
> have multiple symbols and breakpoints and we're handling them all
> differently.

I agree. I know that I submitted a patch that does not improve this
situation (addition of ada_finish_decode_line_1 I think), but I am very
motivated in making it better. This is really one of my major goals
for 2008. I will do that gradually, but in the meantime, I thought
that it would still be helpful addition to the FSF tree, as it provides
a feature that is critical in Ada, IMO.

I hope you don't object to the addition of this new set/show setting
whose purpose, I believe, is really orthogonal to the issue that
Markus is trying to address.

-- 
Joel



More information about the Gdb-patches mailing list