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 authentification 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: gdbSeverity: 3 - Normal
Item Group: sw-bugStatus: None
Privacy: PublicAssigned 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
EEPROM).

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 (125kB - 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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup