This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to enable hardware breakpoint support


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=<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA>
AMD Features=0x20000800<SYSCALL,LM>
AMD Features2=0x1<LAHF>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]