* symfile.c (list_overlays_command, map_overlay_command)

(unmap_overlay_command): Now static.
This commit is contained in:
Tom Tromey 2012-12-18 19:25:24 +00:00
parent 2370e8539c
commit 5d3055ad4f
2 changed files with 8 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2012-12-12 Tom Tromey <tromey@redhat.com>
* symfile.c (list_overlays_command, map_overlay_command)
(unmap_overlay_command): Now static.
2012-12-12 Tom Tromey <tromey@redhat.com> 2012-12-12 Tom Tromey <tromey@redhat.com>
* cli/cli-cmds.c (_initialize_cli_cmds): Remove "document", * cli/cli-cmds.c (_initialize_cli_cmds): Remove "document",

View File

@ -100,12 +100,6 @@ static void decrement_reading_symtab (void *);
static void overlay_invalidate_all (void); static void overlay_invalidate_all (void);
void list_overlays_command (char *, int);
void map_overlay_command (char *, int);
void unmap_overlay_command (char *, int);
static void overlay_auto_command (char *, int); static void overlay_auto_command (char *, int);
static void overlay_manual_command (char *, int); static void overlay_manual_command (char *, int);
@ -3296,7 +3290,7 @@ find_pc_mapped_section (CORE_ADDR pc)
/* Function: list_overlays_command /* Function: list_overlays_command
Print a list of mapped sections and their PC ranges. */ Print a list of mapped sections and their PC ranges. */
void static void
list_overlays_command (char *args, int from_tty) list_overlays_command (char *args, int from_tty)
{ {
int nmapped = 0; int nmapped = 0;
@ -3336,7 +3330,7 @@ list_overlays_command (char *args, int from_tty)
/* Function: map_overlay_command /* Function: map_overlay_command
Mark the named section as mapped (ie. residing at its VMA address). */ Mark the named section as mapped (ie. residing at its VMA address). */
void static void
map_overlay_command (char *args, int from_tty) map_overlay_command (char *args, int from_tty)
{ {
struct objfile *objfile, *objfile2; struct objfile *objfile, *objfile2;
@ -3381,7 +3375,7 @@ map_overlay_command (char *args, int from_tty)
Mark the overlay section as unmapped Mark the overlay section as unmapped
(ie. resident in its LMA address range, rather than the VMA range). */ (ie. resident in its LMA address range, rather than the VMA range). */
void static void
unmap_overlay_command (char *args, int from_tty) unmap_overlay_command (char *args, int from_tty)
{ {
struct objfile *objfile; struct objfile *objfile;