Re: [Openocd-development] Oddities in target.c & gdb_server.c

2008-07-26 Thread Øyvind Harboe
On Sat, Jul 26, 2008 at 1:59 AM, Duane Ellis <[EMAIL PROTECTED]> wrote: > Hello - I 've come across a few things that make no sense and seem wrong. There is a lot of history here and I think that there could be some cleanup and simplifications now that a targets responsibilities have crystalized m

[Openocd-development] Oddities in target.c & gdb_server.c

2008-07-25 Thread Duane Ellis
Hello - I 've come across a few things that make no sense and seem wrong. === (a) example - top part of "target.c' - target_init() does this: target->type->examined = 0; Generally, the idea of "type" is a C version of a C++ method table. (or