Move __SIGRTMIN.
[deliverable/binutils-gdb.git] / gdb / break-catch-throw.c
index 07a8f05e484943bdb745552a10498f44a91825da..1ba505b6e49071c0752763e28c04c2d5624b5ec6 100644 (file)
@@ -229,9 +229,12 @@ re_set_exception_catchpoint (struct breakpoint *self)
         catchpoint mode.  */
       TRY
        {
-         char *spec = ASTRDUP (exception_functions[kind].function);
+         struct explicit_location explicit_loc;
 
-         location = new_linespec_location (&spec);
+         initialize_explicit_location (&explicit_loc);
+         explicit_loc.function_name
+           = ASTRDUP (exception_functions[kind].function);
+         location = new_explicit_location (&explicit_loc);
          cleanup = make_cleanup_delete_event_location (location);
          self->ops->decode_location (self, location, &sals);
          do_cleanups (cleanup);
This page took 0.023804 seconds and 4 git commands to generate.