This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [obv] Indent prototypes so they do not get into tags


> Date: Wed, 13 Jul 2011 17:19:46 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> --- src/gdb/dwarf2loc.c	2011/07/12 21:16:47	1.120
> +++ src/gdb/dwarf2loc.c	2011/07/13 15:15:42	1.121
> @@ -44,15 +44,15 @@
>  
>  extern int dwarf2_always_disassemble;
>  
> -static void
> -dwarf_expr_frame_base_1 (struct symbol *framefunc, CORE_ADDR pc,
> -			 const gdb_byte **start, size_t *length);
> +static void dwarf_expr_frame_base_1 (struct symbol *framefunc, CORE_ADDR pc,
> +				     const gdb_byte **start, size_t *length);
>  
> -static struct value *
> -dwarf2_evaluate_loc_desc_full (struct type *type, struct frame_info *frame,
> -			       const gdb_byte *data, unsigned short size,
> -			       struct dwarf2_per_cu_data *per_cu,
> -			       LONGEST byte_offset);
> +static struct value *dwarf2_evaluate_loc_desc_full (struct type *type,
> +						    struct frame_info *frame,
> +						    const gdb_byte *data,
> +						    unsigned short size,
> +					      struct dwarf2_per_cu_data *per_cu,
> +						    LONGEST byte_offset);

Bleah, that last one really becomes unreadable this way.  Isn't there
a better way to this by bending the GNU coding style rules slightly in
a different way?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]