This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
problem with GDB and cortexm stub
- From: Christian Sommerfeld <csommerfeld at bihl-wiedemann dot de>
- To: ecos-discuss at sourceware dot org
- Date: Thu, 21 Apr 2011 17:28:46 +0200
- Subject: [ECOS] problem with GDB and cortexm stub
Hi everybody,
iÂm running ecos on cortexm. I got the source code from ecos cvs.
Everything works fine. Lately, i implemented the gdb-stub. I can hit hw
breakpoints and leave them. I can print some variables, too. All that
seems to work fine.
But now i have the following problem:
If i hit a hw-breakpoint and want to "kill" the target with the GDB, it
doesn't work. After the GDB sending the "$k#6b" command i get an positiv
response from the target, but the target dont leave the hw-breakpoint.
I tried it with ARM 9 STR912 mikrocontroller without any problems. So
i`m pretty sure that i do nothing wrong. I guess there is a bug in the
cortexm_stub.c file, but i do not really know how it works.
Does anyone know about this problem and can give me some good advice?
Thanks a lot
Chris
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss