gdb drivers: load address for kernel mode components

All development related issues welcome

Moderator: Moderator Team

Post Reply
q4a
Posts: 114
Joined: Tue Apr 17, 2007 7:23 am

gdb drivers: load address for kernel mode components

Post by q4a »

I'm trying to use GDB as kernel-mode debugger. http://www.reactos.org/wiki/GDB is outdated, but anyway.
I stopped at section "Making GDB useful". I want to add fastfat.sys to debug:

Code: Select all

(dbg)add-symbol-file E:/ros/trunk/reactos/output-i386/drivers/filesystems/fastfat/fastfat.nostrip.sys
The address where E:/ros/trunk/reactos/output-i386/drivers/filesystems/fastfat/fastfat.nostrip.sys has been loaded is missing
^ That's ok. I need to add 2nd parameter - load address, but how can i set or get it?

1. ntoskrnl/ldr/loader.c was removed from trunk in r25886
"Remove /ldr ntoskrnl directory, since this module is finally gone."
2. http://www.reactos.org/wiki/Rossym.gdb doesn't help:

Code: Select all

(dbg)source E:/ros/trunk/reactos/lib/rossym/rossym.gdb
(dbg)load-all-modules
No symbol "KDB_MODULE_INFO" in current context.
PS my previous steps:
1.Remove obj-i386, output-i386, makefile-i386.auto.
2.Copy config.template.rbuild to config.rbuild and set:
<property name="GDB" value="1" />
3.make ROS_BUILDNOSTRIP=yes bootcd
4.Start qemu with command line option "-gdb tcp::5022":
qemu -L bios -m 1024 -cdrom ..\trunk\reactos\ReactOS.iso -boot d -hda ..\hdd\rgdb-5g.vmdk -serial file:log\rgdb-5g.txt -gdb tcp::5022
5.Install ros.
6.Add /DEBUGPORT=GDB to [ReactOS_Debug] options in freeldr.ini.
7.Reboot and choose "ReactOS (Debug)". Now i see "Waiting for GDB to attach"
8.Start gdb without parameters.

Code: Select all

(dbg)directory E:/ros/trunk/reactos
Source directories searched: E:/ros/trunk/reactos;$cdir;$cwd
(dbg)symbol-file E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .text
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .data
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .idata
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss
Reading symbols from E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe...done.
(dbg)set remotebaud 115200
(dbg)target remote localhost:5022
Remote debugging using localhost:5022
0x8087b7a9 in KdbpTryGetCharKeyboard (ScanCode=0x8095db90, Retry=0)
    at ntoskrnl/kdbg/kdb_keyboard.c:115
115             while (kbd_read_status() & KBD_STAT_OBF)
(dbg)add-symbol-file E:/ros/trunk/reactos/output-i386/drivers/filesystems/fastfat/fastfat.nostrip.sys
The address where E:/ros/trunk/reactos/output-i386/drivers/filesystems/fastfat/fastfat.nostrip.sys has been loaded is missing
PSS "-gdb tcp::5022" option taken from this manual: http://dc0d32.blogspot.com/2010/03/debu ... d-gdb.html
Host - winxp sp3
Qemu-0.13.0-rc0-windows-Lite.zip: http://lassauge.free.fr/qemu
gdb-7.2-1-mingw32-bin.tar.lzma: http://sourceforge.net/projects/mingw/f ... DB/GDB-7.2
hto
Developer
Posts: 2193
Joined: Sun Oct 01, 2006 3:43 pm

Re: gdb drivers: load address for kernel mode components

Post by hto »

Hi

1. Source-level debugging with GDB sucks. Better to debug on a machine code level. Load addresses get from here.
2. With QEMU, you don't need to compile ReactOS with <property name="GDB" value="1" /> and pass /DEBUGPORT=GDB to the kernel. Attach GDB to QEMU, as explained in the QEMU docs. It works much better.
ThePhysicist
Developer
Posts: 509
Joined: Mon Apr 25, 2005 12:46 pm

Re: gdb drivers: load address for kernel mode components

Post by ThePhysicist »

Source level debugging with GDB isn't that bad, only the support for Windows sucks a bit.
You can use eclipse as gui then it works quite well.
Also to get symbols, you will currently need to disable rsym to generate stabs in the executables instead of the reactos own format. (just put a return 0; in tools/rsym/rsym.c main())
q4a
Posts: 114
Joined: Tue Apr 17, 2007 7:23 am

Re: gdb drivers: load address for kernel mode components

Post by q4a »

hto wrote:Load addresses get from here.
Thx.
hto wrote:2. With QEMU, you don't need to compile ReactOS with <property name="GDB" value="1" /> and pass /DEBUGPORT=GDB to the kernel. Attach GDB to QEMU, as explained in the QEMU docs. It works much better.
I run qemu with "-s -S" options instead of "-gdb tcp::5022", but it doesn't work for me:
cat E:/ros/gdb/g.gdb:
directory E:/ros/trunk/reactos
symbol-file E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe
set remotebaud 115200

Code: Select all

(gdb) source E:/ros/gdb/g.gdb
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ig
noring section flag IMAGE_SCN_MEM_NOT_PAGED in section .text
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ig
noring section flag IMAGE_SCN_MEM_NOT_PAGED in section .data
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ig
noring section flag IMAGE_SCN_MEM_NOT_PAGED in section .idata
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ig
noring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss
(gdb) target remote :1234
Remote debugging using :1234
0x0000fff0 in ?? ()
(gdb) info functions KeInitializeSpinLock
All functions matching regular expression "KeInitializeSpinLock":

File ntoskrnl/ke/spinlock.c:
void _KeInitializeSpinLock@4(PKSPIN_LOCK);
(gdb) break _KeInitializeSpinLock
Function "_KeInitializeSpinLock" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (_KeInitializeSpinLock) pending.
(gdb) info functions KdpSerialInit
All functions matching regular expression "KdpSerialInit":

File ntoskrnl/kd/kdio.c:
void KdpSerialInit@8(PKD_DISPATCH_TABLE, ULONG);
(gdb) break KdpSerialInit
Function "KdpSerialInit" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 2 (KdpSerialInit) pending.
(gdb) cont
Continuing.
And it doesn't break in KdpSerialInit(ntoskrnl\kd\kdio.c:272), but i'm sure that it goes there, because i got:
(ntoskrnl\kd\kdio.c:299) ReactOS 0.4-SVN (Build 20101111-rUNKNOWN)
ThePhysicist wrote:Also to get symbols, you will currently need to disable rsym to generate stabs in the executables instead of the reactos own format. (just put a return 0; in tools/rsym/rsym.c main())
Cannot install ros (even after full rebuild). Freeze at second stage:
http://img-fotki.yandex.ru/get/5106/it4 ... 3_orig.png
Log:

Code: Select all

(ntoskrnl\kd\kdio.c:298) -----------------------------------------------------
(ntoskrnl\kd\kdio.c:299) ReactOS 0.4-SVN (Build 20101111-rUNKNOWN)
(ntoskrnl\kd\kdio.c:300) Command Line: /NOGUIBOOT /DEBUGPORT=COM1 /FIRSTCHANCE /KDSERIAL
(ntoskrnl\kd\kdio.c:304) ARC Paths: multi(0)disk(0)cdrom(96) \ multi(0)disk(0)cdrom(96) \reactos\
(ntoskrnl\ke\i386\cpu.c:776) Prefetch Cache: 64 bytes	L2 Cache: 2097152 bytes	L2 Cache Line: 64 bytes	L2 Cache Associativity: 8
(ARM³::INIT:1224) HAL I/O Mapping at FFFE0000 is unsafe
(ntoskrnl\ke\i386\kiinit.c:54) Large Page support detected but not yet taken advantage of
(ntoskrnl\ke\i386\patpge.c:46) Global page support detected but not yet taken advantage of
(ntoskrnl\ke\i386\patpge.c:60) PAT support detected but not yet taken advantage of
(ntoskrnl\ke\i386\cpu.c:1049) Support for SYSENTER detected.
(ntoskrnl\mm\mminit.c:243)           0x80000000 - 0x81C00000	Boot Loaded Image
(ntoskrnl\mm\mminit.c:247)           0xB0000000 - 0xB0601000	PFN Database
(ntoskrnl\mm\mminit.c:251)           0xB0601000 - 0xB2569000	ARM³ Non Paged Pool
(ntoskrnl\mm\mminit.c:255)           0xBC000000 - 0xBD000000	System View Space
(ntoskrnl\mm\mminit.c:259)           0xBD000000 - 0xC0000000	Session Space
(ntoskrnl\mm\mminit.c:262)           0xC0000000 - 0xC0300000	Page Tables
(ntoskrnl\mm\mminit.c:265)           0xC0300000 - 0xC0400000	Page Directories
(ntoskrnl\mm\mminit.c:268)           0xC0400000 - 0xC0800000	Hyperspace
(ntoskrnl\mm\mminit.c:272)           0xE1000000 - 0xF2400000	ARM³ Paged Pool
(ntoskrnl\mm\mminit.c:275)           0xF2400000 - 0xF7BE0000	System PTE Space
(ntoskrnl\mm\mminit.c:278)           0xF7BE0000 - 0xFFBE0000	Non Paged Pool Expansion PTE Space
(hal\halx86\generic\legacy\bussupp.c:620) Found parent bus (indicating PCI Bridge). PCI devices may fail!

====== PCI BUS HARDWARE DETECTION =======

00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: latency 0

00:01.0 ISA bridge [0601]:  82371SB PIIX3 ISA [Natoma/Triton [8086:7000] (rev 00)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: bus master, medium devsel, latency 0

00:01.1 IDE interface [0101]:  82371SB PIIX3 IDE [Natoma/Triton [8086:7010] (rev 00)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: medium devsel, latency 0
	I/O ports at c000 [size=16K]

00:01.3 Secondary bus towards host CPU [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: medium devsel, latency 0, IRQ 09
	Device is using IRQ 9! ISA Cards using that IRQ may fail!

00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8] (rev 00)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: latency 0
	Memory at f0000000 (32-bit, prefetchable) [size=256M]
	Memory at f2000000 (32-bit, non-prefetchable) [size=32M]

00:03.0 Ethernet controller [0200]:  82540EM Gigabit Ethernet Control [8086:100e] (rev 03)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: latency 0, IRQ 11
	Memory at f2020000 (32-bit, non-prefetchable) [size=128K]
	I/O ports at c040 [size=64]
	Device is using IRQ 11! ISA Cards using that IRQ may fail!

====== PCI BUS DETECTION COMPLETE =======

PC Compatible Eisa/Isa HAL Detected
(hal\halx86\generic\legacy\bus\sysbus.c:109) Translation of cf800 failed!
(ntoskrnl\io\pnpmgr\pnpinit.c:403) Need to build DACL
(ntoskrnl\io\iomgr\iorsrce.c:882) IoReportResourceUsage is halfplemented!
(ntoskrnl\io\iomgr\iorsrce.c:882) IoReportResourceUsage is halfplemented!
(ntoskrnl\io\iomgr\driver.c:1540) '\Driver\buslogic' initialization failed, status (0xc00000c0)
(ntoskrnl\io\iomgr\driver.c:1540) '\Driver\floppy' initialization failed, status (0xc000000e)
(ntoskrnl\fstub\fstubex.c:561) FSTUB: DRIVE_LAYOUT_INFORMATION_EX: B24BC218
(ntoskrnl\fstub\fstubex.c:570) Signature: 4e554e55
(ntoskrnl\fstub\fstubex.c:602) Printing partition 0
(ntoskrnl\fstub\fstubex.c:607)   StartingOffset: 7e00
(ntoskrnl\fstub\fstubex.c:608)   PartitionLength: 13f291800
(ntoskrnl\fstub\fstubex.c:609)   RewritePartition: 0
(ntoskrnl\fstub\fstubex.c:610)   PartitionType: 0b
(ntoskrnl\fstub\fstubex.c:611)   BootIndicator: 1
(ntoskrnl\fstub\fstubex.c:612)   RecognizedPartition: 1
(ntoskrnl\fstub\fstubex.c:613)   HiddenSectors: 63
(ntoskrnl\fstub\fstubex.c:602) Printing partition 1
(ntoskrnl\fstub\fstubex.c:607)   StartingOffset: 0
(ntoskrnl\fstub\fstubex.c:608)   PartitionLength: 0
(ntoskrnl\fstub\fstubex.c:609)   RewritePartition: 0
(ntoskrnl\fstub\fstubex.c:610)   PartitionType: 00
(ntoskrnl\fstub\fstubex.c:611)   BootIndicator: 0
(ntoskrnl\fstub\fstubex.c:612)   RecognizedPartition: 0
(ntoskrnl\fstub\fstubex.c:613)   HiddenSectors: 0
(ntoskrnl\fstub\fstubex.c:602) Printing partition 2
(ntoskrnl\fstub\fstubex.c:607)   StartingOffset: 0
(ntoskrnl\fstub\fstubex.c:608)   PartitionLength: 0
(ntoskrnl\fstub\fstubex.c:609)   RewritePartition: 0
(ntoskrnl\fstub\fstubex.c:610)   PartitionType: 00
(ntoskrnl\fstub\fstubex.c:611)   BootIndicator: 0
(ntoskrnl\fstub\fstubex.c:612)   RecognizedPartition: 0
(ntoskrnl\fstub\fstubex.c:613)   HiddenSectors: 0
(ntoskrnl\fstub\fstubex.c:602) Printing partition 3
(ntoskrnl\fstub\fstubex.c:607)   StartingOffset: 0
(ntoskrnl\fstub\fstubex.c:608)   PartitionLength: 0
(ntoskrnl\fstub\fstubex.c:609)   RewritePartition: 0
(ntoskrnl\fstub\fstubex.c:610)   PartitionType: 00
(ntoskrnl\fstub\fstubex.c:611)   BootIndicator: 0
(ntoskrnl\fstub\fstubex.c:612)   RecognizedPartition: 0
(ntoskrnl\fstub\fstubex.c:613)   HiddenSectors: 0
(ntoskrnl\io\iomgr\arcname.c:338) Boot device found
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 1
(ntoskrnl\fstub\disksup.c:253) ZwOpenSymbolicLinkObject failed for \ArcName\multi(0)disk(0)rdisk(1), status=c0000034
(ntoskrnl\fstub\disksup.c:253) ZwOpenSymbolicLinkObject failed for \ArcName\multi(0)disk(0)rdisk(1), status=c0000034
(ntoskrnl\ex\init.c:1914) Free non-cache pages: 3bd02
(ARM³::LOADER:168) Loading: \SystemRoot\pci.sys at F71D3000 with 60 pages
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 1
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 11f
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 9
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 116
(ntoskrnl\ex\init.c:1961) Free non-cache pages: 3bc5b
(ARM³::ZEROPAGE:41) Free non-cache pages: 3bc5b
Boot took 352878422265 cycles!
Interrupts: 51751 System Calls: 16368 Context Switches: 1011
(base\setup\usetup\bootsup.c:2137) No or unknown boot loader found
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 9
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 9
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 116
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 9
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 116
(ntoskrnl\ex\shutdown.c:45) Setting state to: 5
(ntoskrnl\po\power.c:693) ERROR: Privilege not held for shutdown
(ntoskrnl\po\power.c:705) Stopping lazy flush
(ntoskrnl\po\power.c:713) Notifying callbacks
(ntoskrnl\po\power.c:717) Swapping worker threads
(ntoskrnl\po\power.c:755) Flushing volumes, cache flushed 128 pages
(ntoskrnl\po\povolume.c:205) Opening registry
(ntoskrnl\po\povolume.c:215) Flushing registry
WARNING:  HvpWriteLog at lib\cmlib\hivewrt.c:26 is UNIMPLEMENTED!
WARNING:  HvpWriteLog at lib\cmlib\hivewrt.c:26 is UNIMPLEMENTED!
WARNING:  HvpWriteLog at lib\cmlib\hivewrt.c:26 is UNIMPLEMENTED!
WARNING:  HvpWriteLog at lib\cmlib\hivewrt.c:26 is UNIMPLEMENTED!
WARNING:  HvpWriteLog at lib\cmlib\hivewrt.c:26 is UNIMPLEMENTED!
WARNING:  HvpWriteLog at lib\cmlib\hivewrt.c:26 is UNIMPLEMENTED!
WARNING:  HvpWriteLog at lib\cmlib\hivewrt.c:26 is UNIMPLEMENTED!
(ntoskrnl\po\povolume.c:306) Local flush
(ntoskrnl\po\povolume.c:143) Opening: \Device\Harddisk0\Partition1
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 3
(ntoskrnl\po\povolume.c:163) Sending flush to: 8000042c
(ntoskrnl\po\povolume.c:310) Waiting for flushes
(ntoskrnl\po\povolume.c:312) Flushes have completed
(ntoskrnl\po\power.c:762) Queueing shutdown thread
(ntoskrnl\po\poshtdwn.c:134)        smss.exe is still RUNNING (48)
(ntoskrnl\po\poshtdwn.c:142) HAL shutting down
(ntoskrnl\po\poshtdwn.c:146) I/O manager shutting down in phase 0
(ntoskrnl\po\poshtdwn.c:150) Configuration Manager shutting down
WARNING:  HvpWriteLog at lib\cmlib\hivewrt.c:26 is UNIMPLEMENTED!
WARNING:  HvpWriteLog at lib\cmlib\hivewrt.c:26 is UNIMPLEMENTED!
(ntoskrnl\po\poshtdwn.c:156) I/O manager shutting down in phase 1
WARNING:  CcWaitForCurrentLazyWriterActivity at ntoskrnl\cc\copy.c:576 is UNIMPLEMENTED!
(ntoskrnl\po\poshtdwn.c:167) Disabling wake timers
(ntoskrnl\po\poshtdwn.c:171) Taking the system down
(ntoskrnl\po\poshtdwn.c:73) It's the final countdown...5
(ntoskrnl\kd\kdio.c:298) -----------------------------------------------------
(ntoskrnl\kd\kdio.c:299) ReactOS 0.4-SVN (Build 20101111-rUNKNOWN)
(ntoskrnl\kd\kdio.c:300) Command Line: /DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS
(ntoskrnl\kd\kdio.c:304) ARC Paths: multi(0)disk(0)rdisk(0)partition(1) \ multi(0)disk(0)rdisk(0)partition(1) \ReactOS\
(ntoskrnl\ke\i386\cpu.c:776) Prefetch Cache: 64 bytes	L2 Cache: 2097152 bytes	L2 Cache Line: 64 bytes	L2 Cache Associativity: 8
(ARM³::INIT:1224) HAL I/O Mapping at FFFE0000 is unsafe
(ntoskrnl\ke\i386\kiinit.c:54) Large Page support detected but not yet taken advantage of
(ntoskrnl\ke\i386\patpge.c:46) Global page support detected but not yet taken advantage of
(ntoskrnl\ke\i386\patpge.c:60) PAT support detected but not yet taken advantage of
(ntoskrnl\ke\i386\cpu.c:1049) Support for SYSENTER detected.
(ntoskrnl\mm\mminit.c:243)           0x80000000 - 0x81800000	Boot Loaded Image
(ntoskrnl\mm\mminit.c:247)           0xB0000000 - 0xB0601000	PFN Database
(ntoskrnl\mm\mminit.c:251)           0xB0601000 - 0xB2571000	ARM³ Non Paged Pool
(ntoskrnl\mm\mminit.c:255)           0xBC000000 - 0xBD000000	System View Space
(ntoskrnl\mm\mminit.c:259)           0xBD000000 - 0xC0000000	Session Space
(ntoskrnl\mm\mminit.c:262)           0xC0000000 - 0xC0300000	Page Tables
(ntoskrnl\mm\mminit.c:265)           0xC0300000 - 0xC0400000	Page Directories
(ntoskrnl\mm\mminit.c:268)           0xC0400000 - 0xC0800000	Hyperspace
(ntoskrnl\mm\mminit.c:272)           0xE1000000 - 0xF2400000	ARM³ Paged Pool
(ntoskrnl\mm\mminit.c:275)           0xF2400000 - 0xF7BE0000	System PTE Space
(ntoskrnl\mm\mminit.c:278)           0xF7BE0000 - 0xFFBE0000	Non Paged Pool Expansion PTE Space
(hal\halx86\generic\legacy\bussupp.c:620) Found parent bus (indicating PCI Bridge). PCI devices may fail!

====== PCI BUS HARDWARE DETECTION =======

00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: latency 0
	Device has Extended Address Decoding. It may fail to work on older BIOSes!

00:01.0 ISA bridge [0601]:  82371SB PIIX3 ISA [Natoma/Triton [8086:7000] (rev 00)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: bus master, medium devsel, latency 0

00:01.1 IDE interface [0101]:  82371SB PIIX3 IDE [Natoma/Triton [8086:7010] (rev 00)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: medium devsel, latency 0
	I/O ports at c000 [size=16K]

00:01.3 Secondary bus towards host CPU [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: medium devsel, latency 0, IRQ 09
	Device is using IRQ 9! ISA Cards using that IRQ may fail!

00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8] (rev 00)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: latency 0
	Memory at f0000000 (32-bit, prefetchable) [size=256M]
	Memory at f2000000 (32-bit, non-prefetchable) [size=32M]

00:03.0 Ethernet controller [0200]:  82540EM Gigabit Ethernet Control [8086:100e] (rev 03)
	Subsystem: Qemu virtual machine [1af4:1100]
	Flags: latency 0, IRQ 11
	Memory at f2020000 (32-bit, non-prefetchable) [size=128K]
	I/O ports at c040 [size=64]
	Device is using IRQ 11! ISA Cards using that IRQ may fail!

====== PCI BUS DETECTION COMPLETE =======

PC Compatible Eisa/Isa HAL Detected
(hal\halx86\generic\legacy\bus\sysbus.c:109) Translation of cf800 failed!
(ntoskrnl\io\iomgr\iorsrce.c:882) IoReportResourceUsage is halfplemented!
(ntoskrnl\io\iomgr\iorsrce.c:882) IoReportResourceUsage is halfplemented!
(ntoskrnl\io\iomgr\driver.c:1540) '\Driver\BUSLOGIC' initialization failed, status (0xc00000c0)
(ntoskrnl\fstub\fstubex.c:561) FSTUB: DRIVE_LAYOUT_INFORMATION_EX: B253D008
(ntoskrnl\fstub\fstubex.c:570) Signature: 4e554e55
(ntoskrnl\fstub\fstubex.c:602) Printing partition 0
(ntoskrnl\fstub\fstubex.c:607)   StartingOffset: 7e00
(ntoskrnl\fstub\fstubex.c:608)   PartitionLength: 13f291800
(ntoskrnl\fstub\fstubex.c:609)   RewritePartition: 0
(ntoskrnl\fstub\fstubex.c:610)   PartitionType: 0b
(ntoskrnl\fstub\fstubex.c:611)   BootIndicator: 1
(ntoskrnl\fstub\fstubex.c:612)   RecognizedPartition: 1
(ntoskrnl\fstub\fstubex.c:613)   HiddenSectors: 63
(ntoskrnl\fstub\fstubex.c:602) Printing partition 1
(ntoskrnl\fstub\fstubex.c:607)   StartingOffset: 0
(ntoskrnl\fstub\fstubex.c:608)   PartitionLength: 0
(ntoskrnl\fstub\fstubex.c:609)   RewritePartition: 0
(ntoskrnl\fstub\fstubex.c:610)   PartitionType: 00
(ntoskrnl\fstub\fstubex.c:611)   BootIndicator: 0
(ntoskrnl\fstub\fstubex.c:612)   RecognizedPartition: 0
(ntoskrnl\fstub\fstubex.c:613)   HiddenSectors: 0
(ntoskrnl\fstub\fstubex.c:602) Printing partition 2
(ntoskrnl\fstub\fstubex.c:607)   StartingOffset: 0
(ntoskrnl\fstub\fstubex.c:608)   PartitionLength: 0
(ntoskrnl\fstub\fstubex.c:609)   RewritePartition: 0
(ntoskrnl\fstub\fstubex.c:610)   PartitionType: 00
(ntoskrnl\fstub\fstubex.c:611)   BootIndicator: 0
(ntoskrnl\fstub\fstubex.c:612)   RecognizedPartition: 0
(ntoskrnl\fstub\fstubex.c:613)   HiddenSectors: 0
(ntoskrnl\fstub\fstubex.c:602) Printing partition 3
(ntoskrnl\fstub\fstubex.c:607)   StartingOffset: 0
(ntoskrnl\fstub\fstubex.c:608)   PartitionLength: 0
(ntoskrnl\fstub\fstubex.c:609)   RewritePartition: 0
(ntoskrnl\fstub\fstubex.c:610)   PartitionType: 00
(ntoskrnl\fstub\fstubex.c:611)   BootIndicator: 0
(ntoskrnl\fstub\fstubex.c:612)   RecognizedPartition: 0
(ntoskrnl\fstub\fstubex.c:613)   HiddenSectors: 0
(ntoskrnl\io\iomgr\iorsrce.c:725) Failed opening given symbolic link!
(ARM³::LOADER:168) Loading: \SystemRoot\System32\DRIVERS\pci.sys at F7477000 with 60 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\floppy.sys at F741C000 with 5b pages
(ntoskrnl\io\iomgr\driver.c:1540) '\Driver\FLOPPY' initialization failed, status (0xc000000e)
(ARM³::LOADER:929) Leaking driver: floppy.sys
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\cdrom.sys at F73A9000 with 6f pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\fs_rec.sys at F7346000 with 63 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\usbdriver.sys at F725D000 with e9 pages
wood_uhci: Entering DriverEntry(), RegistryPath=
    \Registry\Machine\System\CurrentControlSet\Services\USBDRIVER
Found 0 EHCI controllers
Found 0 UHCI controllers
(ntoskrnl\io\iomgr\driver.c:1540) '\Driver\USBDRIVER' initialization failed, status (0xc0000001)
(ARM³::LOADER:929) Leaking driver: usbdriver.sys
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\null.sys at F7219000 with 44 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\beep.sys at F71D5000 with 44 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\mouclass.sys at F7121000 with b4 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\kbdclass.sys at F706D000 with b4 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\blue.sys at F7024000 with 49 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\vbemp.sys at F700D000 with 17 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\videoprt.sys at F6F67000 with a6 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\npfs.sys at F6F02000 with 65 pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\msfs.sys at F6EA6000 with 5c pages
(ARM³::LOADER:168) Loading: \SystemRoot\system32\drivers\afd.sys at F6DC4000 with e2 pages
(ntoskrnl\io\iomgr\file.c:420) Using IopParseDevice() hack. Requested invalid attributes: 1
(ntoskrnl\ex\init.c:1914) Free non-cache pages: 3b74e
(./base/system/smss/initwkdll.c:195) NtOpenFile failed (Status c000003a)
(./base/system/smss/init.c:55) SM: InitSessionManager: failed to preload system DLLs (Status=c000003a)
(ntoskrnl\ex\init.c:1961) Free non-cache pages: 3b724
(ARM³::ZEROPAGE:41) Free non-cache pages: 3b724
Boot took 22117270185 cycles!
Interrupts: 1067 System Calls: 4269 Context Switches: 100
(dll\ntdll\ldr\utils.c:2358) Relocating (400000 -> 00330000) C:\ReactOS\system32\csrsrv.dll
(ntoskrnl\ps\query.c:1148) Not implemented: ProcessBasePriority
(subsystems\win32\csrss\csrsrv\init.c:593) SM: CsrpLoadKernelModeDriver called
(ARM³::LOADER:168) Loading: \SYSTEMROOT\system32\win32k.sys at F68F4000 with 4ac pages
(ARM³::LOADER:168) Loading: \SYSTEMROOT\system32\ftfd.dll at F6677000 with 27d pages
(ARM³::LOADER:168) Loading: \SystemRoot\System32\kbdus.dll at F65E1000 with 96 pages
(subsystems\win32\win32k\main\dllmain.c:257) No Desktop handle for this Thread!
(subsystems\win32\win32k\main\dllmain.c:288) No TEB for this Thread!
(dll\ntdll\ldr\utils.c:2358) Relocating (7c700000 -> 00BE0000) C:\ReactOS\system32\kernel32.dll
(subsystems\win32\csrss\csrsrv\api\wapi.c:99) CSR: Unknown request type 0x10004
(dll\win32\kernel32\misc\dllmain.c:216) CSR Failed to give us a console
(dll\ntdll\ldr\utils.c:2358) Relocating (77dc0000 -> 00F53000) C:\ReactOS\System32\advapi32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (78000000 -> 011D9000) C:\ReactOS\System32\msvcrt.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77fb0000 -> 01542000) C:\ReactOS\System32\dnsapi.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (6b3a0000 -> 01696000) C:\ReactOS\System32\secur32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77f70000 -> 01792000) C:\ReactOS\System32\gdi32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76320000 -> 0190E000) C:\ReactOS\System32\imm32.dll
(subsystems\win32\win32k\main\dllmain.c:257) No Desktop handle for this Thread!
(subsystems\win32\win32k\ntuser\sysparams.c:1497) UserSystemParametersInfo called without active windowstation.
(subsystems\win32\win32k\ntuser\ntuser.c:144) Enter NtUserInitialize(0, 00000000, 00000000)
(subsystems\win32\win32k\ntuser\display.c:85) InitDisplayDriver(\Device\Video0, \Registry\Machine\System\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\VBE\Device0);
(subsystems\win32\win32k\eng\device.c:127) trying driver: framebuf
(ARM³::LOADER:168) Loading: \SystemRoot\System32\framebuf.dll at F6572000 with 4f pages
(subsystems\win32\win32k\eng\device.c:200) Found default entry: 5 'framebuf'
(subsystems\win32\win32k\eng\device.c:200) Found default entry: 9 'framebuf'
(subsystems\win32\win32k\eng\device.c:224) Prepared 15 modes for <unknown>
err:(dll\win32\user32\misc\dllmain.c:369) GetConnected
(subsystems\win32\win32k\ntuser\desktop.c:576) RtlQueryRegistryValues failed for PaintDesktopVersion (c0000034)
(subsystems\win32\win32k\ntuser\hook.c:909) Kill Thread Hooks pti 0xb2230d70 pdo 0x0
(dll\ntdll\ldr\utils.c:2358) Relocating (7c700000 -> 008D0000) C:\ReactOS\system32\kernel32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (78000000 -> 00C43000) C:\ReactOS\system32\msvcrt.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77fb0000 -> 00FAC000) C:\ReactOS\system32\dnsapi.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77e50000 -> 01100000) C:\ReactOS\system32\user32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77f70000 -> 013BE000) C:\ReactOS\system32\gdi32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76320000 -> 0153A000) C:\ReactOS\system32\imm32.dll
(subsystems\win32\win32k\main\dllmain.c:257) No Desktop handle for this Thread!
(subsystems\win32\win32k\ntuser\sysparams.c:1497) UserSystemParametersInfo called without active windowstation.
(dll\ntdll\ldr\utils.c:2358) Relocating (76100000 -> 025D0000) C:\ReactOS\System32\shlwapi.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76230000 -> 02A17000) C:\ReactOS\System32\comdlg32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76170000 -> 02E44000) C:\ReactOS\System32\comctl32.dll
(subsystems\win32\win32k\ntuser\input.c:249) 
Mouse Thread 0xb233a310 
(subsystems\win32\win32k\main\dllmain.c:288) No TEB for this Thread!
(subsystems\win32\win32k\ntuser\input.c:912) 
Raw Input Thread 0xb21c4650 
(subsystems\win32\win32k\main\dllmain.c:288) No TEB for this Thread!
(subsystems\win32\win32k\ntuser\input.c:549) 
Keyboard Thread 0xb21c44f8 
(dll\ntdll\ldr\utils.c:2358) Relocating (77a50000 -> 032B5000) C:\ReactOS\System32\ole32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (6b3c0000 -> 03799000) C:\ReactOS\System32\urlmon.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76600000 -> 03AA7000) C:\ReactOS\System32\midimap.dll
err:(dll\win32\shell32\shellpath.c:1468) Failed to create directory L"%USERPROFILE%\\Local Settings\\Temporary Internet Files".
err:(dll\win32\wininet\urlcache.c:551) Couldn't get path for default container 0
err:(dll\win32\shell32\shellpath.c:1468) Failed to create directory L"%USERPROFILE%\\Local Settings\\History".
err:(dll\win32\wininet\urlcache.c:551) Couldn't get path for default container 1
err:(dll\win32\shell32\shellpath.c:1468) Failed to create directory L"%USERPROFILE%\\Cookies".
err:(dll\win32\wininet\urlcache.c:551) Couldn't get path for default container 2
(subsystems\win32\win32k\eng\pdevobj.c:269) Using iDefaultMode = 9
(subsystems\win32\win32k\eng\pdevobj.c:120) PDEVOBJ_bEnablePDEV()
(subsystems\win32\win32k\eng\pdevobj.c:149) PDEVOBJ_bEnablePDEV - dhpdev = E115E180
fixme:(dll\win32\user32\windows\cursoricon.c:1008) Copying from resource isn't implemented yet
fixme:(dll\win32\user32\windows\cursoricon.c:1008) Copying from resource isn't implemented yet
fixme:(dll\win32\user32\windows\cursoricon.c:1008) Copying from resource isn't implemented yet
fixme:(dll\win32\user32\windows\cursoricon.c:1008) Copying from resource isn't implemented yet
(dll\ntdll\ldr\utils.c:2358) Relocating (76610000 -> 03E51000) C:\ReactOS\System32\msacm32.drv
(subsystems\win32\win32k\ntuser\window.c:2127) co_UserCreateWindowEx(): NCCREATE message failed
(subsystems\win32\win32k\ntuser\hook.c:909) Kill Thread Hooks pti 0xb21fce90 pdo 0x0
(subsystems\win32\win32k\ntuser\desktop.c:1105) Failed to create Message window handle
(subsystems\win32\win32k\ntuser\window.c:2127) co_UserCreateWindowEx(): NCCREATE message failed
(subsystems\win32\win32k\ntuser\hook.c:909) Kill Thread Hooks pti 0xb21fce90 pdo 0x0
(subsystems\win32\win32k\ntuser\desktop.c:1105) Failed to create Message window handle
(subsystems\win32\win32k\ntuser\window.c:2127) co_UserCreateWindowEx(): NCCREATE message failed
(subsystems\win32\win32k\ntuser\hook.c:909) Kill Thread Hooks pti 0xb21fce90 pdo 0x0
(subsystems\win32\win32k\ntuser\desktop.c:1105) Failed to create Message window handle
(dll\ntdll\ldr\utils.c:2358) Relocating (7c700000 -> 008C0000) C:\ReactOS\System32\kernel32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (78000000 -> 00C33000) C:\ReactOS\System32\msvcrt.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77fb0000 -> 00F9C000) C:\ReactOS\System32\dnsapi.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (7c700000 -> 008B0000) C:\ReactOS\System32\kernel32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (78000000 -> 00C23000) C:\ReactOS\System32\msvcrt.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77fb0000 -> 00F8C000) C:\ReactOS\System32\dnsapi.dll
(subsystems\win32\win32k\objects\device.c:45) IntCreatePrimarySurface, pPrimarySurface=E115E200, pPrimarySurface->pSurface = E1163E58
(dll\ntdll\ldr\utils.c:2358) Relocating (76100000 -> 02001000) C:\ReactOS\System32\shlwapi.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76230000 -> 02448000) C:\ReactOS\System32\comdlg32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76170000 -> 02875000) C:\ReactOS\System32\comctl32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77e50000 -> 010F0000) C:\ReactOS\System32\user32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77f70000 -> 013AE000) C:\ReactOS\System32\gdi32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76320000 -> 0152A000) C:\ReactOS\System32\imm32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77e50000 -> 010E0000) C:\ReactOS\System32\user32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77f70000 -> 0139E000) C:\ReactOS\System32\gdi32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76320000 -> 0151A000) C:\ReactOS\System32\imm32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (77a50000 -> 02CE6000) C:\ReactOS\System32\ole32.dll
(ntoskrnl\ke\i386\exp.c:1089) Kill services.exe, ExceptionCode: c0000005, ExceptionAddress: 908b4d, BaseAddress: 400000
(ntoskrnl\ke\i386\exp.c:1089) Kill lsass.exe, ExceptionCode: c000001d, ExceptionAddress: 908b4b, BaseAddress: 400000
(dll\ntdll\ldr\utils.c:2358) Relocating (6a360000 -> 031CA000) C:\ReactOS\System32\shell32.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (6b3c0000 -> 04210000) C:\ReactOS\System32\urlmon.dll
(dll\ntdll\ldr\utils.c:2358) Relocating (76600000 -> 0451E000) C:\ReactOS\System32\midimap.dll
err:(dll\win32\shell32\shellpath.c:1468) Failed to create directory L"%USERPROFILE%\\Local Settings\\Temporary Internet Files".
err:(dll\win32\wininet\urlcache.c:551) Couldn't get path for default container 0
err:(dll\win32\shell32\shellpath.c:1468) Failed to create directory L"%USERPROFILE%\\Local Settings\\History".
err:(dll\win32\wininet\urlcache.c:551) Couldn't get path for default container 1
err:(dll\win32\shell32\shellpath.c:1468) Failed to create directory L"%USERPROFILE%\\Cookies".
err:(dll\win32\wininet\urlcache.c:551) Couldn't get path for default container 2
fixme:(dll\win32\user32\windows\cursoricon.c:1008) Copying from resource isn't implemented yet
fixme:(dll\win32\user32\windows\cursoricon.c:1008) Copying from resource isn't implemented yet
fixme:(dll\win32\user32\windows\cursoricon.c:1008) Copying from resource isn't implemented yet
fixme:(dll\win32\user32\windows\cursoricon.c:1008) Copying from resource isn't implemented yet
(dll\ntdll\ldr\utils.c:2358) Relocating (76610000 -> 04901000) C:\ReactOS\System32\msacm32.drv
hto
Developer
Posts: 2193
Joined: Sun Oct 01, 2006 3:43 pm

Re: gdb drivers: load address for kernel mode components

Post by hto »

1. Run QEMU with -s option (and -S, if necessary, but I usually don't use it). -s is not strictly needed, either (you can enter gdbserver in QEMU console).
2. Run GDB, attach it to QEMU with target remote :1234. set remotebaud 115200 is not needed. QEMU will stop (with -S it stops immediately after start).
3. To resume QEMU, enter c (or cont) in GDB or in QEMU console. To stop it, press Ctrl-C in GDB or enter stop in QEMU console.

And it will not break in KdpSerialInit(); you should insert breakpoint(s) yourself wherever you want.
q4a
Posts: 114
Joined: Tue Apr 17, 2007 7:23 am

Re: gdb drivers: load address for kernel mode components

Post by q4a »

hto wrote:1. Run QEMU with -s option (and -S, if necessary, but I usually don't use it). -s is not strictly needed, either (you can enter gdbserver in QEMU console).
2. Run GDB, attach it to QEMU with target remote :1234. set remotebaud 115200 is not needed. QEMU will stop (with -S it stops immediately after start).
3. To resume QEMU, enter c (or cont) in GDB or in QEMU console. To stop it, press Ctrl-C in GDB or enter stop in QEMU console.
Thx again. It seems, that i have problems with breaking NTAPI functions(in says "Function "KdpSerialInit" not defined."), but with other functions like KdbpTryGetCharKeyboard(ntoskrnl/kdbg/kdb_keyboard.c:107) it works fine.
Anyway i can use "break ntoskrnl\kd\kdio.c:272" instead of "break KdpSerialInit" and it works for me =)

And by the way Ctrl-C abort all gdb session in MinGW Shell, but in Windows's cmd it works fine. If somebody interested - my gdb-log:

Code: Select all

(gdb) symbol-file E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .text
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .data
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .idata
BFD: E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.exe: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss
Reading symbols from E:/ros/trunk/reactos/output-i386/ntoskrnl/ntoskrnl.nostrip.
exe...done.
(gdb) target remote :1234
Remote debugging using :1234
0x0000fff0 in ?? ()
(gdb) break KdbpTryGetCharKeyboard
Breakpoint 1 at 0x8087b72c: file ntoskrnl/kdbg/kdb_keyboard.c, line 107.
(gdb) info functions KdpSerialInit
All functions matching regular expression "KdpSerialInit":

File ntoskrnl/kd/kdio.c:
void KdpSerialInit@8(PKD_DISPATCH_TABLE, ULONG);
(gdb) break KdpSerialInit
Function "KdpSerialInit" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) break KdpSerialInit@8
Function "KdpSerialInit" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) break ntoskrnl\kd\kdio.c:272
Breakpoint 2 at 0x8087dbb3: file ntoskrnl/kd/kdio.c, line 272.
(gdb) cont
Continuing.

Breakpoint 2, KdpSerialInit@8 (DispatchTable=0x80968c28, BootPhase=0)
    at ntoskrnl/kd/kdio.c:274
274     {
(gdb)
ADD: hto, don't you know how to call kdbg in 1st stage of installing ros? I tried to use TAB-K and i see "kdb:>" in output file, but i can't execute any command. It seems freeze.
But when i using TAB-K on installed ros - it works great and i can use "bt" and other kdb's commands.
hto
Developer
Posts: 2193
Joined: Sun Oct 01, 2006 3:43 pm

Re: gdb drivers: load address for kernel mode components

Post by hto »

Sorry, I misread your 2nd post.

These problems look like bugs in GDB (can't break in NTAPI functions) and in ReactOS (KDB in the 1st stage). Maybe you will want to debug them.
Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests