[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SH Debugging Question
- Date: Tue, 10 Aug 1999 10:02:47 -0400
- From: Jmills at TGA.com (John Mills)
- Subject: SH Debugging Question
I have built the .../tests/samples/hello/init.c for the 'sh-rtems' target,
as the first step in porting to the SH-2.
1) Can I run the executable under a version of 'gdb' built with RTEMS
patches? What files or macros will I need to define my target hardware
(which can be any viable configuration)?
2) I build 'sh-hms-gdb' and 'sh-hms-run' from the GNUPro and eCos toolsets.
'info architecture' replies:
'Available architectures are:
sh sh3 sh3e sh4'
'sh-hms-gdb' seems to load the sample OK, will list symbols and 'Init()'
source, and sets breakpoints. Can I use this combination to run the "Hello"
Should I recompile parts of RTEMS with "-g" set to add debugging data to the
object? Which parts would folks suggest?
I'm working through the "plumbing" for SH-2 interrupt vectors, CPU
registers, etc., but wanted to see some sign of existing life in the SH-1
Thanks for any suggestions.
John Mills, Sr. Software Engineer
TGA Technologies, Inc.
100 Pinnacle Way, Suite 140
Norcross, GA 30071-3633
e-mail: jmills at tga.com
Phone: 770-441-2100 ext.124 (voice)