[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs fails parsing gdb output

From: Nick Roberts
Subject: Re: Emacs fails parsing gdb output
Date: Sat, 14 Jul 2007 12:21:55 +1200

 > > This is a suggestion to the mailing list, but also a RFA to RMS.  Now that
 > > gdb-ui is part of the release, how about renaming gdb to gdbf and gdba to
 > > gdb on the trunk so that the new mode takes the focus?
 > IMO, it's not nice to change the package semantic in such radical ways
 > behind users' backs.  I know a few people who like the current "M-x gdb" 
 > and will not be pleased to see the GUI version instead.

It's not nice trying to get Emacs to work out which option has been selected as
well as which version of GDB is running.  At it's basic level, the GUI version
works just like the old version except that breakpoints are marked with a bulet
in the fringe.  So I'd like to know why some people would not be pleased to see
the GUI version instead.  Johan Walles is the just about the only user to make
a bug report on it since the release.  If users choose not to report problems,
then it makes it hard to accomodate their view.

 > How about if we modify "M-x gdb" to invoke gdb-ui if a certain option
 > is set?  Whether this option should be on or off by default, is
 > another matter, but at least users will be able to control what UI
 > they get by flipping a single option.

Most users will just use the default until it causes problems, so I don't see
that there's much difference.

 > > This would ensure that GDB initialisation scripts that start execution
 > > don't cause problems with "M-x gdb".  It would also mean that using
 > > "-fullname" would only work for "M-x gdbf", for which it could be the
 > > default.
 > Can't we fix these issues with "N-x gdb", so that both UIs work with
 > them?

Not without making changes to the behaviour of annotations in GDB itself
which I don't intend to do as we're trying to move over to GDB/MI.

Nick                                           http://www.inet.net.nz/~nickrob

reply via email to

[Prev in Thread] Current Thread [Next in Thread]