This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Preliminary Patch - H8/300 - Normal Mode for GDB 6.0


Hi,

I have written following patches to GDB 6.0 to support Normal Mode targets for Renesas H8/300H and H8S chips.

However I am facing problem with these patches.  

The problem is as follows.

When debugging (h8300-elf-gdb) normal mode programs with sim as target, the simulator does a SIGTRAP while running the program. 

The program goes into the case 
	case O (O_SLEEP, SN):		/* sleep */

in function sim_resume in file sim/h8300/compile.c and stops with SIGTRAP.

I cannot run the program in GDB.

However no problem occurs when the program is run on the simulator (h8300-elf-run) outside the gdb. i.e. $ h8300-elf-run a.out

This runs very well.

Can someone guide me what is missing in these patches ?

Similar patch works well with GDB 5.3.

Regards,
Shrinivas

Attachment: h8300-tdep.diff
Description: h8300-tdep.diff

Attachment: compile.diff
Description: compile.diff

Attachment: h8300-dis.diff
Description: h8300-dis.diff

Attachment: coff-h8300.diff
Description: coff-h8300.diff

Attachment: tm-h8300.diff
Description: tm-h8300.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]