]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Essentially non-functional tidyings and improvements to debuginfo
authorJulian Seward <jseward@acm.org>
Mon, 12 Feb 2007 17:47:14 +0000 (17:47 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 12 Feb 2007 17:47:14 +0000 (17:47 +0000)
commit0dfa20858885a64142ff952b8b7117435e16ae1e
treec344629174c09bed7e340f3a072857d40dd3fc85
parent2bd2d570c9704b07fedbb59eedda2e3f5ab78207
Essentially non-functional tidyings and improvements to debuginfo
reading.  Two sets of changes:

* New flags for debugging the readers.
  --debug-dump=syms
  --debug-dump=line
  --debug-dump=frames

  These (currently accepted but nonfunctional) are intended to
  create output in the style of (that is, identical to)
    /usr/bin/readelf --syms
    /usr/bin/readelf --debug-dump=line
    /usr/bin/readelf --debug-dump=frames
  respectively.  The plan is that flaws in these readers can then
  be easily found by diff-ing the output against that from readelf.

  Also, a new flag --trace-symtab-patt=<object filename pattern>
  which is used to limit all debuginfo-related debug info to the
  set of shared object names matching the given pattern.  This
  facilitates extracting the debuginfo details of one specific
  shared object, which is usually what is required, rather than
  having to wade through megabytes of junk from every object in
  the process.

* Propagate the avma/svma/image address-naming scheme
  (as described at the top of debuginfo.c) through large parts of
  readelf.c and readdwarf.c.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6588
coregrind/m_debuginfo/debuginfo.c
coregrind/m_debuginfo/priv_storage.h
coregrind/m_debuginfo/readdwarf.c
coregrind/m_debuginfo/readelf.c
coregrind/m_debuginfo/storage.c
coregrind/m_main.c
coregrind/m_options.c
coregrind/pub_core_options.h
include/pub_tool_options.h