import gdb-1999-07-07 post reformat
[deliverable/binutils-gdb.git] / gdb / gdbthread.h
CommitLineData
c906108c
SS
1/* Multi-process/thread control defs for GDB, the GNU debugger.
2 Copyright 1987, 88, 89, 90, 91, 92, 1993, 1998
3
4 Contributed by Lynx Real-Time Systems, Inc. Los Gatos, CA.
5 Free Software Foundation, Inc.
6
7This file is part of GDB.
8
9This program is free software; you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
11the Free Software Foundation; either version 2 of the License, or
12(at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
21Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
22
23#ifndef GDBTHREAD_H
24#define GDBTHREAD_H
25
26/* For bpstat */
27#include "breakpoint.h"
28
29extern void init_thread_list PARAMS ((void));
30
31extern void add_thread PARAMS ((int pid));
32
33extern void delete_thread PARAMS ((int));
34
35extern int thread_id_to_pid PARAMS ((int));
36
37extern int in_thread_list PARAMS ((int pid));
38
39extern int pid_to_thread_id PARAMS ((int pid));
40
41extern int valid_thread_id PARAMS ((int thread));
42
43extern void load_infrun_state PARAMS ((int, CORE_ADDR *, CORE_ADDR *, char **,
44 int *, struct breakpoint **,
45 struct breakpoint **, CORE_ADDR *,
46 CORE_ADDR *, CORE_ADDR *, int *, int *,
47 int *, bpstat *, int *));
48
49extern void save_infrun_state PARAMS ((int, CORE_ADDR, CORE_ADDR, char *,
50 int, struct breakpoint *,
51 struct breakpoint *, CORE_ADDR,
52 CORE_ADDR, CORE_ADDR, int, int,
53 int, bpstat, int));
54
55/* Commands with a prefix of `thread'. */
56extern struct cmd_list_element *thread_cmd_list;
57
c906108c 58#endif /* GDBTHREAD_H */
This page took 0.037445 seconds and 4 git commands to generate.