* Makefile.in (ALLDEPFILES): Add hpread.c.
[deliverable/binutils-gdb.git] / gdb / ChangeLog.hpread
1 Fri Aug 19 10:36:15 1994 Jeff Law (law@snake.cs.utah.edu)
2
3 * Makefile.in (ALLDEPFILES): Add hpread.c.
4 (hpread.o): Add dependencies.
5
6 * somread.c: Do not include "aout/aout64.h". SOM has nothing to
7 do with a.out.
8 (BYTES_IN_WORD): Delete.
9 (som_symfile_read): Call hpread_build_psymtabs to build any
10 minimal symbols based on the HP C native debug symbols.
11 (som_symfile_finish): Call hpread_symfile_finish.
12 (som_symfile_init): Call hpread_symfile_init.
13 * config/pa/tm-hppa.h (HPREAD_ADJUST_STACK_ADDRESS): Define.
14 * hppa-tdep.c (hpread_adjust_stack_address): New function.
15
16 * config/pa/hppabsd.mh (NATDEPFILES): Add hpread.o
17 * config/pa/hppahpux.mh (NATDEPFILES): Likewise.
18 * hpread.c: New file.
19
20 Fri Aug 12 19:30:53 1994 Jeff Law (law@snake.cs.utah.edu)
21
22 * hpread.c: Delete rest of TODO list. Do not include "libbfd.h",
23 <time.h>, <sys/types.h>, "demangle.h", <sys/file.h>,
24 "expression.h", "language.h", "gdbtypes.h", "demangleh".
25 Move all global variables into the private symbol table structure
26 and add accessor macros. Update some comments.
27 (hpread_build_psymtabs): Delete dbsubc_addr, we don't need it.
28 (hpread_end_psymtab): New function to end a partial symbol table,
29 all callers changed (no more bogus sharing with dbxread.c).
30
31 Mon Aug 08 15:34:13 1994 Jeff Law (law@snake.cs.utah.edu)
32
33 * hpread.c (hpread_process_one_debug_symbol): Fix block scoping
34 problem (losing localvars on the close-brace instead of after
35 the close brace).
36
37 Wed Jul 06 12:39:07 1994 Jeff Law (law@snake.cs.utah.edu)
38
39 * hpread.c: More cleanups. Delete lots of trailing whitespace.
40 Remove some items from the TODO list and notes throughout code
41 for things which need fixing. Add more comments.
42 Document bogus struct symloc sharing with dbxread.c. Delete more
43 useless variables. Add more PARAM prototypes. Fixup more
44 indention problems that have crept in.
45 (SET_NAMESTRING): Accept new namep and objfile arguments so that
46 it doesn't depend on the variable names on the procedures it's
47 used from.
48 (hpread_symfile_init): Delete incorrect checks for bogus sizes of
49 the debug sections.
50
51 Mon Jul 04 19:48:03 1994 Jeff Law (law@snake.cs.utah.edu)
52
53 * hpread.c (hpread_symfile_init): Make sure to initialize all the
54 private data to zero. Not having any HP C debug symbols is not an
55 error. Just return.
56
57 Fri Jul 01 19:50:21 1994 Jeff Law (law@snake.cs.utah.edu)
58
59 * hpread.c: Change contribution notice to the Cygnus/Utah agreed
60 upon notice. Delete some stuff from the TODO list. Rework
61 many comments to be clearer. Major cleanups. Consistently
62 use "hpread_" prefix. Delete unnecessary macros, structures
63 variables, fiels, functions and #if 0 code. Mark code which
64 still needs to be cleaned up. PARAMize and make most functions
65 static. Fix error checking when reading in the debug section
66 contents. No more minimal symbol table handling in this code!
67
68 Mon Mar 21 10:09:06 1994 Jeff Law (law@snake.cs.utah.edu)
69
70 * hpread.c (_initialize_hpuxread): Don't call add_symtab_fns if
71 HPREAD is not defined.
72
73 Sun Mar 13 17:19:03 1994 Jeff Law (law@snake.cs.utah.edu)
74
75 * hpread.c (read_hpux_symtab: Correctly determine the namespace
76 and address class of SVAR, DVAR, TYPEDEF, TAGDEF, CONST, and
77 MEMENUM symbols. Do not include function-scoped variables in
78 the partial symbol table.
79
80 Sun Feb 6 15:56:09 1994 Jeff Law (law@wild.cs.utah.edu)
81
82 * hpread.c (hpux_symfile_init): Use obj_som_* rather than obj_* to
83 access BFD private data. Search for the "$TEXT$" space rather
84 than ".text".
85 (hppa_sym_fns): Add bfd target flavour to initializer.
86
87 Thu Dec 16 09:14:58 1993 Jeff Law (law@snake.cs.utah.edu)
88
89 * hpread.c (read_hp_function_type): Correctly handle
90 pass-by-value structures > 64bits in size.
91 (process_one_debug_symbol): Likewise.
92
93 Tue Nov 2 03:01:01 1993 Jeff Law (law@snake.cs.utah.edu)
94
95 * hpread.c: Include <time.h> and <sys/types.h>. Change include
96 of "libhppa.h" to "som.h".
97 (BYTES_IN_WORD): Define.
98 (hppa_sym_fns): "hppa" is 4 characters, not 5.
99
100 Wed Sep 29 17:20:54 1993 Jeff Law (law@snake.cs.utah.edu)
101
102 * hpread.c (read_hpux_symtab): When a K_END is found for a
103 K_MODULE, clear the have_module and have_name flags.
104
105 Sun Aug 22 22:50:32 1993 Jeff Law (law@snake.cs.utah.edu)
106
107 * hpread.c (get_textlow): Don't go past a K_END when looking for a
108 K_FUNCTION. Avoids losing on source files with no functions.
109
110 Wed Aug 18 21:42:52 1993 Jeff Law (law@snake.cs.utah.edu)
111
112 * hpread.c (read_hpux_symtab): Call SET_NAMESTRING for K_MODULE
113 debug symbols.
114
115 Mon Aug 16 09:52:33 1993 Jeff Law (law@snake.cs.utah.edu)
116
117 * hpread.c: Add U Utah contribution notice. Add TODO list.
118 (hp_type_lookup): Use TYPE_NAME and TYPE_TAG_NAME.
119 (process_one_debug_symbol): Likewise.
120
121 Tue Jul 20 14:14:59 1993 Jeff Law (law@snake.cs.utah.edu)
122
123 * hpread.c (read_hp_array_type): Handle "char foo[]".
124
125 Thu Jul 1 15:46:10 1993 Jeff Law (law@snake.cs.utah.edu)
126
127 * hpread.c: Run through gnu-indent.
128
129 Mon Jun 28 19:00:21 1993 Jeff Law (law@snake.cs.utah.edu)
130
131 * hpread.c: Do not include libhppax. Instead include libhppa.h
132 and hpux-symtab.h. Misc indention fixes.
133 (find_unwind_entry): Add PARAM prototype.
134 (read_hpux_symtab): More fixes for names and sizes of structs,
135 unions, enums, typedefs, and tagdefs.
136 (read_hp_enum_type, read_hp_struct_type): Likewise.
137 (read_hp_set_type, read_hp_subrange_type): Likewise.
138 (hp_type_lookup, process_one_debug_symbol): Likewise.
139 (process_one_debug_symbol): Search forward from the K_FUNCTION for
140 the first K_BEGIN when setting the line number associated with a
141 function. Avoid unnecessary calls to savestring.
142 (hp_alloc_type): Initialize TYPE_CPLUS_SPECIFIC here. Remove
143 most cases where we set it elsewhere.
144 (hppa_sym_fns): Use "hppa" instead of hppax since hpread.c and
145 paread.c use the same BFD backend now. All references changed.
146 (hpux_symfile_init): Allocate space to hold the debugging section
147 contents on the symbol obstack.
148
149 Wed Jun 23 16:33:36 1993 Jeff Law (law@snake.cs.utah.edu)
150
151 * hpread.c: Document a few functions, misc cleanups. Update
152 copyright to reflect the first "release" of this file.
153 (struct hpux_symfile_info): Delete unneeded fields. Keep pointers
154 to the contents of the debug sections rather than offsets within
155 the file itself. Corresponding changes to the accessor macros.
156 (sl_symbol_size, slt_symbuf): Delete unneeded global variables.
157 (slt_symbuf_start, slt_symbuf_end, lntt_symbuf): Likewise.
158 (lntt_symbuf_start, lntt_symbuf_end, gntt_symbuf): Likewise.
159 (gntt_symbuf_start, gntt_symbuf_end): Likewise.
160 (fill_slt_symbuf, fill_lntt_symbuf): Delete unneeded functions.
161 (fill_gntt_symbuf): Likewise.
162 (get_lntt, get_gntt, get_slt): Simplify.
163 (hpux_symfile_init): Read and store the contents of the debugging
164 sections. Do error checking on memory allocation and BFD calls.
165 (read_hpux_symtab): Delete KERNELDEBUG crud. Ignore debug symbols
166 which are not needed for building partial symbol tables. Handle
167 K_CONST, K_TYPEDEF, and K_TAGDEF just like K_SVAR and K_DVAR.
168 (read_ofile_symtab): Delete useless processing_gcc_compilation stuff.
169 (read_hp_struct_type): Initialize TYPE_CPLUS_SPECIFIC.
170 (read_hp_set_type, read_hp_array_type): Likewise.
171 (read_hp_subrange_type, hp_type_lookup): Likewise.
172
173 Tue Jun 22 11:03:13 1993 Jeff Law (law@snake.cs.utah.edu)
174
175 * hpread.c: Delete useless #if 1 statements.
176 (hp_type_translate): Use T_LONG, T_UNS_LONG, and T_DOUBLE instead
177 of magic integers. Fix handling for T_UNS_INT. Abort if the type
178 passed in is not an "immediate" type.
179 (read_hp_enum_type): Properly compute the size of the type.
180 (read_hp_array_type): Likewise.
181 (hp_type_lookup): Prefix the names of structs, unions and enums
182 with "struct", "union", and "enum" as appropriate.
183
184 Mon Jun 21 10:13:42 1993 Jeff Law (law@snake.cs.utah.edu)
185
186 * hpread.c: Include "demangle.h".
187 (process_one_debug_symbol): Set the SYMBOL_LANGUAGE and
188 SYMBOL_INIT_DEMANGLED_NAME for the current symbol. Adjust
189 SYMBOL_VALUE for local variables in the stack by the size of the
190 current function's stack (found in unwind descriptor). Keep
191 better track of the current unwind descriptor.
192
193 Wed Jun 16 14:34:10 1993 Jeff Law (law@snake.cs.utah.edu)
194
195 * hpread.c (hp_type_translate): Fix promotion bugs from
196 char to short and short to int.
197
198 Thu Jun 10 11:27:34 1993 Jeff Law (law@snake.cs.utah.edu)
199
200 * hpread.c (read_hp_function_type): Adjust SYMBOL_VALUE for
201 arguments in the stack by the size of the current function's stack
202 (found in the unwind descriptor).
203 (process_one_debug_symbol): Likewise. Keep track of the current
204 function's unwind descriptor.
This page took 0.04838 seconds and 5 git commands to generate.