From 1632a688b328f08eee83e6eb9f3354580a27287e Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Wed, 13 Jul 2011 15:15:42 +0000 Subject: [PATCH] gdb/ Code cleanup. * dwarf2loc.c (dwarf_expr_frame_base_1, dwarf2_evaluate_loc_desc_full): Indent prototypes so they do not get into tags. --- gdb/ChangeLog | 6 ++++++ gdb/dwarf2loc.c | 18 +++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8ed7eaff91e..0089c25f5a1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2011-07-13 Jan Kratochvil + + Code cleanup. + * dwarf2loc.c (dwarf_expr_frame_base_1, dwarf2_evaluate_loc_desc_full): + Indent prototypes so they do not get into tags. + 2011-07-12 Jan Kratochvil Code cleanup making also optimized out values lazy. diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 101ce1cbf1b..01e95da19ea 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -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 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 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); /* A function for dealing with location lists. Given a symbol baton (BATON) and a pc value (PC), find the appropriate -- 2.30.2