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