aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-03-09 11:58:21 +0000
committerYao Qi <yao.qi@linaro.org>2015-03-20 17:39:24 +0000
commit7a26bd4d83e5549137943de5f2c7b1ae90821093 (patch)
tree594c0b42ac34ce56f9d2719442d09dde27f66d67 /gdb/breakpoint.c
parentcd46431bbd2f1dd90fbedee9a3bdbff705238c1b (diff)
downloadgdb-7a26bd4d83e5549137943de5f2c7b1ae90821093.zip
gdb-7a26bd4d83e5549137943de5f2c7b1ae90821093.tar.gz
gdb-7a26bd4d83e5549137943de5f2c7b1ae90821093.tar.bz2
constify set_breakpoint_condition
gdb: 2015-03-20 Pedro Alves <palves@redhat.com> * breakpoint.c (set_breakpoint_condition): Make argument "exp" const. * breakpoint.h (set_breakpoint_condition): Update declaration.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 0c000f2..13c8949 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -957,7 +957,7 @@ get_first_locp_gte_addr (CORE_ADDR address)
}
void
-set_breakpoint_condition (struct breakpoint *b, char *exp,
+set_breakpoint_condition (struct breakpoint *b, const char *exp,
int from_tty)
{
xfree (b->cond_string);