Nick Roberts <[EMAIL PROTECTED]> writes:

>  > BTW, I firmly vote against any such change (even if done via
>  > find-file-hook): gdba.el should be trying to be more robust (in the face of
>  > unexpected or missing output from gdb), not more featureful.
>
> Currently, in a debug session with gdb-ui, the first breakpoint has to be set
> either with a global binding e.g C-x SPC or through the GUD buffer. No other
> debugger, that I know of, puts such an unintuitive constraint on the user.
> This patch makes the fringe available for setting breakpoints at the start
> of the session. I wouldn't call that a adding new feature, but rather making
> an existing one more sound.

I agree with you that we need to have this feature.

But can't gdb-ui just bind [left-fringe mouse-1] to a gdb-ui specific
command in global-map?  That command could check if the buffer is
a source file  and set breakpoints accordingly (if gdb is running
and in a state that allows it to set a breakpoint), and just
do mouse-set-point otherwise.

-- 
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to