Fix PR14842 by removing old "--kelf" and "--ignore-dwarf" options.

* cmdline.cxx: Remove "--kelf" and "--ignore-dwarf" options.
* cmdline.h: Ditto.
* hash.cxx (find_script_hash): Ditto.
* session.cxx: Ditto.
* session.h: Ditto.
* stap.1: Ditto.
* initscript/systemtap.in: Ditto.
* po/en.po: Ditto.
* po/fr.po: Ditto.
* po/pl.po: Ditto.
* po/systemtap.pot: Ditto.
* testsuite/semok/nodwf04.stp: Removed test for --kelf/--ignore-dwarf.
* testsuite/semok/nodwf05.stp: Ditto.
* testsuite/semok/nodwf06.stp: Ditto.
* testsuite/semok/nodwf07.stp: Ditto.
* testsuite/systemtap.context/num_args.tcl: Removed test pass for "--kelf
  --ignore-dwarf".
Make debugtypes.exp "untested" if we've got an older gcc.

* testsuite/systemtap.pass1-4/debugtypes.exp: Mark as 'untested' if the
  system's gcc doesn't support the '-gdwarf-4 -fdebug-types-section'
  options.
Tweak the probe_by_pid.exp testcase to avoid zombie processes.
Update the ptrace.exp test to work on RHEL6.

* testsuite/systemtap.base/ptrace.exp: Handle more versions of strace
  output. Require uprobes, since the test scripts use uprobes.
Mark pt_user_mode.exp as untested if we're not root.

* testsuite/systemtap.base/pt_user_mode.exp: Mark as "untested" if we're
  not root (since perf probes require root).
PR10272 Warn if we will be unable to generate user backtrace for 32-on-64.

Deduce the kernel ELF class from the kernel normalized machine architecture
and warn if it is different from the module ELF class (except for 32-bit
vdso). Don't generate unwind tables for "wrong class" modules.
testsuite/systemtap.base/utf_pretty.exp: Explictly use g++ compiler.

utf_pretty.cxx is a C++ program, compiling with plain gcc might result in
undefined reference to `__gxx_personality_v0'.
probefunc(): Use [u]addr() instead of [u]stack(0).

The result is the same, but the use of [u]stack(0) triggers the inclusion
of unwind tables (even though there is literally zero unwinding going on).
testsuite/systemtap.base/partial-class-type.exp: Explictly use g++ compiler.

partial-class-type.cxx is a C++ program, compiling with plain gcc might
result in undefined reference to `__gxx_personality_v0'.
Fix RHEL5 x86_64 register printing.

* runtime/linux/regs.c (_stp_print_regs): Correctly print the 'flags'
  register on systems before x86 register unification, such as RHEL5.
Fix _stp_get_arg32_by_number() for RHEL5.

* runtime/regs.c (_stp_get_arg32_by_number): Handle i386/x86_64
  differences better for systems without x86 register unification, like
  RHEL5.
 Please enter the commit message for your changes. Lines starting
stapdyn: loadLibrary now returns BPatch_object

BPatch_addressSpace::loadLibrary changed its return value before Dyninst
8.0 final.  We wanted the BPatch_object anyway, so now we don't have to
get it indirectly through BPatch_module::getObject.

Also, bump the rpm spec to require the actual Dyninst 8.0.
Run probefunc inline testcase with --compatible=1.8.

In the new implementation we will observe the name of the function where
this gets inlined, not the inlined function name itself. With the old
implementation of probefunc() it would get the name from the actual
probe string. Test the old behavior explicitly.
Add a "-O" to the "-D_FORTIFY_SOURCE=2" setjump.exp test

When building code with -D_FORTIFIY_SOURCE=2 need to turn on
optimizations.  Without the "-O" the compile of code triggers warning
that will cause the build to fail and some parts of the portion of the
test is untested.
BZ878926: further parametrize /etc paths

commit 29fe12e41f1 left two items behind, where /etc/systemtap
was not properly replaced with @sysconfdir@/systemtap.
stapdyn: Define offset pointers and list implementations

Offset pointers are an abstraction of pointers into relative offsets,
here chosen as relative to the offptr_t object itself.  This allows
objects to reference each other within a memory block that may not be at
a fixed virtual address, such as with shared memory or reallocs.

The olist and ohlist types are based on the Linux list and hlist types,
but purely using offset pointers.
runtime: Abstract the list type, and use olist for stapdyn

This is the first step toward making systemtap maps usable in shared
memory, which we'll use for multiprocess stapdyn support.

The runtimes each have a map_list.h file which defines mlist names for
either normal lists in kernel mode or offset lists in dyninst mode.

There's no significant functionality change in the maps here, mostly
just renamed to mlist_* across the board.
stapdyn: Kill the lists copied from the kernel

These list definitions were only in use to support systemtap maps, but
they're now using offset lists, so these plain lists aren't needed.
stapdyn: Add an offptr debug mode for direct pointers

Useful for validation, and also to compare how the offset computations
affect code generation.
runtime: More static, fewer exported symbols

Does it hurt to have unnecessarily exported symbols?  Probably not, but
making them static may give the compiler more chances to optimize.