summaryrefslogtreecommitdiff
path: root/src/format/dwarf/dwarf-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2008-08-17 21:13:03 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2008-08-17 21:13:03 (GMT)
commitf6f110acb8bf3243dffc527271c17619a078fcc4 (patch)
tree1e543cdf23b7bb646f36a51d21d18b91b92706c8 /src/format/dwarf/dwarf-int.h
parenta13b6baeeea114919d0e9eb25e35657b144437dc (diff)
Looked for prototyped functions using the registered abbreviations.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@17 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/dwarf/dwarf-int.h')
-rw-r--r--src/format/dwarf/dwarf-int.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/format/dwarf/dwarf-int.h b/src/format/dwarf/dwarf-int.h
index 371d193..52130f8 100644
--- a/src/format/dwarf/dwarf-int.h
+++ b/src/format/dwarf/dwarf-int.h
@@ -34,6 +34,17 @@
+/* Format du DWARF */
+typedef enum _DwarfFormat
+{
+ DWF_32_BITS, /* Mode 32 bits */
+ DWF_64_BITS /* Mode 64 bits */
+
+} DwarfFormat;
+
+
+
+
/* Description d'un attribut d'une abréviation */
typedef struct _dw_abbrev_attr
{
@@ -46,6 +57,7 @@ typedef struct _dw_abbrev_attr
/* Description d'une abréviation */
typedef struct _dw_abbrev
{
+ off_t offset; /* Position dans le corps */
DwarfTag tag; /* Sujet de l'élément */
dw_abbrev_attr *attribs; /* Liste des attributs */
@@ -64,6 +76,8 @@ struct _dwarf_format
{
dbg_format dummy; /* A laisser en premier */
+ DwarfFormat format; /* Format de l'instance */
+
dw_abbrev **abbrevs; /* Liste des abréviations */
size_t abbrevs_count; /* Nombre de ces abréviations */