* jcf-parse.c (parse_class_file): Re-enter the current file.

From-SVN: r128211
This commit is contained in:
Tom Tromey 2007-09-06 23:10:19 +00:00 committed by Tom Tromey
parent b2ea030b18
commit ae582cbfa4
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-09-06 Tom Tromey <tromey@redhat.com>
* jcf-parse.c (parse_class_file): Re-enter the current file.
2007-09-07 Roman Zippel <zippel@linux-m68k.org>
boehm.c (mark_reference_fields): Move misaligned pointer check

View File

@ -1586,6 +1586,13 @@ parse_class_file (void)
java_layout_seen_class_methods ();
input_location = DECL_SOURCE_LOCATION (TYPE_NAME (current_class));
#ifdef USE_MAPPED_LOCATION
{
/* Re-enter the current file. */
expanded_location loc = expand_location (input_location);
linemap_add (line_table, LC_ENTER, 0, loc.file, loc.line);
}
#endif
file_start_location = input_location;
(*debug_hooks->start_source_file) (input_line, input_filename);