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