GDB$

1 Usage

The GDB$ template is used to prefix a command that must be executed on GDB, with a GDB-specific prompt.
Thanks to the gdb-prompt class defined in MediaWiki:Common.css, a double (or triple) click to select the command doesn't select the prompt.

Usage:  {{GDB$}}

2 Basic examples

You type You get
info break command executed on GDB
{{GDB$}} show listsize<br>
Number of source lines gdb will list by default is 10.

show listsize
Number of source lines gdb will list by default is 10.

3 More examples

You type You get
2 commands executed on GDB and preformatted text block (space at the beginning of each line)
 {{GDB$}} show listsize
 Number of source lines gdb will list by default is 10.
 {{GDB$}} continue
 show listsize
Number of source lines gdb will list by default is 10.
 continue
Command executed on GDB and preformatted text block (space at the beginning of each line)
 {{GDB$}} show listsize
 Number of source lines gdb will list by default is 10.
 show listsize
Number of source lines gdb will list by default is 10.
Long command executed on GDB and preformatted text block (space at the beginning of each line)
 {{GDB$}} this is a so long command executed on GDB that a horizontal scrolling bar is needed
 this is a so long command executed on GDB that a horizontal scrolling bar is needed

4 Maintenance

This template is a template common to all ST wikis.
Modifications must be done into the WikiModel. They must be reviewed by all ST wikis maintainers.
When approved, the template can be pushed/merged towards all ST wikis.

5 Code