mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
gdb-3.4
This commit is contained in:
@@ -431,7 +431,15 @@ find_pc_function (pc)
|
||||
/* Finds the "function" (text symbol) that is smaller than PC
|
||||
but greatest of all of the potential text symbols. Sets
|
||||
*NAME and/or *ADDRESS conditionally if that pointer is non-zero.
|
||||
Returns 0 if it couldn't find anything, 1 if it did. */
|
||||
Returns 0 if it couldn't find anything, 1 if it did.
|
||||
|
||||
Note that there are several possible responses:
|
||||
* Set *NAME and *ADDRESS to nonzero values and return 0
|
||||
* Set *NAME and *ADDRESS to zero and return 0
|
||||
* Don't set *NAME and *ADDRESS and return 1
|
||||
(I don't know whether it *should* work this way, but I'd rather
|
||||
document it than risk breaking code
|
||||
which depends on this behavior). */
|
||||
|
||||
int
|
||||
find_pc_partial_function (pc, name, address)
|
||||
|
||||
Reference in New Issue
Block a user