This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.
On Fri, Jan 18, 2008 at 07:39:28PM +0100, Paul Chavent wrote:
> Hello.
>
> I have found that it fails in hal/arm/arch/current/src/hal_misc.c at void breakpoint(void).
>
> When i execute
> void
> breakpoint(void)
> {
> diag_printf("breakpoint\n");
> HAL_BREAKPOINT(_breakinst);
> diag_printf("breakpoint\n");
> }
> The second trace doesn't appear and the target reboot.
>
> When i try to compile
> void
> breakpoint(void)
> {
> diag_printf("breakpoint %p\n", _breakinst);
> HAL_BREAKPOINT(_breakinst);
> diag_printf("breakpoint %p\n", _breakinst);
> }
> I have hal_misc.c:230: error: `_breakinst' undeclared (first use in this function)
The magic for this is in:
/packages/hal/arm/arch/current/include/hal_arch.h
I don't remember who this works on ARM. Maybe it uses a Software
interrupt?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
- References:
- Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.
- Re: Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.
- Re: Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.
- Re: Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.
- Re: Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.
- Re: Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.
- Re: Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.