aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf-mode.el
AgeCommit message (Collapse)AuthorFilesLines
2019-01-01Update year range in copyright notice of binutils filesAlan Modra1-1/+1
2018-06-25Add a syntax table to dwarf-mode.elTom Tromey1-1/+10
This adds a syntax table for dwarf-mode to dwarf-mode.el. I noticed the need for this when trying to use mark-sexp (C-M-SPC) on a hex number -- it copied the trailing ">" as well, which isn't desirable. I've also bumped the version number to make this simpler to install via the Emacs package system. Tested locally. I'm checking this in. binutils/ChangeLog 2018-06-25 Tom Tromey <tom@tromey.com> * dwarf-mode.el (dwarf-mode-syntax-table): New variable. Bump version number.
2018-01-03Update year range in copyright notice of binutils filesAlan Modra1-1/+1
2017-10-10Bump dwarf-mode version numberTom Tromey1-1/+1
Bump the dwarf-mode version number, so it can be installed by package.el users who installed an earlier verision. 2017-10-10 Tom Tromey <tom@tromey.com> * dwarf-mode.el: Bump to version 1.4.
2017-10-10Asynchronous insertion for dwarf-mode.elTom Tromey1-16/+58
I was recently examining a very large .debug file. I tried to use dwarf-mode, but it blocked Emacs for a very long time while reading output. This patch changes dwarf-mode to run the objdump process asynchronously. This way, I can still do other things in Emacs while waiting for the dumping to finish. 2017-10-10 Tom Tromey <tom@tromey.com> * dwarf-mode.el (dwarf--process, dwarf--deletion-region): New defvar. (dwarf--check-running, dwarf--sentinel, dwarf--invoke) (dwarf--filter): New functions. (dwarf-do-insert-substructure, dwarf-do-refresh): Call dwarf--check-running, dwarf--invoke. (dwarf-browse): Initialize new variables.
2017-10-10Set lexical-binding in dwarf-modeTom Tromey1-1/+1
Emacs has had lexical binding for a while, and it's a good practice to use it; so enable it in dwarf-mode.el. 2017-10-10 Tom Tromey <tom@tromey.com> * dwarf-mode.el: Set lexical-binding.
2017-10-10Bind keys in dwarf-mode-map definitionTom Tromey1-2/+7
It's bad Emacs style to define keys from a top-level form. Instead, one should define a mode map separately and binding keys in the definition. This lets users completely override the map by defining it before loading the mode. 2017-10-10 Tom Tromey <tom@tromey.com> * dwarf-mode.el (dwarf-mode-map): New defvar.
2017-01-02Update year range in copyright notice of all files.Alan Modra1-1/+1
2016-11-04set default-directory in dwarf-browseTom Tromey1-1/+2
I've been using dwarf-mode.el again recently and I found it mildly annoying that the mode doesn't set default-directory. Setting it means that operations in the dwarf-browsing buffer default to the directory holding the object file being investigated. This bumps the version number as well so that updating it via the package manager works properly. 2016-11-04 Tom Tromey <tom@tromey.com> * dwarf-mode.el (dwarf-browse): Set default-directory. Bump version number.
2016-01-01Copyright update for binutilsAlan Modra1-1/+1
2015-01-02ChangeLog rotatation and copyright year updateAlan Modra1-1/+1
2014-03-05Update copyright yearsAlan Modra1-1/+1
2013-04-08 * dwarf-mode.el: Bump version number.Tom Tromey1-4/+3
(dwarf-mode): Remove autoload. (dwarf-die-reference): Relax regexp.
2012-12-17Add copyright noticesNick Clifton1-0/+2
2012-06-13 * dwarf-mode.el: Add final comment. Bump version.Tom Tromey1-3/+5
(dwarf-insert-substructure-button): Use string-to-number. (dwarf-browse): Fix autoload cookie.
2011-06-16 * dwarf-mode.el (dwarf-do-insert-substructure): CallTom Tromey1-2/+2
expand-file-name. (dwarf-do-refresh): Likewise.
2011-04-28 * NEWS: Add note about --dwarf-depth, --dwarf-start, andTom Tromey1-0/+167
dwarf-mode.el. * objdump.c (suppress_bfd_header): New global. (usage): Update. (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants. (options): Add dwarf-depth and dwarf-start entries. (dump_bfd): Use suppress_bfd_header. (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH. * doc/binutils.texi (objcopy): Document --dwarf-depth and --dwarf-start. (readelf): Likewise. * dwarf-mode.el: New file. * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals. (read_and_display_attr_value): Also check debug_info_p. (process_debug_info): Handle dwarf_start_die and dwarf_cutoff_level. * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare. * readelf.c (usage): Update. (OPTION_DWARF_DEPTH): New macro. (OPTION_DWARF_START): Likewise. (options): Add dwarf-depth and dwarf-start entries. (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH. testsuite * binutils-all/objdump.W: Correct output.