Name: wdbg_doc
ChangeLog: added a small section about expressions in winedbg
GenDate: 2001/05/02 17:14:41 UTC
ModifiedFiles: documentation/debugger.sgml
AddedFiles:
===================================================================
RCS file: /usr/share/cvs/cvsroot/wine/wine/documentation/debugger.sgml,v
retrieving revision 1.4
diff -u -u -r1.4 debugger.sgml
--- documentation/debugger.sgml        2001/04/13 22:35:55        1.4
+++ documentation/debugger.sgml        2001/05/02 17:08:38
@@ -1337,6 +1337,11 @@
                symbol <id>
info break        lists all (break|watch)points (with state)
</screen>
+        <para>
+         When setting a breakpoint on an <id>, if several symbols with this
+         <id> exist, the debugger will prompt for the symbol you want to use.
+         Pick up the one you want from its number.
+        </para>
</sect2>
<sect2>
@@ -1470,6 +1475,33 @@
b => 8 bit unsigned hexadecimal integer
</screen>
</sect2>
+
+ <sect2>
+        <title>Expressions</title>
+        
+        <para>
+         Expressions in Wine Debugger are mostly written in a C form. However, there
+         are a few discrepancies:
+         <itemizedlist>
+         <listitem>
+         <para>
+                Identifiers can take a '.' in their names. This allow mainly to access symbols
+         from different DLLs like USER32.DLL.CreateWindowA
+         </para>
+         </listitem>
+         <listitem>
+         <para>
+         Because of previous rule, fields access from a struct must be written as:
+<screen>
+        my_struct . my_field        
+</screen>
+         (note the spaces after and before the dot).
+         </para>
+         </listitem>
+         </itemizedlist>
+        </para>
+ </sect2>
+
</sect1>