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