projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: Fix scrolling in TUI
[deliverable/binutils-gdb.git]
/
gdb
/
mn10300-tdep.h
diff --git
a/gdb/mn10300-tdep.h
b/gdb/mn10300-tdep.h
index 3fa89f4ba4d837ba0be24102eb7d18d170cf17a6..c07c3e83b7b8d6ef6c0a070e49160a1208bcabd1 100644
(file)
--- a/
gdb/mn10300-tdep.h
+++ b/
gdb/mn10300-tdep.h
@@
-1,7
+1,6
@@
/* Target-dependent interface for Matsushita MN10300 for GDB, the GNU debugger.
/* Target-dependent interface for Matsushita MN10300 for GDB, the GNU debugger.
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
- 2007 Free Software Foundation, Inc.
+ Copyright (C) 1996-2020 Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-18,6
+17,9
@@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef MN10300_TDEP_H
+#define MN10300_TDEP_H
+
enum {
E_D0_REGNUM = 0,
E_D1_REGNUM = 1,
enum {
E_D0_REGNUM = 0,
E_D1_REGNUM = 1,
@@
-63,7
+65,7
@@
enum movm_register_bits {
movm_d2_bit = 0x80
};
movm_d2_bit = 0x80
};
-/* Values for frame_info.status */
+/* Values for frame_info.status
.
*/
enum frame_kind {
MY_FRAME_IN_SP = 0x1,
enum frame_kind {
MY_FRAME_IN_SP = 0x1,
@@
-71,10
+73,12
@@
enum frame_kind {
NO_MORE_FRAMES = 0x4
};
NO_MORE_FRAMES = 0x4
};
-/* mn10300 private data */
+/* mn10300 private data
.
*/
struct gdbarch_tdep
{
int am33_mode;
};
struct gdbarch_tdep
{
int am33_mode;
};
-#define AM33_MODE (gdbarch_tdep (current_gdbarch)->am33_mode)
+#define AM33_MODE(gdbarch) (gdbarch_tdep (gdbarch)->am33_mode)
+
+#endif /* MN10300_TDEP_H */
This page took
0.026687 seconds
and
4
git commands to generate.