On Wed, Nov 21, 2012 at 10:50 AM, Freddie Chopin <[email protected]> wrote:
> Debug log doesn't give much more info (apart from filenames and line
> numbers):
> If you think that some previous version would work I could try, but I
> don't know if it will be any benefit for you.
Nope, this is some compiler issue...
But first you can try to replace part of the src/interface/feature.h:
typedef struct oocd_feature {
/** Feature name. */
char name[OOCD_FEATURE_NAME_MAXLEN];
/** Description is a one line feature summary. */
char description[OOCD_FEATURE_DESCRIPTION_MAXLEN];
/** Body points to feature contents. */
void *body;
/** Next points to next feature on the list. */
struct oocd_feature *next;
} oocd_feature_t;
with:
typedef struct oocd_feature {
/** Feature name. */
char *name;
/** Description is a one line feature summary. */
char *description;
/** Body points to feature contents. */
void *body;
/** Next points to next feature on the list. */
struct oocd_feature *next;
} oocd_feature_t;
Maybe this static allocation of the names is the problem...
Otherwise there is a problem with OOCD_FEATURE_ARM_DAP visibility (the
'' part in the log of your binary) in the src/transport/swd.c in the
int oocd_transport_swd_setup(struct command_context *ctx); Please
debug this function (break oocd_transport_swd_setup) and see why
feature cannot be added.
If this is too complicated, please let me know how to setup a windows
build environment and Ill try it myself because this seems to be
compiler/system issue :-)
Thanks and good luck :-)
Tomek
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel