mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
* solib.c (solib_address): Return the name of the containing solib.
* solib.h (PC_SOLIB): New macro; define using solib_address. * stack.c (print_frame_info) [PC_SOLIB]: If no function name, try PC_SOLIB on the PC value.
This commit is contained in:
@ -50,7 +50,11 @@ solib_create_inferior_hook PARAMS((void)); /* solib.c */
|
||||
/* If we can't set a breakpoint, and it's in a shared library, just
|
||||
disable it. */
|
||||
|
||||
#define DISABLE_UNSETTABLE_BREAK(addr) solib_address(addr)
|
||||
#define DISABLE_UNSETTABLE_BREAK(addr) (solib_address(addr) != NULL)
|
||||
|
||||
extern int
|
||||
extern char *
|
||||
solib_address PARAMS ((CORE_ADDR)); /* solib.c */
|
||||
|
||||
/* If ADDR lies in a shared library, return its name. */
|
||||
|
||||
#define PC_SOLIB(addr) solib_address (addr)
|
||||
|
Reference in New Issue
Block a user