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

Unified Diff: sim/arm/wrapper.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/arm/configure ('k') | sim/avr/ChangeLog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sim/arm/wrapper.c
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c
index 3f185f0c31c9263953a5e6f2fac38546a88cb8de..f4348b9e721bf26bf0e3e9afce25b9a21b64f54f 100644
--- a/sim/arm/wrapper.c
+++ b/sim/arm/wrapper.c
@@ -21,6 +21,7 @@
run.c and gdb (when the simulator is linked with gdb).
All simulator interaction should go through this file. */
+#include "config.h"
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
@@ -269,6 +270,7 @@ sim_create_inferior (sd, abfd, argv, env)
ARMul_SelectProcessor (state, ARM_v5_Prop | ARM_v5e_Prop | ARM_XScale_Prop | ARM_v6_Prop);
break;
+ case bfd_mach_arm_iWMMXt2:
case bfd_mach_arm_iWMMXt:
{
extern int SWI_vector_installed;
@@ -904,7 +906,7 @@ sim_stop_reason (sd, reason, sigrc)
if (stop_simulator)
{
*reason = sim_stopped;
- *sigrc = TARGET_SIGNAL_INT;
+ *sigrc = GDB_SIGNAL_INT;
}
else if (state->EndCondition == 0)
{
@@ -915,10 +917,10 @@ sim_stop_reason (sd, reason, sigrc)
{
*reason = sim_stopped;
if (state->EndCondition == RDIError_BreakpointReached)
- *sigrc = TARGET_SIGNAL_TRAP;
+ *sigrc = GDB_SIGNAL_TRAP;
else if ( state->EndCondition == RDIError_DataAbort
|| state->EndCondition == RDIError_AddressException)
- *sigrc = TARGET_SIGNAL_BUS;
+ *sigrc = GDB_SIGNAL_BUS;
else
*sigrc = 0;
}
« no previous file with comments | « sim/arm/configure ('k') | sim/avr/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698