This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
I have problem in gdb-stub. pleas help me~
- From: "ddanggi" <ddanggi at adam dot kaist dot ac dot kr>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 14 Aug 2002 21:43:27 +0900
- Subject: [ECOS] I have problem in gdb-stub. pleas help me~
I have problem in gdb-stub.
( I want to port ecos system to my H/W-MPC850 board. and I use cygwin)
I buid ecos-Kernel so get the library.
And I make simple-test file with this library.
(powerpc-eabi-gcc -g -I/c/building/8_05_install/include test.c -L/c/building/8_05_install/lib -Ttarget.ld -nostdlib -o test.exe)
Using powerpce-eabi-gdb(insight), I pushed the run button but there is no response.
( when gbd download the file, download status windows is displayed.
Although the button below is change from Cancel to OK during download, the .vectors bar and .text bar is not full of
blue coloer. Is it right? )
I have two hypothesis.
The first is that my gdb-stub is incomplete.
: I want to examin the gdb-stub using simple file which is independent ecos. but i find
that compiling simple file with powerpc-eabi-gcc demand to make the new linker-script. so
I faild.
The second is that the option of buiding ecos-Kenel is not proper.
please advise to me~
And I have a question in vector.S
When the gdb-stub load the test-file and run file, test-file also excute
the code which is in vector.S. Re-execution the code in vector.S result in
clearing BSS, initiailizing sp-pointer and etc.
Doesn't the Re-execution make the probelm in operation of gdb-stub?