ubsan: microblaze: left shift cannot be represented in type 'int'
[deliverable/binutils-gdb.git] / sim / common / sim-reason.c
index f10804a31eb2c5db3aa85d7d378171cd34bae2bd..cac8ab5ca176f79d303a92970b215fd79cd1967a 100644 (file)
@@ -1,5 +1,5 @@
 /* Generic simulator stop_reason.
-   Copyright (C) 1997, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 1997-2019 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
 
 This file is part of GDB, the GNU debugger.
@@ -36,7 +36,7 @@ sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc)
       break;
     case sim_stopped :
     case sim_signalled :
-      *sigrc = sim_signal_to_target (sd, engine->sigrc);
+      *sigrc = sim_signal_to_gdb_signal (sd, engine->sigrc);
       break;
     default :
       abort ();
This page took 0.024148 seconds and 4 git commands to generate.