Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Unified Diff: sim/m32c/gdb-if.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sim/m32c/configure ('k') | sim/m32c/load.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sim/m32c/gdb-if.c
diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c
index c18f0c7a755a43607e4ff44dce3cea8d6b6c77ee..bf84903a72c26ac5f304ad4d48613f6053e269d4 100644
--- a/sim/m32c/gdb-if.c
+++ b/sim/m32c/gdb-if.c
@@ -18,7 +18,7 @@ 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/>. */
-
+#include "config.h"
#include <stdio.h>
#include <assert.h>
#include <signal.h>
@@ -530,28 +530,28 @@ m32c_signal_to_target (int m32c)
switch (m32c)
{
case 4:
- return TARGET_SIGNAL_ILL;
+ return GDB_SIGNAL_ILL;
case 5:
- return TARGET_SIGNAL_TRAP;
+ return GDB_SIGNAL_TRAP;
case 10:
- return TARGET_SIGNAL_BUS;
+ return GDB_SIGNAL_BUS;
case 11:
- return TARGET_SIGNAL_SEGV;
+ return GDB_SIGNAL_SEGV;
case 24:
- return TARGET_SIGNAL_XCPU;
+ return GDB_SIGNAL_XCPU;
case 2:
- return TARGET_SIGNAL_INT;
+ return GDB_SIGNAL_INT;
case 8:
- return TARGET_SIGNAL_FPE;
+ return GDB_SIGNAL_FPE;
case 6:
- return TARGET_SIGNAL_ABRT;
+ return GDB_SIGNAL_ABRT;
}
return 0;
@@ -566,7 +566,7 @@ handle_step (int rc)
if (M32C_STEPPED (rc) || M32C_HIT_BREAK (rc))
{
reason = sim_stopped;
- siggnal = TARGET_SIGNAL_TRAP;
+ siggnal = GDB_SIGNAL_TRAP;
}
else if (M32C_STOPPED (rc))
{
@@ -613,7 +613,7 @@ sim_resume (SIM_DESC sd, int step, int sig_to_deliver)
{
stop = 0;
reason = sim_stopped;
- siggnal = TARGET_SIGNAL_INT;
+ siggnal = GDB_SIGNAL_INT;
break;
}
« no previous file with comments | « sim/m32c/configure ('k') | sim/m32c/load.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698