diff options
Diffstat (limited to 'binutils-2.22/include/gdb')
-rw-r--r-- | binutils-2.22/include/gdb/ChangeLog | 28 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/callback.h | 12 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/fileio.h | 2 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/gdb-index.h | 99 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/remote-sim.h | 4 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/signals.def | 302 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/signals.h | 8 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-arm.h | 3 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-bfin.h | 2 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-cr16.h | 2 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-d10v.h | 3 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-frv.h | 2 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-h8300.h | 3 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-lm32.h | 2 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-m32c.h | 3 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-ppc.h | 2 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-rl78.h | 76 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-rx.h | 2 | ||||
-rw-r--r-- | binutils-2.22/include/gdb/sim-sh.h | 4 |
19 files changed, 382 insertions, 177 deletions
diff --git a/binutils-2.22/include/gdb/ChangeLog b/binutils-2.22/include/gdb/ChangeLog index dabaa5b..833f913 100644 --- a/binutils-2.22/include/gdb/ChangeLog +++ b/binutils-2.22/include/gdb/ChangeLog @@ -1,3 +1,31 @@ +2012-06-23 Doug Evans <dje@google.com> + + * gdb-index.h: New file. + +2012-05-24 Pedro Alves <palves@redhat.com> + + PR gdb/7205 + + Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. + +2012-05-24 Pedro Alves <palves@redhat.com> + + PR gdb/7205 + + Replace target_signal with gdb_signal throughout. + +2012-04-12 Mike Frysinger <vapier@gentoo.org> + + * callback.h (CB_SYS_argc, CB_SYS_argnlen, CB_SYS_argn): Define. + +2012-02-03 Kevin Buettner <kevinb@redhat.com> + + * sim-rl78.h: New file. + +2011-12-03 Mike Frysinger <vapier@gentoo.org> + + * callback.h (cb_get_string): New prototype. + 2011-04-14 Mike Frysinger <vapier@gentoo.org> * remote-sim.h (sim_complete_command): New prototype. diff --git a/binutils-2.22/include/gdb/callback.h b/binutils-2.22/include/gdb/callback.h index a1f79f9..d8d1472 100644 --- a/binutils-2.22/include/gdb/callback.h +++ b/binutils-2.22/include/gdb/callback.h @@ -1,5 +1,5 @@ /* Remote target system call callback support. - Copyright 1997, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright 1997, 2007-2012 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GDB. @@ -231,6 +231,11 @@ extern host_callback default_callback; #define CB_SYS_truncate 21 #define CB_SYS_ftruncate 22 #define CB_SYS_pipe 23 + +/* New ARGV support. */ +#define CB_SYS_argc 24 +#define CB_SYS_argnlen 25 +#define CB_SYS_argn 26 /* Struct use to pass and return information necessary to perform a system call. */ @@ -309,7 +314,7 @@ int cb_target_to_host_open (host_callback *, int); int cb_target_to_host_signal (host_callback *, int); /* Translate host signal number to target. */ -int cb_host_to_target_signal (host_callback *, int); +int cb_host_to_gdb_signal (host_callback *, int); /* Translate host stat struct to target. If stat struct ptr is NULL, just compute target stat struct size. @@ -324,6 +329,9 @@ int cb_is_stdin (host_callback *, int); int cb_is_stdout (host_callback *, int); int cb_is_stderr (host_callback *, int); +/* Read a string out of the target. */ +int cb_get_string (host_callback *, CB_SYSCALL *, char *, int, unsigned long); + /* Perform a system call. */ CB_RC cb_syscall (host_callback *, CB_SYSCALL *); diff --git a/binutils-2.22/include/gdb/fileio.h b/binutils-2.22/include/gdb/fileio.h index fc44760..06b2ecf 100644 --- a/binutils-2.22/include/gdb/fileio.h +++ b/binutils-2.22/include/gdb/fileio.h @@ -1,6 +1,6 @@ /* Hosted File I/O interface definitions, for GDB, the GNU Debugger. - Copyright 2003, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright 2003, 2007-2012 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/binutils-2.22/include/gdb/gdb-index.h b/binutils-2.22/include/gdb/gdb-index.h new file mode 100644 index 0000000..92c3398 --- /dev/null +++ b/binutils-2.22/include/gdb/gdb-index.h @@ -0,0 +1,99 @@ +/* Public attributes of the .gdb_index section. + Copyright 2012 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* This file contains values for understanding the .gdb_index section + needed by more than just GDB, e.g. readelf. */ + +#ifndef GDB_INDEX_H +#define GDB_INDEX_H + +/* Each symbol in .gdb_index refers to a set of CUs that defines the symbol. + Each CU is represented by a 32 bit number that is the index of the CU in + the CU table, plus some attributes of the use of the symbol in that CU. + + The values are defined such that if all the bits are zero, then no + special meaning is assigned to any of them. This is done to preserve + compatibility with older indices. The way this is done is to specify + that if the GDB_INDEX_SYMBOL_KIND value is zero then all other attribute + bits must be zero. + + 0-23 CU index + 24-27 reserved + 28-30 symbol kind + 31 0 == global, 1 == static + + Bits 24-27 are reserved because it's easier to relax restrictions than + it is to impose them after the fact. At present 24 bits to represent + the CU index is plenty. If we need more bits for the CU index or for + attributes then we have them. */ + +/* Whether the symbol is in GLOBAL_BLOCK (== 0) or STATIC_BLOCK (== 1). */ +#define GDB_INDEX_SYMBOL_STATIC_SHIFT 31 +#define GDB_INDEX_SYMBOL_STATIC_MASK 1 +#define GDB_INDEX_SYMBOL_STATIC_VALUE(cu_index) \ + (((cu_index) >> GDB_INDEX_SYMBOL_STATIC_SHIFT) & GDB_INDEX_SYMBOL_STATIC_MASK) +#define GDB_INDEX_SYMBOL_STATIC_SET_VALUE(cu_index, value) \ + do { \ + (cu_index) |= (((value) & GDB_INDEX_SYMBOL_STATIC_MASK) \ + << GDB_INDEX_SYMBOL_STATIC_SHIFT); \ + } while (0) + +/* The kind of the symbol. + We don't use GDB's internal values as these numbers are published + so that other tools can build and read .gdb_index. */ + +typedef enum { + /* Special value to indicate no attributes are present. */ + GDB_INDEX_SYMBOL_KIND_NONE = 0, + GDB_INDEX_SYMBOL_KIND_TYPE = 1, + GDB_INDEX_SYMBOL_KIND_VARIABLE = 2, + GDB_INDEX_SYMBOL_KIND_FUNCTION = 3, + GDB_INDEX_SYMBOL_KIND_OTHER = 4, + /* We currently allocate 3 bits to record the symbol kind. + Give the unused bits a value so gdb will print them sensibly. */ + GDB_INDEX_SYMBOL_KIND_UNUSED5 = 5, + GDB_INDEX_SYMBOL_KIND_UNUSED6 = 6, + GDB_INDEX_SYMBOL_KIND_UNUSED7 = 7, +} gdb_index_symbol_kind; + +#define GDB_INDEX_SYMBOL_KIND_SHIFT 28 +#define GDB_INDEX_SYMBOL_KIND_MASK 7 +#define GDB_INDEX_SYMBOL_KIND_VALUE(cu_index) \ + ((gdb_index_symbol_kind) (((cu_index) >> GDB_INDEX_SYMBOL_KIND_SHIFT) \ + & GDB_INDEX_SYMBOL_KIND_MASK)) +#define GDB_INDEX_SYMBOL_KIND_SET_VALUE(cu_index, value) \ + do { \ + (cu_index) |= (((value) & GDB_INDEX_SYMBOL_KIND_MASK) \ + << GDB_INDEX_SYMBOL_KIND_SHIFT); \ + } while (0) + +#define GDB_INDEX_RESERVED_SHIFT 24 +#define GDB_INDEX_RESERVED_MASK 15 +#define GDB_INDEX_RESERVED_VALUE(cu_index) \ + (((cu_index) >> GDB_INDEX_RESERVED_SHIFT) & GDB_INDEX_RESERVED_MASK) + +/* CU index. */ +#define GDB_INDEX_CU_BITSIZE 24 +#define GDB_INDEX_CU_MASK ((1 << GDB_INDEX_CU_BITSIZE) - 1) +#define GDB_INDEX_CU_VALUE(cu_index) ((cu_index) & GDB_INDEX_CU_MASK) +#define GDB_INDEX_CU_SET_VALUE(cu_index, value) \ + do { \ + (cu_index) |= (value) & GDB_INDEX_CU_MASK; \ + } while (0) + +#endif /* GDB_INDEX_H */ diff --git a/binutils-2.22/include/gdb/remote-sim.h b/binutils-2.22/include/gdb/remote-sim.h index 14a86a8..cef0dd9 100644 --- a/binutils-2.22/include/gdb/remote-sim.h +++ b/binutils-2.22/include/gdb/remote-sim.h @@ -1,7 +1,7 @@ /* This file defines the interface between the simulator and gdb. - Copyright 1993, 1994, 1996, 1997, 1998, 2000, 2002, 2007, 2008, 2009, 2010, - 2011 Free Software Foundation, Inc. + Copyright 1993-1994, 1996-1998, 2000, 2002, 2007-2012 Free Software + Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.22/include/gdb/signals.def b/binutils-2.22/include/gdb/signals.def index 7e08c90..ef4c8d4 100644 --- a/binutils-2.22/include/gdb/signals.def +++ b/binutils-2.22/include/gdb/signals.def @@ -1,5 +1,5 @@ /* Target signal numbers for GDB and the GDB remote protocol. - Copyright 2010, 2011 Free Software Foundation, Inc. + Copyright 2010-2012 Free Software Foundation, Inc. This file is part of GDB. @@ -18,173 +18,173 @@ /* Used some places (e.g. stop_signal) to record the concept that there is no signal. */ -SET (TARGET_SIGNAL_0, 0, "0", "Signal 0") -#define TARGET_SIGNAL_FIRST TARGET_SIGNAL_0 -SET (TARGET_SIGNAL_HUP, 1, "SIGHUP", "Hangup") -SET (TARGET_SIGNAL_INT, 2, "SIGINT", "Interrupt") -SET (TARGET_SIGNAL_QUIT, 3, "SIGQUIT", "Quit") -SET (TARGET_SIGNAL_ILL, 4, "SIGILL", "Illegal instruction") -SET (TARGET_SIGNAL_TRAP, 5, "SIGTRAP", "Trace/breakpoint trap") -SET (TARGET_SIGNAL_ABRT, 6, "SIGABRT", "Aborted") -SET (TARGET_SIGNAL_EMT, 7, "SIGEMT", "Emulation trap") -SET (TARGET_SIGNAL_FPE, 8, "SIGFPE", "Arithmetic exception") -SET (TARGET_SIGNAL_KILL, 9, "SIGKILL", "Killed") -SET (TARGET_SIGNAL_BUS, 10, "SIGBUS", "Bus error") -SET (TARGET_SIGNAL_SEGV, 11, "SIGSEGV", "Segmentation fault") -SET (TARGET_SIGNAL_SYS, 12, "SIGSYS", "Bad system call") -SET (TARGET_SIGNAL_PIPE, 13, "SIGPIPE", "Broken pipe") -SET (TARGET_SIGNAL_ALRM, 14, "SIGALRM", "Alarm clock") -SET (TARGET_SIGNAL_TERM, 15, "SIGTERM", "Terminated") -SET (TARGET_SIGNAL_URG, 16, "SIGURG", "Urgent I/O condition") -SET (TARGET_SIGNAL_STOP, 17, "SIGSTOP", "Stopped (signal)") -SET (TARGET_SIGNAL_TSTP, 18, "SIGTSTP", "Stopped (user)") -SET (TARGET_SIGNAL_CONT, 19, "SIGCONT", "Continued") -SET (TARGET_SIGNAL_CHLD, 20, "SIGCHLD", "Child status changed") -SET (TARGET_SIGNAL_TTIN, 21, "SIGTTIN", "Stopped (tty input)") -SET (TARGET_SIGNAL_TTOU, 22, "SIGTTOU", "Stopped (tty output)") -SET (TARGET_SIGNAL_IO, 23, "SIGIO", "I/O possible") -SET (TARGET_SIGNAL_XCPU, 24, "SIGXCPU", "CPU time limit exceeded") -SET (TARGET_SIGNAL_XFSZ, 25, "SIGXFSZ", "File size limit exceeded") -SET (TARGET_SIGNAL_VTALRM, 26, "SIGVTALRM", "Virtual timer expired") -SET (TARGET_SIGNAL_PROF, 27, "SIGPROF", "Profiling timer expired") -SET (TARGET_SIGNAL_WINCH, 28, "SIGWINCH", "Window size changed") -SET (TARGET_SIGNAL_LOST, 29, "SIGLOST", "Resource lost") -SET (TARGET_SIGNAL_USR1, 30, "SIGUSR1", "User defined signal 1") -SET (TARGET_SIGNAL_USR2, 31, "SIGUSR2", "User defined signal 2") -SET (TARGET_SIGNAL_PWR, 32, "SIGPWR", "Power fail/restart") +SET (GDB_SIGNAL_0, 0, "0", "Signal 0") +#define GDB_SIGNAL_FIRST GDB_SIGNAL_0 +SET (GDB_SIGNAL_HUP, 1, "SIGHUP", "Hangup") +SET (GDB_SIGNAL_INT, 2, "SIGINT", "Interrupt") +SET (GDB_SIGNAL_QUIT, 3, "SIGQUIT", "Quit") +SET (GDB_SIGNAL_ILL, 4, "SIGILL", "Illegal instruction") +SET (GDB_SIGNAL_TRAP, 5, "SIGTRAP", "Trace/breakpoint trap") +SET (GDB_SIGNAL_ABRT, 6, "SIGABRT", "Aborted") +SET (GDB_SIGNAL_EMT, 7, "SIGEMT", "Emulation trap") +SET (GDB_SIGNAL_FPE, 8, "SIGFPE", "Arithmetic exception") +SET (GDB_SIGNAL_KILL, 9, "SIGKILL", "Killed") +SET (GDB_SIGNAL_BUS, 10, "SIGBUS", "Bus error") +SET (GDB_SIGNAL_SEGV, 11, "SIGSEGV", "Segmentation fault") +SET (GDB_SIGNAL_SYS, 12, "SIGSYS", "Bad system call") +SET (GDB_SIGNAL_PIPE, 13, "SIGPIPE", "Broken pipe") +SET (GDB_SIGNAL_ALRM, 14, "SIGALRM", "Alarm clock") +SET (GDB_SIGNAL_TERM, 15, "SIGTERM", "Terminated") +SET (GDB_SIGNAL_URG, 16, "SIGURG", "Urgent I/O condition") +SET (GDB_SIGNAL_STOP, 17, "SIGSTOP", "Stopped (signal)") +SET (GDB_SIGNAL_TSTP, 18, "SIGTSTP", "Stopped (user)") +SET (GDB_SIGNAL_CONT, 19, "SIGCONT", "Continued") +SET (GDB_SIGNAL_CHLD, 20, "SIGCHLD", "Child status changed") +SET (GDB_SIGNAL_TTIN, 21, "SIGTTIN", "Stopped (tty input)") +SET (GDB_SIGNAL_TTOU, 22, "SIGTTOU", "Stopped (tty output)") +SET (GDB_SIGNAL_IO, 23, "SIGIO", "I/O possible") +SET (GDB_SIGNAL_XCPU, 24, "SIGXCPU", "CPU time limit exceeded") +SET (GDB_SIGNAL_XFSZ, 25, "SIGXFSZ", "File size limit exceeded") +SET (GDB_SIGNAL_VTALRM, 26, "SIGVTALRM", "Virtual timer expired") +SET (GDB_SIGNAL_PROF, 27, "SIGPROF", "Profiling timer expired") +SET (GDB_SIGNAL_WINCH, 28, "SIGWINCH", "Window size changed") +SET (GDB_SIGNAL_LOST, 29, "SIGLOST", "Resource lost") +SET (GDB_SIGNAL_USR1, 30, "SIGUSR1", "User defined signal 1") +SET (GDB_SIGNAL_USR2, 31, "SIGUSR2", "User defined signal 2") +SET (GDB_SIGNAL_PWR, 32, "SIGPWR", "Power fail/restart") /* Similar to SIGIO. Perhaps they should have the same number. */ -SET (TARGET_SIGNAL_POLL, 33, "SIGPOLL", "Pollable event occurred") -SET (TARGET_SIGNAL_WIND, 34, "SIGWIND", "SIGWIND") -SET (TARGET_SIGNAL_PHONE, 35, "SIGPHONE", "SIGPHONE") -SET (TARGET_SIGNAL_WAITING, 36, "SIGWAITING", "Process's LWPs are blocked") -SET (TARGET_SIGNAL_LWP, 37, "SIGLWP", "Signal LWP") -SET (TARGET_SIGNAL_DANGER, 38, "SIGDANGER", "Swap space dangerously low") -SET (TARGET_SIGNAL_GRANT, 39, "SIGGRANT", "Monitor mode granted") -SET (TARGET_SIGNAL_RETRACT, 40, "SIGRETRACT", +SET (GDB_SIGNAL_POLL, 33, "SIGPOLL", "Pollable event occurred") +SET (GDB_SIGNAL_WIND, 34, "SIGWIND", "SIGWIND") +SET (GDB_SIGNAL_PHONE, 35, "SIGPHONE", "SIGPHONE") +SET (GDB_SIGNAL_WAITING, 36, "SIGWAITING", "Process's LWPs are blocked") +SET (GDB_SIGNAL_LWP, 37, "SIGLWP", "Signal LWP") +SET (GDB_SIGNAL_DANGER, 38, "SIGDANGER", "Swap space dangerously low") +SET (GDB_SIGNAL_GRANT, 39, "SIGGRANT", "Monitor mode granted") +SET (GDB_SIGNAL_RETRACT, 40, "SIGRETRACT", "Need to relinquish monitor mode") -SET (TARGET_SIGNAL_MSG, 41, "SIGMSG", "Monitor mode data available") -SET (TARGET_SIGNAL_SOUND, 42, "SIGSOUND", "Sound completed") -SET (TARGET_SIGNAL_SAK, 43, "SIGSAK", "Secure attention") -SET (TARGET_SIGNAL_PRIO, 44, "SIGPRIO", "SIGPRIO") -SET (TARGET_SIGNAL_REALTIME_33, 45, "SIG33", "Real-time event 33") -SET (TARGET_SIGNAL_REALTIME_34, 46, "SIG34", "Real-time event 34") -SET (TARGET_SIGNAL_REALTIME_35, 47, "SIG35", "Real-time event 35") -SET (TARGET_SIGNAL_REALTIME_36, 48, "SIG36", "Real-time event 36") -SET (TARGET_SIGNAL_REALTIME_37, 49, "SIG37", "Real-time event 37") -SET (TARGET_SIGNAL_REALTIME_38, 50, "SIG38", "Real-time event 38") -SET (TARGET_SIGNAL_REALTIME_39, 51, "SIG39", "Real-time event 39") -SET (TARGET_SIGNAL_REALTIME_40, 52, "SIG40", "Real-time event 40") -SET (TARGET_SIGNAL_REALTIME_41, 53, "SIG41", "Real-time event 41") -SET (TARGET_SIGNAL_REALTIME_42, 54, "SIG42", "Real-time event 42") -SET (TARGET_SIGNAL_REALTIME_43, 55, "SIG43", "Real-time event 43") -SET (TARGET_SIGNAL_REALTIME_44, 56, "SIG44", "Real-time event 44") -SET (TARGET_SIGNAL_REALTIME_45, 57, "SIG45", "Real-time event 45") -SET (TARGET_SIGNAL_REALTIME_46, 58, "SIG46", "Real-time event 46") -SET (TARGET_SIGNAL_REALTIME_47, 59, "SIG47", "Real-time event 47") -SET (TARGET_SIGNAL_REALTIME_48, 60, "SIG48", "Real-time event 48") -SET (TARGET_SIGNAL_REALTIME_49, 61, "SIG49", "Real-time event 49") -SET (TARGET_SIGNAL_REALTIME_50, 62, "SIG50", "Real-time event 50") -SET (TARGET_SIGNAL_REALTIME_51, 63, "SIG51", "Real-time event 51") -SET (TARGET_SIGNAL_REALTIME_52, 64, "SIG52", "Real-time event 52") -SET (TARGET_SIGNAL_REALTIME_53, 65, "SIG53", "Real-time event 53") -SET (TARGET_SIGNAL_REALTIME_54, 66, "SIG54", "Real-time event 54") -SET (TARGET_SIGNAL_REALTIME_55, 67, "SIG55", "Real-time event 55") -SET (TARGET_SIGNAL_REALTIME_56, 68, "SIG56", "Real-time event 56") -SET (TARGET_SIGNAL_REALTIME_57, 69, "SIG57", "Real-time event 57") -SET (TARGET_SIGNAL_REALTIME_58, 70, "SIG58", "Real-time event 58") -SET (TARGET_SIGNAL_REALTIME_59, 71, "SIG59", "Real-time event 59") -SET (TARGET_SIGNAL_REALTIME_60, 72, "SIG60", "Real-time event 60") -SET (TARGET_SIGNAL_REALTIME_61, 73, "SIG61", "Real-time event 61") -SET (TARGET_SIGNAL_REALTIME_62, 74, "SIG62", "Real-time event 62") -SET (TARGET_SIGNAL_REALTIME_63, 75, "SIG63", "Real-time event 63") +SET (GDB_SIGNAL_MSG, 41, "SIGMSG", "Monitor mode data available") +SET (GDB_SIGNAL_SOUND, 42, "SIGSOUND", "Sound completed") +SET (GDB_SIGNAL_SAK, 43, "SIGSAK", "Secure attention") +SET (GDB_SIGNAL_PRIO, 44, "SIGPRIO", "SIGPRIO") +SET (GDB_SIGNAL_REALTIME_33, 45, "SIG33", "Real-time event 33") +SET (GDB_SIGNAL_REALTIME_34, 46, "SIG34", "Real-time event 34") +SET (GDB_SIGNAL_REALTIME_35, 47, "SIG35", "Real-time event 35") +SET (GDB_SIGNAL_REALTIME_36, 48, "SIG36", "Real-time event 36") +SET (GDB_SIGNAL_REALTIME_37, 49, "SIG37", "Real-time event 37") +SET (GDB_SIGNAL_REALTIME_38, 50, "SIG38", "Real-time event 38") +SET (GDB_SIGNAL_REALTIME_39, 51, "SIG39", "Real-time event 39") +SET (GDB_SIGNAL_REALTIME_40, 52, "SIG40", "Real-time event 40") +SET (GDB_SIGNAL_REALTIME_41, 53, "SIG41", "Real-time event 41") +SET (GDB_SIGNAL_REALTIME_42, 54, "SIG42", "Real-time event 42") +SET (GDB_SIGNAL_REALTIME_43, 55, "SIG43", "Real-time event 43") +SET (GDB_SIGNAL_REALTIME_44, 56, "SIG44", "Real-time event 44") +SET (GDB_SIGNAL_REALTIME_45, 57, "SIG45", "Real-time event 45") +SET (GDB_SIGNAL_REALTIME_46, 58, "SIG46", "Real-time event 46") +SET (GDB_SIGNAL_REALTIME_47, 59, "SIG47", "Real-time event 47") +SET (GDB_SIGNAL_REALTIME_48, 60, "SIG48", "Real-time event 48") +SET (GDB_SIGNAL_REALTIME_49, 61, "SIG49", "Real-time event 49") +SET (GDB_SIGNAL_REALTIME_50, 62, "SIG50", "Real-time event 50") +SET (GDB_SIGNAL_REALTIME_51, 63, "SIG51", "Real-time event 51") +SET (GDB_SIGNAL_REALTIME_52, 64, "SIG52", "Real-time event 52") +SET (GDB_SIGNAL_REALTIME_53, 65, "SIG53", "Real-time event 53") +SET (GDB_SIGNAL_REALTIME_54, 66, "SIG54", "Real-time event 54") +SET (GDB_SIGNAL_REALTIME_55, 67, "SIG55", "Real-time event 55") +SET (GDB_SIGNAL_REALTIME_56, 68, "SIG56", "Real-time event 56") +SET (GDB_SIGNAL_REALTIME_57, 69, "SIG57", "Real-time event 57") +SET (GDB_SIGNAL_REALTIME_58, 70, "SIG58", "Real-time event 58") +SET (GDB_SIGNAL_REALTIME_59, 71, "SIG59", "Real-time event 59") +SET (GDB_SIGNAL_REALTIME_60, 72, "SIG60", "Real-time event 60") +SET (GDB_SIGNAL_REALTIME_61, 73, "SIG61", "Real-time event 61") +SET (GDB_SIGNAL_REALTIME_62, 74, "SIG62", "Real-time event 62") +SET (GDB_SIGNAL_REALTIME_63, 75, "SIG63", "Real-time event 63") /* Used internally by Solaris threads. See signal(5) on Solaris. */ -SET (TARGET_SIGNAL_CANCEL, 76, "SIGCANCEL", "LWP internal signal") +SET (GDB_SIGNAL_CANCEL, 76, "SIGCANCEL", "LWP internal signal") /* Yes, this pains me, too. But LynxOS didn't have SIG32, and now GNU/Linux does, and we can't disturb the numbering, since it's part of the remote protocol. Note that in some GDB's - TARGET_SIGNAL_REALTIME_32 is number 76. */ -SET (TARGET_SIGNAL_REALTIME_32, 77, "SIG32", "Real-time event 32") + GDB_SIGNAL_REALTIME_32 is number 76. */ +SET (GDB_SIGNAL_REALTIME_32, 77, "SIG32", "Real-time event 32") /* Yet another pain, IRIX 6 has SIG64. */ -SET (TARGET_SIGNAL_REALTIME_64, 78, "SIG64", "Real-time event 64") +SET (GDB_SIGNAL_REALTIME_64, 78, "SIG64", "Real-time event 64") /* Yet another pain, GNU/Linux MIPS might go up to 128. */ -SET (TARGET_SIGNAL_REALTIME_65, 79, "SIG65", "Real-time event 65") -SET (TARGET_SIGNAL_REALTIME_66, 80, "SIG66", "Real-time event 66") -SET (TARGET_SIGNAL_REALTIME_67, 81, "SIG67", "Real-time event 67") -SET (TARGET_SIGNAL_REALTIME_68, 82, "SIG68", "Real-time event 68") -SET (TARGET_SIGNAL_REALTIME_69, 83, "SIG69", "Real-time event 69") -SET (TARGET_SIGNAL_REALTIME_70, 84, "SIG70", "Real-time event 70") -SET (TARGET_SIGNAL_REALTIME_71, 85, "SIG71", "Real-time event 71") -SET (TARGET_SIGNAL_REALTIME_72, 86, "SIG72", "Real-time event 72") -SET (TARGET_SIGNAL_REALTIME_73, 87, "SIG73", "Real-time event 73") -SET (TARGET_SIGNAL_REALTIME_74, 88, "SIG74", "Real-time event 74") -SET (TARGET_SIGNAL_REALTIME_75, 89, "SIG75", "Real-time event 75") -SET (TARGET_SIGNAL_REALTIME_76, 90, "SIG76", "Real-time event 76") -SET (TARGET_SIGNAL_REALTIME_77, 91, "SIG77", "Real-time event 77") -SET (TARGET_SIGNAL_REALTIME_78, 92, "SIG78", "Real-time event 78") -SET (TARGET_SIGNAL_REALTIME_79, 93, "SIG79", "Real-time event 79") -SET (TARGET_SIGNAL_REALTIME_80, 94, "SIG80", "Real-time event 80") -SET (TARGET_SIGNAL_REALTIME_81, 95, "SIG81", "Real-time event 81") -SET (TARGET_SIGNAL_REALTIME_82, 96, "SIG82", "Real-time event 82") -SET (TARGET_SIGNAL_REALTIME_83, 97, "SIG83", "Real-time event 83") -SET (TARGET_SIGNAL_REALTIME_84, 98, "SIG84", "Real-time event 84") -SET (TARGET_SIGNAL_REALTIME_85, 99, "SIG85", "Real-time event 85") -SET (TARGET_SIGNAL_REALTIME_86, 100, "SIG86", "Real-time event 86") -SET (TARGET_SIGNAL_REALTIME_87, 101, "SIG87", "Real-time event 87") -SET (TARGET_SIGNAL_REALTIME_88, 102, "SIG88", "Real-time event 88") -SET (TARGET_SIGNAL_REALTIME_89, 103, "SIG89", "Real-time event 89") -SET (TARGET_SIGNAL_REALTIME_90, 104, "SIG90", "Real-time event 90") -SET (TARGET_SIGNAL_REALTIME_91, 105, "SIG91", "Real-time event 91") -SET (TARGET_SIGNAL_REALTIME_92, 106, "SIG92", "Real-time event 92") -SET (TARGET_SIGNAL_REALTIME_93, 107, "SIG93", "Real-time event 93") -SET (TARGET_SIGNAL_REALTIME_94, 108, "SIG94", "Real-time event 94") -SET (TARGET_SIGNAL_REALTIME_95, 109, "SIG95", "Real-time event 95") -SET (TARGET_SIGNAL_REALTIME_96, 110, "SIG96", "Real-time event 96") -SET (TARGET_SIGNAL_REALTIME_97, 111, "SIG97", "Real-time event 97") -SET (TARGET_SIGNAL_REALTIME_98, 112, "SIG98", "Real-time event 98") -SET (TARGET_SIGNAL_REALTIME_99, 113, "SIG99", "Real-time event 99") -SET (TARGET_SIGNAL_REALTIME_100, 114, "SIG100", "Real-time event 100") -SET (TARGET_SIGNAL_REALTIME_101, 115, "SIG101", "Real-time event 101") -SET (TARGET_SIGNAL_REALTIME_102, 116, "SIG102", "Real-time event 102") -SET (TARGET_SIGNAL_REALTIME_103, 117, "SIG103", "Real-time event 103") -SET (TARGET_SIGNAL_REALTIME_104, 118, "SIG104", "Real-time event 104") -SET (TARGET_SIGNAL_REALTIME_105, 119, "SIG105", "Real-time event 105") -SET (TARGET_SIGNAL_REALTIME_106, 120, "SIG106", "Real-time event 106") -SET (TARGET_SIGNAL_REALTIME_107, 121, "SIG107", "Real-time event 107") -SET (TARGET_SIGNAL_REALTIME_108, 122, "SIG108", "Real-time event 108") -SET (TARGET_SIGNAL_REALTIME_109, 123, "SIG109", "Real-time event 109") -SET (TARGET_SIGNAL_REALTIME_110, 124, "SIG110", "Real-time event 110") -SET (TARGET_SIGNAL_REALTIME_111, 125, "SIG111", "Real-time event 111") -SET (TARGET_SIGNAL_REALTIME_112, 126, "SIG112", "Real-time event 112") -SET (TARGET_SIGNAL_REALTIME_113, 127, "SIG113", "Real-time event 113") -SET (TARGET_SIGNAL_REALTIME_114, 128, "SIG114", "Real-time event 114") -SET (TARGET_SIGNAL_REALTIME_115, 129, "SIG115", "Real-time event 115") -SET (TARGET_SIGNAL_REALTIME_116, 130, "SIG116", "Real-time event 116") -SET (TARGET_SIGNAL_REALTIME_117, 131, "SIG117", "Real-time event 117") -SET (TARGET_SIGNAL_REALTIME_118, 132, "SIG118", "Real-time event 118") -SET (TARGET_SIGNAL_REALTIME_119, 133, "SIG119", "Real-time event 119") -SET (TARGET_SIGNAL_REALTIME_120, 134, "SIG120", "Real-time event 120") -SET (TARGET_SIGNAL_REALTIME_121, 135, "SIG121", "Real-time event 121") -SET (TARGET_SIGNAL_REALTIME_122, 136, "SIG122", "Real-time event 122") -SET (TARGET_SIGNAL_REALTIME_123, 137, "SIG123", "Real-time event 123") -SET (TARGET_SIGNAL_REALTIME_124, 138, "SIG124", "Real-time event 124") -SET (TARGET_SIGNAL_REALTIME_125, 139, "SIG125", "Real-time event 125") -SET (TARGET_SIGNAL_REALTIME_126, 140, "SIG126", "Real-time event 126") -SET (TARGET_SIGNAL_REALTIME_127, 141, "SIG127", "Real-time event 127") +SET (GDB_SIGNAL_REALTIME_65, 79, "SIG65", "Real-time event 65") +SET (GDB_SIGNAL_REALTIME_66, 80, "SIG66", "Real-time event 66") +SET (GDB_SIGNAL_REALTIME_67, 81, "SIG67", "Real-time event 67") +SET (GDB_SIGNAL_REALTIME_68, 82, "SIG68", "Real-time event 68") +SET (GDB_SIGNAL_REALTIME_69, 83, "SIG69", "Real-time event 69") +SET (GDB_SIGNAL_REALTIME_70, 84, "SIG70", "Real-time event 70") +SET (GDB_SIGNAL_REALTIME_71, 85, "SIG71", "Real-time event 71") +SET (GDB_SIGNAL_REALTIME_72, 86, "SIG72", "Real-time event 72") +SET (GDB_SIGNAL_REALTIME_73, 87, "SIG73", "Real-time event 73") +SET (GDB_SIGNAL_REALTIME_74, 88, "SIG74", "Real-time event 74") +SET (GDB_SIGNAL_REALTIME_75, 89, "SIG75", "Real-time event 75") +SET (GDB_SIGNAL_REALTIME_76, 90, "SIG76", "Real-time event 76") +SET (GDB_SIGNAL_REALTIME_77, 91, "SIG77", "Real-time event 77") +SET (GDB_SIGNAL_REALTIME_78, 92, "SIG78", "Real-time event 78") +SET (GDB_SIGNAL_REALTIME_79, 93, "SIG79", "Real-time event 79") +SET (GDB_SIGNAL_REALTIME_80, 94, "SIG80", "Real-time event 80") +SET (GDB_SIGNAL_REALTIME_81, 95, "SIG81", "Real-time event 81") +SET (GDB_SIGNAL_REALTIME_82, 96, "SIG82", "Real-time event 82") +SET (GDB_SIGNAL_REALTIME_83, 97, "SIG83", "Real-time event 83") +SET (GDB_SIGNAL_REALTIME_84, 98, "SIG84", "Real-time event 84") +SET (GDB_SIGNAL_REALTIME_85, 99, "SIG85", "Real-time event 85") +SET (GDB_SIGNAL_REALTIME_86, 100, "SIG86", "Real-time event 86") +SET (GDB_SIGNAL_REALTIME_87, 101, "SIG87", "Real-time event 87") +SET (GDB_SIGNAL_REALTIME_88, 102, "SIG88", "Real-time event 88") +SET (GDB_SIGNAL_REALTIME_89, 103, "SIG89", "Real-time event 89") +SET (GDB_SIGNAL_REALTIME_90, 104, "SIG90", "Real-time event 90") +SET (GDB_SIGNAL_REALTIME_91, 105, "SIG91", "Real-time event 91") +SET (GDB_SIGNAL_REALTIME_92, 106, "SIG92", "Real-time event 92") +SET (GDB_SIGNAL_REALTIME_93, 107, "SIG93", "Real-time event 93") +SET (GDB_SIGNAL_REALTIME_94, 108, "SIG94", "Real-time event 94") +SET (GDB_SIGNAL_REALTIME_95, 109, "SIG95", "Real-time event 95") +SET (GDB_SIGNAL_REALTIME_96, 110, "SIG96", "Real-time event 96") +SET (GDB_SIGNAL_REALTIME_97, 111, "SIG97", "Real-time event 97") +SET (GDB_SIGNAL_REALTIME_98, 112, "SIG98", "Real-time event 98") +SET (GDB_SIGNAL_REALTIME_99, 113, "SIG99", "Real-time event 99") +SET (GDB_SIGNAL_REALTIME_100, 114, "SIG100", "Real-time event 100") +SET (GDB_SIGNAL_REALTIME_101, 115, "SIG101", "Real-time event 101") +SET (GDB_SIGNAL_REALTIME_102, 116, "SIG102", "Real-time event 102") +SET (GDB_SIGNAL_REALTIME_103, 117, "SIG103", "Real-time event 103") +SET (GDB_SIGNAL_REALTIME_104, 118, "SIG104", "Real-time event 104") +SET (GDB_SIGNAL_REALTIME_105, 119, "SIG105", "Real-time event 105") +SET (GDB_SIGNAL_REALTIME_106, 120, "SIG106", "Real-time event 106") +SET (GDB_SIGNAL_REALTIME_107, 121, "SIG107", "Real-time event 107") +SET (GDB_SIGNAL_REALTIME_108, 122, "SIG108", "Real-time event 108") +SET (GDB_SIGNAL_REALTIME_109, 123, "SIG109", "Real-time event 109") +SET (GDB_SIGNAL_REALTIME_110, 124, "SIG110", "Real-time event 110") +SET (GDB_SIGNAL_REALTIME_111, 125, "SIG111", "Real-time event 111") +SET (GDB_SIGNAL_REALTIME_112, 126, "SIG112", "Real-time event 112") +SET (GDB_SIGNAL_REALTIME_113, 127, "SIG113", "Real-time event 113") +SET (GDB_SIGNAL_REALTIME_114, 128, "SIG114", "Real-time event 114") +SET (GDB_SIGNAL_REALTIME_115, 129, "SIG115", "Real-time event 115") +SET (GDB_SIGNAL_REALTIME_116, 130, "SIG116", "Real-time event 116") +SET (GDB_SIGNAL_REALTIME_117, 131, "SIG117", "Real-time event 117") +SET (GDB_SIGNAL_REALTIME_118, 132, "SIG118", "Real-time event 118") +SET (GDB_SIGNAL_REALTIME_119, 133, "SIG119", "Real-time event 119") +SET (GDB_SIGNAL_REALTIME_120, 134, "SIG120", "Real-time event 120") +SET (GDB_SIGNAL_REALTIME_121, 135, "SIG121", "Real-time event 121") +SET (GDB_SIGNAL_REALTIME_122, 136, "SIG122", "Real-time event 122") +SET (GDB_SIGNAL_REALTIME_123, 137, "SIG123", "Real-time event 123") +SET (GDB_SIGNAL_REALTIME_124, 138, "SIG124", "Real-time event 124") +SET (GDB_SIGNAL_REALTIME_125, 139, "SIG125", "Real-time event 125") +SET (GDB_SIGNAL_REALTIME_126, 140, "SIG126", "Real-time event 126") +SET (GDB_SIGNAL_REALTIME_127, 141, "SIG127", "Real-time event 127") -SET (TARGET_SIGNAL_INFO, 142, "SIGINFO", "Information request") +SET (GDB_SIGNAL_INFO, 142, "SIGINFO", "Information request") /* Some signal we don't know about. */ -SET (TARGET_SIGNAL_UNKNOWN, 143, NULL, "Unknown signal") +SET (GDB_SIGNAL_UNKNOWN, 143, NULL, "Unknown signal") /* Use whatever signal we use when one is not specifically specified (for passing to proceed and so on). */ -SET (TARGET_SIGNAL_DEFAULT, 144, NULL, - "Internal error: printing TARGET_SIGNAL_DEFAULT") +SET (GDB_SIGNAL_DEFAULT, 144, NULL, + "Internal error: printing GDB_SIGNAL_DEFAULT") /* Mach exceptions. In versions of GDB before 5.2, these were just before - TARGET_SIGNAL_INFO if you were compiling on a Mach host (and missing + GDB_SIGNAL_INFO if you were compiling on a Mach host (and missing otherwise). */ SET (TARGET_EXC_BAD_ACCESS, 145, "EXC_BAD_ACCESS", "Could not access memory") SET (TARGET_EXC_BAD_INSTRUCTION, 146, "EXC_BAD_INSTRUCTION", @@ -197,4 +197,4 @@ SET (TARGET_EXC_BREAKPOINT, 150, "EXC_BREAKPOINT", "Breakpoint") /* If you are adding a new signal, add it just above this comment. */ /* Last and unused enum value, for sizing arrays, etc. */ -SET (TARGET_SIGNAL_LAST, 151, NULL, "TARGET_SIGNAL_MAGIC") +SET (GDB_SIGNAL_LAST, 151, NULL, "GDB_SIGNAL_MAGIC") diff --git a/binutils-2.22/include/gdb/signals.h b/binutils-2.22/include/gdb/signals.h index 7364397..a59d3b5 100644 --- a/binutils-2.22/include/gdb/signals.h +++ b/binutils-2.22/include/gdb/signals.h @@ -1,7 +1,5 @@ /* Target signal numbers for GDB and the GDB remote protocol. - Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, - 1998, 1999, 2000, 2001, 2002, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright 1986, 1988-2002, 2007-2012 Free Software Foundation, Inc. This file is part of GDB. @@ -47,9 +45,9 @@ etc. are doing to address these issues. */ /* For an explanation of what each signal means, see - target_signal_to_string. */ + gdb_signal_to_string. */ -enum target_signal +enum gdb_signal { #define SET(symbol, constant, name, string) \ symbol = constant, diff --git a/binutils-2.22/include/gdb/sim-arm.h b/binutils-2.22/include/gdb/sim-arm.h index 3004d8c..1210e94 100644 --- a/binutils-2.22/include/gdb/sim-arm.h +++ b/binutils-2.22/include/gdb/sim-arm.h @@ -1,7 +1,6 @@ /* This file defines the interface between the Arm simulator and GDB. - Copyright 2002, 2003, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright 2002-2003, 2007-2012 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/binutils-2.22/include/gdb/sim-bfin.h b/binutils-2.22/include/gdb/sim-bfin.h index 3a006b8..52a3632 100644 --- a/binutils-2.22/include/gdb/sim-bfin.h +++ b/binutils-2.22/include/gdb/sim-bfin.h @@ -1,6 +1,6 @@ /* This file defines the interface between the Blackfin simulator and GDB. - Copyright (C) 2005-2011 Free Software Foundation, Inc. + Copyright (C) 2005-2012 Free Software Foundation, Inc. Contributed by Analog Devices. This file is part of GDB. diff --git a/binutils-2.22/include/gdb/sim-cr16.h b/binutils-2.22/include/gdb/sim-cr16.h index 1e1c0dd..86449be 100644 --- a/binutils-2.22/include/gdb/sim-cr16.h +++ b/binutils-2.22/include/gdb/sim-cr16.h @@ -1,6 +1,6 @@ /* This file defines the interface between the cr16 simulator and gdb. - Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright 2008-2012 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.22/include/gdb/sim-d10v.h b/binutils-2.22/include/gdb/sim-d10v.h index 9f65191..e40b1fe 100644 --- a/binutils-2.22/include/gdb/sim-d10v.h +++ b/binutils-2.22/include/gdb/sim-d10v.h @@ -1,7 +1,6 @@ /* This file defines the interface between the d10v simulator and gdb. - Copyright 1999, 2002, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright 1999, 2002, 2007-2012 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.22/include/gdb/sim-frv.h b/binutils-2.22/include/gdb/sim-frv.h index fe206b2..c7ab2a5 100644 --- a/binutils-2.22/include/gdb/sim-frv.h +++ b/binutils-2.22/include/gdb/sim-frv.h @@ -1,6 +1,6 @@ /* This file defines the interface between the FR-V simulator and GDB. - Copyright 2003, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright 2003, 2007-2012 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/binutils-2.22/include/gdb/sim-h8300.h b/binutils-2.22/include/gdb/sim-h8300.h index bc1ab7b..2b578e8 100644 --- a/binutils-2.22/include/gdb/sim-h8300.h +++ b/binutils-2.22/include/gdb/sim-h8300.h @@ -1,6 +1,5 @@ /* This file defines the interface between the h8300 simulator and gdb. - Copyright (C) 2002, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright (C) 2002, 2007-2012 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.22/include/gdb/sim-lm32.h b/binutils-2.22/include/gdb/sim-lm32.h index ad94a9f..72a26c3 100644 --- a/binutils-2.22/include/gdb/sim-lm32.h +++ b/binutils-2.22/include/gdb/sim-lm32.h @@ -1,7 +1,7 @@ /* This file defines the interface between the LM32 simulator and GDB. Contributed by Jon Beniston <jon@beniston.com> - Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2009-2012 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.22/include/gdb/sim-m32c.h b/binutils-2.22/include/gdb/sim-m32c.h index 2d742f4..4d74312 100644 --- a/binutils-2.22/include/gdb/sim-m32c.h +++ b/binutils-2.22/include/gdb/sim-m32c.h @@ -1,6 +1,5 @@ /* This file defines the interface between the m32c simulator and gdb. - Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright (C) 2005, 2007-2012 Free Software Foundation, Inc. This file is part of GDB. diff --git a/binutils-2.22/include/gdb/sim-ppc.h b/binutils-2.22/include/gdb/sim-ppc.h index 3b61a5d..f4562dc 100644 --- a/binutils-2.22/include/gdb/sim-ppc.h +++ b/binutils-2.22/include/gdb/sim-ppc.h @@ -1,6 +1,6 @@ /* sim-ppc.h --- interface between PowerPC simulator and GDB. - Copyright 2004, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright 2004, 2007-2012 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/binutils-2.22/include/gdb/sim-rl78.h b/binutils-2.22/include/gdb/sim-rl78.h new file mode 100644 index 0000000..941ee04 --- /dev/null +++ b/binutils-2.22/include/gdb/sim-rl78.h @@ -0,0 +1,76 @@ +/* sim-rx.h --- interface between rl78 simulator and GDB. + + Copyright 2011-2012 Free Software Foundation, Inc. + + Contributed by Red Hat. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#if !defined (SIM_RL78_H) +#define SIM_RL78_H + +enum sim_rl78_regnum +{ + sim_rl78_bank0_r0_regnum, + sim_rl78_bank0_r1_regnum, + sim_rl78_bank0_r2_regnum, + sim_rl78_bank0_r3_regnum, + sim_rl78_bank0_r4_regnum, + sim_rl78_bank0_r5_regnum, + sim_rl78_bank0_r6_regnum, + sim_rl78_bank0_r7_regnum, + + sim_rl78_bank1_r0_regnum, + sim_rl78_bank1_r1_regnum, + sim_rl78_bank1_r2_regnum, + sim_rl78_bank1_r3_regnum, + sim_rl78_bank1_r4_regnum, + sim_rl78_bank1_r5_regnum, + sim_rl78_bank1_r6_regnum, + sim_rl78_bank1_r7_regnum, + + sim_rl78_bank2_r0_regnum, + sim_rl78_bank2_r1_regnum, + sim_rl78_bank2_r2_regnum, + sim_rl78_bank2_r3_regnum, + sim_rl78_bank2_r4_regnum, + sim_rl78_bank2_r5_regnum, + sim_rl78_bank2_r6_regnum, + sim_rl78_bank2_r7_regnum, + + sim_rl78_bank3_r0_regnum, + sim_rl78_bank3_r1_regnum, + sim_rl78_bank3_r2_regnum, + sim_rl78_bank3_r3_regnum, + sim_rl78_bank3_r4_regnum, + sim_rl78_bank3_r5_regnum, + sim_rl78_bank3_r6_regnum, + sim_rl78_bank3_r7_regnum, + + sim_rl78_psw_regnum, + sim_rl78_es_regnum, + sim_rl78_cs_regnum, + sim_rl78_pc_regnum, + + sim_rl78_spl_regnum, + sim_rl78_sph_regnum, + sim_rl78_pmc_regnum, + sim_rl78_mem_regnum, + + sim_rl78_num_regs +}; + +#endif /* SIM_RL78_H */ diff --git a/binutils-2.22/include/gdb/sim-rx.h b/binutils-2.22/include/gdb/sim-rx.h index ac3ffe9..783dffe 100644 --- a/binutils-2.22/include/gdb/sim-rx.h +++ b/binutils-2.22/include/gdb/sim-rx.h @@ -1,6 +1,6 @@ /* sim-rx.h --- interface between RX simulator and GDB. - Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright 2008-2012 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/binutils-2.22/include/gdb/sim-sh.h b/binutils-2.22/include/gdb/sim-sh.h index 6c08d2d..ce2bfa5 100644 --- a/binutils-2.22/include/gdb/sim-sh.h +++ b/binutils-2.22/include/gdb/sim-sh.h @@ -1,6 +1,6 @@ /* This file defines the interface between the sh simulator and gdb. - Copyright (C) 2000, 2002, 2004, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright (C) 2000, 2002, 2004, 2007-2012 Free Software Foundation, + Inc. This file is part of GDB. |