Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC] document Cygwin native specific commands
@ 2002-02-20  4:18 Pierre Muller
  2002-02-20  5:16 ` Eli Zaretskii
  0 siblings, 1 reply; 19+ messages in thread
From: Pierre Muller @ 2002-02-20  4:18 UTC (permalink / raw)
  To: gdb-patches

    Here is a third version of my patch to document 
Cygwin native specific commands.

2002-02-19  Pierre Muller  <muller@ics.u-strasbg.fr>

           * gdb.texinfo: Document Cygwin native specific commands.



Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.90
diff -u -r1.90 gdb.texinfo
--- gdb.texinfo 2002/02/15 19:06:33     1.90
+++ gdb.texinfo 2002/02/20 12:16:02
@@ -10487,6 +10487,7 @@
  * HP-UX::                       HP-UX
  * SVR4 Process Information::    SVR4 process information
  * DJGPP Native::                Features specific to the DJGPP port
+* Cygwin Native::              Features specific to the Cygwin port
  @end menu

  @node HP-UX
@@ -10683,6 +10684,92 @@
  mapped 1:1, i.e.@: the physical and linear addresses are identical.

  This command is supported only with some DPMI servers.
+@end table
+
+@node Cygwin Native
+@subsection Features for Debugging MS Windows PE executables
+@cindex MS Windows debugging
+@cindex native Cygwin debugging
+@cindex Cygwin-specific commands
+
+@value{GDBN} supports native debugging of MS Windows programs, and
+defines a few commands specific to the Cygwin port.  This
+subsection describes those commands.
+
+@table @code
+@kindex info w32
+@item info w32
+This is a prefix of MS Windows specific commands which print
+information about the target system and important OS structures.
+
+@item info w32 selector
+This command displays information returned by
+the Win32 API @code{GetThreadSelectorEntry} function.
+It takes an optional argument that is evaluated to
+a long value to give the information about this given selector.
+Without argument, this command displays information
+about the the six segment registers.
+
+@kindex info dll
+@item info dll
+This is a Cygwin specific alias of info shared.
+
+@kindex dll-symbols
+@item dll-symbols
+This command loads symbols from a dll similarly to
+add-sym command but without the need to specify a base address.
+
+@kindex set new-console
+@item set new-console @var{mode}
+If @var{mode} is @code{on} the debuggee will
+be started in a new console on next start.
+If @var{mode} is @code{off}i, the debuggee will
+be started in the same console as the debugger.
+
+@kindex show new-console
+@item show new-console
+Displays whether a new console is used
+when the debuggee is started.
+
+@kindex set new-group
+@item set new-group @var{mode}
+This boolean value controls whether the debuggee should
+start a new group or stay in the same group as the debugger.
+This affects the way the Windows OS handles
+Ctrl-C.
+
+@kindex show new-group
+@item show new-group
+Displays current value of new-group boolean.
+
+@kindex set debugevents
+@item set debugevents
+This boolean value adds debug output concerning events seen by the debugger.
+
+@kindex set debugexec
+@item set debugexec
+This boolean value adds debug output concerning execute events
+seen by the debugger.
+
+@kindex set debugexceptions
+@item set debugexceptions
+This boolean value adds debug ouptut concerning exception events
+seen by the debugger.
+
+@kindex set debugmemory
+@item set debugmemory
+This boolean value adds debug ouptut concerning memory events
+seen by the debugger.
+
+@kindex set shell
+@item set shell
+This boolean values specifies whether the debuggee is called
+via a shell or directly (default value is on).
+
+@kindex show shell
+@item show shell
+Displays if the debuggee will be started with a shell.
+
  @end table

  @node Embedded OS



Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


^ permalink raw reply	[flat|nested] 19+ messages in thread
* [RFC] document Cygwin native specific commands
@ 2002-02-19  1:32 Pierre Muller
  2002-02-19  5:25 ` Eli Zaretskii
  0 siblings, 1 reply; 19+ messages in thread
From: Pierre Muller @ 2002-02-19  1:32 UTC (permalink / raw)
  To: gdb-patches

   Here is a second version of my patch to document 
Cygwin native specific commands.

I have no experience with texinfo ...
I still don't know what the difference between @kindex and @cindex is :(

2002-02-19  Pierre Muller  <muller@ics.u-strasbg.fr>

          * gdb.texinfo: Document Cygwin native specifc commands.



Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.90
diff -u -r1.90 gdb.texinfo
--- gdb.texinfo	2002/02/15 19:06:33	1.90
+++ gdb.texinfo	2002/02/19 09:27:41
@@ -10487,6 +10487,7 @@
  * HP-UX::                       HP-UX
  * SVR4 Process Information::    SVR4 process information
  * DJGPP Native::                Features specific to the DJGPP port
+* Cygwin Native::		Features specific to the Cygwin port
  @end menu
  
  @node HP-UX
@@ -10683,6 +10684,79 @@
  mapped 1:1, i.e.@: the physical and linear addresses are identical.
  
  This command is supported only with some DPMI servers.
+@end table
+
+@node Cygwin Native
+@subsection Features for Debugging @sc{win32} PE executables
+@cindex @sc{win32} debugging
+@cindex native Cygwin debugging
+@cindex Win32-specific commands
+
+@value{GDBN} supports native debugging of @sc{win32} programs, and
+defines a few commands specific to the Cygwin port.  This
+subsection describes those commands.
+
+@table @code
+@kindex info w32
+@item info w32
+This is a prefix of @sc{win32}-specific commands which print
+information about the target system and important OS structures.
+
+@kindex selector
+@cindex @sc{win32} selector info
+@item info w32 selector
+This command displays information returned by
+the Win32 API @code{GetThreadSelectorEntry} function.
+It takes an optional argument that is evaluated to
+a long value to give the information about this given selector.
+Without argument, this command displays information
+about the the six segment registers.
+
+@kindex dll
+@item info dll
+This is an alias of info shared.
+
+@kindex dll-symbols
+@item dll-symbols
+This command loads symbols from a dll similarly to
+add-sym command but without the need to specify a base address.
+
+@kindex new-console
+@item set new-console
+This boolean value controls whether the debuggee should
+be started in a new console or in the same console as the debugger.
+
+@kindex new-group
+@item set new-group
+This boolean value controls whether the debuggee should
+start a new group or stay in the same group as the debugger.
+This affects the way the Windows OS handles
+Ctrl-C.
+
+@kindex debugevents
+@item set debugevents
+This boolean value adds debug output concerning events seen by the debugger.
+
+@kindex debugexec
+@item set debugexec
+This boolean value adds debug output concerning execute events 
+seen by the debugger.
+
+@kindex debugexceptions
+@item set debugexceptions
+This boolean value adds debug ouptut concerning exception events 
+seen by the debugger.
+
+@kindex debugmemory
+@item set debugmemory
+This boolean value adds debug ouptut concerning memory events 
+seen by the debugger.
+
+@kindex shell
+@item set shell
+This boolean values specifies whether the debugge is called
+via a shell or directly.
+
  @end table
  
  @node Embedded OS



Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2002-02-20 17:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-20  4:18 [RFC] document Cygwin native specific commands Pierre Muller
2002-02-20  5:16 ` Eli Zaretskii
2002-02-20  7:58   ` [RFC] document cygwin " Christopher Faylor
2002-02-20  8:11     ` Pierre Muller
  -- strict thread matches above, loose matches on Subject: below --
2002-02-19  1:32 [RFC] document Cygwin " Pierre Muller
2002-02-19  5:25 ` Eli Zaretskii
2002-02-19  8:28   ` Andrew Cagney
2002-02-19  8:37   ` Andrew Cagney
2002-02-19  9:29     ` Eli Zaretskii
2002-02-19 14:37       ` Andrew Cagney
2002-02-19 22:58         ` Eli Zaretskii
2002-02-20  2:20       ` Pierre Muller
2002-02-20  3:19         ` Eli Zaretskii
2002-02-20  4:16           ` Pierre Muller
2002-02-20  5:16             ` Eli Zaretskii
2002-02-20  7:57               ` [RFC] document cygwin " Christopher Faylor
2002-02-20  9:41                 ` Eli Zaretskii
2002-02-19  9:10   ` Christopher Faylor
2002-02-19 11:32     ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox