public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Efim Monjak <ymonyak@lipowsky.de>
To: gdb@sources.redhat.com
Subject: Re: break of time loop
Date: Mon, 31 Oct 2005 13:56:00 -0000	[thread overview]
Message-ID: <4366229E.40901@lipowsky.de> (raw)

thanks it works with Signal interrupt.

But I found an other Problem:
after two steps I read from CPSR Register the ARM CPU goes into Abort Mode.
I is because the GDB reads memory after a step and hier are two 
adressies which
are not in address area of ARM CPU. Step after reading of such address cause
CPU Abort Mode. What informations reads GDB. Is it possible to switch it 
off?

Hier is a part of remote protocol

39              l = 2 + l;
(gdb) info register
Sending packet: $g#67...Ack
Packet received: 
0000000000000000F0060040040000004000000000000000000000000000000
00000000000000000F03B0040EC3D0040F03D0040D83D0040FEFFFFEA08070040000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000001F000060
r0             0x0      0
r1             0x0      0
r2             0x400006f0       1073743600
r3             0x4      4
r4             0x40     64
r5             0x0      0
r6             0x0      0
r7             0x0      0
r8             0x0      0
r9             0x0      0
r10            0x40003bf0       1073757168
r11            0x40003dec       1073757676
r12            0x40003df0       1073757680
sp             0x40003dd8       1073757656
lr             0xeafffffe       -352321538
pc             0x40000708       1073743624
fps            0x0      0
cpsr           0x6000001f       1610612767
(gdb) step
Sending packet: $s#73...Ack
Packet received: T050B:EC3D0040;0D:D83D0040;0F:0C070040;
Sending packet: $s#73...Ack
Packet received: T050B:EC3D0040;0D:D83D0040;0F:10070040;
Sending packet: $s#73...Ack
Packet received: T050B:EC3D0040;0D:D83D0040;0F:14070040;
Sending packet: $m40000714,4#5d...Ack
Packet received: 0330A0E3
Sending packet: $m40003de8,4#c5...Ack
Packet received: FEFFFFEA
Sending packet: $meafffffe,4#f6...Ack

hier seems is readed a one pointer

Packet received: FFCBCC2F
Sending packet: $m40003de0,4#bd...Ack
Packet received: 00000000
Sending packet: $m0,4#fd...Ack

hier seems to be other pointer also

Packet received: 060000EA
Sending packet: $me9fffffc,4#cc...Ack
Packet received: FCFFFFE9
Sending packet: $m40003de4,4#c1...Ack
Packet received: F03D0040
40              ch = 3;
(gdb) info register
Sending packet: $g#67...Ack
Packet received: 
0000000000000000F0060040060000004000000000000000000000000000000
00000000000000000F03B0040EC3D0040F03D0040D83D0040FEFFFFEA14070040000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000097000060
r0             0x0      0
r1             0x0      0
r2             0x400006f0       1073743600
r3             0x6      6
r4             0x40     64
r5             0x0      0
r6             0x0      0
r7             0x0      0
r8             0x0      0
r9             0x0      0
r10            0x40003bf0       1073757168
r11            0x40003dec       1073757676
r12            0x40003df0       1073757680
sp             0x40003dd8       1073757656
lr             0xeafffffe       -352321538
pc             0x40000714       1073743636
fps            0x0      0
cpsr           0x60000097       1610612887

Hier CPSR shows Abort Mode

(gdb)


thanks

             reply	other threads:[~2005-10-31 13:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-31 13:56 Efim Monjak [this message]
2005-10-31 14:19 ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2005-11-04 10:52 Efim Monjak
2005-11-03 10:42 Efim Monjak
2005-11-03 21:23 ` Daniel Jacobowitz
2005-10-27 15:47 Efim Monjak
2005-10-27 18:08 ` Daniel Jacobowitz
2005-10-27 15:19 Efim Monjak
2005-10-27 15:23 ` Daniel Jacobowitz
2005-10-27 14:04 Efim Monjak
2005-10-27 14:34 ` Daniel Jacobowitz

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=4366229E.40901@lipowsky.de \
    --to=ymonyak@lipowsky.de \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).