aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-07-21 17:05:16 -0600
committerTom Tromey <tromey@redhat.com>2014-07-24 11:30:02 -0600
commit414842dc7ae1d398fca1bda9a20a89d51b7c2f09 (patch)
treedffcf695db92fbd89b153f32ec5f0537161c9001 /gdb/solib.h
parentbaa336ce7b5d6e56bd52d7493c3f77b0953a7f18 (diff)
downloadbinutils-414842dc7ae1d398fca1bda9a20a89d51b7c2f09.zip
binutils-414842dc7ae1d398fca1bda9a20a89d51b7c2f09.tar.gz
binutils-414842dc7ae1d398fca1bda9a20a89d51b7c2f09.tar.bz2
constify solib_add
This constifies the "pattern" argument to solib_add. 2014-07-24 Tom Tromey <tromey@redhat.com> * solib.c (solib_add): Make "pattern" const. * solib.h (solib_add): Update.
Diffstat (limited to 'gdb/solib.h')
-rw-r--r--gdb/solib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.h b/gdb/solib.h
index 29fe8f7..4a7f56e 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -33,7 +33,7 @@ extern void clear_solib (void);
/* Called to add symbols from a shared library to gdb's symbol table. */
-extern void solib_add (char *, int, struct target_ops *, int);
+extern void solib_add (const char *, int, struct target_ops *, int);
extern int solib_read_symbols (struct so_list *, int);
/* Function to be called when the inferior starts up, to discover the