This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Thu Jul 7 01:55:00 UTC 2011
- From: Joel Brobecker <brobecker at adacore dot com>
- To: GDB Administrator <gdbadmin at sourceware dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 6 Jul 2011 19:07:52 -0700
- Subject: Re: New ARI warning Thu Jul 7 01:55:00 UTC 2011
- References: <20110707015500.GA6660@sourceware.org>
> 404a405
> > gdb/jit.c:44: code: function call in first column: Function name in first column should be restricted to function implementation
> gdb/jit.c:44:jit_inferior_init (struct gdbarch *gdbarch);
Fixed thusly:
--
Joel
commit e4f297fa22d3ffbb9f114931a1530dce3b3b97bd
Author: Joel Brobecker <brobecker@adacore.com>
Date: Wed Jul 6 19:03:34 2011 -0700
Minor forward declaration reformatting (jit.c)
gdb/ChangeLog:
* jit.c (jit_inferior_init): Reformat forward declaration.
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 73f5340..a01bf0a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-06 Joel Brobecker <brobecker@adacore.com>
+
+ * jit.c (jit_inferior_init): Reformat forward declaration.
+
2011-07-06 Matt Rice <ratmice@gmail.com>
* MAINTAINERS (Write After Approval): Add myself to the list.
diff --git a/gdb/jit.c b/gdb/jit.c
index 01ac5fa..eb1bcc7 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -40,8 +40,7 @@ static const char *const jit_descriptor_name = "__jit_debug_descriptor";
static const struct inferior_data *jit_inferior_data = NULL;
-static void
-jit_inferior_init (struct gdbarch *gdbarch);
+static void jit_inferior_init (struct gdbarch *gdbarch);
/* Non-zero if we want to see trace of jit level stuff. */