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
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 |
| breakpoints |
| data |
| files |
| internals |
| obscure |
| running |
| stack |
| status |
| support |
| tracepoints |
| stopping the program |
| |
| 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 |