Menu

#197 uninitialized var in src/target/cortex_a.c causes build to stop

0.9.0
new
nobody
None
2018-07-25
2018-07-25
No

An uninitialized variable in src/target/cortex_a.c causes the build to fail (gcc 6.3.1 on Fedora core 24).

I've attached a patch to fix.

1 Attachments

Discussion

  • Paul Bartholomew

    compiling with gcc "-O9" flag (gcc 6.3.1, Fedora core 24) finds more uninitialized variables (which causes the build to fail). I've attached a patch that fixes these, if you are interested.

     
  • Antonio Borneo

    Antonio Borneo - 2018-07-25

    Hi Paul,
    for the first patch you send, it was already in my TODO list, so I have created a change in gerrit with you as author
    http://openocd.zylin.com/4619
    Would you mind verifying it and eventually giving a review score +1 ?
    Mainly, please verify your name, your email address and if you agree on the commit message text.

    I would suggest you to create an account in gerrit and submit the other patches through it.
    The step-by-step procedure is here http://openocd.org/doc-release/doxygen/patchguide.html

     

Log in to post a comment.