MFC: 238537,238552
Add support for walltimestamp in DTrace.

Submitted by:	Fabian Keil
Includes correction by: avg


git-svn-id: svn://svn.freebsd.org/base/stable/9@244093 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: 238979

When we return with an error we cannot unlock the mutex, because
it's been freed.  Protect against that, hopefully unlikely, case.

Reviewed by:	rpaulo


git-svn-id: svn://svn.freebsd.org/base/stable/9@244097 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r235767:

Add missing header needed by free().

Reported by:	tinderbox


git-svn-id: svn://svn.freebsd.org/base/stable/9@244107 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r235771:

Remove redundant declaration of yyparse.

Reported by:	tinderbox


git-svn-id: svn://svn.freebsd.org/base/stable/9@244108 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r243868:
Do not allocate buffer of the 255 bytes length on the stack.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244110 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r242936:   Set optimized_out instead of reporting an error.

  This provides a better display when debugging code compiled with
  optimization on.

  GDB git revision e8395b4efd184f745070afb953f451f99e922be7 (prior to
  GDB's switch to GPLv3), modified for the interfaces provided by
  GDB 6.1.1.

  2005-02-28  Daniel Jacobowitz  <d...@codesourcery.com>

   * dwarf2loc.c (loclist_read_variable): Set optimized_out
   instead of reporting an error.
   * valprint.c (value_check_printable): New function.
   (common_val_print): New function.  Use value_check_printable.
   (value_print): Use value_check_printable.
   * value.h (common_val_print): Add prototype.
   * c-valprint.c (c_val_print): Use common_val_print.
   * cp-valprint.c (cp_print_value_fields): Likewise.
   (cp_print_hpacc_virtual_table_entries): Likewise.
   * f-valprint.c (f_val_print): Likewise.
   * jv-valprint.c (java_value_print, java_print_value_fields):
   Likewise.
   * scm-valprint.c (scm_value_print): Likewise.
   * stack.c (print_frame_args): Likewise.
   * varobj.c (c_value_of_variable): Likewise.
   * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
   (pascal_object_print_value_fields): Likewise.  Update call to
   pascal_object_print_static_field.
   (pascal_object_print_static_field): Remove TYPE argument.  Use
   common_val_print.

Sponsored by:        ADARA Networks


git-svn-id: svn://svn.freebsd.org/base/stable/9@244115 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r242943: Do not unwind past a zero PC frame.

  This improves GDB usability when debugging code compiled with
  optimization.

  Upstream GDB revision f0031b6d3ae9b164b3747986ab898190bd4dcf8c (prior
  to GDB's switch to GPLv3), with frame_debug_got_null_frame expanded
  inline.

  | 2004-12-12  Andrew Cagney  <cagney@gnu.org>
  |
  | * frame.c (get_prev_frame): When unwinding normal frames, check
  | that the PC isn't zero.

Sponsored by:	ADARA Networks


git-svn-id: svn://svn.freebsd.org/base/stable/9@244116 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revert r244108. yyparse() declaration isn't redundant in stable/9.

Reported by:	tinderbox :)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244117 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/svn_stable_9' into svn_stable_9

Revert my patch to dtrace for walltimestamp support

Conflicts:
	sys/cddl/dev/dtrace/amd64/dtrace_subr.c