[ECOS] Gdb stubs debugging an a-priori executable?

Grant Edwards grante@visi.com
Wed Nov 14 06:53:00 GMT 2001


On Thu, Nov 22, 2001 at 10:19:15AM +0100, Jesper Skov wrote:
> >>>>> "Grant" == Grant Edwards <grante@visi.com> writes:
> 
> Grant> So the question is: why does loading data to the first 48 bytes
> Grant> in RAM break the gdb stubs?  It's an ARM7 platform, in case
> Grant> that matters.  Do the gdb stubs expect the interrupt vectors to
> Grant> be in a certain state?
> 
> Because RedBoot enters GDB mode hitting a berakpoint - and you just
> changed the vector to point at your program's entry address by
> overloading the bottom of RAM.

I see. Breakpoints are done via SW interrupt?

-- 
Grant Edwards
grante@visi.com



More information about the Ecos-discuss mailing list