From: Andrew de Quincey <adq_dvb@lidskialf.net>
To: gdb@sources.redhat.com
Cc: Daniel Jacobowitz <drow@false.org>
Subject: Re: GDB 6.2.1 with powerpc platform and uclibc and user breakpoint problem
Date: Sun, 07 Nov 2004 05:18:00 -0000 [thread overview]
Message-ID: <200411070238.44624.adq_dvb@lidskialf.net> (raw)
In-Reply-To: <20041107021019.GA26731@nevyn.them.org>
On Sunday 07 Nov 2004 02:10, Daniel Jacobowitz wrote:
> On Sat, Nov 06, 2004 at 02:34:45PM +0000, Andrew de Quincey wrote:
> > -- this is the internal breakpoint on _dl_debug_state being triggered. I
> > see this in my kernel tracing in the trap handlers.
> >
> > RX: m10000548,4
> > TX: 7d821008
> > RX: M10000548,4:38000000
> > TX: OK
> > RX: m300018d4,4
> > TX: 7d821008
> > RX: M300018d4,4:801c005c
> > TX: OK
> >
> > -- GDB is clearing the breakpoints *INCLUDING MY USER BREAKPOINT* - it
> > has removed the trap instruction and set it back to 0x38000000. why is it
> > doing this!?!
>
> So that it can step past the breakpoint.
>
> > RX: m10010904,b0
> > TX:
> > 00000001000000010000000c1000036c0000000d1000089c0000000410000128000000051
> >00002680000000610000 RX: m30005004,4
> > TX: 00000000
> > RX: vCont;s
>
> That's a step request.
>
> > TX: T0b01:7ffffa60;40:1000056c;
>
> That's a segfault. Your kernel has failed to implement
> PTRACE_SINGLESTEP correctly. This is a common problem on older 4xx
> kernels.
Nice one! Thats it exactly. Thank you so much!
Interesting, this means our vendor has never had breakpoints working in GDB
either. Hmmmm.....
prev parent reply other threads:[~2004-11-07 2:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-06 14:34 Andrew de Quincey
2004-11-07 2:38 ` Daniel Jacobowitz
2004-11-07 5:18 ` Andrew de Quincey [this message]
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=200411070238.44624.adq_dvb@lidskialf.net \
--to=adq_dvb@lidskialf.net \
--cc=drow@false.org \
--cc=gdb@sources.redhat.com \
/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