Nick Roberts <[EMAIL PROTECTED]> writes: > > But what if I have N files opened already and then load/start gdb -- > > are those files already opened "gdb enabled" using Nick's method? > > They aren't in the patch I presented but it would be quite easy to adapt the > hook to do that.
In the find-file-hook function? It should be sufficient to do this when loading gdb-ui ? > It would just need to cycle through all the buffers, find out > which are associated with a file, test if the file is part of the source code > of the current GDB session (as in the patch), and enable for GDB if > appropriate. That would be ok then. In that case, your approach is cleaner. -- Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ Emacs-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-devel
