unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Shenli Zhu <zhushenli2@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Emacs C debug help function?
Date: Fri, 10 Sep 2010 10:11:22 +0800	[thread overview]
Message-ID: <AANLkTi=yzHP+ryzCSy_OtWDCTgEK9PNhSbKzEQkt-XJE@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 553 bytes --]

Hi Emacs hackers.

I have tried to understand function (debug) on elisp level, and find some
details on C level(e.g. debugger-step-after-exit).
So, I attach emacs process to gdb.

Backtrace is like:
...
#14 0x0818f78b in Ffuncall (nargs=1, args=0xbfa63a00) at eval.c:3021
#15 0x081c8d21 in Fbyte_code (bytestr=154800713, vector=166927821,
maxdepth=16)
    at bytecode.c:680
#16 0x081911b2 in Feval (form=165809550) at eval.c:2352
...

Is there any help function to display form, etc? And is there any
instruction files on hacking C files?

Thanks,
Davy

[-- Attachment #2: Type: text/html, Size: 612 bytes --]

             reply	other threads:[~2010-09-10  2:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10  2:11 Shenli Zhu [this message]
2010-09-10  3:37 ` Emacs C debug help function? Stephen J. Turnbull
2010-09-10  8:43   ` Shenli Zhu
2010-09-10  4:02 ` Glenn Morris
2010-09-10  8:40   ` Shenli Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=yzHP+ryzCSy_OtWDCTgEK9PNhSbKzEQkt-XJE@mail.gmail.com' \
    --to=zhushenli2@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).