This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [obv] Indent prototypes so they do not get into tags
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: jan dot kratochvil at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 23 Jul 2011 19:14:11 +0200 (CEST)
- Subject: Re: [obv] Indent prototypes so they do not get into tags
- References: <20110713151946.GA12824@host1.jankratochvil.net>
> 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?