diff options
author | Keith Seitz <keiths@redhat.com> | 2013-03-20 22:17:18 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2013-03-20 22:17:18 +0000 |
commit | 8d3dd301593ef5feb294bc8434ce6e3ba4552c5e (patch) | |
tree | e5b3678b79d4cf17d6a4a77115cf1beb25a31dff /gdb/breakpoint.h | |
parent | 4a705f8ebf92bdb609f9f646f3c778cdc4f7540c (diff) | |
download | gdb-8d3dd301593ef5feb294bc8434ce6e3ba4552c5e.tar.gz |
* 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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 7a2c629dfe1..68f3ed9abeb 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 |