[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [bug #47035] Crash after entering 'target remote localh
From: |
Klaus Rudolph |
Subject: |
[Simulavr-devel] [bug #47035] Crash after entering 'target remote localhost:1212' in avr-gdb |
Date: |
Wed, 03 Feb 2016 19:39:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux i686; rv:44.0) Gecko/20100101 Firefox/44.0 |
Update of bug #47035 (project simulavr):
Status: None => Fixed
Assigned to: None => zfrdh
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Tests done for fix:
simulavr started with:
src/simulavr -g -d atmega328 -f ~/Downloads/boot.elf
gdb sessions starts via ddd with:
ddd --debugger /opt/avr_5.2.0/bin/avr-gdb ~/Downloads/boot.elf
gdb session tested:
0x00000000 in ?? ()
(gdb) set $pc=0x7ff0
(gdb)
assembly window output:
Dump of assembler code from 0x7ff0 to 0x80f0:
=> 0x00007ff0 <appStart+10>: ijmp
0x00007ff2 <appStart+12>: .word 0xffff ; ????
0x00007ff4: .word 0xffff ; ????
0x00007ff6: .word 0xffff ; ????
0x00007ff8: .word 0xffff ; ????
0x00007ffa: .word 0xffff ; ????
0x00007ffc: .word 0xffff ; ????
0x00007ffe <optiboot_version+0>: cpc r0, r18
0x00008000: Cannot access memory at address 0x8000
Result:
File was read from 0x7ff0 to 0x7fff with correct content, checked with
avr-objdump. Last two bytes comes from
00007ffe <optiboot_version>:
7ffe: 02 06 cpc r0, r18
which is the same as displayed in gdb session.
Fix commit id is: 0c7c098cc52851b40063508db2718760f7e0823f
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?47035>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Simulavr-devel] [bug #47035] Crash after entering 'target remote localhost:1212' in avr-gdb,
Klaus Rudolph <=