[patch] Small fixes to source file handling

Fernando Nasser fnasser@redhat.com
Sun Sep 22 13:37:00 GMT 2002


This is to fix a couple of things that Andrew Cagney found in my 
previous patch and the first part of some code clean-ups he suggested.

Checked in:

	* source.c (get_current_source_symtab_and_line): Initialize sal.pc and
	sal.end fields.
	(get_current_or_default_source_symtab_and_line): Ditto.
	* breakpoint.c (parse_breakpoint_sals): Use correct accessor function
	so we do not cause a new source symtab to be searched for (reverting an
	unintentional change from the 2002-09-20 patch).
	* scm-lang.c (scm_unpac): Ditto.


-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FIX1.PATCH
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020922/cf8c54f5/attachment.ksh>


More information about the Gdb-patches mailing list