8.11 Printing Floating Point Values

99

8.12 Floating point hardware

99

9 Using GDB with Different Languages

101

9.1 Switching between source languages

101

9.1.1 List of filename extensions and languages

101

9.1.2 Setting the working language

102

9.1.3 Having GDB infer the source language

102

9.2 Displaying the language

103

9.3 Type and range checking

103

9.3.1 An overview of type checking

103

9.3.2 An overview of range checking

104

9.4 Supported languages

105

9.4.1 C and C++

106

9.4.1.1 C and C++ operators

106

9.4.1.2 C and C++ constants

108

9.4.1.3 C++ expressions

109

9.4.1.4 C and C++ defaults

110

9.4.1.5 C and C++ type and range checks

110

9.4.1.6 GDB and C

111

9.4.1.7 GDB features for C++

111

9.4.2 Fortran

112

9.4.2.1 Fortran types

112

9.4.2.2 Fortran operators

113

9.4.2.3 Fortran special issues

114

10 Examining the Symbol Table

115

11 Altering Execution

119

11.1 Assignment to variables

119

11.2 Continuing at a different address

120

11.3 Giving your program a signal

121

11.4 Returning from a function

121

11.5 Calling program functions

122

11.6 Patching programs

122

12 GDB Files

125

12.1 Commands to specify files

125

12.2 Specifying shared library locations

130

12.3 Errors reading symbol files

131

Table of Contents

5

Page 5
Image 5
HP gnu source-level debugger 5992-4701 manual Examining the Symbol Table