OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [config/] [i386/] [tm-go32.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
/* Target-dependent definitions for Intel x86 running DJGPP.
2
   Copyright 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
3
 
4
   This file is part of GDB.
5
 
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 2 of the License, or
9
   (at your option) any later version.
10
 
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.
15
 
16
   You should have received a copy of the GNU General Public License
17
   along with this program; if not, write to the Free Software
18
   Foundation, Inc., 59 Temple Place - Suite 330,
19
   Boston, MA 02111-1307, USA.  */
20
 
21
#ifndef TM_GO32_H
22
#define TM_GO32_H
23
 
24
#undef HAVE_SSE_REGS    /* FIXME! go32-nat.c needs to support XMMi registers */
25
#define HAVE_I387_REGS
26
 
27
#include "i386/tm-i386.h"
28
 
29
/* FRAME_CHAIN takes a frame's nominal address and produces the frame's
30
   chain-pointer.
31
   In the case of the i386, the frame's nominal address
32
   is the address of a 4-byte word containing the calling frame's address.
33
   DJGPP doesn't have any special frames for signal handlers, they are
34
   just normal C functions. */
35
#undef  FRAME_CHAIN
36
#define FRAME_CHAIN(thisframe) \
37
  (!inside_entry_file ((thisframe)->pc) ? \
38
   read_memory_integer ((thisframe)->frame, 4) :\
39
   0)
40
 
41
/* A macro that tells us whether the function invocation represented
42
   by FI does not have a frame on the stack associated with it.  If it
43
   does not, FRAMELESS is set to 1, else 0.  */
44
#undef  FRAMELESS_FUNCTION_INVOCATION
45
#define FRAMELESS_FUNCTION_INVOCATION(FI) \
46
     (frameless_look_for_prologue(FI))
47
 
48
#undef  FRAME_SAVED_PC
49
#define FRAME_SAVED_PC(FRAME) (read_memory_integer ((FRAME)->frame + 4, 4))
50
 
51
#endif /* TM_GO32_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.