xref: /dflybsd-src/contrib/gdb-7/gdb/common/linux-osdata.h (revision de8e141f24382815c10a4012d209bbbf7abf1112)
1a45ae5f8SJohn Marino /* Linux-specific functions to retrieve OS data.
2a45ae5f8SJohn Marino 
3*ef5ccd6cSJohn Marino    Copyright (C) 2009-2013 Free Software Foundation, Inc.
4a45ae5f8SJohn Marino 
5a45ae5f8SJohn Marino    This file is part of GDB.
6a45ae5f8SJohn Marino 
7a45ae5f8SJohn Marino    This program is free software; you can redistribute it and/or modify
8a45ae5f8SJohn Marino    it under the terms of the GNU General Public License as published by
9a45ae5f8SJohn Marino    the Free Software Foundation; either version 3 of the License, or
10a45ae5f8SJohn Marino    (at your option) any later version.
11a45ae5f8SJohn Marino 
12a45ae5f8SJohn Marino    This program is distributed in the hope that it will be useful,
13a45ae5f8SJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
14a45ae5f8SJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15a45ae5f8SJohn Marino    GNU General Public License for more details.
16a45ae5f8SJohn Marino 
17a45ae5f8SJohn Marino    You should have received a copy of the GNU General Public License
18a45ae5f8SJohn Marino    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19a45ae5f8SJohn Marino 
20a45ae5f8SJohn Marino #ifndef COMMON_LINUX_OSDATA_H
21a45ae5f8SJohn Marino #define COMMON_LINUX_OSDATA_H
22a45ae5f8SJohn Marino 
23a45ae5f8SJohn Marino #include "ptid.h"
24a45ae5f8SJohn Marino 
25a45ae5f8SJohn Marino extern int linux_common_core_of_thread (ptid_t ptid);
26a45ae5f8SJohn Marino extern LONGEST linux_common_xfer_osdata (const char *annex, gdb_byte *readbuf,
27a45ae5f8SJohn Marino 					 ULONGEST offset, LONGEST len);
28a45ae5f8SJohn Marino 
29a45ae5f8SJohn Marino #endif
30