diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-20 20:42:49 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-20 22:02:58 +0100 |
commit | 919216ba523b8d16f2b94619af97e1e96fa6e3d8 (patch) | |
tree | 8f5627831d7802bbe04ff541917df0a412fd7c2f /i386 | |
parent | 1b213ab16320c0a0c2fafa772e06da45aa31f019 (diff) |
i386/i386/db_interface.c: add comments after else and endif
* i386/i386/db_interface.c [GNU]: Add comments after else and endif.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/db_interface.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/i386/i386/db_interface.c b/i386/i386/db_interface.c index b789a54..fcb18de 100644 --- a/i386/i386/db_interface.c +++ b/i386/i386/db_interface.c @@ -717,7 +717,7 @@ looks_like_command( return TRUE; } -#endif +#endif /* GNU */ void db_task_name( @@ -765,7 +765,7 @@ db_task_name( break; vaddr += INTEL_PGBYTES; } -#else +#else /* GNU */ vaddr = DB_USER_STACK_ADDR; kaddr = 0; @@ -783,18 +783,18 @@ db_task_name( db_printf(DB_NULL_TASK_NAME); return; } -#endif +#endif /* GNU */ ok: n = DB_TASK_NAME_LEN-1; #ifdef GNU p = (char *)kaddr; for (; n > 0; vaddr++, p++, n--) { -#else +#else /* GNU */ p = (char *)kaddr + sizeof(unsigned); for (vaddr += sizeof(int); vaddr < DB_USER_STACK_ADDR && n > 0; vaddr++, p++, n--) { -#endif +#endif /* GNU */ if (vaddr % INTEL_PGBYTES == 0) { (void)db_user_to_kernel_address(task, vaddr, &kaddr, 0); p = (char*)kaddr; |