]> git.sur5r.net Git - openocd/commit
don't add confusing source info to Jim
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Thu, 17 Jun 2010 22:48:47 +0000 (00:48 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Fri, 18 Jun 2010 05:57:15 +0000 (07:57 +0200)
commit127f9da4fe0a3e2eaa86c5cd32bb45b6a7083171
tree4fa1ffd6ddc87cbbabd81bc9ee7f5003e19eb073
parentc3ee63be77476af770134b39d31758eb6a0ef69f
don't add confusing source info to Jim

When an interactive command fails, the Jim stack trace prints references to
the line in "command.c" where the interpreter was invoked. Since that
location has no relation to the actual command that failed, the information
serves only to add confusion.

By not adding the useless source info to Jim the noise can be reduced,
while still printing a useful trace for nested commands.

Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/helper/command.c