* gdb hardware breakpoints under Linux PPC?
@ 2001-04-21 13:38 Craig Rodrigues
2001-04-21 20:28 ` Kevin Buettner
0 siblings, 1 reply; 3+ messages in thread
From: Craig Rodrigues @ 2001-04-21 13:38 UTC (permalink / raw)
To: gdb; +Cc: Craig Rodrigues
Hello,
I am debugging a problem with an application that
works under x86 based Redhat Linux 6.2, but
suffers a bizarre memory corruption under LinuxPPC 2000-Q4.
I am using gdb version 5 (gdb 5.05 rpm that comes with LinuxPPC).
I would like to set a hardware watchpoint under gdb
on a certain region of memory, to see why it is getting
clobbered (the element getting clobbered under PPC is
a dynamically allocated structure in a linked list). Does
gdb 5 support hardware watchpoints under Linux PPC?
Can someone give me an example of how to set a watchpoint?
The gdb manual is a bit vague in explaining this.
Thanks.
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb hardware breakpoints under Linux PPC?
2001-04-21 13:38 gdb hardware breakpoints under Linux PPC? Craig Rodrigues
@ 2001-04-21 20:28 ` Kevin Buettner
2001-04-21 21:24 ` Craig Rodrigues
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Buettner @ 2001-04-21 20:28 UTC (permalink / raw)
To: Craig Rodrigues, gdb
On Apr 21, 4:36pm, Craig Rodrigues wrote:
> Does gdb 5 support hardware watchpoints under Linux PPC?
No. GDB doesn't (at the moment anyway) have support for hardware
watchpoints for Linux/PPC. It would be possible to implement this
support, be it would be necessary to have kernel support in place
first...
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb hardware breakpoints under Linux PPC?
2001-04-21 20:28 ` Kevin Buettner
@ 2001-04-21 21:24 ` Craig Rodrigues
0 siblings, 0 replies; 3+ messages in thread
From: Craig Rodrigues @ 2001-04-21 21:24 UTC (permalink / raw)
To: gdb
On Sat, Apr 21, 2001 at 08:28:31PM -0700, Kevin Buettner wrote:
> On Apr 21, 4:36pm, Craig Rodrigues wrote:
>
> > Does gdb 5 support hardware watchpoints under Linux PPC?
>
> No. GDB doesn't (at the moment anyway) have support for hardware
> watchpoints for Linux/PPC. It would be possible to implement this
> support, be it would be necessary to have kernel support in place
> first...
Kevin,
Thanks for the clarification. Since Linux on the PowerPC is
becoming a very popular platform for embedded systems developers,
it would be nice if one of the embedded Linux companies devoted
some resources to implement this feature.
What do people use for heavy duty debugging of such systems?
Are things like Linux Trace Toolkit ( http://www.opersys.com/LTT/ )
viable options?
Thanks.
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-04-21 21:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-21 13:38 gdb hardware breakpoints under Linux PPC? Craig Rodrigues
2001-04-21 20:28 ` Kevin Buettner
2001-04-21 21:24 ` Craig Rodrigues
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox