osprey/libdwarf/libdwarf/dwarf_macro.c File Reference

#include "config.h"
#include "dwarf_incl.h"
#include <stdio.h>
#include <limits.h>
#include "dwarf_macro.h"

Include dependency graph for dwarf_macro.c:

Go to the source code of this file.

Defines

#define LEFTPAREN   '('
#define RIGHTPAREN   ')'
#define SPACE   ' '
#define STARTERMAX   10

Functions/Subroutines

char * dwarf_find_macro_value_start (char *str)
static void _dwarf_reset_index_stack (void)
static int _dwarf_mac_push_index (Dwarf_Debug dbg, Dwarf_Signed indx)
static Dwarf_Signed _dwarf_mac_pop_index (void)
int dwarf_get_macro_details (Dwarf_Debug dbg, Dwarf_Off macro_offset, Dwarf_Unsigned maximum_count, Dwarf_Signed *entry_count, Dwarf_Macro_Details **details, Dwarf_Error *error)

Variables

static Dwarf_Signedst_base
static long max
static long next_to_use
static int was_fault = 0


Define Documentation

#define LEFTPAREN   '('

Definition at line 49 of file dwarf_macro.c.

Referenced by dwarf_find_macro_value_start().

#define RIGHTPAREN   ')'

Definition at line 50 of file dwarf_macro.c.

Referenced by dwarf_find_macro_value_start().

#define SPACE   ' '

Definition at line 51 of file dwarf_macro.c.

#define STARTERMAX   10

Definition at line 103 of file dwarf_macro.c.

Referenced by _dwarf_mac_push_index().


Function Documentation

static Dwarf_Signed _dwarf_mac_pop_index ( void   )  [static]

Definition at line 140 of file dwarf_macro.c.

References next_to_use, st_base, and was_fault.

Referenced by dwarf_get_macro_details().

static int _dwarf_mac_push_index ( Dwarf_Debug  dbg,
Dwarf_Signed  indx 
) [static]

static void _dwarf_reset_index_stack ( void   )  [static]

Definition at line 105 of file dwarf_macro.c.

References next_to_use, and was_fault.

Referenced by dwarf_get_macro_details().

char* dwarf_find_macro_value_start ( char *  str  ) 

Definition at line 61 of file dwarf_macro.c.

References LEFTPAREN, RIGHTPAREN, and SPACE.

int dwarf_get_macro_details ( Dwarf_Debug  dbg,
Dwarf_Off  macro_offset,
Dwarf_Unsigned  maximum_count,
Dwarf_Signed entry_count,
Dwarf_Macro_Details **  details,
Dwarf_Error error 
)


Variable Documentation

long max [static]

Definition at line 99 of file dwarf_macro.c.

long next_to_use [static]

Dwarf_Signed* st_base [static]

int was_fault = 0 [static]


Generated on Wed Apr 8 15:51:44 2009 for Open64 by  doxygen 1.5.6