bugGNU Development Chain for 68HC11/68HC12 - Bugs: bug #3792, GDB cannot load ELF file when in...


You are not allowed to post comments on this tracker with your current authentication level.

bug #3792: GDB cannot load ELF file when in ROM (over EEPROM?)

Submitted by:  Andrew Sterian <steriana>
Submitted on:  Wed 28 May 2003 09:18:40 PM UTC  
Category:  gdb Severity:  3 - Normal
Item Group:  sw-bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Wed 28 May 2003 09:18:40 PM UTC, original submission:  

GDB from release 2.1.1 was able to succesfully load and simulate a file with text from 0x8000 through 0xC000 or so, past EEPROM. The GDB from release 2.2 gives the following error when 'load pf11.elf' is attempted:

Loading section .page0, size 0x26 lma 0x0
Loading section .text, size 0x2708 lma 0x8000
Loading section .rodata, size 0x2034 lma 0xa708
EEprom write error (only 1 byte can be programmed)
sim_halt - bad long jump

Typing 'sim cpu-config 0x0C' makes no difference (i.e., trying to turn of

The 'pf11.elf' file is attached. It was compiled with release 2.2 of the tools on a Linux system (tools compiled from sources).

Andrew Sterian <steriana>


Attached Files
file #466:  /home/steriana/devel/pf11/pf11.elf added by steriana (125KiB - application/octet-stream - ELF file demonstrating bug)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.5