Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753410Ab2E1KQE (ORCPT ); Mon, 28 May 2012 06:16:04 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:58955 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752041Ab2E1KQC (ORCPT ); Mon, 28 May 2012 06:16:02 -0400 MIME-Version: 1.0 Date: Mon, 28 May 2012 15:46:00 +0530 Message-ID: Subject: Break point not hit while debugging linux kernel with kgdb From: prasannatsmkumar To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 18 Hi, I tried to debug the linux kernel with kgdb (over serial port). I have configured the host and target machines and I am able to connect, step in the kernel code. In gdb I gave "break usb_register_dev" and "break usb_deregister_dev" and continued the execution (continue in gdb). Once the desktop is up, I connected a USB device (first tried with USB keyboard). Break point was not hit. I tried some more functions and break points are never hit. What should I do for it? Am I missing something? Thanks, Prasanna Kumar T S M -- 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/