This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Insight/gdb symbolic debug
- To: "'ecos-discuss at sourceware dot cygnus dot com'" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] Insight/gdb symbolic debug
- From: Paul Kinzelman <PaulK at isdcorp dot com>
- Date: Mon, 24 Apr 2000 14:05:48 -0700
I'm using the latest 1.3.1 eCos (as of a couple of weeks ago)
and an arm edb7xxx evaluation board.
I was getting lcd_test and kbd_test to run and discovered that I had
to add some extra -I clauses in the Makefile - to point to some more
library header files. Am I missing something that I should have
done to make them compile cleanly as-is from the release?
Or are those files just out of date or something?
Secondly, I can compile a simple 'hello world' and as soon as I start
up Insight:
arm-elf-gdb hello&
I get a window with the source code which is fine.
However, if I compile kbd_test, kbd_support, and lcd_support together
(I've modified them to make a quick 'type a key, see it on the screen'),
when I do:
arm-elf-gdb kbd_test&
the window comes up without the source code, but the program
runs mostly as I'd expect (I can type a character and it displays
on the LCD.
The Makefiles are virtually identical (except for the program name).
The two test directories are both under the same directory.
I use the same Linux window to compile both programs.
Why does hello come up with source debug but the kbd_test doesn't?
The main difference I can see is that hello uses 'main' and
kbd_test creates a thread.
TIA!
-Paul Kinzelman