]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/dwarf2loc.c
Replace throw_exception with throw in some cases
[thirdparty/binutils-gdb.git] / gdb / dwarf2loc.c
index 12951f546f88de331501207a1d4ac44cafad7a36..2b8aeee83ad82ad0bad29ea1b5358be3673df2af 100644 (file)
@@ -1209,7 +1209,7 @@ call_site_find_chain (struct gdbarch *gdbarch, CORE_ADDR caller_pc,
          return NULL;
        }
       else
-       throw_exception (e);
+       throw;
     }
 
   return retval;
@@ -2185,7 +2185,7 @@ dwarf2_evaluate_loc_desc_full (struct type *type, struct frame_info *frame,
          return allocate_optimized_out_value (subobj_type);
        }
       else
-       throw_exception (ex);
+       throw;
     }
 
   if (ctx.pieces.size () > 0)
@@ -2397,7 +2397,7 @@ dwarf2_locexpr_baton_eval (const struct dwarf2_locexpr_baton *dlbaton,
          return 0;
        }
       else
-       throw_exception (ex);
+       throw;
     }
 
   switch (ctx.location)