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