~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/blackfin/kernel/kgdb.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
                return -ENOSPC;
182
182
        }
183
183
 
184
 
        /* Becasue hardware data watchpoint impelemented in current
 
184
        /* Because hardware data watchpoint impelemented in current
185
185
         * Blackfin can not trigger an exception event as the hardware
186
186
         * instrction watchpoint does, we ignaore all data watch point here.
187
187
         * They can be turned on easily after future blackfin design
422
422
 
423
423
struct kgdb_arch arch_kgdb_ops = {
424
424
        .gdb_bpt_instr = {0xa1},
425
 
#ifdef CONFIG_SMP
426
 
        .flags = KGDB_HW_BREAKPOINT|KGDB_THR_PROC_SWAP,
427
 
#else
428
425
        .flags = KGDB_HW_BREAKPOINT,
429
 
#endif
430
426
        .set_hw_breakpoint = bfin_set_hw_break,
431
427
        .remove_hw_breakpoint = bfin_remove_hw_break,
432
428
        .disable_hw_break = bfin_disable_hw_debug,