Fix regression introduced in "break *<EXPR>" by explicit location patches.
[deliverable/binutils-gdb.git] / gdb / python / py-finishbreakpoint.c
index bff6dba6cbd6356bf728dae950b2955f4168812b..a0513b565ec38d0ac904a8e1256a0026dbaa7025 100644 (file)
@@ -297,7 +297,7 @@ bpfinishpy_init (PyObject *self, PyObject *args, PyObject *kwargs)
       struct cleanup *back_to;
 
       /* Set a breakpoint on the return address.  */
-      location = new_address_location (get_frame_pc (prev_frame));
+      location = new_address_location (get_frame_pc (prev_frame), NULL, 0);
       back_to = make_cleanup_delete_event_location (location);
       create_breakpoint (python_gdbarch,
                          location, NULL, thread, NULL,
This page took 0.02374 seconds and 4 git commands to generate.