Author: akhaldi
Date: Sat Oct 11 13:43:02 2014
New Revision: 64667
URL:
http://svn.reactos.org/svn/reactos?rev=64667&view=rev
Log:
[NTOS]
* Set the base address to 0x00800000 only in gdb mode, otherwise use the correct one.
Modified:
trunk/reactos/ntoskrnl/CMakeLists.txt
Modified: trunk/reactos/ntoskrnl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/CMakeLists.txt?re…
==============================================================================
--- trunk/reactos/ntoskrnl/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/CMakeLists.txt [iso-8859-1] Sat Oct 11 13:43:02 2014
@@ -30,7 +30,11 @@
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