This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] [patchv2 2/11] bp_location.source_file -> bp_location.symtab


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]