From: DeD MustDIE <dedmustdie@gmail.com>
To: gdb@sourceware.org
Subject: How to enable hardware breakpoint support
Date: Thu, 18 Nov 2010 09:33:00 -0000 [thread overview]
Message-ID: <AANLkTinsOYwdHPFFHFtfhbJAvKNmfGA_ZHtRqayTaxw=@mail.gmail.com> (raw)
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
next reply other threads:[~2010-11-18 9:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 9:33 DeD MustDIE [this message]
2010-11-18 11:32 ` Pedro Alves
2010-11-18 13:19 ` DeD MustDIE
2010-11-18 13:43 ` Pedro Alves
2010-11-18 14:38 ` Pedro Alves
2010-11-24 8:21 ` DeD MustDIE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTinsOYwdHPFFHFtfhbJAvKNmfGA_ZHtRqayTaxw=@mail.gmail.com' \
--to=dedmustdie@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox