GDBserver
/home/stan/gdb/src/gdb/gdbserver/nto-low.h
Go to the documentation of this file.
00001 /* Internal interfaces for the QNX Neutrino specific target code for gdbserver.
00002    Copyright (C) 2009-2013 Free Software Foundation, Inc.
00003 
00004    This file is part of GDB.
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 3 of the License, or
00009    (at your option) any later version.
00010 
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00018 
00019 #ifndef NTO_LOW_H
00020 #define NTO_LOW_H
00021 
00022 struct target_desc;
00023 
00024 enum regset_type
00025 {
00026   NTO_REG_GENERAL,
00027   NTO_REG_FLOAT,
00028   NTO_REG_SYSTEM,
00029   NTO_REG_ALT,
00030   NTO_REG_END
00031 };
00032 
00033 struct nto_target_ops
00034 {
00035   /* Architecture specific setup.  */
00036   void (*arch_setup) (void);
00037   int num_regs;
00038   int (*register_offset) (int gdbregno);
00039   const unsigned char *breakpoint;
00040   int breakpoint_len;
00041 };
00042 
00043 extern struct nto_target_ops the_low_target;
00044 
00045 /* The inferior's target description.  This is a global because the
00046    LynxOS ports support neither bi-arch nor multi-process.  */
00047 extern const struct target_desc *nto_tdesc;
00048 
00049 #endif
00050 
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines