Ignore:
Timestamp:
2009-02-14T21:06:57Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4cac212c
Parents:
74bcf5e
Message:

Get rid of CONFIG_DEBUG_AS_WATCHPOINT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/proc/scheduler.c

    r74bcf5e r687c3cd  
    3939#include <arch.h>
    4040#include <arch/context.h>       /* SP_DELTA */
    41 #include <arch/debugger.h>
    4241#include <arch/pm.h>
    4342#include <arch/asm.h>
     
    7170        /* Set up TLS in GS register */
    7271        set_tls_desc(THREAD->arch.tls);
    73 
    74 #ifdef CONFIG_DEBUG_AS_WATCHPOINT
    75         /* Set watchpoint on AS to ensure that nobody sets it to zero */
    76         if (CPU->id < BKPOINTS_MAX) {
    77                 the_t *the = THE;
    78                 breakpoint_add(&((the_t *) the->thread->kstack)->as,
    79                     BKPOINT_WRITE | BKPOINT_CHECK_ZERO, the->cpu->id);
    80         }
    81 #endif
    8272}
    8373
Note: See TracChangeset for help on using the changeset viewer.