Actually, to enable attach, I had to make ptrace more permissive:
https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace_Protection
by doing "echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope"
To run it under eclipse I had to choose Traditional Attach to process
instead of DSF.
On
Attach works. Thanks!
So, you didn't try to build wine? Installed wine also works for me.
On Sat, Jul 07, 2012 at 01:25:12PM +0300, John Yani wrote:
> I tried "WINELOADER=./wine winedbg --gdb notepad"
>
> And its output is the same as "./wine winedbg --gdb notepad"
Well, i have a installed wine... but doing this there:
wine winedbg.exe --gdb notepad.exe
0042:0043: create process 'C
Maybe it's because I'm building on chrooted Ubuntu x32 and run on Ubuntu x64?
I tried "WINELOADER=./wine winedbg --gdb notepad"
And its output is the same as "./wine winedbg --gdb notepad"
Unfortunately, it doesn't work:
./wine winedbg --gdb notepad.exe
err:module:LdrInitializeThunk Main exe initialization for
L"C:\\windows\\system32\\notepad.exe" failed, status c022
0023:0024: create process ''/0x1106c0 @0x7ebe233c (0<0>)
fixme:dbghelp:EnumerateLoadedModulesW64 If this happens,
On Sat, Jul 07, 2012 at 01:11:42PM +0300, John Yani wrote:
> Did you mean './wine winedbg --gdb notepad'? Because I can't find winedbg
> binary.
This would be the same. There usually is a "winedbg" wrapper installed
that does the same, but for all purposes its the same thing.
Ciao, Marcus
Did you mean './wine winedbg --gdb notepad'? Because I can't find winedbg
binary.
On Sat, Jul 07, 2012 at 12:17:00AM +0300, John Yani wrote:
> I tried to run wine under gdb and failed. Using multiprocess gdb I
> endup with weird trace:
>
> 0xf7ffd430
> 0x7bc846f9
> 0x7bc8480f
> 0x7bc84855
> 0x7bc42a94
> 0x7bc433b1
> 0x7b8772f7
> 0x7ebab89b
> 0x7b
I tried to run wine under gdb and failed. Using multiprocess gdb I
endup with weird trace:
0xf7ffd430
0x7bc846f9
0x7bc8480f
0x7bc84855
0x7bc42a94
0x7bc433b1
0x7b8772f7
0x7ebab89b
0x7bc80014
0x7bc8005d
Where 0x7** addresses are not co
11 matches
Mail list logo