* patch for gdb
@ 2003-01-03 12:57 Torsten Mohr
2003-01-03 14:20 ` Torsten Mohr
0 siblings, 1 reply; 2+ messages in thread
From: Torsten Mohr @ 2003-01-03 12:57 UTC (permalink / raw)
To: gdb
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: patch for gdb
2003-01-03 12:57 patch for gdb Torsten Mohr
@ 2003-01-03 14:20 ` Torsten Mohr
0 siblings, 0 replies; 2+ messages in thread
From: Torsten Mohr @ 2003-01-03 14:20 UTC (permalink / raw)
To: gdb
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-03 14:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-03 12:57 patch for gdb Torsten Mohr
2003-01-03 14:20 ` Torsten Mohr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox