Hi Jasson:

Well ia64 seems to be missing some changes I sent. I must have not done
a quilt refresh before posting my patches to you. This is required to compile
ia64 kgdb.c successfully.

thanks,

bob


Signed-off-by: Bob Picco <[EMAIL PROTECTED]>

 arch/ia64/kernel/kgdb.c |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

Index: linux-2.6.22-rc6-mm1/arch/ia64/kernel/kgdb.c
===================================================================
--- linux-2.6.22-rc6-mm1.orig/arch/ia64/kernel/kgdb.c   2007-06-28 
17:08:38.000000000 -0400
+++ linux-2.6.22-rc6-mm1/arch/ia64/kernel/kgdb.c        2007-07-09 
13:36:29.000000000 -0400
@@ -465,9 +465,7 @@ struct hw_breakpoint {
        unsigned long addr;
 } *breakinfo;
 
-static struct hw_breakpoint hwbreaks[MAX_HW_BREAKPOINT];
-
-enum instruction_type { A, I, M, F, B, L, X, u };
+enum instruction_type {A, I, M, F, B, L, X, u};
 
 static enum instruction_type bundle_encoding[32][3] = {
        {M, I, I},              /* 00 */
@@ -718,7 +716,7 @@ static struct notifier_block kgdb_notifi
 
 int kgdb_arch_init(void)
 {
-       atomic_notifier_chain_register(&ia64die_chain, &kgdb_notifier);
+       register_die_notifier(&kgdb_notifier);
        return 0;
 }
 
@@ -921,8 +919,6 @@ static void do_kgdb_handle_exception(str
                                           smp_processor_id());
                }
 
-               kgdb_correct_hw_break();
-
                /* if not hardware breakpoint, then reenable them */
                if (e_vector != TRAP_HWBKPT)
                        linux_regs->cr_ipsr |= IA64_PSR_DB;

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to