This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Fix tilegx-linux-tdep.c compilation [Re: [patch] Require long long for GDB]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Jeff Kenton <jkenton at tilera dot com>, Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Fri, 1 Jun 2012 16:44:22 +0200
- Subject: [commit] Fix tilegx-linux-tdep.c compilation [Re: [patch] Require long long for GDB]
- References: <20120514162046.GI10253@adacore.com> <4FBA4FD2.9090108@tilera.com> <4FBD1F67.9090609@redhat.com> <4FBE8B5E.6050800@tilera.com> <4FBFA26F.20002@redhat.com> <4FC4EA20.1040201@tilera.com> <4FC67B1C.6040700@redhat.com> <20120531085250.GA31740@host2.jankratochvil.net> <4FC74240.2070706@redhat.com> <20120531154019.GA16401@host2.jankratochvil.net>
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