20.7

Errors.........................................................................................................................

302

20.8

Information on breakpoints.......................................................................................

302

20.9

Invalidation notices...................................................................................................

303

20.10 Running the program..............................................................................................

303

20.11 Displaying source....................................................................................................

304

20.12 Annotations We Might Want in the Future.............................................................

305

21 The GDB/MI Interface...........................................................................................................

307

21.1

GDB/MI Command Syntax........................................................................................

307

21.1.1 GDB/MI Input syntax.........................................................................................

307

21.1.2 GDB/MI Output syntax......................................................................................

308

21.1.3 Simple examples of GDB/MI interaction...........................................................

310

21.2

GDB/MI compatibility with CLI................................................................................

310

21.3

GDB/MI output records.............................................................................................

311

21.3.1 GDB/MI result records.......................................................................................

311

21.3.2 GDB/MI stream records.....................................................................................

311

21.3.3 GDB/MI out-of-band records.............................................................................

311

21.4

GDB/MI command description format......................................................................

311

21.5

GDB/MI breakpoint table commands........................................................................

312

21.6

GDB/MI Data manipulation.......................................................................................

320

21.7

GDB/MI program control...........................................................................................

330

21.8

Miscellaneous GDB commands in GDB/MI..............................................................

339

21.9

GDB/MI Stack Manipulation Commands..................................................................

341

21.10 GDB/MI Symbol query commands..........................................................................

346

21.11 GDB/MI Target Manipulation Commands..............................................................

349

21.12 GDB/MI thread commands......................................................................................

353

21.13 GDB/MI tracepoint commands................................................................................

355

21.14 GDB/MI variable objects..........................................................................................

355

22 Reporting Bugs in GDB.........................................................................................................

361

22.1

Have you found a bug?.............................................................................................

361

22.2

How to report bugs...................................................................................................

361

A Installing GDB.......................................................................................................................

365

A.1 Compiling GDB in another directory.........................................................................

366

A.2 Specifying names for hosts and targets......................................................................

367

A.3 configure options...................................................................................................

368

12 Table of Contents