mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
2001-05-14 Michael Snyder <msnyder@redhat.com>
* solib.c, solib.h: Add comment for function no_shared_libraries.
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
2001-05-14 Michael Snyder <msnyder@redhat.com>
|
2001-05-14 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
|
* solib.c, solib.h: Add comment for function no_shared_libraries.
|
||||||
* remote.c (remote_write_bytes): Set nr_bytes to return value of
|
* remote.c (remote_write_bytes): Set nr_bytes to return value of
|
||||||
bin2hex.
|
bin2hex.
|
||||||
|
|
||||||
|
12
gdb/solib.c
12
gdb/solib.c
@ -809,6 +809,18 @@ sharedlibrary_command (char *args, int from_tty)
|
|||||||
solib_add (args, from_tty, (struct target_ops *) 0);
|
solib_add (args, from_tty, (struct target_ops *) 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* LOCAL FUNCTION
|
||||||
|
|
||||||
|
no_shared_libraries -- handle command to explicitly discard symbols
|
||||||
|
from shared libraries.
|
||||||
|
|
||||||
|
DESCRIPTION
|
||||||
|
|
||||||
|
Implements the command "nosharedlibrary", which discards symbols
|
||||||
|
that have been auto-loaded from shared libraries. Symbols from
|
||||||
|
shared libraries that were added by explicit request of the user
|
||||||
|
are not discarded. Also called from remote.c. */
|
||||||
|
|
||||||
void
|
void
|
||||||
no_shared_libraries (char *ignored, int from_tty)
|
no_shared_libraries (char *ignored, int from_tty)
|
||||||
{
|
{
|
||||||
|
@ -194,4 +194,6 @@ extern char *solib_address (CORE_ADDR); /* solib.c */
|
|||||||
|
|
||||||
extern int in_solib_dynsym_resolve_code (CORE_ADDR); /* solib.c */
|
extern int in_solib_dynsym_resolve_code (CORE_ADDR); /* solib.c */
|
||||||
|
|
||||||
|
/* Discard symbols that were auto-loaded from shared libraries. */
|
||||||
|
|
||||||
extern void no_shared_libraries (char *ignored, int from_tty);
|
extern void no_shared_libraries (char *ignored, int from_tty);
|
||||||
|
Reference in New Issue
Block a user