diff options
author | Tom Tromey <tromey@redhat.com> | 2012-12-18 19:25:24 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-12-18 19:25:24 +0000 |
commit | 5d3055ad4f759240ae4b865a49f6283d02caf801 (patch) | |
tree | c87181a02918200b7802c58a5dea7149d5be1878 /gdb/symfile.c | |
parent | 2370e8539ca40ee80525e8549698426251a11053 (diff) | |
download | gdb-5d3055ad4f759240ae4b865a49f6283d02caf801.zip gdb-5d3055ad4f759240ae4b865a49f6283d02caf801.tar.gz gdb-5d3055ad4f759240ae4b865a49f6283d02caf801.tar.bz2 |
* symfile.c (list_overlays_command, map_overlay_command)
(unmap_overlay_command): Now static.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index fc908b3..33113c3 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -100,12 +100,6 @@ static void decrement_reading_symtab (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_manual_command (char *, int); @@ -3296,7 +3290,7 @@ find_pc_mapped_section (CORE_ADDR pc) /* Function: list_overlays_command Print a list of mapped sections and their PC ranges. */ -void +static void list_overlays_command (char *args, int from_tty) { int nmapped = 0; @@ -3336,7 +3330,7 @@ list_overlays_command (char *args, int from_tty) /* Function: map_overlay_command Mark the named section as mapped (ie. residing at its VMA address). */ -void +static void map_overlay_command (char *args, int from_tty) { struct objfile *objfile, *objfile2; @@ -3381,7 +3375,7 @@ map_overlay_command (char *args, int from_tty) Mark the overlay section as unmapped (ie. resident in its LMA address range, rather than the VMA range). */ -void +static void unmap_overlay_command (char *args, int from_tty) { struct objfile *objfile; |