lkml.org 
[lkml]   [2004]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[KGDB PATCH][7/7] Move debugger_entry()
    Hello.  When we use kgdboe, we can't use it until do_basic_setup() is done.
    So we have two options, not allow kgdboe to use the initial breakpoint
    or move debugger_entry() to be past the point where kgdboe will be usable.
    I've opted for the latter, as if an earlier breakpoint is needed you can
    still use serial and throw kgdb_schedule_breakpoint/breakpoint where desired.

    --- linux-2.6.3-rc4/init/main.c 2004-02-17 09:51:19.000000000 -0700
    +++ linux-2.6.3-rc4-kgdb/init/main.c 2004-02-17 11:33:51.854388988 -0700
    @@ -581,6 +582,7 @@ static int init(void * unused)

    smp_init();
    do_basic_setup();
    + debugger_entry();

    prepare_namespace();

    --
    Tom Rini
    http://gate.crashing.org/~trini/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:0.018 / U:0.924 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site