From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13880 invoked by alias); 18 Nov 2010 09:33:48 -0000 Received: (qmail 13869 invoked by uid 22791); 18 Nov 2010 09:33:47 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_CL,TW_FX,TW_XS,TW_XT,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-gx0-f169.google.com (HELO mail-gx0-f169.google.com) (209.85.161.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Nov 2010 09:33:42 +0000 Received: by gxk7 with SMTP id 7so2065905gxk.0 for ; Thu, 18 Nov 2010 01:33:40 -0800 (PST) Received: by 10.150.205.11 with SMTP id c11mr801464ybg.304.1290072820043; Thu, 18 Nov 2010 01:33:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.9.8 with HTTP; Thu, 18 Nov 2010 01:33:19 -0800 (PST) From: DeD MustDIE Date: Thu, 18 Nov 2010 09:33:00 -0000 Message-ID: Subject: How to enable hardware breakpoint support To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00073.txt.bz2 Hi. I have same problem on 2 different machines. GBD can set only software breakpoint but not hardware. Example: gdb -q `which df` (gdb) hb *0x400d70 No hardware breakpoint support in the target. First machine is my workstation. Intel(R) Pentium(R) 4 CPU 3.06GHz flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pebs bts pni dtes64 monitor ds_cpl tm2 cid cx16 xtpr lahf_lm Linux miha-desktop 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux GNU gdb (GDB) 7.2-ubuntu Second one is server: CPU: Intel(R) Xeon(R) CPU 5120 @ 1.86GHz (1862.06-MHz K8-class CPU) Features= Features2= AMD Features=0x20000800 AMD Features2=0x1 FreeBSD 8.1-RELEASE-p1 Thu Oct 7 18:29:43 MSD 2010 amd64 custom kernel GNU gdb 6.6 [GDB v6.6 for FreeBSD] or GNU gdb 6.1.1 [FreeBSD] ------------------------------ Laletin Michael