aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-06-02 23:16:19 +0200
committerSimon Marchi <simon.marchi@ericsson.com>2017-06-02 23:16:19 +0200
commita5e364af4a3d745bb79cfc9a1d533632d4d04b57 (patch)
tree8b6ee62ee15d5aaca6044f9b2a8d25d3954c9520 /gdb/ChangeLog
parente7cd2680e089327e7fefaf1cf5a58ec09e379f0d (diff)
downloadgdb-a5e364af4a3d745bb79cfc9a1d533632d4d04b57.zip
gdb-a5e364af4a3d745bb79cfc9a1d533632d4d04b57.tar.gz
gdb-a5e364af4a3d745bb79cfc9a1d533632d4d04b57.tar.bz2
Introduce and use new_breakpoint_from_type
This is a small preparatory patch to factor out a snippet that appears twice. More kinds of breakpoints will need to be created based on bptype, so I think it's a good idea to centralize the instantiation of breakpoint objects. gdb/ChangeLog: * breakpoint.c (new_breakpoint_from_type): New function. (create_breakpoint_sal): Use new_breakpoint_from_type and unique_ptr. (create_breakpoint): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 263d57f..7334ae4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2017-06-02 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * breakpoint.c (new_breakpoint_from_type): New function.
+ (create_breakpoint_sal): Use new_breakpoint_from_type and
+ unique_ptr.
+ (create_breakpoint): Likewise.
+
2017-05-31 Simon Marchi <simon.marchi@ericsson.com>
* memattr.c (mem_info_command): Rename to ...