* [OB PATCH] breakpoint.c (init_breakpoint_sal): Add comment.
@ 2016-01-22 1:06 Doug Evans
0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2016-01-22 1:06 UTC (permalink / raw)
To: gdb-patches
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.
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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-22 1:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-22 1:06 [OB PATCH] breakpoint.c (init_breakpoint_sal): Add comment Doug Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).