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