[U-Boot-Users] Re: Are there any users of tools/gdb/astest.c?

On 05 Aug 2003 18:33:54 +0200, Detlev Zundel dzu@denx.de writes:
If anyone wants to keep the file then please speak up, otherwise I'd like to ask Wolfgang to remove it so there is one less obstacle for new users of U-Boot.
I was responsible for the gdb directory being there - long time ago early in the ppcboot days - when the board I was using had no ethernet and no flash (really!). I would burn ppcboot into an EPROM, then use gdb to download a linux kernel over the serial line and debug it the same way if it crashed (with kgdb). Wasn't too bad at 230400 baud. But I stopped using these tools many years ago.
astest was just a little hack that printed some info I needed - it could definitely go. In fact, the whole gdb directory could probably go, although I suppose it might be useful to someone/somewhere/sometime. Cheers! Murray...

Hi Murray,
astest was just a little hack that printed some info I needed - it could definitely go. In fact, the whole gdb directory could probably go, although I suppose it might be useful to someone/somewhere/sometime. Cheers!
Thanks for the info. It just appeared to me that my intention of not stopping new users could also be accomplished by simply separating a "gdbtools" make target from the "make all" target. This way the code would be preserved but it won't stop anyone on compilation problems.
Wolfgang, what do you think?
Cheers Detlev

In message 87znilu9ep.fsf@deepthought.outer.space.org Detlev Zundel wrote:
astest was just a little hack that printed some info I needed - it could definitely go. In fact, the whole gdb directory could probably go, although I suppose it might be useful to someone/somewhere/sometime. Cheers!
Thanks for the info. It just appeared to me that my intention of not stopping new users could also be accomplished by simply separating a "gdbtools" make target from the "make all" target. This way the code would be preserved but it won't stop anyone on compilation problems.
Wolfgang, what do you think?
Let's do both: remove the astest.c file as the same can be done using standard tools (bjdump), and remove the tools/gdb target from the default build sequence (so build time will improve).
Detlev, can you please do this and check it in?
Best regards,
Wolfgang Denk

Hi Wolfgang,
Let's do both: remove the astest.c file as the same can be done using standard tools (bjdump), and remove the tools/gdb target from the default build sequence (so build time will improve).
Detlev, can you please do this and check it in?
Done.
There's now a new top-level make target "gdbtools" which only compiles the tools/gdb directory which is not included in the "all" target anymore.
Cheers Detlev
participants (3)
-
Detlev Zundel
-
Murray Jensen
-
Wolfgang Denk