[OB] breakpoint.c (init_breakpoint_sal): Add comment.
Commit Message
Hi.
While digging deeper into
https://sourceware.org/ml/gdb-patches/2016-01/msg00497.html
I was reading init_breakpoint_sal, trying to make sense of it.
This comment helps a bit.
2016-01-21 Doug Evans <dje@google.com>
* breakpoint.c (init_breakpoint_sal): Add comment.
@@ -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,