Re: patch for gdb

Torsten Mohr
2003-01-03T14:20:20Z

Hi,

i received a hint by mail that it would be better to
write an external "Monitor" that understands
"GDB Remote Protocol".

Can anybody tell me where to get some info about that?

"info gdbint" didn't help and i didn't find anything
in "insight/gdb/doc/".

I still like the idea to teach gdb how to use the
parallel port. I'd be glad to hear about comments
about the patch i wrote. As there is very little
response i think you don't like it that much?

Best regards,
Torsten.

> Hi everybody,
>
> i'm quite glad i could use my patched "insight-5.3"
> to download a program into my ARM evaluation board
> and start a program, all via the parallel port,
> Linux-only at the moment.
>
> But of course there are some things not yet working,
> it would be great if someone could give me some hints:
>
> The program starts, "to_wait" is called cyclically,
> the Run-Button changed to a Stop-Button, but the
> mouse pointer only shows a clock and i can't stop
> the target.
>
> Also, when i set a breakpoint somewhere at the beginning
> in "main()", the target stops (debug output) but continues
> after that breakpoint immediately.
>
> In "to_wait" i set target_status->kind to either
> "TARGET_WAITKIND_IGNORE" (if the target is running)
> or to "TARGET_WAITKIND_SPURIOUS" (if the target is
> stopped). I don't know what else to do there, is
> this a problem?
>
> I've put the actual version here:
>
> http://www.s.netic.de/tmohr/gdbpatch.tar.bz2
>
> I'd be really glad if it could be integrated into
> gdb/insight.
>
>
> Best regards,
> Torsten.