This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patchv2 2/11] bp_location.source_file -> bp_location.symtab
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 3 Feb 2013 16:57:23 +0100
- Subject: [commit] [patchv2 2/11] bp_location.source_file -> bp_location.symtab
- References: <20130127223210.GC15252@host2.jankratochvil.net>
On Sun, 27 Jan 2013 23:32:10 +0100, Jan Kratochvil wrote:
> gdb/
> 2013-01-25 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.
Checked in:
http://sourceware.org/ml/gdb-cvs/2013-02/msg00016.html
Jan