linux-record: Squash cases with identical handling
[deliverable/binutils-gdb.git] / gdb / sparc-ravenscar-thread.c
index d27514fc7f5259f90782ec83afa2c3be183ba109..df6525bb3157212bf1a74f6997a86899ee878b08 100644 (file)
@@ -1,6 +1,6 @@
 /* Ravenscar SPARC target support.
 
-   Copyright (C) 2004-2013 Free Software Foundation, Inc.
+   Copyright (C) 2004-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -66,7 +66,7 @@ supply_register_at_address (struct regcache *regcache, int regnum,
   int buf_size = register_size (gdbarch, regnum);
   gdb_byte *buf;
 
-  buf = alloca (buf_size);
+  buf = (gdb_byte *) alloca (buf_size);
   read_memory (register_addr, buf, buf_size);
   regcache_raw_supply (regcache, regnum, buf);
 }
This page took 0.025269 seconds and 4 git commands to generate.