]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix ARI warning about function names in first column.
authorPierre Muller <muller@sourceware.org>
Mon, 14 Mar 2011 16:55:04 +0000 (16:55 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 14 Mar 2011 16:55:04 +0000 (16:55 +0000)
Put prototype declaration on same line as return type.
* objc-exp.y: Ditto.
* p-exp.y: Ditto.
* python/py-stopevent.h: Ditto.
For long function names, split parameters to allow function name
on same line as return type.
* solib-pa64.c: Ditto.
* varobj.c: Ditto.
* varobj.h: Ditto.
For long function declaration, use single line.
* hppa-tdep.h: Ditto.
* inferior.h: Ditto.

gdb/ChangeLog
gdb/hppa-tdep.h
gdb/inferior.h
gdb/objc-exp.y
gdb/p-exp.y
gdb/python/py-stopevent.h
gdb/solib-pa64.c
gdb/varobj.c
gdb/varobj.h

index 4662422dd1410e41427bf261b09cae21a61c6b85..32294ebac471a98c5e973fb78897f415bf3aea11 100644 (file)
@@ -1,3 +1,19 @@
+2011-03-14  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Fix ARI warning about function names in first column.
+       Put prototype declaration on same line as return type.
+       * objc-exp.y: Ditto.
+       * p-exp.y: Ditto.
+       * python/py-stopevent.h: Ditto.
+       For long function names, split parameters to
+       allow function name on same line as return type.
+       * solib-pa64.c: Ditto.
+       * varobj.c: Ditto.
+       * varobj.h: Ditto.
+       For long function declaration, use single line.
+       * hppa-tdep.h: Ditto.
+       * inferior.h: Ditto.
+
 2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
 
        * python/python.h: Declare gdbpy_should_stop and
index 4afb0302aa5a222be2762aea4562d1049d530bdd..f961258899ae2435a72542c1d132e88d2ae99ff2 100644 (file)
@@ -240,8 +240,7 @@ extern struct minimal_symbol *
   hppa_lookup_stub_minimal_symbol (const char *name,
                                    enum unwind_stub_types stub_type);
 
-extern struct hppa_objfile_private *
-hppa_init_objfile_priv_data (struct objfile *objfile);
+extern struct hppa_objfile_private * hppa_init_objfile_priv_data (struct objfile *objfile);
 
 extern int hppa_in_solib_call_trampoline (struct gdbarch *gdbarch,
                                          CORE_ADDR pc, char *name);
index 13a06d902e66e099311a121fea0366ad3e57e171..9f33ae8e4b0c650256606e73ef39a6abfbb328c1 100644 (file)
@@ -366,8 +366,7 @@ extern int debug_displaced;
 void displaced_step_dump_bytes (struct ui_file *file,
                                 const gdb_byte *buf, size_t len);
 
-struct displaced_step_closure*
-get_displaced_step_closure_by_addr (CORE_ADDR addr);
+struct displaced_step_closure* get_displaced_step_closure_by_addr (CORE_ADDR addr);
 \f
 /* Possible values for gdbarch_call_dummy_location.  */
 #define ON_STACK 1
index c1e26321b4607144d2a0e6a441d933d174b9fefe..d2f193a97b92ffdcc92c4f191c436ca11e49515d 100644 (file)
 #define        YYDEBUG 0               /* Default to no yydebug support.  */
 #endif
 
-int
-yyparse (void);
+int yyparse (void);
 
-static int
-yylex (void);
+static int yylex (void);
 
-void
-yyerror (char *);
+void yyerror (char *);
 
 %}
 
@@ -150,8 +147,7 @@ yyerror (char *);
 
 %{
 /* YYSTYPE gets defined by %union.  */
-static int
-parse_number (char *, int, int, YYSTYPE *);
+static int parse_number (char *, int, int, YYSTYPE *);
 %}
 
 %type <voidval> exp exp1 type_exp start variable qualified_name lcurly
index e0dba8f1589ae0c3f545b41037bb98cc5a15e2a9..183f001335d49a137fb57b4791e8d03db28f9178 100644 (file)
@@ -117,8 +117,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void
-yyerror (char *);
+void yyerror (char *);
 
 static char * uptok (char *, int);
 %}
@@ -154,8 +153,7 @@ static char * uptok (char *, int);
 
 %{
 /* YYSTYPE gets defined by %union */
-static int
-parse_number (char *, int, int, YYSTYPE *);
+static int parse_number (char *, int, int, YYSTYPE *);
 
 static struct type *current_type;
 static struct internalvar *intvar;
index 690cbbd05f785edbee3f27abbd1aa5e745979fcd..52f3511df39c674c888a60d9b4443daf3c2431f0 100644 (file)
@@ -28,10 +28,8 @@ extern void stop_evpy_dealloc (PyObject *self);
 extern int emit_stop_event (struct bpstats *bs,
                             enum target_signal stop_signal);
 
-extern PyObject *
-create_breakpoint_event_object (PyObject *breakpoint);
+extern PyObject *create_breakpoint_event_object (PyObject *breakpoint);
 
-extern PyObject *
-create_signal_event_object (enum target_signal stop_signal);
+extern PyObject *create_signal_event_object (enum target_signal stop_signal);
 
 #endif /* GDB_PY_STOPEVENT_H */
index f7d7b6f9ac95b5c8de68b43032122fb7ee367c84..cd387287e53919fd2805ef5914a855b1d2a5cebb 100644 (file)
@@ -76,8 +76,8 @@ dld_cache_t;
 
 static dld_cache_t dld_cache;
 
-static int
-read_dynamic_info (asection *dyninfo_sect, dld_cache_t *dld_cache_p);
+static int read_dynamic_info (asection *dyninfo_sect,
+                             dld_cache_t *dld_cache_p);
 
 static void
 pa64_relocate_section_addresses (struct so_list *so,
index 12b0b16012597a8fbf4401583fc43138b0f7c648..103ee99266e0f0864351a06011364f753e555e1a 100644 (file)
@@ -296,8 +296,9 @@ static int is_root_p (struct varobj *var);
 
 #if HAVE_PYTHON
 
-static struct varobj *
-varobj_add_child (struct varobj *var, const char *name, struct value *value);
+static struct varobj * varobj_add_child (struct varobj *var,
+                                        const char *name,
+                                        struct value *value);
 
 #endif /* HAVE_PYTHON */
 
index 81ba05eb7ad7d21645e6e51c97805bd583398971..ef984c8cb992646e8acce5b635f9771222f4d0c9 100644 (file)
@@ -167,8 +167,8 @@ extern int varobj_editable_p (struct varobj *var);
 
 extern int varobj_floating_p (struct varobj *var);
 
-extern void 
-varobj_set_visualizer (struct varobj *var, const char *visualizer);
+extern void varobj_set_visualizer (struct varobj *var,
+                                  const char *visualizer);
 
 extern void varobj_enable_pretty_printing (void);