[commit] Fix tilegx-linux-tdep.c compilation [Re: [patch] Require long long for GDB]

Jan Kratochvil
2012-06-01T14:45:08Z

On Thu, 31 May 2012 17:40:19 +0200, Jan Kratochvil wrote:
> And ULL afterwards.

Checked in.

Thanks,
Jan

http://sourceware.org/ml/gdb-cvs/2012-06/msg00002.html

--- src/gdb/ChangeLog 2012/05/31 22:07:29 1.14307
+++ src/gdb/ChangeLog 2012/06/01 14:43:27 1.14308
@@ -1,3 +1,7 @@
+2012-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * tilegx-linux-tdep.c (tilegx_l): Use ULL for 64-bit values.
+
2012-05-31 Edjunior Machado <emachado@linux.vnet.ibm.com>

* ppc-linux-nat.c (have_ptrace_booke_interface): Disable ptrace
--- src/gdb/tilegx-linux-tdep.c 2012/05/30 19:31:44 1.1
+++ src/gdb/tilegx-linux-tdep.c 2012/06/01 14:43:30 1.2
@@ -56,8 +56,8 @@
SIGTRAMP_FRAME,
8,
{
- { 0x00045fe551483000, -1 }, /* { moveli r10, 139 } */
- { 0x286b180051485000, -1 }, /* { swint1 } */
+ { 0x00045fe551483000ULL, -1 }, /* { moveli r10, 139 } */
+ { 0x286b180051485000ULL, -1 }, /* { swint1 } */
{ TRAMP_SENTINEL_INSN, -1 }
},
tilegx_linux_sigframe_init