565435833c
tested by laurent@ with a buspirate (freshly supported with this openocd release)
16 lines
810 B
Plaintext
16 lines
810 B
Plaintext
$OpenBSD: patch-src_openocd_c,v 1.1 2011/09/20 21:20:49 jasper Exp $
|
|
|
|
Adjust Jim_Interp member name.
|
|
|
|
--- src/openocd.c.orig Fri Sep 16 18:00:56 2011
|
|
+++ src/openocd.c Fri Sep 16 18:01:22 2011
|
|
@@ -197,7 +197,7 @@ static int jim_stacktrace_command(Jim_Interp *interp,
|
|
/* insert actual error site at beginning of list*/
|
|
Jim_Obj *procname = Jim_NewStringObj(interp, "", -1); /* Uhhh... don't know this one. */
|
|
Jim_ListInsertElements(interp, stacktrace, 0, 1, &procname);
|
|
- Jim_Obj *filename = Jim_NewStringObj(interp, interp->errorFileName, -1);
|
|
+ Jim_Obj *filename = Jim_NewStringObj(interp, interp->errorFileNameObj, -1);
|
|
Jim_ListInsertElements(interp, stacktrace, 1, 1, &filename);
|
|
Jim_Obj *line = Jim_NewIntObj(interp, interp->errorLine);
|
|
Jim_ListInsertElements(interp, stacktrace, 2, 1, &line);
|