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