Next: Registers, Previous: Convenience Vars, Up: Data
gdb also supplies some convenience functions. These have a syntax similar to convenience variables. A convenience function can be used in an expression just like an ordinary function; however, a convenience function is implemented internally to gdb.
These functions require gdb to be configured with
Python support.
$_memeq(buf1, buf2, length)$_regex(str, regex)Python's
regular expression support.
$_streq(str1, str2)$_strlen(str)gdb provides the ability to list and get help on convenience functions.
help function