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.
This commit is contained in:
parent
7371cf6d8d
commit
2021ad3a8c
|
@ -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>
|
2011-03-14 Phil Muldoon <pmuldoon@redhat.com>
|
||||||
|
|
||||||
* python/python.h: Declare gdbpy_should_stop and
|
* python/python.h: Declare gdbpy_should_stop and
|
||||||
|
|
|
@ -240,8 +240,7 @@ extern struct minimal_symbol *
|
||||||
hppa_lookup_stub_minimal_symbol (const char *name,
|
hppa_lookup_stub_minimal_symbol (const char *name,
|
||||||
enum unwind_stub_types stub_type);
|
enum unwind_stub_types stub_type);
|
||||||
|
|
||||||
extern struct hppa_objfile_private *
|
extern struct hppa_objfile_private * hppa_init_objfile_priv_data (struct objfile *objfile);
|
||||||
hppa_init_objfile_priv_data (struct objfile *objfile);
|
|
||||||
|
|
||||||
extern int hppa_in_solib_call_trampoline (struct gdbarch *gdbarch,
|
extern int hppa_in_solib_call_trampoline (struct gdbarch *gdbarch,
|
||||||
CORE_ADDR pc, char *name);
|
CORE_ADDR pc, char *name);
|
||||||
|
|
|
@ -366,8 +366,7 @@ extern int debug_displaced;
|
||||||
void displaced_step_dump_bytes (struct ui_file *file,
|
void displaced_step_dump_bytes (struct ui_file *file,
|
||||||
const gdb_byte *buf, size_t len);
|
const gdb_byte *buf, size_t len);
|
||||||
|
|
||||||
struct displaced_step_closure*
|
struct displaced_step_closure* get_displaced_step_closure_by_addr (CORE_ADDR addr);
|
||||||
get_displaced_step_closure_by_addr (CORE_ADDR addr);
|
|
||||||
|
|
||||||
/* Possible values for gdbarch_call_dummy_location. */
|
/* Possible values for gdbarch_call_dummy_location. */
|
||||||
#define ON_STACK 1
|
#define ON_STACK 1
|
||||||
|
|
|
@ -107,14 +107,11 @@
|
||||||
#define YYDEBUG 0 /* Default to no yydebug support. */
|
#define YYDEBUG 0 /* Default to no yydebug support. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int
|
int yyparse (void);
|
||||||
yyparse (void);
|
|
||||||
|
|
||||||
static int
|
static int yylex (void);
|
||||||
yylex (void);
|
|
||||||
|
|
||||||
void
|
void yyerror (char *);
|
||||||
yyerror (char *);
|
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
@ -150,8 +147,7 @@ yyerror (char *);
|
||||||
|
|
||||||
%{
|
%{
|
||||||
/* YYSTYPE gets defined by %union. */
|
/* YYSTYPE gets defined by %union. */
|
||||||
static int
|
static int parse_number (char *, int, int, YYSTYPE *);
|
||||||
parse_number (char *, int, int, YYSTYPE *);
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%type <voidval> exp exp1 type_exp start variable qualified_name lcurly
|
%type <voidval> exp exp1 type_exp start variable qualified_name lcurly
|
||||||
|
|
|
@ -117,8 +117,7 @@ int yyparse (void);
|
||||||
|
|
||||||
static int yylex (void);
|
static int yylex (void);
|
||||||
|
|
||||||
void
|
void yyerror (char *);
|
||||||
yyerror (char *);
|
|
||||||
|
|
||||||
static char * uptok (char *, int);
|
static char * uptok (char *, int);
|
||||||
%}
|
%}
|
||||||
|
@ -154,8 +153,7 @@ static char * uptok (char *, int);
|
||||||
|
|
||||||
%{
|
%{
|
||||||
/* YYSTYPE gets defined by %union */
|
/* YYSTYPE gets defined by %union */
|
||||||
static int
|
static int parse_number (char *, int, int, YYSTYPE *);
|
||||||
parse_number (char *, int, int, YYSTYPE *);
|
|
||||||
|
|
||||||
static struct type *current_type;
|
static struct type *current_type;
|
||||||
static struct internalvar *intvar;
|
static struct internalvar *intvar;
|
||||||
|
|
|
@ -28,10 +28,8 @@ extern void stop_evpy_dealloc (PyObject *self);
|
||||||
extern int emit_stop_event (struct bpstats *bs,
|
extern int emit_stop_event (struct bpstats *bs,
|
||||||
enum target_signal stop_signal);
|
enum target_signal stop_signal);
|
||||||
|
|
||||||
extern PyObject *
|
extern PyObject *create_breakpoint_event_object (PyObject *breakpoint);
|
||||||
create_breakpoint_event_object (PyObject *breakpoint);
|
|
||||||
|
|
||||||
extern PyObject *
|
extern PyObject *create_signal_event_object (enum target_signal stop_signal);
|
||||||
create_signal_event_object (enum target_signal stop_signal);
|
|
||||||
|
|
||||||
#endif /* GDB_PY_STOPEVENT_H */
|
#endif /* GDB_PY_STOPEVENT_H */
|
||||||
|
|
|
@ -76,8 +76,8 @@ dld_cache_t;
|
||||||
|
|
||||||
static dld_cache_t dld_cache;
|
static dld_cache_t dld_cache;
|
||||||
|
|
||||||
static int
|
static int read_dynamic_info (asection *dyninfo_sect,
|
||||||
read_dynamic_info (asection *dyninfo_sect, dld_cache_t *dld_cache_p);
|
dld_cache_t *dld_cache_p);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
pa64_relocate_section_addresses (struct so_list *so,
|
pa64_relocate_section_addresses (struct so_list *so,
|
||||||
|
|
|
@ -296,8 +296,9 @@ static int is_root_p (struct varobj *var);
|
||||||
|
|
||||||
#if HAVE_PYTHON
|
#if HAVE_PYTHON
|
||||||
|
|
||||||
static struct varobj *
|
static struct varobj * varobj_add_child (struct varobj *var,
|
||||||
varobj_add_child (struct varobj *var, const char *name, struct value *value);
|
const char *name,
|
||||||
|
struct value *value);
|
||||||
|
|
||||||
#endif /* HAVE_PYTHON */
|
#endif /* HAVE_PYTHON */
|
||||||
|
|
||||||
|
|
|
@ -167,8 +167,8 @@ extern int varobj_editable_p (struct varobj *var);
|
||||||
|
|
||||||
extern int varobj_floating_p (struct varobj *var);
|
extern int varobj_floating_p (struct varobj *var);
|
||||||
|
|
||||||
extern void
|
extern void varobj_set_visualizer (struct varobj *var,
|
||||||
varobj_set_visualizer (struct varobj *var, const char *visualizer);
|
const char *visualizer);
|
||||||
|
|
||||||
extern void varobj_enable_pretty_printing (void);
|
extern void varobj_enable_pretty_printing (void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue