[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment |
Date: |
Sun, 8 Dec 2013 23:55:51 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Marin Ramesa, le Thu 05 Dec 2013 22:03:14 +0100, a écrit :
> * i386/i386/db_interface.c (i386_last_saved_statep): Remove variable.
> (i386_last_saved_statep): Remove dead assignment.
This looks like a debugging helper, to be kept.
> ---
> i386/i386/db_interface.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/i386/i386/db_interface.c b/i386/i386/db_interface.c
> index a59ed37..23a66dd 100644
> --- a/i386/i386/db_interface.c
> +++ b/i386/i386/db_interface.c
> @@ -114,7 +114,6 @@ kern_return_t db_set_debug_state(
>
> #if MACH_KDB
>
> -struct i386_saved_state *i386_last_saved_statep;
> struct i386_saved_state i386_nested_saved_state;
> unsigned i386_last_kdb_sp;
>
> @@ -276,7 +275,6 @@ kdb_trap(
> if (db_enter())
> #endif /* NCPUS > 1 */
> {
> - i386_last_saved_statep = regs;
> i386_last_kdb_sp = (unsigned) &type;
>
> /* XXX Should switch to ddb`s own stack here. */
> --
> 1.8.1.4
>
>
--
Samuel
* c is away : cuisine; bouffe
<y> oh, moi je fais plutôt cuisine & bouffe en fait :)
<c> oui c'est vrai, certains font cuisine && bouffe (juste au cas où... ;-))
<y> ( cuisine && bouffe ) || restau
<N> voire ((cuisine && bouffe) || restau) & apéritif
-+- #ens-mim -+-
- Re: [PATCH 12/66] device/cons.h: remove ifdef, (continued)
- [PATCH 14/66] device/if_ether.h: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 13/66] device/dev_lookup.c: remove unused lock, Marin Ramesa, 2013/12/05
- [PATCH 15/66] device/if_ether.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 16/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 17/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 18/66] device/tty.h, chario.h: move prototype, Marin Ramesa, 2013/12/05
- [PATCH 19/66] i386/i386/db_interface.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- Re: [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment,
Samuel Thibault <=
- [PATCH 22/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 21/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 24/66] i386/i386/mp_desc.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 23/66] i386/i386/ipl.h: remove ifdef and add ifndef, Marin Ramesa, 2013/12/05
- [PATCH 26/66] i386/i386/pic.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 25/66] i386/i386/mp_desc.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 27/66] i386/i386/pit.c: remove unused variables, Marin Ramesa, 2013/12/05