* xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco,
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c9bd6710
JG
1Fri Nov 1 11:05:47 1991 John Gilmore (gnu at cygnus.com)
2
3 * mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real
4 filename with error messages.
5 * stack.c (frame_select_command): Rename to select_frame_command
6 to avoid "fr" and "fra" having nonunique completions.
7 * symfile.c (sort_symtab_syms): Ignore sort of zero symtab *.
8 (symfile_init): Print file format name when unable to handle it.
9 (free_named_symtabs): Use BLOCKVECTOR rather than obsolete BLOCKLIST.
10 * symmisc.c (free_symtab): Only free linetable if nonzero.
11 * symtab.h: Remove obsolete BLOCKLIST macros.
12
d7d1098d
SG
13Thu Oct 31 18:12:43 1991 Stu Grossman (grossman at cygnus.com)
14
15 * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure
16 that stop_step is 1 at bottom of main loop. I don't know why this
17 needs to be done, but it helps me sleep better at night.
18
8b3c897a
SG
19Sun Oct 27 18:18:39 1991 Stu Grossman (grossman at cygnus.com)
20
21 * main.c (initialize_history): Read history after reading all
22 init files.
23
4137c5fc
JG
24Sun Oct 27 14:09:25 1991 John Gilmore (gnu at cygnus.com)
25
26 * buildsym.c: Break out initial malloc sizes.
27 (record_line): Record directly in a subfile. Alloc on demand.
28 (compare_line_numbers): Add from xcoffread.c.
29 (end_symtab): New params say whether to sort pendings and
30 linetable. Patch block stabs if defined. Shrink linetable before
31 allocating the symtab.
32 * buildsym.h: Delete line_vector* and prev_line_number. Add
33 global_stabs and file_stabs for xcoffread.
34 * dbxread.c (start_subfile): Move to buildsym. Change above calls.
35 * symtab.h: LINETABLE(symtab) can now be null. Zap LINELIST.
36 * symmisc.c, symtab.c: Cope with null LINETABLEs.
37
38 * blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO.
39 * tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h,
40 tm-sparc.h: Accept fromleaf parameter.
41 * c-exp.y (yyerror): Pass error message if given.
42 * configure.in: Add rs6000 host and target.
43 * inflow.c (new_tty): O_NOCTTY kludge for RS/6000.
44 * symfile.h (entry_point): Add.
45
c0302457
JG
46Sat Oct 26 00:16:32 1991 John Gilmore (gnu at cygus.com)
47
48 * buildsym.c: New file. Breaks out symbol-table-building routines
49 from dbxread.c, so they can be shared with xcoffread.c.
50 * buildsym.h: New file. Declarations for buildsym.c users.
51 * dbxread.c: Remove large chunks into buildsym.c.
d47d5315
JG
52 * Makefile.in: Add buildsym.c and buildsym.h.
53
54 * symfile.c (syms_from_bfd): New routine.
55 (add_symbol_file): Call it to do the real work.
56 (syms_from_bfd): Initialize entry_point before calling symfile_init.
57 * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c:
58 Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
c0302457 59
bcccec8c
PB
60Fri Oct 25 18:59:32 1991 Per Bothner (bothner at cygnus.com)
61
62 Various fixes to improve g++ debugging.
63 * symtab.h: Add is_const and is_volatile flags for each method.
64 These are bit fields - take their space from voffset,
65 which shrinks to 30 bits. Since voffset is now a bitfield,
66 make it unsigned for portability. This changes its interpretation
67 slightly: Static methods now have voffset 1 instead of -1,
68 and virtual offsets start at 2, not 1.
69 * symtab.c: Renamed gdb_mangle_typename to gdb_mangle_name,
70 since it now returns an entire magled method name, not just
71 the type part. This avoids some duplication.
72 It also allows us to correctly mangle const and volatile
73 methods (using the new is_const and is_volatile bit fields
74 mentioned above).
75 * valprint.c (type_print_base), values.c (check_stub_method):
76 Simplify by using new gdb_mangle_name.
77 * values.c (value_headof): Fix to correctly handle single
78 inheritance (actually two fixes, either of which suffices).
79 * dbxread.c (read_struct_type): Handle const and volatile
80 method specifiers.
81 * dbxread.c (read_struct_type): Yet one more place where
82 we must handle '\\' continuations.
83 * valprint.c (vtbl_ptr_name): Add final '\0'.
84
eb3f3e5c
SG
85Fri Oct 25 16:06:38 1991 Stu Grossman (grossman at cygnus.com)
86
5ab580cc
SG
87 * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of
88 short return values for sparc and 68k. Patch from Paul Eggert.
89
eb3f3e5c
SG
90 * coffread.c, coredep.c, i386-xdep.c: install patches for
91 SysV/386 3.2 from Mauro DePalma.
92
9cb602e1
JG
93Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com)
94
c58215f2
JG
95 * core.c (core_file_info), exec.c (exec_file_info): Print file
96 type. Use printf_filtered.
97
9cb602e1
JG
98 * valops.c (value_fetch_lazy): Avoid 0-length fetches.
99
b662acae
FF
100Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com)
101
c8c0a2bd
FF
102 * dwarfread.c: Add casts to remove compiler warnings.
103
84d82b1c
FF
104 * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h,
105 tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h,
106 tm-sun3.h: Remove locally duplicated code for calling functions
107 in the inferior. The only differences were in the specific trap
108 vectors used and whether or not an fpu was present. These are
109 now handled by appropriate definitions of BPT_VECTOR and
110 HAVE_68881 respectively. Other minor obvious cleanups.
111
112 * valops.c: Correct a minor misspelling.
113
ed317bb3
FF
114 * utils.c: Remove local BSD/USG hacks that are now in libiberty.
115
b662acae
FF
116 * dwarfread.c: Remove prototype for dwarfwarn. Does not work
117 with <varargs.h>.
118
313fdead
JG
119Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com)
120
b0077123
JG
121 * stack.c (frame_command): Always print. Use new
122 frame_select_command to select a frame without printing.
123
313fdead
JG
124 * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable.
125
4a35d6e9
FF
126Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com)
127
35f5886e
FF
128 * dwarfread.c: New file for DWARF debugging format support.
129
130 * elfread.c: New file for ELF object file format support.
131
132 * procfs.c: New file for SVR4 /proc (process file system) support.
133
134 * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for
135 Amiga UNIX support.
136
137 * xm-svr4.h, tm-svr4.h: New files for SVR4 support.
138
139 * xm-m68k.h: New file for host machines with m68k cpu.
140
bb4ff694
FF
141 * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR.
142 Add elfread.o and dwarfread.o to OBS.
143
144 * symfile.h: Add "elf" to list of supported formats in comment.
145
e2aab031
FF
146 * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin
147 types to gdb, builtin_type_long_double, builtin_type_complex, and
148 builtin_type_double_complex. Add and use new TARGET_SHORT_BIT,
149 TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT,
150 TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and
151 TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated
152 types on the target machine (ala the existing TARGET_LONG_LONG_BIT).
153
02070680
FF
154 * infrun.c: When using SVR4 /proc interface instead of ptrace(),
155 call proc_set_exec_trap() to setup child to stop at first instruction.
156
157 * inftarg.c: When using SVR4 /proc interface, call proc_wait()
158 rather than wait().
159
160 * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(),
161 supply_fpregset(), and fill_fpregset(), which are machine
162 dependent support routines for SVR4 /proc interface.
163
2bc2e684
FF
164 * utils.c: Add warning_setup() and warning(). Warning() behaves
165 the same as error() except that it returns normally rather than
166 jumping back to command level. Modules that don't want to call
167 warning() for some reason, but want to produce their own warnings,
168 can call warning_setup() to ensure compatibility with the way
169 warning() and error() deal with the terminal.
170
eaa1ef1d
FF
171 * symtab.c: Make internal errors produce more useful messages.
172
dcd15e5e
FF
173 * tm-68k.h: Move code that is duplicated in almost every single
174 m68k based machine's configuration files to this common file.
175 Duplications in the configuration files still need to be removed
176 (FIXME).
177
150f5436
FF
178 * infrun.c (child_create_inferior): System V versions must call
179 setpgrp() with no arguments, to comply with prototyping typically
180 in <unistd.h>.
181
cb17dfb1
FF
182 * munch: Add support for SVR4 style nm output.
183
4a35d6e9
FF
184 * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object
185 file specific fields from the partial symbol table structure and
186 replace them with a pointer to private data for each different
187 flavor of object file reader to initialize appropriately.
188
b0077123
JG
189Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com)
190
191 * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c
192 and previous.
193
194 * mipsread.c (fixup_undef_type): New function. If a struct /
195 union / enum is defined in a header file but nowhere else used,
196 (by typedefing, pointer referencing or declaration) the mipsread code
197 builds the complete tree for the structure but leaves its code as
198 TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is.
199 Guess its type based on the details of the members.
200
0d3e7f60
SG
201Tue Oct 22 18:04:32 1991 Stu Grossman (grossman at cygnus.com)
202
203 * infrun.c (wait_for_inferior): Check return value from
204 find_pc_line.
205
bc6c937d
SG
206Mon Oct 21 17:47:03 1991 Stu Grossman (grossman at cygnus.com)
207
208 * infrun.c (wait_for_inferior): fix stepi/nexti that was broken
209 by my last edit to this routine.
210
b0077123
JG
211Mon Oct 21 14:27:43 1991 John Gilmore (gnu at cygnus.com)
212
213 * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging.
214 FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap
215 the values before putting them into the dummy code. (From Peter
216 Schauer)
217
44e4e473
SC
218Mon Oct 21 10:04:39 1991 Steve Chamberlain (steve at rtl.cygnus.com)
219
220 * configure.in: added ebmon target.
221
785ce19c 222Wed Oct 16 22:49:58 1991 John Gilmore (gnu at cygnus.com)
a1b8c5d6
JG
223
224 GDB-4.2 release!
225
226 * Makefile.in: Roll VERSION to 4.2.
44e4e473 227 * README, TODO, WHATS.NEW: Update.
a1b8c5d6
JG
228
229 * core.c (core_open): Improve error message for bad file.
230 Pass .reg virtual memory address to fetch_core_registers to help
231 it find the registers in the core-file header.
232 * coredep.c (fetch_core_registers): Take new argument, use it,
233 and pass it to register_addr to locate the block of registers.
785ce19c 234 * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit.
a1b8c5d6
JG
235
236 * dbxread.c (read_dbx_symtab, process_one_symbol): Handle
237 Sequent N_FN_SEQ like everybody else's N_FN.
238
239 * main.c: Circumvent SCO cc bug with #if !!defined(USG).
240 * tm-i386v.h: #endif guck.
241 * xconfig/i386*: Remove -Dgetpagesize()=4096 kludge.
785ce19c
JG
242 * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
243 * xconfig/tahoe: Add REGEX, which seems to be missing.
244
245 * coredep.c: Add <sys/types.h> for SCOnix.
246 * dbxread.c (read_dbx_symntab): Avoid coredump on malformed file.
247 * printcmd.c (print_formatted): Flush output before disassembly.
a1b8c5d6 248
93ae2e88
RP
249Tue Oct 15 20:12:32 1991 Roland H. Pesch (pesch at fowanton.cygnus.com)
250
9e0906a6
RP
251 * doc/refcard.tex (sec "Working Files"): consistent metavars and