Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit caaf2e8

Browse files
committed
drop insight support. Always use gdb.
1 parent 798a711 commit caaf2e8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

build.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ def build_system(opts, args):
7272
print "Building loader failed...\n"
7373
sys.exit(1)
7474

75-
# Build qemu-insight-script
76-
print "\nBuilding qemu-insight-script..."
75+
# Build qemu-gdb-script
76+
print "\nBuilding qemu-gdb-script..."
7777
build_qemu_cmdline_script()
7878

7979
print "\nBuild complete..."
80-
print "\nRun qemu with following command: ./tools/run-qemu-insight\n"
80+
print "\nRun qemu with following command: ./tools/run-qemu-gdb\n"
8181

8282
renamed_cml = rename_config_cml(opts)
8383
if(renamed_cml):
@@ -111,8 +111,8 @@ def clean_system(opts):
111111
print "\nCleaning the loader..."
112112
ret = os.system("scons -c -f " + join(LOADERDIR, 'SConstruct'))
113113

114-
# Remove qemu-insight-script
115-
print "\nRemoving qemu-insight-script..."
114+
# Remove qemu-gdb-script
115+
print "\nRemoving qemu-gdb-script..."
116116
clean_qemu_cmdline_script()
117117

118118
if opts.clean_all:

scripts/qemu/qemu_cmdline.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@
2828
'''
2929
cd build
3030
qemu-system-arm -s -S -kernel final.elf -M %s -cpu %s %s &
31-
arm-none-insight ; pkill qemu-system-arm
31+
arm-none-gdb ; pkill qemu-system-arm
3232
cd ..
3333
'''
3434

3535
data_smp = \
3636
'''
3737
cd build
3838
qemu-system-arm -s -S -kernel final.elf -smp %d -M %s -cpu %s %s &
39-
arm-none-insight ; pkill qemu-system-arm
39+
arm-none-gdb ; pkill qemu-system-arm
4040
cd ..
4141
'''
4242

4343
# File to be generated with qemu commandline
44-
qemu_cmd_file = join(TOOLSDIR, 'run-qemu-insight')
44+
qemu_cmd_file = join(TOOLSDIR, 'run-qemu-gdb')
4545

4646
def build_qemu_cmdline_script():
4747
# Get system selected platform and cpu
@@ -76,7 +76,7 @@ def build_qemu_cmdline_script():
7676
if not clcd:
7777
clcd = '-nographic'
7878

79-
# Write run-qemu-insight file
79+
# Write run-qemu-gdb file
8080
with open(qemu_cmd_file, 'w+') as f:
8181
if smp == False:
8282
f.write(data_up % (mflag, cpuflag, clcd))

0 commit comments

Comments
 (0)