bubble(double,double) bubble(int,int)

((gdb)) b 'bubble(

In some cases, GDB can tell that completing a name requires using quotes. When this happens, GDB inserts the quote for you (while completing as much as it can) if you do not type the quote in the first place:

((gdb)) b bub TAB

GDB alters your input line to the following, and rings a bell:

((gdb)) b 'bubble(

In general, GDB can tell that a quote is needed (and inserts it) if you have not yet started typing the argument list when you ask for completion on an overloaded symbol.

For more information about overloaded functions, see “C++ expressions” (page 109). You can use the command set overload-resolution off to disable overload resolution; see “GDB features for C++” (page 111).

3.3 Getting help

You can always ask GDB itself for information on its commands, using the command help.

help, h

You can use help (abbreviated h) with no arguments to display

 

a short list of named classes of commands:

 

((gdb)) help

 

List of classes of commands:

 

aliases -- Aliases of other commands

 

breakpoints -- Making program stop at certain points

 

data -- Examining data

 

files -- Specifying and examining files

 

internals -- Maintenance commands

 

obscure -- Obscure features

 

running -- Running the program

 

stack -- Examining the stack

 

status -- Status inquiries

 

support -- Support facilities

 

tracepoints -- Tracing of program execution without

 

stopping the program

 

user-defined -- User-defined commands

 

Type "help" followed by a class name for a list of

 

commands in that class.

 

Type "help" followed by command name for full

 

documentation.

 

Command name abbreviations are allowed if unambiguous.

 

((gdb))

3.3 Getting help

35

Page 35
Image 35
HP gnu source-level debugger 5992-4701 manual Getting help, Help , h, Short list of named classes of commands