This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] * breakpoint.c (init_breakpoint_sal): Add comment.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b35a8b2f1f44c6ea48aeb6f7a74de01f6f5016fb

commit b35a8b2f1f44c6ea48aeb6f7a74de01f6f5016fb
Author: Doug Evans <dje@google.com>
Date:   Thu Jan 21 17:02:39 2016 -0800

    * breakpoint.c (init_breakpoint_sal): Add comment.

Diff:
---
 gdb/ChangeLog    | 4 ++++
 gdb/breakpoint.c | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 28173b0..0c86dff 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2016-01-21  Doug Evans  <dje@google.com>
+
+	* breakpoint.c (init_breakpoint_sal): Add comment.
+
 2016-01-21  Marcin KoÅ?cielnicki  <koriakin@0x04.net>
 
 	* ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 3aac26c..7b610ef 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -9233,7 +9233,8 @@ update_dprintf_commands (char *args, int from_tty,
 
 /* Create a breakpoint with SAL as location.  Use LOCATION
    as a description of the location, and COND_STRING
-   as condition expression.  */
+   as condition expression.  If LOCATION is NULL then create an
+   "address location" from the address in the SAL.  */
 
 static void
 init_breakpoint_sal (struct breakpoint *b, struct gdbarch *gdbarch,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]