diff options
author | Fred Fish <fnf@specifix.com> | 1996-10-08 19:00:38 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-10-08 19:00:38 +0000 |
commit | a7f56d5afff33782446a186cb1519e9416328799 (patch) | |
tree | 1577317b0d00b5f13775d9c5a1528dfcf317bc18 /gdb/ChangeLog | |
parent | 1c4794f58f892986b25fcf390c4e967bda6e19fa (diff) | |
download | gdb-a7f56d5afff33782446a186cb1519e9416328799.zip gdb-a7f56d5afff33782446a186cb1519e9416328799.tar.gz gdb-a7f56d5afff33782446a186cb1519e9416328799.tar.bz2 |
Just some cleanups noticed while working on PR 10760
* dbxread.c (dbx_symfile_read): Call free_pending_blocks rather
than poking global variable (which is now static).
* hpread.c (hpread_build_psymtabs): Ditto.
* os9kread.c (os9k_symfile_read): Ditto.
* xcoffread.c (xcoff_initial_scan): Ditto.
* buildsym.h (free_pending_blocks): Declare here.
(pending_blocks): Remove declaration of global symbol.
(free_pendings): Remove declaration of global symbol.
(make_blockvector): Declare here.
(record_pending_block): Declare here.
* dstread.c (make_blockvector): Remove static copy that was old
clone of version in buildsym.c.
(process_dst_block): Call record_pending_block rather than doing
it by hand.
(read_dst_symtab): Ditto.
* buildsym.c (make_blockvector): Make global rather than static,
(record_pending_block): New function, code moved from finish_block.
(finish_block): Use record_pending_block.
(free_pending_blocks): New function.
(really_free_pendings): Call free_pending_blocks.
(pending_blocks): Make static instead of global.
(free_pendings): Make static instead of global.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 46dc559..06b05c5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,31 @@ +Tue Oct 8 11:47:13 1996 Fred Fish <fnf@cygnus.com> + + * dbxread.c (dbx_symfile_read): Call free_pending_blocks rather + than poking global variable (which is now static). + * hpread.c (hpread_build_psymtabs): Ditto. + * os9kread.c (os9k_symfile_read): Ditto. + * xcoffread.c (xcoff_initial_scan): Ditto. + + * buildsym.h (free_pending_blocks): Declare here. + (pending_blocks): Remove declaration of global symbol. + (free_pendings): Remove declaration of global symbol. + (make_blockvector): Declare here. + (record_pending_block): Declare here. + + * dstread.c (make_blockvector): Remove static copy that was old + clone of version in buildsym.c. + (process_dst_block): Call record_pending_block rather than doing + it by hand. + (read_dst_symtab): Ditto. + + * buildsym.c (make_blockvector): Make global rather than static, + (record_pending_block): New function, code moved from finish_block. + (finish_block): Use record_pending_block. + (free_pending_blocks): New function. + (really_free_pendings): Call free_pending_blocks. + (pending_blocks): Make static instead of global. + (free_pendings): Make static instead of global. + Tue Oct 8 09:03:22 1996 Stu Grossman (grossman@critters.cygnus.com) * config/i386/windows.mh config/i386/xm-windows.h:: New config |