Rename files under jerry-code/debugger to avoid build fails (#1877)

Without the file renaming there are two jerry-debugger.c files.
Thus when the jerry-core archive is created there are two objects
in it with the same name. Generally this does not create any problems.
However if the archive is extracted then the second object file
will overwrite the first one which results in undefined reference
linkage error.

The jerry- prefix was removed from the file names and
fixed the include oreders where it was needed.

JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
This commit is contained in:
Péter Gál
2017-06-07 01:39:30 +02:00
committed by yichoi
parent 905cd705ef
commit add60865e0
11 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -13,9 +13,9 @@
* limitations under the License.
*/
#include "debugger.h"
#include "jcontext.h"
#include "jerryscript.h"
#include "jerry-debugger.h"
/**
* Checks whether the debugger is connected.
+1 -1
View File
@@ -15,6 +15,7 @@
#include <stdio.h>
#include "debugger.h"
#include "ecma-alloc.h"
#include "ecma-array-object.h"
#include "ecma-builtin-helpers.h"
@@ -32,7 +33,6 @@
#include "ecma-promise-object.h"
#include "jcontext.h"
#include "jerryscript.h"
#include "jerry-debugger.h"
#include "js-parser.h"
#include "re-compiler.h"