1 /* Native support for GNU/Linux, for GDB, the GNU debugger.
3 Free Software Foundation, Inc.
5 This file is part of GDB.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 /* Linux is svr4ish but not that much */
25 /* Tell gdb that we can attach and detach other processes */
28 /* We define this if link.h is available, because with ELF we use SVR4 style
32 #define SVR4_SHARED_LIBS
33 #include "solib.h" /* Support for shared libraries. */
36 /* Support for the glibc linuxthreads package. */
41 linuxthreads_new_objfile
PARAMS ((struct objfile
*objfile
));
42 #define target_new_objfile(OBJFILE) linuxthreads_new_objfile (OBJFILE)
45 linuxthreads_pid_to_str
PARAMS ((int pid
));
46 #define target_pid_to_str(PID) linuxthreads_pid_to_str (PID)
49 linuxthreads_prepare_to_proceed
PARAMS ((int step
));
50 #define PREPARE_TO_PROCEED(select_it) linuxthreads_prepare_to_proceed (1)