bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 22/66] i386/i386/db_interface.c: remove dead assignment


From: Samuel Thibault
Subject: Re: [PATCH 22/66] i386/i386/db_interface.c: remove dead assignment
Date: Sun, 8 Dec 2013 23:56:32 +0900
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Marin Ramesa, le Thu 05 Dec 2013 22:03:16 +0100, a écrit :
> * i386/i386/db_interface.c (i386_last_kdb_sp): Remove variable.
> (i386_last_kdb_sp): Remove dead assignment.

Ditto.

> ---
>  i386/i386/db_interface.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/i386/i386/db_interface.c b/i386/i386/db_interface.c
> index ac75e03..568c855 100644
> --- a/i386/i386/db_interface.c
> +++ b/i386/i386/db_interface.c
> @@ -114,8 +114,6 @@ kern_return_t db_set_debug_state(
>  
>  #if MACH_KDB
>  
> -unsigned i386_last_kdb_sp;
> -
>  extern       thread_t db_default_thread;
>  
>  static struct i386_debug_state ids;
> @@ -273,7 +271,6 @@ kdb_trap(
>       if (db_enter())
>  #endif       /* NCPUS > 1 */
>       {
> -         i386_last_kdb_sp = (unsigned) &type;
>  
>           /* XXX Should switch to ddb`s own stack here. */
>  
> -- 
> 1.8.1.4
> 
> 

-- 
Samuel
"I don't know why, but first C programs tend to look a lot worse than
first programs in any other language (maybe except for fortran, but then
I suspect all fortran programs look like `firsts')"
(By Olaf Kirch)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]