emaste 45eda7d940 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  <dan@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
MFC after:	1 month
2012-11-13 01:21:17 +00:00
..
2012-10-10 19:47:52 +00:00
2012-10-25 23:18:05 +00:00
2012-09-14 21:17:53 +00:00
2012-08-08 09:42:44 +00:00
2011-12-13 17:34:47 +00:00
2012-09-22 17:47:37 +00:00
2012-11-10 01:46:13 +00:00
2012-11-04 20:52:26 +00:00
2012-10-05 18:42:50 +00:00
2012-10-22 18:56:31 +00:00
2012-03-12 01:06:29 +00:00
2012-10-05 20:19:28 +00:00
2012-02-22 03:36:15 +00:00
2011-12-08 02:40:46 +00:00
2010-11-03 10:46:39 +00:00