From b91aa4ae16fd861188ba3a57a135c4a3119544ff Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Tue, 21 Sep 2010 11:34:17 -0500 Subject: [PATCH 4/6] Don't return from void functions. Helps with solaris cc --- gdb/dwarf2loc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index b2aecf2..47ab667 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -260,7 +260,7 @@ dwarf_expr_dwarf_call (struct dwarf_expr_context *ctx, size_t die_offset) { struct dwarf_expr_baton *debaton = ctx->baton; - return per_cu_dwarf_call (ctx, die_offset, debaton->per_cu); + per_cu_dwarf_call (ctx, die_offset, debaton->per_cu); } struct piece_closure @@ -1070,7 +1070,7 @@ needs_frame_dwarf_call (struct dwarf_expr_context *ctx, size_t die_offset) { struct needs_frame_baton *nf_baton = ctx->baton; - return per_cu_dwarf_call (ctx, die_offset, nf_baton->per_cu); + per_cu_dwarf_call (ctx, die_offset, nf_baton->per_cu); } /* Return non-zero iff the location expression at DATA (length SIZE) -- 1.7.0.1