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