Change breakpoint event locations to event_location_up
[deliverable/binutils-gdb.git] / gdb / python / py-breakpoint.c
index d63f458eb9dad899b4b1472f05db4e52cbddd335..64de8038b6fabb44d55fa2ceb5499db2ac432b17 100644 (file)
@@ -390,7 +390,7 @@ bppy_get_location (PyObject *self, void *closure)
   if (obj->bp->type != bp_breakpoint)
     Py_RETURN_NONE;
 
-  str = event_location_to_string (obj->bp->location);
+  str = event_location_to_string (obj->bp->location.get ());
   if (! str)
     str = "";
   return host_string_to_python_string (str);
This page took 0.027219 seconds and 4 git commands to generate.