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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [config/] [mips/] [tm-embed.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
/* Copyright (C) 1993 Free Software Foundation, Inc.
2
 
3
   This file is part of GDB.
4
 
5
   This program is free software; you can redistribute it and/or modify
6
   it under the terms of the GNU General Public License as published by
7
   the Free Software Foundation; either version 2 of the License, or
8
   (at your option) any later version.
9
 
10
   This program is distributed in the hope that it will be useful,
11
   but WITHOUT ANY WARRANTY; without even the implied warranty of
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
   GNU 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., 59 Temple Place - Suite 330,
18
   Boston, MA 02111-1307, USA.  */
19
 
20
#define TARGET_BYTE_ORDER_SELECTABLE_P 1
21
 
22
#include "mips/tm-bigmips.h"
23
 
24
#undef DEFAULT_MIPS_TYPE
25
#define DEFAULT_MIPS_TYPE "r3051"
26
 
27
/* Watchpoint support */
28
 
29
#define TARGET_HAS_HARDWARE_WATCHPOINTS
30
 
31
/* Use these macros for watchpoint insertion/deletion.  */
32
/* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */
33
 
34
#define target_insert_watchpoint(addr, len, type) \
35
        remote_mips_set_watchpoint (addr, len, type)
36
int remote_mips_set_watchpoint PARAMS ((CORE_ADDR addr, int len, int type));
37
 
38
#define target_remove_watchpoint(addr, len, type) \
39
        remote_mips_remove_watchpoint (addr, len, type)
40
int remote_mips_remove_watchpoint PARAMS ((CORE_ADDR addr, int len, int type));
41
 
42
/* We need to remove watchpoints when stepping, else we hit them again! */
43
 
44
#define HAVE_NONSTEPPABLE_WATCHPOINT
45
 
46
int remote_mips_stopped_by_watchpoint (void);
47
#define STOPPED_BY_WATCHPOINT(w) remote_mips_stopped_by_watchpoint ()
48
 
49
#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
50
  remote_mips_can_use_hardware_watchpoint(cnt)
51
int remote_mips_can_use_hardware_watchpoint PARAMS ((int cnt));

powered by: WebSVN 2.1.0

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