projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4e0a7a
)
* linespec.c (linespec_parse_line_offset): Make parameter
author
Keith Seitz
<keiths@redhat.com>
Wed, 18 Jul 2012 03:35:29 +0000
(
03:35
+0000)
committer
Keith Seitz
<keiths@redhat.com>
Wed, 18 Jul 2012 03:35:29 +0000
(
03:35
+0000)
const.
gdb/ChangeLog
patch
|
blob
|
history
gdb/linespec.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 45de32845353b66740b174855ff27eea620ac929..dcb38a2014c154661e6dd0484cf9fa59a0c1b8d0 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+2012-07-17 Keith Seitz <keiths@redhat.com>
+
+ * linespec.c (linespec_parse_line_offset): Make parameter
+ const.
+
2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
PR 11914
diff --git
a/gdb/linespec.c
b/gdb/linespec.c
index 4156694bc4fb23f7871d2afc454252be308c6645..e5c1f9f7d2422238bc79812feb6c6a2af40ab425 100644
(file)
--- a/
gdb/linespec.c
+++ b/
gdb/linespec.c
@@
-1420,7
+1420,7
@@
unexpected_linespec_error (linespec_parser *parser)
/* Parse and return a line offset in STRING. */
static struct line_offset
-linespec_parse_line_offset (char *string)
+linespec_parse_line_offset (c
onst c
har *string)
{
struct line_offset line_offset = {0, LINE_OFFSET_NONE};