* Set the base address to 0x00800000 only in gdb mode, otherwise use the correct one.

svn path=/trunk/; revision=64667
This commit is contained in:
Amine Khaldi
2014-10-11 13:43:02 +00:00
parent 25161b54ac
commit f8931b8774
+5 -1
View File
@@ -30,7 +30,11 @@ set_subsystem(ntoskrnl native)
if(MSVC)
set_image_base(ntoskrnl 0x00400000)
else()
set_image_base(ntoskrnl 0x00800000)
if(GDB)
set_image_base(ntoskrnl 0x00800000)
else()
set_image_base(ntoskrnl 0x80800000)
endif()
endif()
target_link_libraries(ntoskrnl