This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
RE: single-step
- To: "'Xavier Bestel'" <xbestel at aplio dot fr>, gdb at sourceware dot cygnus dot com
- Subject: RE: single-step
- From: George France <france at crl dot dec dot com>
- Date: Tue, 29 Feb 2000 11:16:02 -0500
Hello Xavier;
Which ARM dev board do you have?? I have attached a patch for ptrace.c for
Linux 2.2.14 that will allow you to single step on the armv4l architecture.
The patch implements PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS &
PTRACE_SETREGS, with PTRACE_SET_BPT etc....
Best Regards,
--George
George France, france@crl.dec.com
Cambridge Research Laboratory, Compaq Computer Corporation
One Kendall Square, Building 700 MS: CRL
Cambridge, MA 02139 USA
-----Original Message-----
From: Xavier Bestel [mailto:xbestel@aplio.fr]
Sent: Monday, February 28, 2000 9:44 AM
To: gdb@sourceware.cygnus.com
Subject: single-step
Hi !
I have and ARM dev board hooked to a Jeeni, controlled via ethernet. It
doesn't singl-step, it only stops at breakpoints. When I issue a "info
target", gdb replies that "Target can't single-step".
However I would greatly appreciate it to single step to debug my apps ...
So do you know how to fix it ? Is it a hardware non-feature or a simple
software misconfiguration ? Can gdb emulate singlestepping transparently
using breakpoints ?
Xav
ptrace-for-2.2.14-patch