Gdb/Mi Program Control; Environment-Pwd; Command; Program Termination - Red Hat ENTERPRISE LINUX 3 - DEBUGGING WITH GDB Manual

Debugging with gdb
Hide thumbs Also See for ENTERPRISE LINUX 3 - DEBUGGING WITH GDB:
Table of Contents

Advertisement

Chapter 26. The gdb/mi Interface
235
^done,path="/kwikemart/marge/ezannoni/flathead-dev/ppc-eabi/gdb:/bin:/usr/bin"
(gdb)
-environment-path -r /usr/local/bin
^done,path="/usr/local/bin:/usr/bin"
(gdb)
26.9.15. The

Command

-environment-pwd

26.9.15.1. Synopsis
-environment-pwd
Show the current working directory.
26.9.15.2. gdb command
The corresponding gdb command is
.
pwd
26.9.15.3. Example
(gdb)
-environment-pwd
^done,cwd="/kwikemart/marge/ezannoni/flathead-dev/devo/gdb"
(gdb)

26.10. gdb/mi Program control

26.10.1. Program termination

As a result of execution, the inferior program can run to completion, if it doesn't encounter any
breakpoints. In this case the output will include an exit code, if the program has exited exceptionally.

26.10.2. Examples

Program exited normally:
(gdb)
-exec-run
^running
(gdb)
x = 55

Advertisement

Table of Contents
loading

Table of Contents