Home | History | Annotate | Download | only in linux-gnu
      1 /*
      2  * This file is part of ltrace.
      3  * Copyright (C) 2012 Petr Machata
      4  *
      5  * This program is free software; you can redistribute it and/or
      6  * modify it under the terms of the GNU General Public License as
      7  * published by the Free Software Foundation; either version 2 of the
      8  * License, or (at your option) any later version.
      9  *
     10  * This program is distributed in the hope that it will be useful, but
     11  * WITHOUT ANY WARRANTY; without even the implied warranty of
     12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     13  * General Public License for more details.
     14  *
     15  * You should have received a copy of the GNU General Public License
     16  * along with this program; if not, write to the Free Software
     17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
     18  * 02110-1301 USA
     19  */
     20 
     21 #define OS_HAVE_PROCESS_DATA
     22 struct os_process_data {
     23 	arch_addr_t debug_addr;
     24 	int debug_state;
     25 };
     26 
     27 #define OS_HAVE_LIBRARY_SYMBOL_DATA
     28 struct os_library_symbol_data {
     29 	unsigned is_ifunc : 1;
     30 };
     31 
     32 #define OS_HAVE_BREAKPOINT_DATA
     33 struct os_breakpoint_data {
     34 	/* For breakpoints that track return from IFUNC functions, we
     35 	 * keep here the IFUNC symbol itself.  */
     36 	struct library_symbol *ret_libsym;
     37 };
     38 
     39 #define OS_HAVE_ADD_FUNC_ENTRY
     40