This is the mail archive of the
mailing list for the binutils project.
Re: How to use dwarf-mode.el? [Was: Patch: fixlets to dwarf-mode.el]
- From: Tom Tromey <tromey at redhat dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: Binutils Development <binutils at sourceware dot org>
- Date: Wed, 13 Jun 2012 08:09:41 -0600
- Subject: Re: How to use dwarf-mode.el? [Was: Patch: fixlets to dwarf-mode.el]
- References: <email@example.com> <4FD85FD4.firstname.lastname@example.org>
>>>>> "Georg-Johann" == Georg-Johann Lay <email@example.com> writes:
Georg-Johann> Is there a description how to use that mode?
I forgot to write one.
To start it, use M-x dwarf-browse.
It will prompt for a file name.
There are really only two commands available in the mode.
If you see '...' in the buffer, that is where some DIEs have been
omitted. You can move there and use RET to view the DIEs. With an
argument this will show all DIEs under that point (default is just one
If you see a DIE reference (they are underlined and blue if you have
font-lock), you can move there and use RET to jump to the referenced DIE.
Georg-Johann> I tried to follow http://tromey.com/elpa/install.html with
Georg-Johann> emacs 22 and that step appeared to pass successfully.
Georg-Johann> dwarf-mode.el:170:1:Warning: the function `special-mode' is not known to be
I don't know when special-mode was added, but I guess after Emacs 22.
You can try s/special-mode/nil/ and see if that works.
If it does maybe I can make it adaptive.