[Question] does GDB have a commands to get the end address of a function?

Andreas Schwab schwab@linux-m68k.org
Mon Jun 11 20:42:00 GMT 2012

Hui Zhu <teawater@gmail.com> writes:

> Does GDB have an command to output the end address of a function?

The end address of a function is not well defined (and neither is the
beginning address of a function).  It is perfectly valid for two
functions to be interleaved in some way, or having their code spread out
in non-contiguous regions.


Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

More information about the Gdb mailing list