From: Thiago Jung Bauermann Date: Mon, 7 Feb 2011 13:30:33 +0000 (+0000) Subject: * breakpoint.c (parse_breakpoint_sals): Fix description. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9998af43c6d0962f44f32b63e297e0ff1f713669;p=binutils-gdb.git * breakpoint.c (parse_breakpoint_sals): Fix description. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b55e815a3b4..37531225bff 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ +2011-02-07 Thiago Jung Bauermann + + * breakpoint.c (parse_breakpoint_sals): Fix description. + 2011-02-04 Sami Wagiaalla - Oguz Kayral + Oguz Kayral * 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 656dedd20f7..39d9b02fe43 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,