all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Adding languages to gud
@ 2002-12-18 19:48 Jay Belanger
  2002-12-19  7:45 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Jay Belanger @ 2002-12-18 19:48 UTC (permalink / raw)



The emacs manual discusses how to use gud, but doesn't mention how to
add languages to it.  The actual source has a few lines on adding
debuggers, but without many details.  (A new debugger needs a
massage-args function to massage arguments, but what arguments, and
how/why do they need to be massaged?)  Is there any documentation on
adding debuggers?

Thanks,
Jay

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Adding languages to gud
  2002-12-18 19:48 Adding languages to gud Jay Belanger
@ 2002-12-19  7:45 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2002-12-19  7:45 UTC (permalink / raw)


Jay Belanger <belanger@truman.edu> writes:

> (A new debugger needs a massage-args function to massage arguments,
> but what arguments, and how/why do they need to be massaged?)

IMHO it's best not to massage the arguments.

To find out which arguments are passed to the function, it might be
easiest to write a little function which invokes debug:

(defun jay-massage-args (&rest args)
  (debug))

Then you can do `e args RET' from the debugger, then you know.

-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-19  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-18 19:48 Adding languages to gud Jay Belanger
2002-12-19  7:45 ` Kai Großjohann

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.