Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (40 sloc) 1.48 KB
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at
* http://www.opensolaris.org/os/licensing.
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at src/CDDL.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
* Copyright (c) 2004-2005 PathScale, Inc. All rights reserved.
* Use is subject to license terms.
file: type_enum.h
created on: Fri Aug 13 11:02:27 PDT 2004
author: David Allison <dallison@pathscale.com>
*/
#ifndef _TYPE_ENUM_H_
#define _TYPE_ENUM_H_
#include "type_base.h"
class TypeEnum: public DIE {
public:
TypeEnum(DwCUnit *cu, DIE *parent, Abbreviation *abbrev);
~TypeEnum();
virtual void print (EvalContext &ctx, int indent, int level=0);
void print_value (EvalContext &context, Value &value, int indent=0);
void find_symbol (std::string name, Address pc,
std::vector<DIE*> &result, DIE *caller = NULL);
void set_value (EvalContext &context, Value &addr, Value &value);
protected:
};
#endif
Something went wrong with that request. Please try again.