Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/gdb/gdb/dwarf2read.c
Show First 20 Lines • Show All 7,104 Lines • ▼ Show 20 Lines | case DW_OP_call2: | ||||
return "DW_OP_call2"; | return "DW_OP_call2"; | ||||
case DW_OP_call4: | case DW_OP_call4: | ||||
return "DW_OP_call4"; | return "DW_OP_call4"; | ||||
case DW_OP_call_ref: | case DW_OP_call_ref: | ||||
return "DW_OP_call_ref"; | return "DW_OP_call_ref"; | ||||
/* GNU extensions. */ | /* GNU extensions. */ | ||||
case DW_OP_GNU_push_tls_address: | case DW_OP_GNU_push_tls_address: | ||||
return "DW_OP_GNU_push_tls_address"; | return "DW_OP_GNU_push_tls_address"; | ||||
case DW_OP_GNU_uninit: | |||||
return "DW_OP_GNU_uninit"; | |||||
default: | default: | ||||
return "OP_<unknown>"; | return "OP_<unknown>"; | ||||
} | } | ||||
} | } | ||||
static char * | static char * | ||||
dwarf_bool_name (unsigned mybool) | dwarf_bool_name (unsigned mybool) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 506 Lines • ▼ Show 20 Lines | case DW_OP_deref: | ||||
/* The top of the stack has the offset from the beginning | /* The top of the stack has the offset from the beginning | ||||
of the thread control block at which the variable is located. */ | of the thread control block at which the variable is located. */ | ||||
/* Nothing should follow this operator, so the top of stack would | /* Nothing should follow this operator, so the top of stack would | ||||
be returned. */ | be returned. */ | ||||
/* This is valid for partial global symbols, but the variable's | /* This is valid for partial global symbols, but the variable's | ||||
address will be bogus in the psymtab. */ | address will be bogus in the psymtab. */ | ||||
if (i < size) | if (i < size) | ||||
dwarf2_complex_location_expr_complaint (); | dwarf2_complex_location_expr_complaint (); | ||||
break; | |||||
case DW_OP_GNU_uninit: | |||||
break; | break; | ||||
default: | default: | ||||
complaint (&symfile_complaints, "unsupported stack op: '%s'", | complaint (&symfile_complaints, "unsupported stack op: '%s'", | ||||
dwarf_stack_op_name (op)); | dwarf_stack_op_name (op)); | ||||
return (stack[stacki]); | return (stack[stacki]); | ||||
} | } | ||||
} | } | ||||
return (stack[stacki]); | return (stack[stacki]); | ||||
▲ Show 20 Lines • Show All 482 Lines • Show Last 20 Lines |