blob: 2432f86fd595aedfc0492598ceadd8f2aca7e39e [file] [log] [blame]
sewardjeadcd862006-04-04 15:12:44 +00001
2/*--------------------------------------------------------------------*/
3/*--- Read 'stabs' format debug info. priv_readstabs.h ---*/
4/*--------------------------------------------------------------------*/
5
6/*
7 This file is part of Valgrind, a dynamic binary instrumentation
8 framework.
9
sewardj0f157dd2013-10-18 14:27:36 +000010 Copyright (C) 2000-2013 Julian Seward
sewardjeadcd862006-04-04 15:12:44 +000011 jseward@acm.org
12
13 This program is free software; you can redistribute it and/or
14 modify it under the terms of the GNU General Public License as
15 published by the Free Software Foundation; either version 2 of the
16 License, or (at your option) any later version.
17
18 This program is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
26 02111-1307, USA.
27
28 The GNU General Public License is contained in the file COPYING.
29*/
30
31#ifndef __PRIV_READSTABS_H
32#define __PRIV_READSTABS_H
33
florian535fb1b2013-09-15 13:54:34 +000034#include "pub_core_basics.h" // UChar
35#include "pub_core_debuginfo.h" // DebugInfo
36
sewardjeadcd862006-04-04 15:12:44 +000037/*
38 Stabs reader greatly improved by Nick Nethercote, Apr 02.
39 This module was also extensively hacked on by Jeremy Fitzhardinge
40 and Tom Hughes.
41*/
42
43/* --------------------
44 Stabs reader
45 -------------------- */
46extern
florian535fb1b2013-09-15 13:54:34 +000047void ML_(read_debuginfo_stabs) ( DebugInfo* di,
sewardjeadcd862006-04-04 15:12:44 +000048 UChar* stabC, Int stab_sz,
florian1636d332012-11-15 04:27:04 +000049 HChar* stabstr, Int stabstr_sz );
sewardjeadcd862006-04-04 15:12:44 +000050
51#endif /* ndef __PRIV_READSTABS_H */
52
53/*--------------------------------------------------------------------*/
54/*--- end ---*/
55/*--------------------------------------------------------------------*/