Alexander Gottwald wrote:
Compile xkbcomp from sources and run it in gdb.I've now built a debug build of XFree86 4.2.0. How do I run xkbcomp.exe in gdb? I tried:
gdb "/etc/X11/xkb/xkbcomp.exe -xkm -m de /etc/X11/xkb/keymap/xfree86 /tmp/de.xkm"
But when I then click on the run icon (or press R), I get the "Open File" dialog. When I run 'gdb /etc/X11/xkb/xkbcomp.exe', I can push the Run icon just fine. I then see, that a window pops up but closes right away.
Hmm....
I now tried to start 'gdb /etc/X11/xkb/xkbcomp.exe'. Then I opened the Console and entered "run -xkm -m de /etc/X11/xkb/keymap/xfree86 /tmp/de.xkm". I now get this output in the Console window:
Starting program: /etc/X11/xkb/xkbcomp.exe -xkm -m de /etc/X11/xkb/keymap/xfree86 /tmp/de.xkm
Program received signal SIGSEGV, Segmentation fault.
0x0040f93e in _size_of_stack_reserve__ ()
Single stepping until exit from function _size_of_stack_reserve__,
which has no line number information.
0x77fa4db3 in _libuser32_a_iname ()
(gdb) backtrace
#0 0x77fa4db3 in _libuser32_a_iname ()
#1 0x0022efe8 in ?? ()
#2 0x0040d768 in _size_of_stack_reserve__ ()
#3 0x00404bf2 in _size_of_stack_reserve__ ()
#4 0x610072e8 in _size_of_stack_reserve__ ()
#5 0x610075cd in _size_of_stack_reserve__ ()
#6 0x0044c6c2 in _size_of_stack_reserve__ ()
#7 0x0040103c in _size_of_stack_reserve__ ()
#8 0x77e614c7 in _libuser32_a_iname ()
Should I do something else?
Thanks,
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (en)
Homepage: http://www.iso-top.biz | Jabber: [EMAIL PROTECTED]
iso-top.biz - Die günstige Art an Linux Distributionen zu kommen