From: Jim Kingdon Date: Wed, 28 Apr 1993 15:33:20 +0000 (+0000) Subject: * Remote targets (mourn): Call unpush_target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71607f9d62c125cdd1770ff7f8f07024bfa94410;p=binutils-gdb.git * Remote targets (mourn): Call unpush_target. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e97186da92d..2b649fe1b17 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Wed Apr 28 06:11:38 1993 Jim Kingdon (kingdon@cygnus.com) + * Remote targets (mourn): Call unpush_target. + * config/sparc/xm-sun4os4.h: Declare free() to return int. Remove twisted use of PARAMS. diff --git a/gdb/remote-eb.c b/gdb/remote-eb.c index 605945c7663..f5366c61ace 100644 --- a/gdb/remote-eb.c +++ b/gdb/remote-eb.c @@ -964,6 +964,7 @@ void eb_mourn_inferior () { remove_breakpoints (); + unpush_target (&eb_ops); generic_mourn_inferior (); /* Do all the proper things now */ } /* Define the target subroutine names */ diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index 9e6ef549598..b2786bbf743 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -1299,6 +1299,7 @@ static void hms_mourn () { hms_clear_breakpoints (); + unpush_target (&hms_ops); generic_mourn_inferior (); } diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 5407506a666..5c58d24d533 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1330,6 +1330,7 @@ mips_create_inferior (execfile, args, env) static void mips_mourn_inferior () { + unpush_target (&mips_ops); generic_mourn_inferior (); } diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index 91b98ad99af..1dda7afb210 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -885,6 +885,7 @@ void nindy_mourn_inferior () { remove_breakpoints (); + unpush_target (&nindy_ops); generic_mourn_inferior (); /* Do all the proper things now */ } diff --git a/gdb/remote-st2000.c b/gdb/remote-st2000.c index fc75504555e..833aa206760 100644 --- a/gdb/remote-st2000.c +++ b/gdb/remote-st2000.c @@ -608,6 +608,7 @@ static void st2000_mourn_inferior () { remove_breakpoints (); + unpush_target (&st2000_ops); generic_mourn_inferior (); /* Do all the proper things now */ } diff --git a/gdb/remote-z8k.c b/gdb/remote-z8k.c index 744bc46b79b..16fc73a68d0 100644 --- a/gdb/remote-z8k.c +++ b/gdb/remote-z8k.c @@ -305,6 +305,7 @@ static void sim_mourn () { sim_clear_breakpoints (); + unpush_target (&sim_ops); generic_mourn_inferior (); }