debugging problem - winedbg: single stepping until exit from function, which has no line number information

2007-05-17 Thread marcel busse
hello i'm on a project with wine but i can't get it debugged. not even a small hello world. here is the output of the hello world. My system opensuse 10.2 anyone help plz? Winedbg - Output: [EMAIL PROTECTED]:~/prog/m5/m5/debug/src winedbg m5.exe.so preloader: Warning: failed to reserve range

Re: x11drv: XDND: Fix file drop to properly support file:/// URIs(debugging problem)

2007-03-22 Thread Robert Shearman
Dmitry Timoshkov wrote: -strcpy(((char*)lpDrop)+lpDrop-pFiles, path); +memcpy(((char*)lpDrop)+lpDrop-pFiles, (char*)wpath, fullpathlen * sizeof(WCHAR)); Use lstrcpyW here instead of memcpy. Why? Maciej has already got the length, so why not do the appropriate calculation

Re: x11drv: XDND: Fix file drop to properly support file:/// URIs(debugging problem)

2007-03-22 Thread Maciej Katafiasz
On tor, 2007-03-22 at 12:02 +0800, Dmitry Timoshkov wrote: Please use the same indentation style as the existing does, i.e. 4 spaces, not 2. Yep, I didn't fix that in that patch, I just forgot to set the indent style properly, and it's not a patch ready for submission anyway. But noted. +

Re: x11drv: XDND: Fix file drop to properly support file:/// URIs(debugging problem)

2007-03-22 Thread Felix Nawothnig
Maciej Katafiasz wrote: +if(GetLastError()) +{ + TRACE(Can't convert to WCHAR: %d\n, GetLastError()); + goto clean_wfn; +} This is not an appropriate way of testing for an API failure. What is inappropriate and how should I fix it? Most APIs don't change GLE on success.

x11drv: XDND: Fix file drop to properly support file:/// URIs (debugging problem)

2007-03-22 Thread Maciej Katafiasz
Hi, I'm working on a bug in winex11drv/xdnd.c, where file:/// URIs are not correctly interpreted, resulting in DnD broken most of the time. There are two parts of that bug: 1) X11DRV_XDND_BuildDropFiles() fails to properly handle absolute unix paths, which is exactly what you get from file:///,

x11drv: XDND: Fix file drop to properly support file:/// URIs (debugging problem)

2007-03-21 Thread Maciej Katafiasz
Hi, (please ignore the other copy I sent from the wrong address by accident) I'm working on a bug in winex11drv/xdnd.c, where file:/// URIs are not correctly interpreted, resulting in DnD broken most of the time. There are two parts of that bug: 1) X11DRV_XDND_BuildDropFiles() fails to properly

Re: x11drv: XDND: Fix file drop to properly support file:/// URIs(debugging problem)

2007-03-21 Thread Dmitry Timoshkov
Maciej Katafiasz [EMAIL PROTECTED] wrote: + if(!strncasecmp(p, ://localhost/, 13)) + { + i = 12; + } else if (!strncasecmp(p, :///, 4)) + { + i = 3; + } else + { + TRACE(Not a valid file: URI: %s\n, (char*)data); + return count; + } Please

Re: SystemFunction036 debugging problem

2004-09-28 Thread Andreas Mohr
Hi, On Mon, Sep 27, 2004 at 05:38:10PM -0400, James Hawkins wrote: It turns out that SystemFunction036 is actually required to do something for MyPhotoCalendars.exe to install correctly because the installer exits with a program-level exception (ie not wine) What I would like to do is run

Re: SystemFunction036 debugging problem

2004-09-28 Thread Mike Hearn
Actually I just added the stub to advapi32, because the program will crash when it tries to call an umimplemented function. The main problem is that the program is expecting some result from SystemFunction036 (Filip thinks it might be a random generator thing), but it's next to impossible (or so

SystemFunction036 debugging problem

2004-09-27 Thread James Hawkins
It turns out that SystemFunction036 is actually required to do something for MyPhotoCalendars.exe to install correctly because the installer exits with a program-level exception (ie not wine) What I would like to do is run MyPhot...exe with winedbg and then set a breakpoint for SystemFunction036

Re: SystemFunction036 debugging problem

2004-09-27 Thread James Hawkins
Is this program linking to SystemFunction036 statically or dynamically? I'm not really sure. Is there another way to tell besides doing a trace+all? If it is linking dynamically (i.e. with GetProcAddresa), one option to try is to completly remove SystemFunction036 so it is not exported from

Re: SystemFunction036 debugging problem

2004-09-27 Thread James Hawkins
Is the target (the thing calling SystemFunction036) available to download anywhere? Yea. here's the link:

Re: Debugging problem

2004-01-24 Thread Mike Hearn
On Sat, 24 Jan 2004 07:18:04 +0100, Eric Pouech wrote: as I already wrote, the patch I sent to wine-devel is: 1/ a dirty hack 2/ doesn't address all the issues 3/ a wrong solution to the real problem Yes, sorry, I remember but the guy was quoting an earlier email of mine, I wasn't repeating

Debugging problem

2004-01-23 Thread Andrew L. Bereson
I've got an application that is crashing in Wine and I am trying to debug it. However, I am runnign into a problem before I even get started... When I go into the debugger (winedbg) it complains that it cannot find debug information in any of the 32bit DLL's. Indeed, from within the debugger I

Re: Debugging problem

2004-01-23 Thread Frank Schruefer
sample error message: No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x4069) From thread 'Need help debugging' Jan 15 with aswer from Mike Hearn: 2. How to compile debug information into the 32bit DLL's so I don't get 'No debug information in 32bit DLL' anymore and

Re: Debugging problem

2004-01-23 Thread Eric Pouech
Eric, could you please submit that patch? Even if it's not correct, having the debuggers out of action like this is causing big problems. as I already wrote, the patch I sent to wine-devel is: 1/ a dirty hack 2/ doesn't address all the issues 3/ a wrong solution to the real problem For the time