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