PR gdb/12576:
authorTom Tromey <tromey@redhat.com>
Mon, 14 Mar 2011 15:58:56 +0000 (15:58 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 14 Mar 2011 15:58:56 +0000 (15:58 +0000)
* dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'.
(needs_frame_dwarf_call): Likewise.

gdb/ChangeLog
gdb/dwarf2loc.c

index 13df3dccb2e4f04d84a78362e834ba5375493610..19294a7ab324dbb0d19a0fff30943a2df93fa157 100644 (file)
@@ -1,3 +1,9 @@
+2011-03-14  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/12576:
+       * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'.
+       (needs_frame_dwarf_call): Likewise.
+
 2011-03-14  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        Fix ARI warning about functions without parameters that do not
index 0c4d834f6484db1b239b55f7dc4b384423f1ef51..f90ee71a2b922a2f69ae038d376c1789bdf29c7a 100644 (file)
@@ -282,8 +282,8 @@ 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,
-                           ctx->get_frame_pc, ctx->baton);
+  per_cu_dwarf_call (ctx, die_offset, debaton->per_cu,
+                    ctx->get_frame_pc, ctx->baton);
 }
 
 struct piece_closure
@@ -1274,8 +1274,8 @@ 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,
-                           ctx->get_frame_pc, ctx->baton);
+  per_cu_dwarf_call (ctx, die_offset, nf_baton->per_cu,
+                    ctx->get_frame_pc, ctx->baton);
 }
 
 /* Return non-zero iff the location expression at DATA (length SIZE)