aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2013-03-20 22:17:18 +0000
committerKeith Seitz <keiths@redhat.com>2013-03-20 22:17:18 +0000
commitfb81d0169b86ced7d11bf4eff03d19f3e1ded9b4 (patch)
tree878623e8f2ace8815ef495c473a0a58f4c3210cf /gdb/breakpoint.h
parentef0026f03b3a4e892477fddf5e7da722b656db61 (diff)
downloadgdb-fb81d0169b86ced7d11bf4eff03d19f3e1ded9b4.zip
gdb-fb81d0169b86ced7d11bf4eff03d19f3e1ded9b4.tar.gz
gdb-fb81d0169b86ced7d11bf4eff03d19f3e1ded9b4.tar.bz2
* breakpoint.h (struct breakpoint): Add comment to
extra_string indicating that this member is mallod'd. * breakpoint.c (base_breakpoint_dtor): Free extra_string.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 7a2c629..68f3ed9 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -726,7 +726,8 @@ struct breakpoint
there is no condition. */
char *cond_string;
- /* String form of extra parameters, or NULL if there are none. */
+ /* String form of extra parameters, or NULL if there are none.
+ Malloc'd. */
char *extra_string;
/* Holds the address of the related watchpoint_scope breakpoint