Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Andrew de Quincey <adq_dvb@lidskialf.net>
Cc: gdb@sources.redhat.com
Subject: Re: GDB 6.2.1 with powerpc platform and uclibc and user breakpoint problem
Date: Sun, 07 Nov 2004 02:38:00 -0000	[thread overview]
Message-ID: <20041107021019.GA26731@nevyn.them.org> (raw)
In-Reply-To: <200411061434.45201.adq_dvb@lidskialf.net>

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: 00000001000000010000000c1000036c0000000d1000089c000000041000012800000005100002680000000610000
> 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.

-- 
Daniel Jacobowitz


  reply	other threads:[~2004-11-07  2:10 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 [this message]
2004-11-07  5:18   ` Andrew de Quincey

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=20041107021019.GA26731@nevyn.them.org \
    --to=drow@false.org \
    --cc=adq_dvb@lidskialf.net \
    --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