aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2016-01-21 17:02:39 -0800
committerDoug Evans <dje@google.com>2016-01-21 17:03:10 -0800
commitb35a8b2f1f44c6ea48aeb6f7a74de01f6f5016fb (patch)
tree4fd23dd7e11fd4900ffb5096649a8c829dffe06e /gdb/breakpoint.c
parent4f5946a8630ec027d412ee078974f8d92e5ab3a0 (diff)
downloadgdb-b35a8b2f1f44c6ea48aeb6f7a74de01f6f5016fb.zip
gdb-b35a8b2f1f44c6ea48aeb6f7a74de01f6f5016fb.tar.gz
gdb-b35a8b2f1f44c6ea48aeb6f7a74de01f6f5016fb.tar.bz2
* breakpoint.c (init_breakpoint_sal): Add comment.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c3
1 files changed, 2 insertions, 1 deletions
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,