aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-02-03 15:57:07 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-02-03 15:57:07 +0000
commit2f202fde0a4586f88b98439b436e7b0bb1336b26 (patch)
tree6f697f19c4aea8870408ce2befc1a382a902d08c /gdb/ChangeLog
parentf5b95b507387e603a383ba6347001314304ceadc (diff)
downloadgdb-2f202fde0a4586f88b98439b436e7b0bb1336b26.zip
gdb-2f202fde0a4586f88b98439b436e7b0bb1336b26.tar.gz
gdb-2f202fde0a4586f88b98439b436e7b0bb1336b26.tar.bz2
gdb/
Code cleanup. * breakpoint.c (print_breakpoint_location): Replace bp_location field source_file references by symtab field references. Remove variables sal and fullname. (momentary_breakpoint_from_master, add_location_to_breakpoint): (clear_command, say_where): Replace bp_location field source_file references by symtab field references. (bp_location_dtor): Remove the source_file reference. (update_static_tracepoint): Replace bp_location field source_file references by symtab field references. (breakpoint_free_objfile): New function. * breakpoint.h (struct bp_location): Extend the comment for line_number. Replace the field source_file by field symtab, extend its comment. (breakpoint_free_objfile): New declaration. * objfiles.c (free_objfile): Call breakpoint_free_objfile. * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location field source_file references by symtab field references.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6c7a153..ffd65e3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,25 @@
2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Code cleanup.
+ * breakpoint.c (print_breakpoint_location): Replace bp_location field
+ source_file references by symtab field references. Remove variables
+ sal and fullname.
+ (momentary_breakpoint_from_master, add_location_to_breakpoint):
+ (clear_command, say_where): Replace bp_location field source_file
+ references by symtab field references.
+ (bp_location_dtor): Remove the source_file reference.
+ (update_static_tracepoint): Replace bp_location field source_file
+ references by symtab field references.
+ (breakpoint_free_objfile): New function.
+ * breakpoint.h (struct bp_location): Extend the comment for line_number.
+ Replace the field source_file by field symtab, extend its comment.
+ (breakpoint_free_objfile): New declaration.
+ * objfiles.c (free_objfile): Call breakpoint_free_objfile.
+ * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
+ field source_file references by symtab field references.
+
+2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+
Replace xfullpath calls by gdb_realpath calls.
* cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
function comment.