unable to debug a DLL / DLL seems to be broken
Original Reporter info from Mantis: CWBudde
-
Reporter name: Christian Budde
Original Reporter info from Mantis: CWBudde
- Reporter name: Christian Budde
Description:
After some investigations on bug 0007182 I found out, that the DLLs compiled with the -gl or -g option are impossible to debug. Each time I add a breakpoint the debugger reports:
(gdb)
&"Warning:\n"
&"Cannot insert breakpoint 2.\n"
&"Error accessing memory address $1062: Input/output error.\n"
&"\n"
^error,msg="Warning:\nCannot insert breakpoint 2.\nError accessing memory address $1062: Input/output error.\n"
(gdb)
Also the DLL compiled with -gl can not be compressed with UPX. UPX reports: 'unhandled exception' regardles if the debug information are stripped or still in.
Additional information:
See bug 0007182. To fix that bug, this needs to be fixed first.
Also remember that the -ct option doesn't work.
For some reason I was able to debug and set breakpoints for a couple of hours. I've tried every damn option, but I haven't had any luck ever since. I always got this "Error accessing memory address $...." message from the debugger. AFAIR the address may vary.
Mantis conversion info:
- Mantis ID: 7240
- Fixed in version: 2.2.0
- Fixed in revision: 7830 (#09fab009)