Red Hat ENTERPRISE LINUX 4 - DEBUGGING WITH GDB Manual page 152

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

Advertisement

142
currently in use by gdb, and the files from which symbols were loaded. The command
lists all possible targets rather than current ones.
target
maint info sections
Another command that can give you extra information about program sections is
. In addition to the section information displayed by
sections
displays the flags and file offset of each section in the executable and core dump files. In addition,
maint info sections
combined):
ALLOBJ
Display sections for all loaded object files, including shared libraries.
sections
Display info only for named
section-flags
Display info only for sections for which
gdb currently knows about are:
ALLOC
Section will have space allocated in the process when loaded. Set for all sections except
those containing debug information.
LOAD
Section will be loaded from the file into the child process memory. Set for
pre-initialized code and data, clear for
RELOC
Section needs to be relocated before loading.
READONLY
Section cannot be modified by the child process.
CODE
Section contains executable code only.
DATA
Section contains data only (no executable code).
ROM
Section will reside in ROM.
CONSTRUCTOR
Section contains data for constructor/destructor lists.
HAS_CONTENTS
Section is not empty.
provides the following command options (which may be arbitrarily
.
sections
section-flags
info files
are true. The section flags that
sections.
.bss
Chapter 17. gdb Files
help
maint info
, this command

Advertisement

Table of Contents
loading

Table of Contents