public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* Re: insight/170: Assembly windows display .long 0 for remote targets
@ 2002-08-28 17:11 kseitz
  0 siblings, 0 replies; 2+ messages in thread
From: kseitz @ 2002-08-28 17:11 UTC (permalink / raw)
  To: faizal.haji, insight-prs, kseitz, nobody

Synopsis: Assembly windows display .long 0 for remote targets

Responsible-Changed-From-To: unassigned->kseitz
Responsible-Changed-By: kseitz
Responsible-Changed-When: Wed Aug 28 17:11:22 2002
Responsible-Changed-Why:
    mine
State-Changed-From-To: open->analyzed
State-Changed-By: kseitz
State-Changed-When: Wed Aug 28 17:11:22 2002
State-Changed-Why:
    There could be any number of problems here.
    
    The command line/console window use different mechanisms to do the disassembly: the Source Window reads instructions from the executable file, while the console will read from the target. What happens if you do:
    
    $ powerpc-eabi-gdb -nw -nx -q foo.elf
    (gdb) disassemble DeleteChar
    
    Does it also show ".long 0x0"? If not, I'll need a testcase from you.

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=170


^ permalink raw reply	[flat|nested] 2+ messages in thread

* insight/170: Assembly windows display .long 0 for remote targets
@ 2002-07-18 12:23 faizal.haji
  0 siblings, 0 replies; 2+ messages in thread
From: faizal.haji @ 2002-07-18 12:23 UTC (permalink / raw)
  To: insight-gnats


>Number:         170
>Category:       insight
>Synopsis:       Assembly windows display .long 0 for remote targets
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 18 12:23:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Faizal Haji
>Release:        insight-5.2
>Organization:
>Environment:
--host=sparc-sun-solaris2.8 --target=powerpc-eabi-elf
>Description:
When debugging target over a serial line, ASSEMBLY, MIXED, and SRC+ASM source window modes do not display the correct assembler instructions of the source files. 

In the source window:

-	0x108c810	<DeleteChar+228>:	.long 0x0
-	0x108c814	<DeleteChar+232>:	.long 0x0
-	0x108c818	<DeleteChar+236>:	.long 0x0
-	0x108c81c	<DeleteChar+240>:	.long 0x0
-	0x108c820	<DeleteChar+244>:	.long 0x0
-	0x108c824	<DeleteChar+248>:	.long 0x0
-	0x108c828	<DeleteChar+252>:	.long 0x0

Using "disassemble" command on the console:

0x108c810 <DeleteChar+228>:	sth	r12,54(r30)
0x108c814 <DeleteChar+232>:	rlwinm	r12,r12,16,16,31
0x108c818 <DeleteChar+236>:	sth	r12,52(r30)
0x108c81c <DeleteChar+240>:	lwz	r11,12(r1)
0x108c820 <DeleteChar+244>:	mr	r12,r11
0x108c824 <DeleteChar+248>:	addi	r11,r11,1
0x108c828 <DeleteChar+252>:	stw	r11,12(r1)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-29  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-28 17:11 insight/170: Assembly windows display .long 0 for remote targets kseitz
  -- strict thread matches above, loose matches on Subject: below --
2002-07-18 12:23 faizal.haji

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).