sim: mn10300: tweak engine halt hook
[deliverable/binutils-gdb.git] / sim / ppc / vm_n.h
index 9222ffa2cc02588dd59829da277720b87b28d5e8..ce1e05059e1f7dc4342c25be8b4fb399a8f7edf2 100644 (file)
@@ -4,7 +4,7 @@
 
     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 2 of the License, or
+    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,
@@ -13,8 +13,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, write to the Free Software
-    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+    along with this program; if not, see <http://www.gnu.org/licenses/>.
  
     */
 
@@ -60,7 +59,7 @@ vm_data_map_read_N(vm_data_map *map,
        unsigned_N val;
        if (vm_data_map_read_buffer(map, &val, ea, sizeof(unsigned_N), processor, cia)
            != sizeof(unsigned_N)) {
-         cpu_error(processor, cia, "misaligned %d byte read to 0x%lx failed",
+         cpu_error(processor, cia, "misaligned %zu byte read to 0x%lx failed",
                    sizeof(unsigned_N), (unsigned long)ea);
        }
        val = T2H_N(val);
@@ -108,7 +107,7 @@ vm_data_map_write_N(vm_data_map *map,
        unsigned_N data = H2T_N(val);
        if (vm_data_map_write_buffer(map, &data, ea, sizeof(unsigned_N), 0, processor, cia)
            != sizeof(unsigned_N)) {
-         cpu_error(processor, cia, "misaligned %d byte write to 0x%lx failed",
+         cpu_error(processor, cia, "misaligned %zu byte write to 0x%lx failed",
                    sizeof(unsigned_N), (unsigned long)ea);
        }
        if (WITH_MON & MONITOR_LOAD_STORE_UNIT) {
This page took 0.025371 seconds and 4 git commands to generate.