diff options
author | Richard Henderson <rth@redhat.com> | 1998-01-22 00:50:17 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1998-01-22 00:50:17 +0000 |
commit | cc746b3ed571aba2890e4abf51879aeb65168587 (patch) | |
tree | edc77035674f62dd1e30332beac05c72bdcb1e48 | |
parent | 2d44e12a276905a04f74654800e63c5373eacd26 (diff) | |
download | gdb-cc746b3ed571aba2890e4abf51879aeb65168587.zip gdb-cc746b3ed571aba2890e4abf51879aeb65168587.tar.gz gdb-cc746b3ed571aba2890e4abf51879aeb65168587.tar.bz2 |
* listing.c (file_info_struct): Remove FILE, add POS.
(last_open_file_info, last_open_file): New; a one entry FILE* cache.
(file_info): Don't open the file.
(buffer_line): Check for the file in the last_open cache, updating
as necessary.
(print_source): Don't reference file_info->file.
(listing_listing): Likewise.
(listing_print): Close the file in the cache, if any.
-rw-r--r-- | gas/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 98c70c4..0d10233 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,14 @@ +Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com> + + * listing.c (file_info_struct): Remove FILE, add POS. + (last_open_file_info, last_open_file): New; a one entry FILE* cache. + (file_info): Don't open the file. + (buffer_line): Check for the file in the last_open cache, updating + as necessary. + (print_source): Don't reference file_info->file. + (listing_listing): Likewise. + (listing_print): Close the file in the cache, if any. + start-sanitize-m32rx Tue Jan 20 17:08:53 1998 Nick Clifton <nickc@cygnus.com> |