This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: patch for gdb
- From: Torsten Mohr <tmohr at s dot netic dot de>
- To: gdb <gdb at sources dot redhat dot com>
- Date: Fri, 3 Jan 2003 14:49:23 +0100
- Subject: Re: patch for gdb
- References: <200301031326.54192.tmohr@s.netic.de>
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.