Bug 316412 (MONO69206) - Improper gpointer->int casts in debugger
Summary: Improper gpointer->int casts in debugger
Status: RESOLVED FIXED
Alias: MONO69206
Product: Mono: Debugger
Classification: Mono
Component: backend (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Martin Baulig
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-07 21:00 UTC by Ben Maurer
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:58:19 UTC


---- Reported by bmaurer@users.sf.net 2004-11-07 14:00:45 MST ----

[benm@omega metadata]$ make clean all > /dev/null
mono-debug-debugger.c: In function `mono_debugger_unhandled_exception':
mono-debug-debugger.c:1420: warning: passing arg 3 of `mono_debugger_event'
makes integer from pointer without a cast
mono-debug-debugger.c: In function `mono_debugger_handle_exception':
mono-debug-debugger.c:1439: warning: passing arg 3 of `mono_debugger_event'
makes integer from pointer without a cast
mono-debug-debugger.c: In function `mono_debugger_throw_exception':
mono-debug-debugger.c:1457: warning: passing arg 3 of `mono_debugger_event'
makes integer from pointer without a cast

These are from thigns like:

gboolean
mono_debugger_unhandled_exception (gpointer addr, gpointer stack,
MonoObject *exc)
{
	if (!mono_debugger_initialized)
		return FALSE;

	// Prevent the object from being finalized.
	last_exception = exc;
	mono_debugger_event (MONO_DEBUGGER_EVENT_UNHANDLED_EXCEPTION, exc, addr);

However, this doesnt work for a 64 bit box.



---- Additional Comments From martin@ximian.com 2004-12-08 18:24:45 MST ----

Fixed in SVN.


Unknown operating system unknown. Setting to default OS "Other".