Author: toshok
Date: 2005-04-11 17:23:41 -0400 (Mon, 11 Apr 2005)
New Revision: 42807
Modified:
trunk/debugger/ChangeLog
trunk/debugger/arch/DwarfFrameReader.cs
trunk/debugger/arch/StabsReader.cs
trunk/debugger/backends/Debugger.cs
trunk/debugger/classes/ExceptionCatchPoint.cs
trunk/debugger/classes/Module.cs
trunk/debugger/classes/ProcessStart.cs
trunk/debugger/frontend/CSharpTokenizer.cs
trunk/debugger/frontend/Command.cs
trunk/debugger/frontend/Expression.cs
trunk/debugger/frontend/GnuReadLine.cs
Log:
2005-04-11 Chris Toshok <[EMAIL PROTECTED]>
* frontend/Expression.cs: clean up warnings.
* frontend/CSharpTokenizer.cs: same.
* frontend/GnuReadLine.cs: same.
* frontend/Command.cs: same.
* arch/DwarfFrameReader.cs: same.
* arch/StabsReader.cs: same.
* backends/Debugger.cs: same.
* classes/ExceptionCatchPoint.cs: same.
* classes/ProcessStart.cs: same.
* classes/Module.cs: same.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2005-04-11 21:11:38 UTC (rev 42806)
+++ trunk/debugger/ChangeLog 2005-04-11 21:23:41 UTC (rev 42807)
@@ -1,3 +1,25 @@
+2005-04-11 Chris Toshok <[EMAIL PROTECTED]>
+
+ * frontend/Expression.cs: clean up warnings.
+
+ * frontend/CSharpTokenizer.cs: same.
+
+ * frontend/GnuReadLine.cs: same.
+
+ * frontend/Command.cs: same.
+
+ * arch/DwarfFrameReader.cs: same.
+
+ * arch/StabsReader.cs: same.
+
+ * backends/Debugger.cs: same.
+
+ * classes/ExceptionCatchPoint.cs: same.
+
+ * classes/ProcessStart.cs: same.
+
+ * classes/Module.cs: same.
+
2005-04-11 Martin Baulig <[EMAIL PROTECTED]>
* arch/DwarfReader.cs: Add support for x86_64.
Modified: trunk/debugger/arch/DwarfFrameReader.cs
===================================================================
--- trunk/debugger/arch/DwarfFrameReader.cs 2005-04-11 21:11:38 UTC (rev
42806)
+++ trunk/debugger/arch/DwarfFrameReader.cs 2005-04-11 21:23:41 UTC (rev
42807)
@@ -395,7 +395,7 @@
int code_alignment;
int data_alignment;
int return_register;
- bool has_z_augmentation;
+ // bool has_z_augmentation;
byte encoding = (byte) DW_EH_PE.udata4;
Column[] columns;
@@ -472,7 +472,7 @@
for (int pos = 0; pos < augmentation.Length;
pos++) {
if (augmentation [pos] == 'z') {
reader.ReadLeb128 ();
- has_z_augmentation = true;
+ //
has_z_augmentation = true;
continue;
}
Modified: trunk/debugger/arch/StabsReader.cs
===================================================================
--- trunk/debugger/arch/StabsReader.cs 2005-04-11 21:11:38 UTC (rev 42806)
+++ trunk/debugger/arch/StabsReader.cs 2005-04-11 21:23:41 UTC (rev 42807)
@@ -57,32 +57,19 @@
types = new Hashtable ();
string_type = new NativeStringType (0);
- int_type = RegisterFundamental (
- "int", typeof (int), 4);
- char_type = RegisterFundamental (
- "char", typeof (byte), 1);
- long_type = RegisterFundamental (
- "long int", typeof (int), 4);
- uint_type = RegisterFundamental (
- "unsigned int", typeof (uint), 4);
- ulong_type = RegisterFundamental (
- "long unsigned int", typeof (uint), 4);
- long_long_type = RegisterFundamental (
- "long long int", typeof (long), 4);
- ulong_long_type = RegisterFundamental (
- "long long unsigned int", typeof (ulong), 8);
- short_type = RegisterFundamental (
- "short int", typeof (short), 2);
- ushort_type = RegisterFundamental (
- "short unsigned int", typeof (ushort), 2);
- schar_type = RegisterFundamental (
- "signed char", typeof (sbyte), 1);
- uchar_type = RegisterFundamental (
- "unsigned char", typeof (byte), 1);
- float_type = RegisterFundamental (
- "float", typeof (float), 4);
- double_type = RegisterFundamental (
- "double", typeof (double), 8);
+ char_type = RegisterFundamental ("char", typeof (byte),
1);
+ RegisterFundamental ("int", typeof (int), 4);
+ RegisterFundamental ("long int", typeof (int), 4);
+ RegisterFundamental ("unsigned int", typeof (uint), 4);
+ RegisterFundamental ("long unsigned int", typeof
(uint), 4);
+ RegisterFundamental ("long long int", typeof (long), 4);
+ RegisterFundamental ("long long unsigned int", typeof
(ulong), 8);
+ RegisterFundamental ("short int", typeof (short), 2);
+ RegisterFundamental ("short unsigned int", typeof
(ushort), 2);
+ RegisterFundamental ("signed char", typeof (sbyte), 1);
+ RegisterFundamental ("unsigned char", typeof (byte), 1);
+ float_type = RegisterFundamental ("float", typeof
(float), 4);
+ double_type = RegisterFundamental ("double", typeof
(double), 8);
files = new ArrayList ();
methods = new ArrayList ();
@@ -112,17 +99,7 @@
}
NativeStringType string_type;
- NativeFundamentalType int_type;
NativeFundamentalType char_type;
- NativeFundamentalType long_type;
- NativeFundamentalType uint_type;
- NativeFundamentalType ulong_type;
- NativeFundamentalType long_long_type;
- NativeFundamentalType ulong_long_type;
- NativeFundamentalType short_type;
- NativeFundamentalType ushort_type;
- NativeFundamentalType schar_type;
- NativeFundamentalType uchar_type;
NativeFundamentalType float_type;
NativeFundamentalType double_type;
Modified: trunk/debugger/backends/Debugger.cs
===================================================================
--- trunk/debugger/backends/Debugger.cs 2005-04-11 21:11:38 UTC (rev 42806)
+++ trunk/debugger/backends/Debugger.cs 2005-04-11 21:23:41 UTC (rev 42807)
@@ -119,10 +119,6 @@
TargetExited ();
}
- void debugger_error (object sender, string message, Exception e)
- {
- }
-
public void Run (ProcessStart start)
{
check_disposed ();
Modified: trunk/debugger/classes/ExceptionCatchPoint.cs
===================================================================
--- trunk/debugger/classes/ExceptionCatchPoint.cs 2005-04-11 21:11:38 UTC
(rev 42806)
+++ trunk/debugger/classes/ExceptionCatchPoint.cs 2005-04-11 21:23:41 UTC
(rev 42807)
@@ -10,12 +10,10 @@
{
this.language = language;
this.exception = exception;
- this.user_data = user_data;
}
ILanguage language;
ITargetType exception;
- object user_data;
bool IsSubclassOf (ITargetClassType type, ITargetType parent)
{
Modified: trunk/debugger/classes/Module.cs
===================================================================
--- trunk/debugger/classes/Module.cs 2005-04-11 21:11:38 UTC (rev 42806)
+++ trunk/debugger/classes/Module.cs 2005-04-11 21:23:41 UTC (rev 42807)
@@ -22,7 +22,6 @@
{
bool load_symbols;
bool step_into;
- Hashtable breakpoints = new Hashtable ();
internal Module ()
{
Modified: trunk/debugger/classes/ProcessStart.cs
===================================================================
--- trunk/debugger/classes/ProcessStart.cs 2005-04-11 21:11:38 UTC (rev
42806)
+++ trunk/debugger/classes/ProcessStart.cs 2005-04-11 21:23:41 UTC (rev
42807)
@@ -61,7 +61,6 @@
string base_dir;
string[] argv;
string[] envp;
- bool native;
Assembly application;
DebuggerOptions options;
Modified: trunk/debugger/frontend/CSharpTokenizer.cs
===================================================================
--- trunk/debugger/frontend/CSharpTokenizer.cs 2005-04-11 21:11:38 UTC (rev
42806)
+++ trunk/debugger/frontend/CSharpTokenizer.cs 2005-04-11 21:23:41 UTC (rev
42807)
@@ -24,7 +24,6 @@
static Hashtable short_keywords;
static System.Text.StringBuilder id_builder;
static System.Text.StringBuilder string_builder;
- static System.Text.StringBuilder number_builder;
//
// Values for the associated token returned
@@ -57,7 +56,6 @@
InitTokens ();
id_builder = new System.Text.StringBuilder ();
string_builder = new System.Text.StringBuilder ();
- number_builder = new System.Text.StringBuilder ();
}
static void InitTokens ()
Modified: trunk/debugger/frontend/Command.cs
===================================================================
--- trunk/debugger/frontend/Command.cs 2005-04-11 21:11:38 UTC (rev 42806)
+++ trunk/debugger/frontend/Command.cs 2005-04-11 21:23:41 UTC (rev 42807)
@@ -1809,7 +1809,9 @@
int process_id = -1;
ProcessHandle process;
ThreadGroup tgroup;
+#if PENDING_BREAKPOINTS
bool pending;
+#endif
protected override bool NeedsProcess {
get { return false; }
Modified: trunk/debugger/frontend/Expression.cs
===================================================================
--- trunk/debugger/frontend/Expression.cs 2005-04-11 21:11:38 UTC (rev
42806)
+++ trunk/debugger/frontend/Expression.cs 2005-04-11 21:23:41 UTC (rev
42807)
@@ -1163,8 +1163,6 @@
public class StructAccessExpression : Expression
{
- string name;
-
public readonly string Identifier;
public readonly bool IsStatic;
Modified: trunk/debugger/frontend/GnuReadLine.cs
===================================================================
--- trunk/debugger/frontend/GnuReadLine.cs 2005-04-11 21:11:38 UTC (rev
42806)
+++ trunk/debugger/frontend/GnuReadLine.cs 2005-04-11 21:23:41 UTC (rev
42807)
@@ -75,7 +75,7 @@
public static void EnableCompletion (CompletionDelegate handler)
{
completion_handler = handler;
- mono_debugger_readline_enable_completion (handler);
+ mono_debugger_readline_enable_completion
(completion_handler);
}
public static string CurrentLine
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches