gdb-get-buffer-create

gdb-get-buffer-create is a compiled Lisp function in `gdb-mi.el'.

(gdb-get-buffer-create BUFFER-TYPE &optional THREAD)

Create a new GDB buffer of the type specified by BUFFER-TYPE.
The buffer-type should be one of the cars in `gdb-buffer-rules'.

If THREAD is non-nil, it is assigned to `gdb-thread-number'
buffer-local variable of the new buffer.

Buffer mode and name are selected according to buffer type.

If buffer has trigger associated with it in `gdb-buffer-rules',
this trigger is subscribed to `gdb-buf-publisher' and called with
'update argument.