aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2011-02-07 13:30:33 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2011-02-07 13:30:33 +0000
commit9998af43c6d0962f44f32b63e297e0ff1f713669 (patch)
tree6105ec5a1522b67c1ee3520473d5d30d6401e8e2
parent764880b7edb584d2e037474a40fd06f17e6c5fd5 (diff)
downloadgdb-9998af43c6d0962f44f32b63e297e0ff1f713669.zip
gdb-9998af43c6d0962f44f32b63e297e0ff1f713669.tar.gz
gdb-9998af43c6d0962f44f32b63e297e0ff1f713669.tar.bz2
* breakpoint.c (parse_breakpoint_sals): Fix description.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/breakpoint.c7
2 files changed, 10 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b55e815..3753122 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
+2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * breakpoint.c (parse_breakpoint_sals): Fix description.
+
2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
- Oguz Kayral <oguzkayral@gmail.com>
+ Oguz Kayral <oguzkayral@gmail.com>
* python/py-inferior.c (python_on_normal_stop): New function.
(python_on_resume): New function.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 656dedd..39d9b02 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -7485,10 +7485,13 @@ create_breakpoints_sal (struct gdbarch *gdbarch,
}
}
-/* Parse ARG which is assumed to be a SAL specification possibly
+/* Parse ADDRESS which is assumed to be a SAL specification possibly
followed by conditionals. On return, SALS contains an array of SAL
addresses found. ADDR_STRING contains a vector of (canonical)
- address strings. ARG points to the end of the SAL. */
+ address strings. ADDRESS points to the end of the SAL.
+
+ The array and the line spec strings are allocated on the heap, it is
+ the caller's responsibility to free them. */
static void
parse_breakpoint_sals (char **address,