aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index 326cfff..4fbe9dd 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -49,8 +49,6 @@ void (*deprecated_file_changed_hook) (const char *);
/* Prototypes for local functions */
-static void set_section_command (char *, int);
-
static void exec_files_info (struct target_ops *);
static void init_exec_ops (void);
@@ -957,10 +955,10 @@ exec_files_info (struct target_ops *t)
}
static void
-set_section_command (char *args, int from_tty)
+set_section_command (const char *args, int from_tty)
{
struct target_section *p;
- char *secname;
+ const char *secname;
unsigned seclen;
unsigned long secaddr;
char secprint[100];