Add code to handle TAG_pointer_type DIE's (DWARF Information Entries)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
af213624
FF
1Mon Feb 17 07:13:27 1992 Fred Fish (fnf at cygnus.com)
2
9e4c1921
FF
3 * dwarfread.c (process_dies): Add case to handle TAG_pointer_type
4 DIE's. Add new function read_tag_pointer_type() to read them.
5
af213624
FF
6 * dwarfread.c (dwarf_read_array_type, read_subroutine_type):
7 When creating a new user defined type, check to see if a partial
8 type already exists, and if so, bash it to fit.
9
d35bf52d
FF
10Thu Feb 13 17:14:28 1992 Fred Fish (fnf at cygnus.com)
11
12 * elfread.c (elf_symtab_read): Fix code to correctly track
13 changes in bfd for absolute symbols.
14
5b620e75
SG
15Thu Feb 13 12:43:29 1992 Stu Grossman (grossman at cygnus.com)
16
17 * xm-vaxbsd.h: Close off comment.
18
0a663e9e
FF
19Thu Feb 13 07:45:19 1992 Fred Fish (fnf at cygnus.com)
20
21 * xm-sysv4.h: Define NEED_POSIX_SETPGID.
22
23Fri Feb 7 11:51:12 1992 Per Bothner (bothner at cygnus.com)
24
25 * mips-tdep.c (mips_print_registers): Print correct register
26 number for double pseudo-registers.
27
ef9b1bc9
JG
28Fri Feb 7 07:56:05 1992 John Gilmore (gnu at cygnus.com)
29
256269fc
JG
30 * buildsym.c (read_struct_type): Avoid double-bump of parse ptr
31 in the op$::OPERATOR. case. From Steven McCanne,
32 <mccanne@horse.ee.lbl.gov>.
33
ef9b1bc9
JG
34 * exec.c (set_section_name): Pass arg to exec_files_info;
35 only call it if interactive. From Francis Kauth <fk@tv.tv.tek.com>.
36
195853fc
JG
37Thu Feb 6 17:41:32 1992 John Gilmore (gnu at cygnus.com)
38
39 * main.c (print_gdb_version): Copyright msg: only this year.
40 (cd_command): Avoid changing current_directory on error.
41
ee17fd34
PB
42Thu Feb 6 15:14:01 1992 Per Bothner (bothner at cygnus.com)
43
44 * mipsread.c (parse_partial_symbols): Handle dependencies
45 between partial symbol tables (when not doing stabs-in-ecoff).
46 (This used to be handled by parse_fdr, but parse_fdr was
47 incompatible with handling stabs-in-ecoff, so the code
48 was re-written to not use parse_fdr. Unfortunately,
49 the logic to handle dependencies was overlooked.)
50
1f46923f
SC
51Thu Feb 6 11:51:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
52
53 * coffread.c (read_enum_type): Use the size of a target int when
54 describing enum.
55 * defs.h: added new #define for TARGET_PTR_BIT, defaults to size
56 of target int.
57 * h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
58 * symtab.c (lookup_reference_type, lookup_ptr_type): use
59 TARGET_PTR_BIT to determine size of a pointer
60 * values.c (unpack_long): when unpacking a REF or a PTR don't
61 assume the size of the type.
62
778c358d
JG
63Wed Feb 5 22:29:59 1992 John Gilmore (gnu at cygnus.com)
64
65 * mipsread.c (parse_symbol): Avoid clobbering enum pointer when
66 looking at its members. Improve guess between struct and union,
67 only assuming union if multiple members have offsets of zero.
68
bd49ef36
PB
69Tue Feb 4 18:05:44 1992 Per Bothner (bothner at cygnus.com)
70
71 * mipsread.c: Use (FP0_REGNUM-32) instead of magic number 6.
72 (This is just for clarity - and one day permitting us to
73 change FP0_REGNUM from 38 to 32, which would make more sense.)
74 * tm-mips.h: Added STAB_REG_TO_REGNUM macro, so that
75 register numbers in stabs-in-ecoff get handled correctly.
76
77Sat Feb 1 04:45:10 1992 Stu Grossman (grossman at cygnus.com)
78
79 * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
80 config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen
81 into BSD and Ultrix.
82
96499e96
JG
83Sat Feb 1 04:39:41 1992 John Gilmore (gnu at cygnus.com)
84
85 * dbxread.c (dbx_symfile_init): Call malloc, not xmalloc.
86
98f03b91
SG
87Sat Feb 1 04:15:41 1992 Stu Grossman (grossman at cygnus.com)
88
dafe57bc 89 * Makefile.in: Increment version to 4.4.1.
98f03b91
SG
90 * main.c (print_gdb_version): Update copyright notice.
91
92Sat Feb 1 01:43:11 1992 Per Bothner (bothner at cygnus.com)
93
94 * mipsread.c: Prepend "struct " to the names of structure
95 types, and similarly for enums and unions. (This used
96 to be done, but got lost in the re-write to "guess" the
97 difference between enum/struct/union.)
98 Also, guess that a tag is an enum if the first member
99 has type btNil.
100
3671f1fd
SG
101Fri Jan 31 21:45:51 1992 Stu Grossman (grossman at cygnus.com)
102
103 * xm-vax.h: #ifndef ultrix around #include of endian.h and
104 limits.h (sigh).
105
0c6efbcc
JG
106Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com)
107
ee7270cd
JG
108 * Projects: Patching executables is done.
109 * Makefile.in (VERSION): Roll to gdb-4.4.
75c86b57 110 * README, WHATS.NEW: Update for gdb-4.4.
ee7270cd 111
4a1dcb7f
JG
112 * symfile.c (reread_symbols): Whenever we reread one object
113 file's symbols, we must restart the scan, because the object_files
114 chain has been permuted.
115
0c6efbcc
JG
116 * exec.c (exec_files_info): Split out into print_section_info.
117 Print BFD filename of each section if it's not the default one.
118 * core.c (core_files_info): Call print_section_info.
119
120 * xm-vax.h: Include a few system header files whose definitions
121 must precede defs.h.
122 * language.c, language.h: Make some things const.
123 * expression.h, main.c: const spreads like ooze.
124
125 * mem-break.c (break_insn, break_insn_size): Use unsigned chars,
126 since BREAKPOINT values can be >0x80.
127
d58ea996
SG
128Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com)
129
130 * infrun.c, xm-i386sco.h: SCO needs to use setpgid().
131
0c6efbcc
JG
132Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com)
133
134 * sparc-pinsn.c: Remove kludge for preferring architectures.
135 Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
136 and forever. Add `add' instruction to the set that get checked
137 for a preceding `sethi' in order to print an absolute address.
138 Corresponding changes in ../include/opcode/sparc.h needed
139 to eliminate garbage instructions.
140
d4ea2aba
PB
141Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com)
142
143 * mipsread.c (parse_partial_symbols): Make sure partial
144 symbols are created for external symbols (as used to be
145 the case). This is a bit of a pain with the mips-coff.
146 It uses a table which points to all of the external
147 symbols belonging to a particular FDR or psymtab.
148 Once we've generated this table, we might as well save
149 it, and then use it in psymtab_to_symtab_1 to find
150 the symbols to pass to parse_external().
151 * symfile.c, symfile.c: New function start_psymtab_common
152 to share the common parts of allocating a new psymtab
153 for dbxread, mipsread (and later dwarfread). Its code
154 was pulled out from start_psymtab in dbxread.c.
155 * dbxread.c (start_psymtab): Use start_psymtab_common().
156
157 * valprint.c (val_print): If there is an error when trying
158 to print a string, check to see if there really is a problem
159 by reading just one character. If that works, assume
160 things are ok.
161
05151637
SG
162Wed Jan 29 18:58:43 1992 Stu Grossman (grossman at cygnus.com)
163
164 * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
165 cypress, v8 mnemonics in that order.
166
4a074bea
PB
167Tue Jan 28 17:32:13 1992 Per Bothner (bothner at cygnus.com)
168
169 * sparc-pinsn.c: Put the qsort() back in.
170
c55e6167 171Mon Jan 27 18:51:03 1992 John Gilmore (gnu at cygnus.com)
1aa560b2 172
eae1a261
JG
173 * findvar.c (read_register, write_register): Handle machines
174 where REGISTER_TYPE is not the same size as "int".
175
c55e6167 176 Handle debug symbols in dynamically loaded (relocated) code:
3c03b5de 177
c55e6167
JG
178 * dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
179 offset to process_one_symbol.
180 (process_one_symbol): Take new offset parameter. Add it into
181 appropriate symbol types to relocate symbols to loaded addresses.
182 Handle all possible symbol types, and complain() about types that
183 we don't expect to see.
184 * mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
185 process_one_symbol (FIXME, should pass real offset).
1aa560b2 186
c55e6167
JG
187 Misc bugfixes:
188
189 * breakpoint.c (resolve_sal_pc): Split out code to resolve a
190 sal's PC value.
191 (set_breakpoint, break_command_1, until_break_command,
192 catch_command_1, breakpoint_re_set_one): Use it.
c55e6167
JG
193 * symtab.h (resolve_sal_pc): Declare.
194 * infcmd.c (jump_command): Use resolve_sal_pc.
195
4cc9f7e2 196 * source.c (list_command): Shorten "FILE, line N" to "FILE:N".
c55e6167
JG
197
198 * putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
3818ed33 199
5a4e7215
JG
200 * c-exp.y (yylex): `this' and `template' are only tokens in C++.
201
3818ed33
JG
202 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
203 xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
204 Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
205
c55e6167
JG
206Mon Jan 27 15:46:21 1992 Stu Grossman (grossman at cygnus.com)
207
208 * dbxread.c (process_one_symbol): Make a first cut at handling
209 symbol tables generated by Sun's acc. (#ifdef'd out, FIXME.)
210
211 * symtab.c (find_pc_line): Fix stepping into and out of #included
212 files.
213
71f49876
SG
214Mon Jan 27 13:00:55 1992 Stu Grossman (grossman at cygnus.com)
215
216 * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
217 no longer any need to copy ../include/opcode/* into gdb.
218
fd8db897
JG
219Mon Jan 27 12:30:38 1992 John Gilmore (gnu at cygnus.com)
220
221 * ChangeLog, ChangeLog-9091: Split ChangeLog at 1992.
222
24b2fbdc
PB
223Sun Jan 26 19:05:40 1992 Per Bothner (bothner at cygnus.com)
224
225 * valprint.c (type_print_base, type_print_method_args):
226 Print C++ constructor methods without bogus "return type."
227
cdb90e99
FF
228Sat Jan 25 15:57:59 1992 Fred Fish (fnf at cygnus.com)
229
230 * infptrace.c (child_xfer_memory): Parameter "target" should
231 be a pointer to a structure, not the entire structure.
232
1b07e406
FF
233Fri Jan 24 01:30:27 1992 Fred Fish (fnf at cygnus.com)
234
235 * depend: Convert the couple of references to ansidecl.h that
236 used the local gdb version to use the ../include version.
237
9a1ae235
FF
238Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
239
f66f459f
FF
240 * procfs.c
241 (child_xfer_memory): Takes pointer to a struct, not entire struct.
242 (inferior_proc_init): Fix non-ANSI version of args.
243 (attach): Call print_sys_errmsg with correct number of args.
244 (mappingflags): Make static, does not need to be global.
245
fc1f8646
FF
246 * i386-tdep.c (i386_frame_num_args): Takes a pointer to a struct
247 not the entire struct itself.
248
1b7a420e
FF
249 * valops.c (value_assign): Cast some args to modify_field() and
250 {read,write}_register_bytes() correctly.
251
9a1ae235
FF
252 * ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
253
99140c31
FF
254 * Makefile.in (MALLOCSRC): Removed reference to removed local
255 copy of ansidecl.h.
256
257 * dwarfread.c (list_in_scope): Needs an initial value, use file
258 scope.
259
9a1ae235
FF
260Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
261
262 * main.c (main): Make option_index local to keep new getopt happy.
263 main.c, solib.c, Makefile.in: Update copyright notices.
264
0eb0a820
MT
265Mon Jan 20 08:54:00 1992 Michael Tiemann (tiemann at cygnus.com)
266
267 * cplus-dem.c (cplus_demangle): Correctly demangle destructors.
268
313085cb
SG
269Sat Jan 18 17:17:45 1992 Stu Grossman (grossman at cygnus.com)
270
271 * Makefile.in (HFILES): Add partial-stab.h.
272
be9a2362
FF
273Sat Jan 18 16:45:01 1992 Fred Fish (fnf at cygnus.com)
274
24e7d5ba
JG
275 * config/mh-stratus, config/mt-stratus, tm-stratus.h, xm-stratus.h:
276 New files for stratus. Not complete enough to actually build
277 on the Stratus machine; that awaits copyright assignment for
278 i860 changes.
be9a2362
FF
279
280 * Makefile.in (USER_CFLAGS): Add macro specifically reserved
281 for getting custom flags into CFLAGS when doing makes.
282
283 * configure.in: Add config information for stratus.
284
cdce29ee
FF
285Thu Jan 16 00:51:46 1992 Fred Fish (fnf at cygnus.com)
286
287 * dbxread.c (process_one_symbol): Pass address of structure
288 to complain(), rather than the whole structure.
289
7f435241
FF
290Wed Jan 15 09:56:16 1992 Fred Fish (fnf at cygnus.com)
291
292 * solib.c (solib_add_common_symbols): Only compile in when not
293 using SVR4 style shared libraries.
294
a5bd5ba6
FF
295Tue Jan 14 22:34:00 1992 Fred Fish (fnf at cygnus.com)
296
297 * dwarfread.c (locval): Add offreg flag to indicate location
298 values that are computed off a base register.
299
300 * dwarfread.c (new_symbol): Rework TAG_global_variable and
301 TAG_local_variable cases to account for static variables
302 within function scopes.
303
7e97eb28
SG
304Tue Jan 14 12:28:52 1992 Stu Grossman (grossman at cygnus.com)
305
8c3d2a53
SG
306 * inflow.c: remove #include <sys/dir.h>. Not necessary, and
307 doesn't exist on some systems.
308
5e746644
SG
309 * infrun.c (wait_for_inferior!!!!): Prevent gdb from hanging when
310 nexting over recursive function calls.
311
d261ece7
SG
312 * target.c (target_read_string): Create this routine to read null
313 terminated strings from the target. It deals with running off the
314 end of memory elegantly as well. solib.c (find_solib): Use
315 target_read_string() to avoid problems with running off the end of
316 memory.
317
7e97eb28
SG
318 * inflow.c (child_terminal_info): #ifdef TIOCPGRP around lines
319 that reference pgrp_inferior.
320
0cf9329b
PB
321Mon Jan 13 14:57:11 1992 Per Bothner (bothner at cygnus.com)
322
323 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now that
324 mips-tfile has been hacked to act more "traditionally."
325 * dbxread.c: Fixed typo in comment.
326
488d2691
PB
327Sun Jan 12 13:08:36 1992 Per Bothner (bothner at cygnus.com)
328
329 * mips-tdep.c (mips_skip_prologue): Add some number of
330 'sw' instructions before 'addiu' adjusts the stack.
331
4d315a07
FF
332Fri Jan 10 13:47:06 1992 Fred Fish (fnf at cygnus.com)
333
334 * dwarfread.c (start_symtab, end_symtab, scopecount, openscope,
335 freescope, buildblock closescope, record_line, add_symbol_to_list,
336 gatherblocks, make_blockvector): Extensive changes to switch
337 to generic symbol table building code in buildsym.c. Remove
338 scope tree structures and functions, symbol table building
339 functions, and lots of other small changes.
340
341 * dwarfread.c: Add new macros GCC_PRODUCER and STREQN. Remove
342 GCC_COMPILED_FLAG_SYMBOL and GCC2_COMPILED_FLAG_SYMBOL.
343
344Tue Jan 7 13:09:57 1992 Stu Grossman (grossman at cygnus.com)
345
346 * buildsym.c (cleanup_undefined_types): Add support for enums.
347 This fixes the 'GDB internal error. cleanup_undefined_types with
348 bad type' problem.
349
350Sun Jan 5 09:47:50 1992 Stu Grossman (grossman at cygnus.com)
351
352 * dbxread.c: detect gcc2 compilations.
353
1a4d253c
JG
354Thu Jan 2 15:07:41 1992 John Gilmore (gnu at cygnus.com)
355
356 * sparc-pinsn.c: Rename bitfields that overlap with macro names
357 in ../include/opcode/sparc.h.
358
1d4c28c5
FF
359Wed Jan 1 04:29:00 1992 Fred Fish (fnf at cygnus.com)
360
361 * Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
362 to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
363 to reflect actual locations of opcode files, so TAGS target will
364 be buildable.
365
366 * i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
367
368 * i386-tdep.c (supply_fpregset, fill_fpregset): Remove m68k
369 code.
370
371 * m68k-tdep.c (supply_fpregset, fill_fpregset): Fix array
372 dereferencing to access the correct elements.
373
374 * valops.c (value_addr): Declare return type of external func
375 value_copy().
376
377 * xcoffread.c: Undefine next_symbol_text before redefining it.
378
fd8db897 379For older changes see ChangeLog-9091
bd5635a1
RP
380\f
381Local Variables:
382mode: indented-text
383left-margin: 8
384fill-column: 74
385version-control: never
386End:
This page took 0.089638 seconds and 4 git commands to generate.