From 1eaf7945b34461c628627289039f303f7dbaa68d Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Wed, 4 Mar 1992 13:42:06 +0000
Subject: [PATCH] When we get a function-end breakpoint, call
 handle_function_end_breakpoint instead of handle_breakpoint.

---
 ldb/sparc-arch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldb/sparc-arch.c b/ldb/sparc-arch.c
index f11eb3177..ab69d8c23 100644
--- a/ldb/sparc-arch.c
+++ b/ldb/sparc-arch.c
@@ -99,7 +99,7 @@ struct sigcontext *context;
 	  case trap_FunctionEndBreakpoint:
 	    sigsetmask(context->sc_mask);
 	    fake_foreign_function_call(context);
-	    handle_breakpoint(signal, code, context);
+	    handle_function_end_breakpoint(signal, code, context);
 	    undo_fake_foreign_function_call(context);
 	    context->sc_npc = context->sc_pc + 4;
 	    break;
-- 
GitLab