[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch to gud.el: feature to relocate next instruction under gdb
From: |
Benjamin Rutt |
Subject: |
Re: patch to gud.el: feature to relocate next instruction under gdb |
Date: |
Mon, 10 Dec 2001 23:42:16 -0500 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (sparc-sun-solaris2.6) |
Richard Stallman <address@hidden> writes:
> It is a good idea, so I will install it. Thanks.
Great! As mentioned in my previous post, here are some info and
Changelog patches that you may want to use. I ran 'cvs update'
earlier today, and then produced these patches.
BTW, if any of these changes require that I sign any GNU papers, I
will be happy to do so, just inform me what I need to do to get that
accomplished.
First, an info patch that describes the new function:
*** building.texi.~1.17.~ Fri Oct 12 05:25:54 2001
--- building.texi Mon Dec 10 23:29:29 2001
***************
*** 486,491 ****
--- 486,501 ----
stops for some other reason).
@end table
+ @item C-c C-j
+ @kindex C-c C-j @r{(GUD)}
+ @itemx C-x C-a C-j
+ @findex gud-jump
+ Only useful in a source buffer, (@code{gud-jump}) relocates the next
+ instruction to the current line at point in a source buffer (if the
+ new execution line is in a different function from the previously one,
+ you will be prompted for confirmation since the results may be
+ bizarre. See the GDB manual entry regarding `jump' for details).
+
These commands interpret a numeric argument as a repeat count, when
that makes sense.
And here is a man/Changelog for the above info patch:
*** ChangeLog.~1.131.~ Fri Dec 7 06:57:24 2001
--- ChangeLog Mon Dec 10 23:33:50 2001
***************
*** 1,3 ****
--- 1,7 ----
+ 2001-12-10 Benjamin Rutt <address@hidden>
+
+ * building.texi (Commands of GUD): Add description of `gud-jump'.
+
2001-12-07 Andreas Schwab <address@hidden>
* maintaining.texi (Emerge): Don't omit first argument of @ref.
And finally, a lisp/Changelog patch for the gud.el patch I sent
previously:
*** ChangeLog.~1.3160.~ Mon Dec 10 16:00:32 2001
--- ChangeLog Mon Dec 10 23:37:06 2001
***************
*** 1,3 ****
--- 1,7 ----
+ 2001-12-10 Benjamin Rutt <address@hidden>
+
+ * gud.el (gud-jump): New gud-def inside gdb defun.
+
2001-12-10 Richard M. Stallman <address@hidden>
* isearch.el (isearch-yank-word-or-char): New function.
--
Benjamin