Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Peter Barada <pbarada@mail.wm.sps.mot.com>
Cc: gdb@sources.redhat.com
Subject: Re: Torubles with remote stub for m68k
Date: Tue, 25 Jun 2002 13:43:00 -0000	[thread overview]
Message-ID: <3D18D5E0.6030401@cygnus.com> (raw)
In-Reply-To: <200206242104.g5OL4pY06652@hyper.wm.sps.mot.com>

> (gdb) c
> Continuing.
> Sending packet: $Z0,3af78,2#7d...Ack
> Packet received: 
> Packet Z0 (software-breakpoint) is NOT supported
> Sending packet: $m3af78,2#34...Ack
> Packet received: 4ab9
> Sending packet: $X3af78,0:#57...Ack


> Packet received: OK
> binary downloading suppported by target
> Sending packet: $X3af78,2:NA#e8...Ack

Set breakpoint at address 3af78.

> Packet received: OK
> Sending packet: $Hc0#db...Ack
> Packet received: ENN
> Sending packet: $c#63...Ack
> Packet received: T05thread:9;
> [New Thread 9]
> Sending packet: $g#67...Ack
> Packet received: 00000000000000000000006300000000004b47b8000000000000000000000000000000000000000000012ca000012c240000000000000000005c34d4005c34c8000000000014a898000000000000000000000000000000007fffffffffffffff7fffffffffffffff7fffffffffffffff7fffffffffffffff7fffffffffffffff7fffffffffffffff7fffffffffffffff7fffffffffffffff7fffffffffffffff7fffffffffffffff7fffffffffffffff0000000000000000000000000000000000000000

For some reason here, GDB didn't pull all breakpoints.  GDB normally 
pulls all breakpoints as part of a stop.  I suspect this is why the 
breakpoint is still in memory when you go to SI - GDB doesn't think it 
needs to pull any breakpoints.

> Program received signal SIGTRAP, Trace/breakpoint trap.

Is the target sitting on a breakpoint?  If it is GDB should report that 
breakpoint but it hasn't.

What is the raw value of the PC as found in the G packet (rather than 
what $pc displays at this point?).  The m68k is one of the decr pc after 
break targets [true] so likely it is getting that wrong.

Andrew



      parent reply	other threads:[~2002-06-25 20:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-24 12:46 [MI/testsuite] mi_gdb_test: expected result priority? Keith Seitz
2002-06-24 13:20 ` Elena Zannoni
2002-06-24 14:04 ` Torubles with remote stub for m68k Peter Barada
2002-06-24 14:13   ` Daniel Jacobowitz
2002-06-24 14:40     ` Peter Barada
2002-06-24 14:56       ` Peter Barada
2002-06-24 15:07         ` Daniel Jacobowitz
2002-06-24 15:30           ` Andrew Cagney
2002-06-24 15:35             ` Quality Quorum
2002-06-25  7:53             ` Peter Barada
2002-06-25 10:44               ` Andrew Cagney
2002-06-25  9:38                 ` Peter Barada
2002-06-25 13:28                   ` Andrew Cagney
2002-06-25 10:02                 ` Daniel Jacobowitz
2002-06-25  8:13           ` Peter Barada
2002-06-25  8:17             ` Daniel Jacobowitz
2002-06-25  8:32               ` Peter Barada
2002-06-25  8:40                 ` Daniel Jacobowitz
2002-06-25 13:43   ` Andrew Cagney [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=3D18D5E0.6030401@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb@sources.redhat.com \
    --cc=pbarada@mail.wm.sps.mot.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