1 /* Target description definitions for remote server for GDB.
2 Copyright (C) 2012-2015 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
24 /* A target description. */
28 /* An array of NUM_REGISTERS elements of register definitions that
29 describe the inferior's register set. */
32 /* The number of registers in inferior's register set (and thus in
36 /* The register cache size, in bytes. */
39 /* An array of register names. These are the "expedite" registers:
40 registers whose values are sent along with stop replies. */
41 const char **expedite_regs
;
43 /* Defines what to return when looking for the "target.xml" file in
44 response to qXfer:features:read. Its contents can either be
45 verbatim XML code (prefixed with a '@') or else the name of the
46 actual XML file to be used in place of "target.xml". */
47 const char *xmltarget
;
50 /* Copy target description SRC to DEST. */
52 void copy_target_description (struct target_desc
*dest
,
53 const struct target_desc
*src
);
55 /* Initialize TDESC. */
57 void init_target_desc (struct target_desc
*tdesc
);
59 /* Return the current inferior's target description. Never returns
62 const struct target_desc
*current_target_desc (void);
This page took 0.030008 seconds and 4 git commands to generate.