]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR gdb/12576:
authorTom Tromey <tromey@redhat.com>
Mon, 14 Mar 2011 15:54:15 +0000 (15:54 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 14 Mar 2011 15:54:15 +0000 (15:54 +0000)
* dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'.
(needs_frame_dwarf_call): Likewise.

gdb/ChangeLog
gdb/dwarf2loc.c

index df6ec776c549c458114a848c613368ad0253251b..ea27ff3d59763a6c77155a1013407bc0bf77ab53 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-08  Pedro Alves  <pedro@codesourcery.com>
 
        * remote.c (remote_check_symbols): Skip if the target has no
index f59bc4052fa6a6d6dc6d06391c9d90f4264c48bd..dd618e745cb717f607996abdd3a238760b206cf9 100644 (file)
@@ -1,6 +1,6 @@
 /* DWARF 2 location expression support for GDB.
 
-   Copyright (C) 2003, 2005, 2007, 2008, 2009, 2010
+   Copyright (C) 2003, 2005, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
 
    Contributed by Daniel Jacobowitz, MontaVista Software, Inc.
@@ -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)